[INFO] cloning repository https://github.com/flakusha/rust_practice [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flakusha/rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflakusha%2Frust_practice"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflakusha%2Frust_practice'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 15cca2add3c45ebaf24ec9ff6ac19d81528d8a32 [INFO] checking flakusha/rust_practice against try#8a749131e7beb72f6edacefd2bdcbed3d67b2112 for pr-72331 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflakusha%2Frust_practice" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flakusha/rust_practice on toolchain 8a749131e7beb72f6edacefd2bdcbed3d67b2112 [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/flakusha/rust_practice [INFO] finished tweaking git repo https://github.com/flakusha/rust_practice [INFO] tweaked toml for git repo https://github.com/flakusha/rust_practice written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/flakusha/rust_practice already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+8a749131e7beb72f6edacefd2bdcbed3d67b2112" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5fa74d2b188464c926ac0ccfc49d60d29568dd54e13dff36d4f2a42a5510120a [INFO] running `"docker" "start" "-a" "5fa74d2b188464c926ac0ccfc49d60d29568dd54e13dff36d4f2a42a5510120a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking rust_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around `while` condition [INFO] [stderr] --> src/two_sum_sorted.rs:79:14 [INFO] [stderr] | [INFO] [stderr] 79 | while(l_step < r_step) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `while` condition [INFO] [stderr] --> src/two_sum_sorted.rs:79:14 [INFO] [stderr] | [INFO] [stderr] 79 | while(l_step < r_step) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `index_1` is never read [INFO] [stderr] --> src/two_sum_sorted.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | let mut index_1 = max_index; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `index_1` is never read [INFO] [stderr] --> src/two_sum_sorted.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | let mut index_1 = max_index; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `two_sum_hm` [INFO] [stderr] --> src/two_sum_sorted.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn two_sum_hm(numbers: Vec, target: i32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `two_sum_hm` [INFO] [stderr] --> src/two_sum_sorted.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn two_sum_hm(numbers: Vec, target: i32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `two_sum_loop` [INFO] [stderr] --> src/two_sum_sorted.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn two_sum_loop(numbers: Vec, target: i32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `two_sum_loop` [INFO] [stderr] --> src/two_sum_sorted.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn two_sum_loop(numbers: Vec, target: i32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `"docker" "inspect" "5fa74d2b188464c926ac0ccfc49d60d29568dd54e13dff36d4f2a42a5510120a"` [INFO] running `"docker" "rm" "-f" "5fa74d2b188464c926ac0ccfc49d60d29568dd54e13dff36d4f2a42a5510120a"` [INFO] [stdout] 5fa74d2b188464c926ac0ccfc49d60d29568dd54e13dff36d4f2a42a5510120a