vmware-archive / haret

A strongly consistent distributed coordination system, built using proven protocols & implemented in Rust.
461 stars 18 forks source link

Error compiling 'quasi' #43

Closed beerriot closed 8 years ago

beerriot commented 8 years ago

Running make launch, I hit the following error:

/Users/bfink/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.1.12/rust/src/liblibc/lib.rs:81:21: 81:39 warning: lint raw_pointer_derive has been removed: using derive with raw pointers is ok
/Users/bfink/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.1.12/rust/src/liblibc/lib.rs:81 #![allow(bad_style, raw_pointer_derive)]
                                                                                                                        ^~~~~~~~~~~~~~~~~~
   Compiling quasi v0.3.10
/Users/bfink/.cargo/registry/src/github.com-88ac128001ac3a9a/quasi-0.3.10/src/lib.rs:11:43: 11:66 error: #[feature] may not be used on the stable release channel
/Users/bfink/.cargo/registry/src/github.com-88ac128001ac3a9a/quasi-0.3.10/src/lib.rs:11 #![cfg_attr(not(feature = "with-syntex"), feature(rustc_private))]
                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
Could not compile `quasi`.

To learn more, run the command again with --verbose.
make: *** [build] Error 101

I'm currently having trouble with ssh tokens, so I had to modify the BurntSushi dependency to use http, but I left the git tags the same, so I wouldn't have expected that to cause this error. I haven't compiled anything more than a basic rust program before this, so maybe that could be an issue as well.

bfink-mbpro:v2r2 bfink$ rustc --version
rustc 1.6.0 (c30b771ad 2016-01-19)
bfink-mbpro:v2r2 bfink$ cargo --version
cargo 0.7.0-nightly (1af03be 2015-12-08)
beerriot commented 8 years ago

Oh, and:

$ git log -1
commit 253cd9265a6a855458b251aaf2fbe69cd4c644c8
Merge: 8cdf105 d265002
Author: Ritesh H Shukla <kerneltime@gmail.com>
Date:   Tue Jan 26 21:43:05 2016 -0800

    Merge pull request #42 from vmware/refactor/remove-warnings

    Refactor/remove warnings
andrewjstone commented 8 years ago

You almost certainly need to use a new version of rust nightly.

beerriot commented 8 years ago

Yup. That was it. I installed a nightly of 1.7.0, and things built and started.