[INFO] cloning repository https://github.com/vihu/leetcode_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vihu/leetcode_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvihu%2Fleetcode_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvihu%2Fleetcode_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 61395d5fbf7bbaade6b419fb485e4dc8a04b06c2 [INFO] testing vihu/leetcode_rust 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%2Fvihu%2Fleetcode_rust" "/workspace/builds/worker-114/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-114/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vihu/leetcode_rust 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/vihu/leetcode_rust [INFO] finished tweaking git repo https://github.com/vihu/leetcode_rust [INFO] tweaked toml for git repo https://github.com/vihu/leetcode_rust written to /workspace/builds/worker-114/source/Cargo.toml [INFO] crate git repo https://github.com/vihu/leetcode_rust 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a93d0e6a9f40b48c9db02437884b89453aac2695043d0f1c61eb445691dc56e [INFO] running `Command { std: "docker" "start" "-a" "0a93d0e6a9f40b48c9db02437884b89453aac2695043d0f1c61eb445691dc56e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a93d0e6a9f40b48c9db02437884b89453aac2695043d0f1c61eb445691dc56e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a93d0e6a9f40b48c9db02437884b89453aac2695043d0f1c61eb445691dc56e", kill_on_drop: false }` [INFO] [stdout] 0a93d0e6a9f40b48c9db02437884b89453aac2695043d0f1c61eb445691dc56e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6f61d358601ea9f34910ae815817b9efd69c11a8cf1d5b51f9ea4f82a654ebc [INFO] running `Command { std: "docker" "start" "-a" "d6f61d358601ea9f34910ae815817b9efd69c11a8cf1d5b51f9ea4f82a654ebc", kill_on_drop: false }` [INFO] [stderr] Compiling leetcode_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/google/p560.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 27 | match map.get(&sum) { [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 32 | map.insert(sum, v + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `items` [INFO] [stdout] --> src/google/p155.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | items: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MinStack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/google/p155.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `min_items` [INFO] [stdout] --> src/google/p155.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | min_items: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MinStack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/google/p155.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/google/p155.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/google/p155.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn push(&mut self, x: i32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/google/p155.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `top` [INFO] [stdout] --> src/google/p155.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn top(&self) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_min` [INFO] [stdout] --> src/google/p155.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_min(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/google/p155.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "d6f61d358601ea9f34910ae815817b9efd69c11a8cf1d5b51f9ea4f82a654ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6f61d358601ea9f34910ae815817b9efd69c11a8cf1d5b51f9ea4f82a654ebc", kill_on_drop: false }` [INFO] [stdout] d6f61d358601ea9f34910ae815817b9efd69c11a8cf1d5b51f9ea4f82a654ebc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64a767faad097c1fcddfc8df63d0a336f178366afe515109cbf50ea32bde9287 [INFO] running `Command { std: "docker" "start" "-a" "64a767faad097c1fcddfc8df63d0a336f178366afe515109cbf50ea32bde9287", kill_on_drop: false }` [INFO] [stderr] Compiling leetcode_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/google/p560.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 27 | match map.get(&sum) { [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 32 | map.insert(sum, v + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.08s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/leetcode_rust-0a805fb1d736b94c) [INFO] running `Command { std: "docker" "inspect" "64a767faad097c1fcddfc8df63d0a336f178366afe515109cbf50ea32bde9287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64a767faad097c1fcddfc8df63d0a336f178366afe515109cbf50ea32bde9287", kill_on_drop: false }` [INFO] [stdout] 64a767faad097c1fcddfc8df63d0a336f178366afe515109cbf50ea32bde9287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b5ce3a09bff43729a0037d66ba9e3f3974a5f16b1e9897c39525694b4470d456 [INFO] running `Command { std: "docker" "start" "-a" "b5ce3a09bff43729a0037d66ba9e3f3974a5f16b1e9897c39525694b4470d456", kill_on_drop: false }` [INFO] [stderr] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/google/p560.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 27 | match map.get(&sum) { [INFO] [stderr] | ------------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 32 | map.insert(sum, v + 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^-^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: `leetcode_rust` (bin "leetcode_rust" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/leetcode_rust-0a805fb1d736b94c) [INFO] [stdout] [INFO] [stdout] running 81 tests [INFO] [stdout] test ds::bst::test::build_tree ... ok [INFO] [stdout] test google::p155::test::example1 ... ok [INFO] [stdout] test ds::bst::test::in_order_test ... ok [INFO] [stdout] test google::p155::test::example2 ... ok [INFO] [stdout] test google::p173::test::build_tree ... ok [INFO] [stdout] test google::p173::test::create_iter ... ok [INFO] [stdout] test google::p1::test::example1 ... ok [INFO] [stdout] test google::p1::test::example3 ... ok [INFO] [stdout] test google::p1::test::example2 ... ok [INFO] [stdout] test google::p200::test::example1 ... ok [INFO] [stdout] test google::p200::test::example2 ... ok [INFO] [stdout] test google::p20::test::example1 ... ok [INFO] [stdout] test google::p20::test::example10 ... ok [INFO] [stdout] test google::p20::test::example11 ... ok [INFO] [stdout] test google::p20::test::example2 ... ok [INFO] [stdout] test google::p20::test::example3 ... ok [INFO] [stdout] test google::p20::test::example4 ... ok [INFO] [stdout] test google::p20::test::example5 ... ok [INFO] [stdout] test google::p20::test::example6 ... ok [INFO] [stdout] test google::p20::test::example7 ... ok [INFO] [stdout] test google::p20::test::example8 ... ok [INFO] [stdout] test google::p20::test::example9 ... ok [INFO] [stdout] test google::p231::test::example1 ... ok [INFO] [stdout] test google::p231::test::example10 ... ok [INFO] [stdout] test google::p231::test::example11 ... ok [INFO] [stdout] test google::p231::test::example12 ... ok [INFO] [stdout] test google::p231::test::example13 ... ok [INFO] [stdout] test google::p231::test::example2 ... ok [INFO] [stdout] test google::p231::test::example3 ... ok [INFO] [stdout] test google::p231::test::example4 ... ok [INFO] [stdout] test google::p231::test::example5 ... ok [INFO] [stdout] test google::p231::test::example6 ... ok [INFO] [stdout] test google::p231::test::example7 ... ok [INFO] [stdout] test google::p231::test::example8 ... ok [INFO] [stdout] test google::p231::test::example9 ... ok [INFO] [stdout] test google::p253::test::example1 ... ok [INFO] [stdout] test google::p253::test::example2 ... ok [INFO] [stdout] test google::p326::test::example1 ... ok [INFO] [stdout] test google::p326::test::example2 ... ok [INFO] [stdout] test google::p326::test::example3 ... ok [INFO] [stdout] test google::p326::test::example4 ... ok [INFO] [stdout] test google::p326::test::example5 ... ok [INFO] [stdout] test google::p326::test::example6 ... ok [INFO] [stdout] test google::p345::test::example1 ... ok [INFO] [stdout] test google::p345::test::example3 ... ok [INFO] [stdout] test google::p345::test::example2 ... ok [INFO] [stdout] test google::p345::test::example4 ... ok [INFO] [stdout] test google::p345::test::example5 ... ok [INFO] [stdout] test google::p345::test::example6 ... ok [INFO] [stdout] test google::p345::test::example7 ... ok [INFO] [stdout] test google::p387::test::example1 ... ok [INFO] [stdout] test google::p387::test::example2 ... ok [INFO] [stdout] test google::p387::test::example3 ... ok [INFO] [stdout] test google::p387::test::example4 ... ok [INFO] [stdout] test google::p406::test::example1 ... ok [INFO] [stdout] test google::p415::test::example2 ... ok [INFO] [stdout] test google::p415::test::example1 ... ok [INFO] [stdout] test google::p415::test::example3 ... ok [INFO] [stdout] test google::p415::test::example4 ... ok [INFO] [stdout] test google::p415::test::example5 ... ok [INFO] [stdout] test google::p415::test::example6 ... ok [INFO] [stdout] test google::p448::test::example1 ... ok [INFO] [stdout] test google::p463::test::example1 ... ok [INFO] [stdout] test google::p463::test::example2 ... ok [INFO] [stdout] test google::p50::test::example1 ... ok [INFO] [stdout] test google::p50::test::example3 ... ok [INFO] [stdout] test google::p50::test::example4 ... ok [INFO] [stdout] test google::p560::test::example1 ... ok [INFO] [stdout] test google::p56::test::example1 ... ok [INFO] [stdout] test google::p56::test::example2 ... ok [INFO] [stdout] test google::p657::test::example1 ... ok [INFO] [stdout] test google::p657::test::example2 ... ok [INFO] [stdout] test google::p66::test::example1 ... ok [INFO] [stdout] test google::p66::test::example2 ... ok [INFO] [stdout] test google::p739::test::example1 ... ok [INFO] [stdout] test google::p832::test::example1 ... ok [INFO] [stdout] test google::p832::test::example2 ... ok [INFO] [stdout] test google::p929::test::example1 ... ok [INFO] [stdout] test google::p929::test::example3 ... ok [INFO] [stdout] test google::p929::test::example4 ... ok [INFO] [stdout] test google::p929::test::example2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 81 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b5ce3a09bff43729a0037d66ba9e3f3974a5f16b1e9897c39525694b4470d456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5ce3a09bff43729a0037d66ba9e3f3974a5f16b1e9897c39525694b4470d456", kill_on_drop: false }` [INFO] [stdout] b5ce3a09bff43729a0037d66ba9e3f3974a5f16b1e9897c39525694b4470d456