-
-
Save JonathanAaron/72ebf911407470d87409 to your computer and use it in GitHub Desktop.
maidsafe_client 'Could not compile 'crust'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jonny3000 (master) maidsafe_client $ cargo build | |
Compiling crust v0.1.5 | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:37:18: 37:36 error: use of unstable library feature 'alloc': Weak pointers may not belong in this module. | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:37 type WeakState = Weak<Mutex<State>>; | |
^~~~~~~~~~~~~~~~~~ | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:97:29: 97:40 error: use of unstable library feature 'alloc': Weak pointers may not belong in this module. | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:97 let ws = self.state.downgrade(); | |
^~~~~~~~~~~ | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:196:29: 196:40 error: use of unstable library feature 'alloc': Weak pointers may not belong in this module. | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:196 let ws = self.state.downgrade(); | |
^~~~~~~~~~~ | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:278:37: 278:48 error: use of unstable library feature 'alloc': Weak pointers may not belong in this module. | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:278 let weak_state = self.state.downgrade(); | |
^~~~~~~~~~~ | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:305:29: 305:40 error: use of unstable library feature 'alloc': Weak pointers may not belong in this module. | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:305 let ws = self.state.downgrade(); | |
^~~~~~~~~~~ | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:337:29: 337:40 error: use of unstable library feature 'alloc': Weak pointers may not belong in this module. | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:337 let ws = self.state.downgrade(); | |
^~~~~~~~~~~ | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:353:33: 353:44 error: use of unstable library feature 'alloc': Weak pointers may not belong in this module. | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:353 let mut ws = self.state.downgrade(); | |
^~~~~~~~~~~ | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:407:66: 407:77 error: use of unstable library feature 'alloc': Weak pointers may not belong in this module. | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:407 let _ = try!(handle_connect(state_cloned.downgrade(), trans, | |
^~~~~~~~~~~ | |
<std macros>:1:1: 6:48 note: in expansion of try! | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:407:33: 408:84 note: expansion site | |
note: in expansion of closure expansion | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:403:50: 413:14 note: expansion site | |
note: in expansion of for loop expansion | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:400:9: 414:10 note: expansion site | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:427:41: 427:52 error: use of unstable library feature 'alloc': Weak pointers may not belong in this module. | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:427 let mut weak_state = self.state.downgrade(); | |
^~~~~~~~~~~ | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:467:11: 467:20 error: use of unstable library feature 'alloc': Weak pointers may not belong in this module. | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:467 state.upgrade().ok_or(io::Error::new(io::ErrorKind::Interrupted, | |
^~~~~~~~~ | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:479:11: 479:20 error: use of unstable library feature 'alloc': Weak pointers may not belong in this module. | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/connection_manager.rs:479 state.upgrade().ok_or(io::Error::new(io::ErrorKind::Interrupted, | |
^~~~~~~~~ | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/lib.rs:33:30: 33:38 error: unused or unknown feature | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/lib.rs:33 #![feature(ip_addr, ip, udp, arc_weak)] | |
^~~~~~~~ | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/lib.rs:27:29: 27:44 note: lint level defined here | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/lib.rs:27 unused_comparisons, unused_features, unused_parens, while_true)] | |
^~~~~~~~~~~~~~~ | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/lib.rs:33:1: 33:40 error: unstable feature | |
/Users/jonny3000/.cargo/registry/src/github.com-1ecc6299db9ec823/crust-0.1.5/src/lib.rs:33 #![feature(ip_addr, ip, udp, arc_weak)] | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
note: this feature may not be used in the stable release channel | |
error: aborting due to 13 previous errors | |
Could not compile `crust`. | |
To learn more, run the command again with --verbose. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
first question as always in a case like this....
run
rustc --version
you should get back something like
rustc 1.3.0-nightly (7ea2674c7 2015-07-13)
If not run
curl -sSf https://static.rust-lang.org/rustup.sh | sh -s -- --channel=nightly
and try again.