[INFO] fetching crate spacemap 1.1.2... [INFO] testing spacemap-1.1.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate spacemap 1.1.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate spacemap 1.1.2 [INFO] finished tweaking crates.io crate spacemap 1.1.2 [INFO] tweaked toml for crates.io crate spacemap 1.1.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spacemap 1.1.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spacemap 1.1.2 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94b6fa98aebd558a9a6e57318f113323d0ab45cd7cf976f153856e8d3f9dae8e [INFO] running `Command { std: "docker" "start" "-a" "94b6fa98aebd558a9a6e57318f113323d0ab45cd7cf976f153856e8d3f9dae8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94b6fa98aebd558a9a6e57318f113323d0ab45cd7cf976f153856e8d3f9dae8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b6fa98aebd558a9a6e57318f113323d0ab45cd7cf976f153856e8d3f9dae8e", kill_on_drop: false }` [INFO] [stdout] 94b6fa98aebd558a9a6e57318f113323d0ab45cd7cf976f153856e8d3f9dae8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7813071f36987b9e5365c154a145b52f1c796d883baf43f65aec589c1dbc06d7 [INFO] running `Command { std: "docker" "start" "-a" "7813071f36987b9e5365c154a145b52f1c796d883baf43f65aec589c1dbc06d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling io-lifetimes v0.5.3 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling rustix v0.33.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling linux-raw-sys v0.0.42 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling constant_time_eq v0.4.2 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling blake3 v1.8.3 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling is-terminal v0.1.0 [INFO] [stderr] Compiling jwalk v0.8.1 [INFO] [stderr] Compiling sysinfo v0.33.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling spacemap v1.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::bounded_heap::BoundedMinHeap` [INFO] [stdout] --> src/sharded_collector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bounded_heap::BoundedMinHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::FileMetadata` [INFO] [stdout] --> src/sharded_collector.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::types::FileMetadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/sharded_collector.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collector.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn merge(&mut self, mut other: SinglePassCollector) { [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: unused variable: `file_meta` [INFO] [stdout] --> src/parallel_scanner.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let file_meta = match entry_result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_meta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sharded_collector.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | mut collector1: SinglePassCollector, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector2` [INFO] [stdout] --> src/sharded_collector.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | collector2: SinglePassCollector, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/bounded_heap.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl BoundedMinHeap { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/cache.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ScanCache { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn clear(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/categorize.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TypeCategorizer { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_checkpoint` is never used [INFO] [stdout] --> src/checkpoint.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ScanCheckpoint { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn should_checkpoint(&self, interval_seconds: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PathPool` is never constructed [INFO] [stdout] --> src/path_pool.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PathPool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `intern`, `get`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/path_pool.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl PathPool { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn intern(&mut self, path: &Path) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get(&self, id: u32) -> Option<&Path> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShardedCollector` is never constructed [INFO] [stdout] --> src/sharded_collector.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ShardedCollector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_shard`, `finalize`, and `merge_collectors` are never used [INFO] [stdout] --> src/sharded_collector.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ShardedCollector { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_shard(&self, shard_id: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn finalize(self, total_bytes: u64) -> CollectionResults { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn merge_collectors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.14s [INFO] running `Command { std: "docker" "inspect" "7813071f36987b9e5365c154a145b52f1c796d883baf43f65aec589c1dbc06d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7813071f36987b9e5365c154a145b52f1c796d883baf43f65aec589c1dbc06d7", kill_on_drop: false }` [INFO] [stdout] 7813071f36987b9e5365c154a145b52f1c796d883baf43f65aec589c1dbc06d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7de1b80eb672b503f7d4bf2d1e44d292a65f445baccdde90b3bf53b8849aa916 [INFO] running `Command { std: "docker" "start" "-a" "7de1b80eb672b503f7d4bf2d1e44d292a65f445baccdde90b3bf53b8849aa916", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling spacemap v1.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::bounded_heap::BoundedMinHeap` [INFO] [stdout] --> src/sharded_collector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::bounded_heap::BoundedMinHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::FileMetadata` [INFO] [stdout] --> src/sharded_collector.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::types::FileMetadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/sharded_collector.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collector.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn merge(&mut self, mut other: SinglePassCollector) { [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: unused variable: `file_meta` [INFO] [stdout] --> src/parallel_scanner.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | let file_meta = match entry_result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_meta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sharded_collector.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | mut collector1: SinglePassCollector, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector2` [INFO] [stdout] --> src/sharded_collector.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | collector2: SinglePassCollector, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/cache.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ScanCache { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn clear(&mut self) -> 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: method `should_checkpoint` is never used [INFO] [stdout] --> src/checkpoint.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ScanCheckpoint { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn should_checkpoint(&self, interval_seconds: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/path_pool.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl PathPool { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `top_n` is never read [INFO] [stdout] --> src/sharded_collector.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ShardedCollector { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 13 | shards: Vec>>, [INFO] [stdout] 14 | top_n: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_shard`, `finalize`, and `merge_collectors` are never used [INFO] [stdout] --> src/sharded_collector.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ShardedCollector { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_shard(&self, shard_id: usize) -> Arc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn finalize(self, total_bytes: u64) -> CollectionResults { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn merge_collectors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.29s [INFO] running `Command { std: "docker" "inspect" "7de1b80eb672b503f7d4bf2d1e44d292a65f445baccdde90b3bf53b8849aa916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de1b80eb672b503f7d4bf2d1e44d292a65f445baccdde90b3bf53b8849aa916", kill_on_drop: false }` [INFO] [stdout] 7de1b80eb672b503f7d4bf2d1e44d292a65f445baccdde90b3bf53b8849aa916 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e1f8e894f364801a655918d20a06946d100cba58a8f81b78a0fe9ddd8bc4dfd [INFO] running `Command { std: "docker" "start" "-a" "3e1f8e894f364801a655918d20a06946d100cba58a8f81b78a0fe9ddd8bc4dfd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::bounded_heap::BoundedMinHeap` [INFO] [stderr] --> src/sharded_collector.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::bounded_heap::BoundedMinHeap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::types::FileMetadata` [INFO] [stderr] --> src/sharded_collector.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::types::FileMetadata; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rayon::prelude` [INFO] [stderr] --> src/sharded_collector.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use rayon::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/collector.rs:145:29 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn merge(&mut self, mut other: SinglePassCollector) { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_meta` [INFO] [stderr] --> src/parallel_scanner.rs:95:25 [INFO] [stderr] | [INFO] [stderr] 95 | let file_meta = match entry_result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_meta` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sharded_collector.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | mut collector1: SinglePassCollector, [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `collector2` [INFO] [stderr] --> src/sharded_collector.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | collector2: SinglePassCollector, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector2` [INFO] [stderr] [INFO] [stderr] warning: method `clear` is never used [INFO] [stderr] --> src/cache.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl ScanCache { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 128 | pub fn clear(&mut self) -> io::Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `should_checkpoint` is never used [INFO] [stderr] --> src/checkpoint.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl ScanCheckpoint { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 62 | pub fn should_checkpoint(&self, interval_seconds: u64) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_empty` is never used [INFO] [stderr] --> src/path_pool.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl PathPool { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `top_n` is never read [INFO] [stderr] --> src/sharded_collector.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct ShardedCollector { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] 13 | shards: Vec>>, [INFO] [stderr] 14 | top_n: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `get_shard`, `finalize`, and `merge_collectors` are never used [INFO] [stderr] --> src/sharded_collector.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl ShardedCollector { [INFO] [stderr] | --------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn get_shard(&self, shard_id: usize) -> Arc> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | pub fn finalize(self, total_bytes: u64) -> CollectionResults { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | fn merge_collectors( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `spacemap` (bin "spacemap" test) generated 12 warnings (run `cargo fix --bin "spacemap" -p spacemap --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/spacemap-90197dc7e1fb8f40) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test bounded_heap::tests::test_bounded_heap_capacity ... ok [INFO] [stdout] test bounded_heap::tests::test_bounded_heap_basic ... ok [INFO] [stdout] test bounded_heap::tests::test_bounded_heap_no_eviction_if_smaller ... ok [INFO] [stdout] test bounded_heap::tests::test_bounded_heap_single_item ... ok [INFO] [stdout] test collector::tests::test_single_pass_collector_basic ... ok [INFO] [stdout] test collector::tests::test_single_pass_collector_bounded_top_files ... ok [INFO] [stdout] test collector::tests::test_single_pass_collector_skip_tops ... ok [INFO] [stdout] test path_pool::tests::test_path_pool_deduplication ... ok [INFO] [stdout] test path_pool::tests::test_path_pool_basic ... ok [INFO] [stdout] test sharded_collector::tests::test_sharded_collector_creation ... ok [INFO] [stdout] test bounded_heap::tests::test_bounded_heap_empty ... ok [INFO] [stdout] test bounded_heap::tests::test_bounded_heap_eviction ... ok [INFO] [stdout] test duplicates::tests::test_duplicate_finder_with_duplicates ... ok [INFO] [stdout] test duplicates::tests::test_duplicate_finder_no_duplicates ... ok [INFO] [stdout] test path_pool::tests::test_path_pool_memory_efficiency ... ok [INFO] [stdout] test checkpoint::tests::test_checkpoint_save_load ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3e1f8e894f364801a655918d20a06946d100cba58a8f81b78a0fe9ddd8bc4dfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1f8e894f364801a655918d20a06946d100cba58a8f81b78a0fe9ddd8bc4dfd", kill_on_drop: false }` [INFO] [stdout] 3e1f8e894f364801a655918d20a06946d100cba58a8f81b78a0fe9ddd8bc4dfd