[INFO] updating cached repository https://github.com/vihu/leetcode_rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 61395d5fbf7bbaade6b419fb485e4dc8a04b06c2 [INFO] checking vihu/leetcode_rust against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvihu%2Fleetcode_rust" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vihu/leetcode_rust on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/vihu/leetcode_rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 0ec5bcfd1cf403635ed34ee8757b01207f4be1b95c7b0156c718c5f193d4f34c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "0ec5bcfd1cf403635ed34ee8757b01207f4be1b95c7b0156c718c5f193d4f34c"` [INFO] [stderr] Checking leetcode_rust v0.1.0 (/opt/rustwide/workdir) [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] | ^^^ - immutable borrow later used here [INFO] [stderr] | | [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: method is never used: `new` [INFO] [stderr] --> src/google/p155.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | fn new() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `push` [INFO] [stderr] --> src/google/p155.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | fn push(&mut self, x: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `pop` [INFO] [stderr] --> src/google/p155.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | fn pop(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `top` [INFO] [stderr] --> src/google/p155.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | fn top(&self) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `get_min` [INFO] [stderr] --> src/google/p155.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | fn get_min(&self) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `len` [INFO] [stderr] --> src/google/p155.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | fn len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [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] | ^^^ - immutable borrow later used here [INFO] [stderr] | | [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] Finished dev [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `"docker" "inspect" "0ec5bcfd1cf403635ed34ee8757b01207f4be1b95c7b0156c718c5f193d4f34c"` [INFO] running `"docker" "rm" "-f" "0ec5bcfd1cf403635ed34ee8757b01207f4be1b95c7b0156c718c5f193d4f34c"` [INFO] [stdout] 0ec5bcfd1cf403635ed34ee8757b01207f4be1b95c7b0156c718c5f193d4f34c