[INFO] cloning repository https://github.com/louisstewart/AVLTreeRs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/louisstewart/AVLTreeRs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisstewart%2FAVLTreeRs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisstewart%2FAVLTreeRs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc90045787167a00d425ed9b96bccfb4d18de63f [INFO] testing louisstewart/AVLTreeRs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisstewart%2FAVLTreeRs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/louisstewart/AVLTreeRs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/louisstewart/AVLTreeRs [INFO] finished tweaking git repo https://github.com/louisstewart/AVLTreeRs [INFO] tweaked toml for git repo https://github.com/louisstewart/AVLTreeRs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/louisstewart/AVLTreeRs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fc8a01e437f5241239421abb35104b2a0265bb3129cacf191c6b410f6ae80482 [INFO] running `Command { std: "docker" "start" "-a" "fc8a01e437f5241239421abb35104b2a0265bb3129cacf191c6b410f6ae80482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc8a01e437f5241239421abb35104b2a0265bb3129cacf191c6b410f6ae80482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc8a01e437f5241239421abb35104b2a0265bb3129cacf191c6b410f6ae80482", kill_on_drop: false }` [INFO] [stdout] fc8a01e437f5241239421abb35104b2a0265bb3129cacf191c6b410f6ae80482 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 028dccf601c01094d89bcef9c7c3fcd6513192da28e080bb229938e65ff6743b [INFO] running `Command { std: "docker" "start" "-a" "028dccf601c01094d89bcef9c7c3fcd6513192da28e080bb229938e65ff6743b", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `true` [INFO] [stdout] --> src/tree.rs:59:52 [INFO] [stdout] | [INFO] [stdout] 59 | self.root = Some(delete(node, val)) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 60 | true [INFO] [stdout] | ---- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `false` [INFO] [stdout] --> src/tree.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | self.root = None [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 64 | false [INFO] [stdout] | ----- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `t` in this scope [INFO] [stdout] --> src/tree.rs:221:79 [INFO] [stdout] | [INFO] [stdout] 221 | fn remove_in(node : Option>>, val : t) [INFO] [stdout] | - similarly named type parameter `T` defined here ^ help: a type parameter with a similar name exists: `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tree.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | -1...1 => return node, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | self.root = Some(delete(node, val)) [INFO] [stdout] | ^^^^ expected struct `Box`, found `&Box>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box>` [INFO] [stdout] found reference `&Box>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `More` found for enum `std::cmp::Ordering` in the current scope [INFO] [stdout] --> src/tree.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 153 | Ordering::More => node.right = remove_in(node, val) [INFO] [stdout] | ^^^^ variant or associated item not found in `std::cmp::Ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | return remove_in(node, val) [INFO] [stdout] | ^^^^ expected enum `Option`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>>` [INFO] [stdout] found struct `Box>` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 150 | return remove_in(Some(node), val) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 147 | fn delete(mut node: Box>, val : T) -> Box> { [INFO] [stdout] | ------------ expected `Box>` because of return type [INFO] [stdout] ... [INFO] [stdout] 150 | return remove_in(node, val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `Box`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box>` [INFO] [stdout] found enum `Option>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree.rs:152:49 [INFO] [stdout] | [INFO] [stdout] 152 | Ordering::Less => node.left = remove_in(node, val), [INFO] [stdout] | ^^^^ expected enum `Option`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found struct `Box<_>` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 152 | Ordering::Less => node.left = remove_in(Some(node), val), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree.rs:153:50 [INFO] [stdout] | [INFO] [stdout] 153 | Ordering::More => node.right = remove_in(node, val) [INFO] [stdout] | ^^^^ expected enum `Option`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found struct `Box<_>` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 153 | Ordering::More => node.right = remove_in(Some(node), val) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tree.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 221 | fn remove_in(node : Option>>, val : t) [INFO] [stdout] | --------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 222 | -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected enum `Option`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tree` due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "028dccf601c01094d89bcef9c7c3fcd6513192da28e080bb229938e65ff6743b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "028dccf601c01094d89bcef9c7c3fcd6513192da28e080bb229938e65ff6743b", kill_on_drop: false }` [INFO] [stdout] 028dccf601c01094d89bcef9c7c3fcd6513192da28e080bb229938e65ff6743b