[INFO] cloning repository https://github.com/IceyBlackTea/learn_algorithms_with_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IceyBlackTea/learn_algorithms_with_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceyBlackTea%2Flearn_algorithms_with_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceyBlackTea%2Flearn_algorithms_with_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd28760bbf955b7847f095cb47a0470db7febfac [INFO] checking IceyBlackTea/learn_algorithms_with_rust against master#f82664191d0e8764b7435b9d72eb0e366b8b1464 for pr-83354 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIceyBlackTea%2Flearn_algorithms_with_rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IceyBlackTea/learn_algorithms_with_rust on toolchain f82664191d0e8764b7435b9d72eb0e366b8b1464 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IceyBlackTea/learn_algorithms_with_rust [INFO] finished tweaking git repo https://github.com/IceyBlackTea/learn_algorithms_with_rust [INFO] tweaked toml for git repo https://github.com/IceyBlackTea/learn_algorithms_with_rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/IceyBlackTea/learn_algorithms_with_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b945857aeaab9d78854a81eb7103c75442aec9276683de67a71fd0771f08241 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4b945857aeaab9d78854a81eb7103c75442aec9276683de67a71fd0771f08241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b945857aeaab9d78854a81eb7103c75442aec9276683de67a71fd0771f08241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b945857aeaab9d78854a81eb7103c75442aec9276683de67a71fd0771f08241", kill_on_drop: false }` [INFO] [stdout] 4b945857aeaab9d78854a81eb7103c75442aec9276683de67a71fd0771f08241 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 905fefefdb395ce92bc40283ed7d98d23bad07f94dcf4ed4fa7d4b8622c407fb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "905fefefdb395ce92bc40283ed7d98d23bad07f94dcf4ed4fa7d4b8622c407fb", kill_on_drop: false }` [INFO] [stderr] Checking learn_algorithms_with_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `PREORDER` [INFO] [stdout] --> src/tree/binary.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | PREORDER, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `INORDER` [INFO] [stdout] --> src/tree/binary.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | INORDER, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `POSTORDER` [INFO] [stdout] --> src/tree/binary.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | POSTORDER, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_value` [INFO] [stdout] --> src/tree/binary.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn set_value(&mut self, new_value: &T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_value` [INFO] [stdout] --> src/tree/binary.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_value(&self) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_left_node` [INFO] [stdout] --> src/tree/binary.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_left_node(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_right_node` [INFO] [stdout] --> src/tree/binary.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_right_node(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_next_node` [INFO] [stdout] --> src/tree/binary.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_next_node(&self, postion: Postion) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_next_node` [INFO] [stdout] --> src/tree/binary.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn remove_next_node(&mut self, postion: Postion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_child_node` [INFO] [stdout] --> src/tree/binary.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn remove_child_node(&mut self, postion: Postion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_leaf` [INFO] [stdout] --> src/tree/binary.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn is_leaf(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PREORDER` [INFO] [stdout] --> src/tree/binary.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | PREORDER, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `INORDER` [INFO] [stdout] --> src/tree/binary.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | INORDER, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `POSTORDER` [INFO] [stdout] --> src/tree/binary.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | POSTORDER, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_value` [INFO] [stdout] --> src/tree/binary.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn set_value(&mut self, new_value: &T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_value` [INFO] [stdout] --> src/tree/binary.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_value(&self) -> T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_left_node` [INFO] [stdout] --> src/tree/binary.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_left_node(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_right_node` [INFO] [stdout] --> src/tree/binary.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_right_node(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_next_node` [INFO] [stdout] --> src/tree/binary.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_next_node(&self, postion: Postion) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_next_node` [INFO] [stdout] --> src/tree/binary.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn remove_next_node(&mut self, postion: Postion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_child_node` [INFO] [stdout] --> src/tree/binary.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn remove_child_node(&mut self, postion: Postion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_leaf` [INFO] [stdout] --> src/tree/binary.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn is_leaf(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "905fefefdb395ce92bc40283ed7d98d23bad07f94dcf4ed4fa7d4b8622c407fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905fefefdb395ce92bc40283ed7d98d23bad07f94dcf4ed4fa7d4b8622c407fb", kill_on_drop: false }` [INFO] [stdout] 905fefefdb395ce92bc40283ed7d98d23bad07f94dcf4ed4fa7d4b8622c407fb