Giter VIP home page Giter VIP logo

Comments (8)

fczuardi avatar fczuardi commented on May 31, 2024

My rustc version:

rustc --version
rustc 1.2.0-nightly (fbb13543f 2015-06-11)

from rusti.

fczuardi avatar fczuardi commented on May 31, 2024

OSX version:

OS X 10.9.5 (13F1077)

from rusti.

murarth avatar murarth commented on May 31, 2024

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.

kxxoling avatar kxxoling commented on May 31, 2024

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.

murarth avatar murarth commented on May 31, 2024

@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.

kxxoling avatar kxxoling commented on May 31, 2024

@murarth Um, but I need the stable version to build things... When will it to support Rust stable?

from rusti.

murarth avatar murarth commented on May 31, 2024

@kxxoling: Not in the foreseeable future. rusti uses APIs internal to the Rust compiler.

from rusti.

sumproxy avatar sumproxy commented on May 31, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.