[INFO] updating cached repository cgati/rust-linked-list [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/cgati/rust-linked-list [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/cgati/rust-linked-list" "work/ex/beta-1.38-1/sources/1.37.0/gh/cgati/rust-linked-list"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/cgati/rust-linked-list'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/cgati/rust-linked-list" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/cgati/rust-linked-list"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/cgati/rust-linked-list'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b764ad70216463acda72ae2e8e44967fef0bcb06 [INFO] sha for GitHub repo cgati/rust-linked-list: b764ad70216463acda72ae2e8e44967fef0bcb06 [INFO] validating manifest of cgati/rust-linked-list on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of cgati/rust-linked-list on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing cgati/rust-linked-list [INFO] finished frobbing cgati/rust-linked-list [INFO] frobbed toml for cgati/rust-linked-list written to work/ex/beta-1.38-1/sources/1.37.0/gh/cgati/rust-linked-list/Cargo.toml [INFO] started frobbing cgati/rust-linked-list [INFO] finished frobbing cgati/rust-linked-list [INFO] frobbed toml for cgati/rust-linked-list written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/cgati/rust-linked-list/Cargo.toml [INFO] crate cgati/rust-linked-list already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing cgati/rust-linked-list against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/cgati/rust-linked-list:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 0e46c62dab9b355dda995a6c4804c4bd6acc73c09cef12af0fa3619664c10d55 [INFO] running `"docker" "start" "-a" "0e46c62dab9b355dda995a6c4804c4bd6acc73c09cef12af0fa3619664c10d55"` [INFO] [stderr] Compiling rust-linked-list v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | Cons(uint, Box), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Nil` in this scope [INFO] [stderr] --> src/main.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | Nil [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Node::Nil; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:11:36 [INFO] [stderr] | [INFO] [stderr] 11 | fn append_to_front(self, elem: uint) -> Node { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Cons` in this scope [INFO] [stderr] --> src/main.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | Cons(elem, box self) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Node::Cons; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:15:24 [INFO] [stderr] | [INFO] [stderr] 15 | fn value(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Cons` in this scope [INFO] [stderr] --> src/main.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | Cons(x, _) => x, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Node::Cons; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Cons` in this scope [INFO] [stderr] --> src/main.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | Cons(_, tail) => *tail, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Node::Cons; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | fn contains(&self, elem: uint) -> bool { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Cons` in this scope [INFO] [stderr] --> src/main.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | Cons(x, ref tail) => if x == elem { true } else { tail.contains(elem) }, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Node::Cons; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | fn length(&self) -> uint { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Cons` in this scope [INFO] [stderr] --> src/main.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | Cons(_, ref tail) => 1 + tail.length(), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Node::Cons; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct/variant `Cons` in this scope [INFO] [stderr] --> src/main.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 47 | Cons(x, ref tail) => { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Node::Cons; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Cons` in this scope [INFO] [stderr] --> src/main.rs:60:26 [INFO] [stderr] | [INFO] [stderr] 60 | let mut head: Node = Cons(1, box Nil); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Node::Cons; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `Nil` in this scope [INFO] [stderr] --> src/main.rs:60:38 [INFO] [stderr] | [INFO] [stderr] 60 | let mut head: Node = Cons(1, box Nil); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use Node::Nil; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/main.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | Cons(elem, box self) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] [INFO] [stderr] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stderr] --> src/main.rs:60:34 [INFO] [stderr] | [INFO] [stderr] 60 | let mut head: Node = Cons(1, box Nil); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/49733 [INFO] [stderr] [INFO] [stderr] error: aborting due to 16 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `rust-linked-list`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0e46c62dab9b355dda995a6c4804c4bd6acc73c09cef12af0fa3619664c10d55"` [INFO] running `"docker" "rm" "-f" "0e46c62dab9b355dda995a6c4804c4bd6acc73c09cef12af0fa3619664c10d55"` [INFO] [stdout] 0e46c62dab9b355dda995a6c4804c4bd6acc73c09cef12af0fa3619664c10d55