[INFO] cloning repository https://github.com/s-parfeniuc/fastk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/s-parfeniuc/fastk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-parfeniuc%2Ffastk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-parfeniuc%2Ffastk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44abd940bd904140364da5941851c46886ab8590 [INFO] checking s-parfeniuc/fastk against try#6284d7b4bd27983dba388146648ab844ca7d032f for pr-152971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs-parfeniuc%2Ffastk" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/s-parfeniuc/fastk [INFO] finished tweaking git repo https://github.com/s-parfeniuc/fastk [INFO] tweaked toml for git repo https://github.com/s-parfeniuc/fastk written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/s-parfeniuc/fastk on toolchain 6284d7b4bd27983dba388146648ab844ca7d032f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/s-parfeniuc/fastk 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" "+6284d7b4bd27983dba388146648ab844ca7d032f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core_affinity v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93f6e5ef59417cde357f7eebec5fae542d78de5f92adbb82224f2042ee789b8b [INFO] running `Command { std: "docker" "start" "-a" "93f6e5ef59417cde357f7eebec5fae542d78de5f92adbb82224f2042ee789b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93f6e5ef59417cde357f7eebec5fae542d78de5f92adbb82224f2042ee789b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f6e5ef59417cde357f7eebec5fae542d78de5f92adbb82224f2042ee789b8b", kill_on_drop: false }` [INFO] [stdout] 93f6e5ef59417cde357f7eebec5fae542d78de5f92adbb82224f2042ee789b8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b271d8ed95443f752aae3537dd13f83f18f682483899c898337e52bd7f3b3ca8 [INFO] running `Command { std: "docker" "start" "-a" "b271d8ed95443f752aae3537dd13f83f18f682483899c898337e52bd7f3b3ca8", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking core_affinity v0.6.1 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking clap v4.5.54 [INFO] [stderr] Checking fastk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/sort.rs:1273:18 [INFO] [stdout] | [INFO] [stdout] 1273 | for (i, (&a, &b)) in zip(core.iter(), coreness.iter()).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_file` is never used [INFO] [stdout] --> src/bin/sort.rs:1383:4 [INFO] [stdout] | [INFO] [stdout] 1383 | fn write_to_file(path: &str, core: Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `vgc_current` is never read [INFO] [stdout] --> src/bin/testing.rs:1062:27 [INFO] [stdout] | [INFO] [stdout] 1062 | let mut vgc_current = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/testing.rs:1264:18 [INFO] [stdout] | [INFO] [stdout] 1264 | for (i, (&a, &b)) in zip(core.iter(), coreness.iter()).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vgc_threshold` is never read [INFO] [stdout] --> src/bin/testing.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 334 | pub struct LocalPQ { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 341 | vgc_threshold: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_file` is never used [INFO] [stdout] --> src/bin/testing.rs:1384:4 [INFO] [stdout] | [INFO] [stdout] 1384 | fn write_to_file(path: &str, core: Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/main.rs:647:24 [INFO] [stdout] | [INFO] [stdout] 647 | if rng.gen::() < p_hub { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/sort.rs:1273:18 [INFO] [stdout] | [INFO] [stdout] 1273 | for (i, (&a, &b)) in zip(core.iter(), coreness.iter()).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_file` is never used [INFO] [stdout] --> src/bin/sort.rs:1383:4 [INFO] [stdout] | [INFO] [stdout] 1383 | fn write_to_file(path: &str, core: Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `vgc_current` is never read [INFO] [stdout] --> src/bin/testing.rs:1062:27 [INFO] [stdout] | [INFO] [stdout] 1062 | let mut vgc_current = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/testing.rs:1264:18 [INFO] [stdout] | [INFO] [stdout] 1264 | for (i, (&a, &b)) in zip(core.iter(), coreness.iter()).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vgc_threshold` is never read [INFO] [stdout] --> src/bin/testing.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 334 | pub struct LocalPQ { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 341 | vgc_threshold: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_file` is never used [INFO] [stdout] --> src/bin/testing.rs:1384:4 [INFO] [stdout] | [INFO] [stdout] 1384 | fn write_to_file(path: &str, core: Vec) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen`: Renamed to `random` to avoid conflict with the new `gen` keyword in Rust 2024. [INFO] [stdout] --> src/main.rs:647:24 [INFO] [stdout] | [INFO] [stdout] 647 | if rng.gen::() < p_hub { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1165:13 [INFO] [stdout] | [INFO] [stdout] 1165 | let mut rng = SmallRng::from_os_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1193:13 [INFO] [stdout] | [INFO] [stdout] 1193 | let mut equal_estimates = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:1165:13 [INFO] [stdout] | [INFO] [stdout] 1165 | let mut rng = SmallRng::from_os_rng(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(unused_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_high_degree` [INFO] [stdout] --> src/main.rs:1184:13 [INFO] [stdout] | [INFO] [stdout] 1184 | let is_high_degree = |node: usize| self.inmap[node].len() >= threshold; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_high_degree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1165:13 [INFO] [stdout] | [INFO] [stdout] 1165 | let mut rng = SmallRng::from_os_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1193:13 [INFO] [stdout] | [INFO] [stdout] 1193 | let mut equal_estimates = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:1165:13 [INFO] [stdout] | [INFO] [stdout] 1165 | let mut rng = SmallRng::from_os_rng(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(unused_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_high_degree` [INFO] [stdout] --> src/main.rs:1184:13 [INFO] [stdout] | [INFO] [stdout] 1184 | let is_high_degree = |node: usize| self.inmap[node].len() >= threshold; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_high_degree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2353:9 [INFO] [stdout] | [INFO] [stdout] 2353 | let mut edges = 3000; [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:2353:9 [INFO] [stdout] | [INFO] [stdout] 2353 | let mut edges = 3000; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `core` is assigned to, but never used [INFO] [stdout] --> src/main.rs:2425:9 [INFO] [stdout] | [INFO] [stdout] 2425 | let mut core = Vec::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_core` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `core` is never read [INFO] [stdout] --> src/main.rs:2464:13 [INFO] [stdout] | [INFO] [stdout] 2464 | core = graph.compute_coreness_iter_sync_opti2((1.0, 0.0), &mut archi, false); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `core` is assigned to, but never used [INFO] [stdout] --> src/main.rs:2425:9 [INFO] [stdout] | [INFO] [stdout] 2425 | let mut core = Vec::new(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_core` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `core` is never read [INFO] [stdout] --> src/main.rs:2464:13 [INFO] [stdout] | [INFO] [stdout] 2464 | core = graph.compute_coreness_iter_sync_opti2((1.0, 0.0), &mut archi, false); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.27s [INFO] running `Command { std: "docker" "inspect" "b271d8ed95443f752aae3537dd13f83f18f682483899c898337e52bd7f3b3ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b271d8ed95443f752aae3537dd13f83f18f682483899c898337e52bd7f3b3ca8", kill_on_drop: false }` [INFO] [stdout] b271d8ed95443f752aae3537dd13f83f18f682483899c898337e52bd7f3b3ca8