[INFO] updating cached repository louisstewart/AVLTreeRs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/louisstewart/AVLTreeRs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/louisstewart/AVLTreeRs" "work/ex/beta-1.38-1/sources/1.37.0/gh/louisstewart/AVLTreeRs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/louisstewart/AVLTreeRs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/louisstewart/AVLTreeRs" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/louisstewart/AVLTreeRs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/louisstewart/AVLTreeRs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cc90045787167a00d425ed9b96bccfb4d18de63f [INFO] sha for GitHub repo louisstewart/AVLTreeRs: cc90045787167a00d425ed9b96bccfb4d18de63f [INFO] validating manifest of louisstewart/AVLTreeRs 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 louisstewart/AVLTreeRs 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 louisstewart/AVLTreeRs [INFO] finished frobbing louisstewart/AVLTreeRs [INFO] frobbed toml for louisstewart/AVLTreeRs written to work/ex/beta-1.38-1/sources/1.37.0/gh/louisstewart/AVLTreeRs/Cargo.toml [INFO] started frobbing louisstewart/AVLTreeRs [INFO] finished frobbing louisstewart/AVLTreeRs [INFO] frobbed toml for louisstewart/AVLTreeRs written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/louisstewart/AVLTreeRs/Cargo.toml [INFO] crate louisstewart/AVLTreeRs 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 louisstewart/AVLTreeRs 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-4/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/louisstewart/AVLTreeRs:/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] 44ee023615100dbff549af4a628084c68cb2522abbe286a69fe73c91ca2aad7d [INFO] running `"docker" "start" "-a" "44ee023615100dbff549af4a628084c68cb2522abbe286a69fe73c91ca2aad7d"` [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling tree v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `true` [INFO] [stderr] --> src/tree.rs:60:17 [INFO] [stderr] | [INFO] [stderr] 59 | self.root = Some(delete(node, val)) [INFO] [stderr] | - expected one of `.`, `;`, `?`, `}`, or an operator here [INFO] [stderr] 60 | true [INFO] [stderr] | ^^^^ unexpected token [INFO] [stderr] [INFO] [stderr] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `false` [INFO] [stderr] --> src/tree.rs:64:17 [INFO] [stderr] | [INFO] [stderr] 63 | self.root = None [INFO] [stderr] | - expected one of 8 possible tokens here [INFO] [stderr] 64 | false [INFO] [stderr] | ^^^^^ unexpected token [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `t` in this scope [INFO] [stderr] --> src/tree.rs:221:79 [INFO] [stderr] | [INFO] [stderr] 221 | fn remove_in(node : Option>>, val : t) [INFO] [stderr] | ^ help: a type parameter with a similar name exists: `T` [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/tree.rs:162:11 [INFO] [stderr] | [INFO] [stderr] 162 | -1...1 => return node, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `More` found for type `std::cmp::Ordering` in the current scope [INFO] [stderr] --> src/tree.rs:153:19 [INFO] [stderr] | [INFO] [stderr] 153 | Ordering::More => node.right = remove_in(node, val) [INFO] [stderr] | ^^^^ variant or associated item not found in `std::cmp::Ordering` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/tree.rs:150:30 [INFO] [stderr] | [INFO] [stderr] 150 | return remove_in(node, val) [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::option::Option`, found struct `std::boxed::Box` [INFO] [stderr] | help: try using a variant of the expected type: `Some(node)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option>>` [INFO] [stderr] found type `std::boxed::Box>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/tree.rs:150:20 [INFO] [stderr] | [INFO] [stderr] 147 | fn delete(mut node: Box>, val : T) -> Box> { [INFO] [stderr] | ------------ expected `std::boxed::Box>` because of return type [INFO] [stderr] ... [INFO] [stderr] 150 | return remove_in(node, val) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected struct `std::boxed::Box`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::boxed::Box>` [INFO] [stderr] found type `std::option::Option>>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/tree.rs:152:49 [INFO] [stderr] | [INFO] [stderr] 152 | Ordering::Less => node.left = remove_in(node, val), [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::option::Option`, found struct `std::boxed::Box` [INFO] [stderr] | help: try using a variant of the expected type: `Some(node)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option>` [INFO] [stderr] found type `std::boxed::Box<_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/tree.rs:153:50 [INFO] [stderr] | [INFO] [stderr] 153 | Ordering::More => node.right = remove_in(node, val) [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `std::option::Option`, found struct `std::boxed::Box` [INFO] [stderr] | help: try using a variant of the expected type: `Some(node)` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option>` [INFO] [stderr] found type `std::boxed::Box<_>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/tree.rs:222:12 [INFO] [stderr] | [INFO] [stderr] 221 | fn remove_in(node : Option>>, val : t) [INFO] [stderr] | --------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] 222 | -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option>>` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `tree`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "44ee023615100dbff549af4a628084c68cb2522abbe286a69fe73c91ca2aad7d"` [INFO] running `"docker" "rm" "-f" "44ee023615100dbff549af4a628084c68cb2522abbe286a69fe73c91ca2aad7d"` [INFO] [stdout] 44ee023615100dbff549af4a628084c68cb2522abbe286a69fe73c91ca2aad7d