[INFO] cloning repository https://github.com/christiansakai/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/christiansakai/leetcode_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristiansakai%2Fleetcode_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristiansakai%2Fleetcode_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3cc0c03cb0f7b2a5f9b95ae9df86fc3f1a04e9d [INFO] checking christiansakai/leetcode_rust against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchristiansakai%2Fleetcode_rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/christiansakai/leetcode_rust on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/christiansakai/leetcode_rust [INFO] finished tweaking git repo https://github.com/christiansakai/leetcode_rust [INFO] tweaked toml for git repo https://github.com/christiansakai/leetcode_rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/christiansakai/leetcode_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "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] a48d1a9d67098dc8a1a13db9e2f3d4a615208bf5480b2520aaa1b1d1908f3d18 [INFO] running `Command { std: "docker" "start" "-a" "a48d1a9d67098dc8a1a13db9e2f3d4a615208bf5480b2520aaa1b1d1908f3d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a48d1a9d67098dc8a1a13db9e2f3d4a615208bf5480b2520aaa1b1d1908f3d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a48d1a9d67098dc8a1a13db9e2f3d4a615208bf5480b2520aaa1b1d1908f3d18", kill_on_drop: false }` [INFO] [stdout] a48d1a9d67098dc8a1a13db9e2f3d4a615208bf5480b2520aaa1b1d1908f3d18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "check" "--frozen" "--all" "--all-targets" "--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] 7a668597559006c9d5071e629349094f00775a4f5fc2af5a1a92e915eb2de311 [INFO] running `Command { std: "docker" "start" "-a" "7a668597559006c9d5071e629349094f00775a4f5fc2af5a1a92e915eb2de311", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking 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/easy/n_repeated_element_in_size_2n_array.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 6 | match map.get(el) { [INFO] [stdout] | --- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 11 | map.insert(*el, n + 1); [INFO] [stdout] | ^^^ - immutable borrow later used here [INFO] [stdout] | | [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] [stdout] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/easy/n_repeated_element_in_size_2n_array.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 6 | match map.get(el) { [INFO] [stdout] | --- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 11 | map.insert(*el, n + 1); [INFO] [stdout] | ^^^ - immutable borrow later used here [INFO] [stdout] | | [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 dev [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "7a668597559006c9d5071e629349094f00775a4f5fc2af5a1a92e915eb2de311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a668597559006c9d5071e629349094f00775a4f5fc2af5a1a92e915eb2de311", kill_on_drop: false }` [INFO] [stdout] 7a668597559006c9d5071e629349094f00775a4f5fc2af5a1a92e915eb2de311