[INFO] fetching crate crcp 0.3.6... [INFO] checking crcp-0.3.6 against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] extracting crate crcp 0.3.6 into /workspace/builds/worker-22/source [INFO] validating manifest of crates.io crate crcp 0.3.6 on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate crcp 0.3.6 [INFO] finished tweaking crates.io crate crcp 0.3.6 [INFO] tweaked toml for crates.io crate crcp 0.3.6 written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate crates.io crate crcp 0.3.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 768d598626bad07e8cf8a9f1c2645c8f0c026c4ed670947032a0a47e039b0fbc [INFO] running `Command { std: "docker" "start" "-a" "768d598626bad07e8cf8a9f1c2645c8f0c026c4ed670947032a0a47e039b0fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "768d598626bad07e8cf8a9f1c2645c8f0c026c4ed670947032a0a47e039b0fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768d598626bad07e8cf8a9f1c2645c8f0c026c4ed670947032a0a47e039b0fbc", kill_on_drop: false }` [INFO] [stdout] 768d598626bad07e8cf8a9f1c2645c8f0c026c4ed670947032a0a47e039b0fbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 877214f514e22708dcbc31dd74fec4970f6b5ad9b315121ffc102013bc7e8972 [INFO] running `Command { std: "docker" "start" "-a" "877214f514e22708dcbc31dd74fec4970f6b5ad9b315121ffc102013bc7e8972", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking crcp v0.3.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `used` [INFO] [stdout] --> src/main.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | let mut used: HashSet; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_used` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d2k` [INFO] [stdout] --> src/main.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let d2k = numcodel; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d2k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dualdistance_distribution_calculated` is never read [INFO] [stdout] --> src/main.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | dualdistance_distribution_calculated = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut res = 0u8; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:486:17 [INFO] [stdout] | [INFO] [stdout] 486 | let mut j = i.clone(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `START_POL` [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const START_POL: u64 = 0x200001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `END_POL` [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const END_POL: u64 = 0x3fffff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/main.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | let G = grid_base.as_mut_slice(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/distribution_map.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | &self.weights.insert(*k, el); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = &self.weights.insert(*k, el); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `used` [INFO] [stdout] --> src/main.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | let mut used: HashSet; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_used` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d2k` [INFO] [stdout] --> src/main.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let d2k = numcodel; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_d2k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dualdistance_distribution_calculated` is never read [INFO] [stdout] --> src/main.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | dualdistance_distribution_calculated = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut res = 0u8; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:486:17 [INFO] [stdout] | [INFO] [stdout] 486 | let mut j = i.clone(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let mut i: Vec = vec![0x10001]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | let mut i: Vec = vec![0x10001, 0x1]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut i: Vec = vec![0x10001, 0x1]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `START_POL` [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const START_POL: u64 = 0x200001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `END_POL` [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const END_POL: u64 = 0x3fffff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/main.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | let G = grid_base.as_mut_slice(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/distribution_map.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | &self.weights.insert(*k, el); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = &self.weights.insert(*k, el); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.28s [INFO] running `Command { std: "docker" "inspect" "877214f514e22708dcbc31dd74fec4970f6b5ad9b315121ffc102013bc7e8972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "877214f514e22708dcbc31dd74fec4970f6b5ad9b315121ffc102013bc7e8972", kill_on_drop: false }` [INFO] [stdout] 877214f514e22708dcbc31dd74fec4970f6b5ad9b315121ffc102013bc7e8972