[INFO] fetching crate crcp 0.3.5... [INFO] checking crcp-0.3.5 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate crcp 0.3.5 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate crcp 0.3.5 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate crcp 0.3.5 [INFO] finished tweaking crates.io crate crcp 0.3.5 [INFO] tweaked toml for crates.io crate crcp 0.3.5 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate crates.io crate crcp 0.3.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 563ebbd0348ac5e75bc0d4b0203c05a982e25acc640f69ce3cb8933b4edcc49f [INFO] running `Command { std: "docker" "start" "-a" "563ebbd0348ac5e75bc0d4b0203c05a982e25acc640f69ce3cb8933b4edcc49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "563ebbd0348ac5e75bc0d4b0203c05a982e25acc640f69ce3cb8933b4edcc49f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563ebbd0348ac5e75bc0d4b0203c05a982e25acc640f69ce3cb8933b4edcc49f", kill_on_drop: false }` [INFO] [stdout] 563ebbd0348ac5e75bc0d4b0203c05a982e25acc640f69ce3cb8933b4edcc49f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb2197eb79beca075f837d8caeb0cd91b1de3e6fd0aa02c6fedc1553c9b92450 [INFO] running `Command { std: "docker" "start" "-a" "cb2197eb79beca075f837d8caeb0cd91b1de3e6fd0aa02c6fedc1553c9b92450", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking crcp v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `used` [INFO] [stdout] --> src/main.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | 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:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | 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:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | 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:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | 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:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | 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: constant is never used: `MIN_CODE_LENGTH` [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | const MIN_CODE_LENGTH: i32 = 21; // equals to k+1 -- to do make it automatic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/main.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `used` [INFO] [stdout] --> src/main.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | 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:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | 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:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | 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:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | 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:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | 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:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | 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:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | 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:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | 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:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | let mut i: Vec = vec![ [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:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | 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: constant is never used: `MIN_CODE_LENGTH` [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | const MIN_CODE_LENGTH: i32 = 21; // equals to k+1 -- to do make it automatic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/main.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.65s [INFO] running `Command { std: "docker" "inspect" "cb2197eb79beca075f837d8caeb0cd91b1de3e6fd0aa02c6fedc1553c9b92450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb2197eb79beca075f837d8caeb0cd91b1de3e6fd0aa02c6fedc1553c9b92450", kill_on_drop: false }` [INFO] [stdout] cb2197eb79beca075f837d8caeb0cd91b1de3e6fd0aa02c6fedc1553c9b92450