Comments (8)
My rustc version:
rustc --version
rustc 1.2.0-nightly (fbb13543f 2015-06-11)
from rusti.
OSX version:
OS X 10.9.5 (13F1077)
from rusti.
There are often small changes to the unstable APIs on which rusti depends.
Thanks for the issue. This has been fixed in the most recent commit.
from rusti.
I've got the same error on OS X, but my rust version is 1.1.0:
$rustc --version
rustc 1.1.0
Error log:
Compiling rusti v0.0.1 (file:///Users/windrunner/playground/rusti)
src/rusti/exec.rs:23:5: 23:19 error: unresolved import `rustc::ast_map`. There is no `ast_map` in `rustc`
src/rusti/exec.rs:23 use rustc::ast_map;
^~~~~~~~~~~~~~
src/rusti/exec.rs:35:5: 35:43 error: unresolved import `syntax::feature_gate::UnstableFeatures`. There is no `UnstableFeatures` in `syntax::feature_gate`
src/rusti/exec.rs:35 use syntax::feature_gate::UnstableFeatures;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors
Could not compile `rusti`.
from rusti.
@kxxoling: You appear to be using the stable build of Rust. rusti targets the latest nightly build of the Rust compiler. It's inconvenient, I know, but it's unavoidable at this time.
from rusti.
@murarth Um, but I need the stable version to build things... When will it to support Rust stable?
from rusti.
@kxxoling: Not in the foreseeable future. rusti uses APIs internal to the Rust compiler.
from rusti.
Can't build on Mac OS X El Capitan
I'm using multirust nightly
Here's the build output:
cargo build
Compiling rusti v0.0.1 (file:///Users/SumProxy/Projects/rust/rusti)
src/rusti/exec.rs:37:5: 37:19 error: unresolved import `syntax::errors`. There is no `errors` in `syntax` [E0432]
src/rusti/exec.rs:37 use syntax::errors;
^~~~~~~~~~~~~~
src/rusti/exec.rs:37:5: 37:19 help: run `rustc --explain E0432` to see a detailed explanation
src/rusti/exec.rs:38:40: 38:52 error: unresolved import `syntax::errors::emitter::BasicEmitter`. Could not find `errors` in `syntax` [E0432]
src/rusti/exec.rs:38 use syntax::errors::emitter::{Emitter, BasicEmitter};
^~~~~~~~~~~~
src/rusti/exec.rs:38:40: 38:52 help: run `rustc --explain E0432` to see a detailed explanation
src/rusti/exec.rs:38:31: 38:38 error: unresolved import `syntax::errors::emitter::Emitter`. Could not find `errors` in `syntax` [E0432]
src/rusti/exec.rs:38 use syntax::errors::emitter::{Emitter, BasicEmitter};
^~~~~~~
src/rusti/exec.rs:38:31: 38:38 help: run `rustc --explain E0432` to see a detailed explanation
src/rusti/input.rs:26:22: 26:33 error: unresolved import `syntax::errors::ColorConfig`. Could not find `errors` in `syntax` [E0432]
src/rusti/input.rs:26 use syntax::errors::{ColorConfig, Handler, Level, RenderSpan};
^~~~~~~~~~~
src/rusti/input.rs:26:22: 26:33 help: run `rustc --explain E0432` to see a detailed explanation
src/rusti/input.rs:28:5: 28:30 error: unresolved import `syntax::errors::Level::*`. Could not find `errors` in `syntax` [E0432]
src/rusti/input.rs:28 use syntax::errors::Level::*;
^~~~~~~~~~~~~~~~~~~~~~~~~
src/rusti/input.rs:28:5: 28:30 help: run `rustc --explain E0432` to see a detailed explanation
src/rusti/input.rs:27:40: 27:53 error: unresolved import `syntax::errors::emitter::EmitterWriter`. Could not find `errors` in `syntax` [E0432]
src/rusti/input.rs:27 use syntax::errors::emitter::{Emitter, EmitterWriter};
^~~~~~~~~~~~~
src/rusti/input.rs:27:40: 27:53 help: run `rustc --explain E0432` to see a detailed explanation
src/rusti/input.rs:27:31: 27:38 error: unresolved import `syntax::errors::emitter::Emitter`. Could not find `errors` in `syntax` [E0432]
src/rusti/input.rs:27 use syntax::errors::emitter::{Emitter, EmitterWriter};
^~~~~~~
src/rusti/input.rs:27:31: 27:38 help: run `rustc --explain E0432` to see a detailed explanation
src/rusti/input.rs:26:51: 26:61 error: unresolved import `syntax::errors::RenderSpan`. Could not find `errors` in `syntax` [E0432]
src/rusti/input.rs:26 use syntax::errors::{ColorConfig, Handler, Level, RenderSpan};
^~~~~~~~~~
src/rusti/input.rs:26:51: 26:61 help: run `rustc --explain E0432` to see a detailed explanation
src/rusti/input.rs:26:44: 26:49 error: unresolved import `syntax::errors::Level`. Could not find `errors` in `syntax` [E0432]
src/rusti/input.rs:26 use syntax::errors::{ColorConfig, Handler, Level, RenderSpan};
^~~~~
src/rusti/input.rs:26:44: 26:49 help: run `rustc --explain E0432` to see a detailed explanation
src/rusti/input.rs:26:35: 26:42 error: unresolved import `syntax::errors::Handler`. Could not find `errors` in `syntax` [E0432]
src/rusti/input.rs:26 use syntax::errors::{ColorConfig, Handler, Level, RenderSpan};
^~~~~~~
src/rusti/input.rs:26:35: 26:42 help: run `rustc --explain E0432` to see a detailed explanation
error: aborting due to 10 previous errors
Could not compile `rusti`.
To learn more, run the command again with --verbose.
from rusti.
Related Issues (20)
- install hangs: rustup run nightly-2016-08-01 cargo install --git https://github.com/murarth/rusti HOT 1
- Exit command HOT 1
- Compilation failure in Ubuntu 14.04 HOT 1
- can't build/run master HOT 6
- Couldn't run rusti compiled with multirust : error while loading shared libraries HOT 2
- Seems to also require libedit-dev HOT 2
- Cannot build with latest nightly rustc HOT 2
- Discrepancy between help output and performed actions HOT 3
- Unresolved import errors (Ubuntu 14.04, rustc 1.11.0 nightly, rusti 815b0ee) HOT 4
- LLVM ExecutionEngine no longer supported by rustc HOT 13
- Assertion failed (crash) on Windows HOT 7
- Crash when pressing Backspace on Windows HOT 5
- rusti: error while loading shared libraries: librustc_driver-c8005792.so: cannot open shared object file: No such file or directory HOT 8
- Link failure: cannot find -lncursesw [fixed] HOT 2
- Current cargo build is broken HOT 3
- Possible REPL improvements.
- Fail to build by cargo and git HOT 3
- Dead? HOT 2
- Linking error when libncurses is not installed HOT 3
- Can’t find crate for ‘rustc_llvm’ HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rusti.