[INFO] fetching crate crcp 0.3.5... [INFO] checking crcp-0.3.5 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] extracting crate crcp 0.3.5 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate crcp 0.3.5 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "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-0/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" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "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] 6be2849c1f6b25cc191b7541d7726ea2b2cc4edfc5cf840e7e33efd4d02d2edf [INFO] running `Command { std: "docker" "start" "-a" "6be2849c1f6b25cc191b7541d7726ea2b2cc4edfc5cf840e7e33efd4d02d2edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6be2849c1f6b25cc191b7541d7726ea2b2cc4edfc5cf840e7e33efd4d02d2edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6be2849c1f6b25cc191b7541d7726ea2b2cc4edfc5cf840e7e33efd4d02d2edf", kill_on_drop: false }` [INFO] [stdout] 6be2849c1f6b25cc191b7541d7726ea2b2cc4edfc5cf840e7e33efd4d02d2edf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d3b2d9b36ca1259fe97cff5e39a639c89a2607c66e47464200742ade8400bea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7d3b2d9b36ca1259fe97cff5e39a639c89a2607c66e47464200742ade8400bea", kill_on_drop: false }` [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_chacha v0.1.1 [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] 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: 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: 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: 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: 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: 9 warnings emitted [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "7d3b2d9b36ca1259fe97cff5e39a639c89a2607c66e47464200742ade8400bea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d3b2d9b36ca1259fe97cff5e39a639c89a2607c66e47464200742ade8400bea", kill_on_drop: false }` [INFO] [stdout] 7d3b2d9b36ca1259fe97cff5e39a639c89a2607c66e47464200742ade8400bea