Skip to content

Instantly share code, notes, and snippets.

@travisbrady
Last active August 29, 2015 14:16
Show Gist options
  • Save travisbrady/427e6c9623893e160a39 to your computer and use it in GitHub Desktop.
Save travisbrady/427e6c9623893e160a39 to your computer and use it in GitHub Desktop.
error when compiling COST
$ cargo --version
cargo 0.0.1-pre-nightly (a58ffd7 2015-02-27) (built 2015-02-27)
$ rustc --version
rustc 1.0.0-dev (built 2015-02-22)
$ cargo run --release
Compiling rustc-serialize v0.2.12
Compiling regex v0.1.14
note: write `[..]` instead
note: write `[..]` instead
/Users/travisbrady/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.12/src/collection_impls.rs:17:24: 17:29 error: unresolved import `std::collections::DList`. There is no `DList` in `std::collections`
/Users/travisbrady/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.12/src/collection_impls.rs:17 use std::collections::{DList, RingBuf, BTreeMap, BTreeSet, HashMap, HashSet, VecMap};
^~~~~
/Users/travisbrady/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.12/src/collection_impls.rs:17:31: 17:38 error: unresolved import `std::collections::RingBuf`. There is no `RingBuf` in `std::collections`
/Users/travisbrady/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.12/src/collection_impls.rs:17 use std::collections::{DList, RingBuf, BTreeMap, BTreeSet, HashMap, HashSet, VecMap};
^~~~~~~
error: aborting due to 2 previous errors
Build failed, waiting for other jobs to finish...
/Users/travisbrady/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.14/src/compile.rs:137:17: 137:19 error: parameter `'r` is never used
/Users/travisbrady/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.14/src/compile.rs:137 struct Compiler<'r> {
^~
/Users/travisbrady/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.14/src/compile.rs:137:17: 137:19 help: consider removing `'r` or using a marker such as `core::marker::PhantomData`
/Users/travisbrady/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.14/src/compile.rs:137 struct Compiler<'r> {
^~
/Users/travisbrady/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.14/src/parse.rs:179:15: 179:17 error: parameter `'a` is never used
/Users/travisbrady/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.14/src/parse.rs:179 struct Parser<'a> {
^~
/Users/travisbrady/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.14/src/parse.rs:179:15: 179:17 help: consider removing `'a` or using a marker such as `core::marker::PhantomData`
/Users/travisbrady/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.14/src/parse.rs:179 struct Parser<'a> {
^~
error: aborting due to 2 previous errors
Could not compile `rustc-serialize`.
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