[INFO] cloning repository https://github.com/yourarj/rust-ds-algo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yourarj/rust-ds-algo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyourarj%2Frust-ds-algo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyourarj%2Frust-ds-algo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 153784729975273d1620a40b0e7ad30fa5748ded [INFO] checking yourarj/rust-ds-algo against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyourarj%2Frust-ds-algo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yourarj/rust-ds-algo on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/yourarj/rust-ds-algo [INFO] finished tweaking git repo https://github.com/yourarj/rust-ds-algo [INFO] tweaked toml for git repo https://github.com/yourarj/rust-ds-algo written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yourarj/rust-ds-algo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42844d9540ec6378cb5a7600b7f1a75f731f98de138a3a7419c88b944e544a44 [INFO] running `Command { std: "docker" "start" "-a" "42844d9540ec6378cb5a7600b7f1a75f731f98de138a3a7419c88b944e544a44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42844d9540ec6378cb5a7600b7f1a75f731f98de138a3a7419c88b944e544a44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42844d9540ec6378cb5a7600b7f1a75f731f98de138a3a7419c88b944e544a44", kill_on_drop: false }` [INFO] [stdout] 42844d9540ec6378cb5a7600b7f1a75f731f98de138a3a7419c88b944e544a44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 822e2bccd6d5e5eda81a9e2ee171487f6adf25cea270dcd3adb08730098f362c [INFO] running `Command { std: "docker" "start" "-a" "822e2bccd6d5e5eda81a9e2ee171487f6adf25cea270dcd3adb08730098f362c", kill_on_drop: false }` [INFO] [stderr] warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] Checking university-of-princeton-path-compressed-weighted-quick-union v0.1.0 (/opt/rustwide/workdir/university-of-princeton-path-compressed-weighted-quick-union) [INFO] [stderr] Checking university-of-princeton-path-compressed-weighted-quick-union-canonical-element v0.1.0 (/opt/rustwide/workdir/university-of-princeton-path-compressed-weighted-quick-union-canonical-element) [INFO] [stderr] Checking university-of-princeton-path-compressed-weighted-quick-union-social v0.1.0 (/opt/rustwide/workdir/university-of-princeton-path-compressed-weighted-quick-union-social) [INFO] [stderr] Checking leetcode-roman-to-integer v0.1.0 (/opt/rustwide/workdir/leetcode-roman-to-integer) [INFO] [stderr] Checking university-of-princeton-quick-find v0.1.0 (/opt/rustwide/workdir/university-of-princeton-quick-find) [INFO] [stderr] Checking leetcode-find-the-index-of-the-first-occurrence-in-a-string v0.1.0 (/opt/rustwide/workdir/leetcode-find-the-index-of-the-first-occurrence-in-a-string) [INFO] [stderr] Checking leetcode-remove-duplicates-from-sorted-array v0.1.0 (/opt/rustwide/workdir/leetcode-remove-duplicates-from-sorted-array) [INFO] [stderr] Checking leetcode-reverse-an-array-recursive v0.1.0 (/opt/rustwide/workdir/leetcode-reverse-an-array-recursive) [INFO] [stderr] Checking leetcode-two-sum v0.1.0 (/opt/rustwide/workdir/leetcode-two-sum) [INFO] [stderr] Checking leetcode-valid-parentheses v0.1.0 (/opt/rustwide/workdir/leetcode-valid-parentheses) [INFO] [stderr] Checking leetcode-jump-game-iv v0.1.0 (/opt/rustwide/workdir/leetcode-jump-game-iv) [INFO] [stderr] Checking gg-kadanes-algorithm v0.1.0 (/opt/rustwide/workdir/gg-kadanes-algorithm) [INFO] [stderr] Checking university-of-princeton-quick-union v0.1.0 (/opt/rustwide/workdir/university-of-princeton-quick-union) [INFO] [stderr] Checking leetcode-car-pooling v0.1.0 (/opt/rustwide/workdir/leetcode-car-pooling) [INFO] [stderr] Checking leetcode-merge-two-sorted-lists v0.1.0 (/opt/rustwide/workdir/leetcode-merge-two-sorted-lists) [INFO] [stdout] error: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> leetcode-two-sum/src/main.rs:13:74 [INFO] [stdout] | [INFO] [stdout] 13 | answer.push(*complement_map_with_index.get(&element).unwrap().deref()); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `i32` does not implement `Deref`, so calling `deref` on `&i32` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking merge-sort v0.1.0 (/opt/rustwide/workdir/merge-sort) [INFO] [stderr] Checking university-of-princeton-path-compressed-percolation-threshold-via-monte-carlo-simulation v0.1.0 (/opt/rustwide/workdir/university-of-princeton-path-compressed-percolation-threshold-via-monte-carlo-simulation) [INFO] [stderr] error: could not compile `leetcode-two-sum` (bin "leetcode-two-sum") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "822e2bccd6d5e5eda81a9e2ee171487f6adf25cea270dcd3adb08730098f362c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "822e2bccd6d5e5eda81a9e2ee171487f6adf25cea270dcd3adb08730098f362c", kill_on_drop: false }` [INFO] [stdout] 822e2bccd6d5e5eda81a9e2ee171487f6adf25cea270dcd3adb08730098f362c