[INFO] cloning repository https://github.com/jplx05/sweep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jplx05/sweep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplx05%2Fsweep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplx05%2Fsweep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 173387393bfd8bec6c9f1ba821d34b04a52b4c6b [INFO] testing jplx05/sweep against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjplx05%2Fsweep" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jplx05/sweep [INFO] finished tweaking git repo https://github.com/jplx05/sweep [INFO] tweaked toml for git repo https://github.com/jplx05/sweep written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jplx05/sweep on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jplx05/sweep 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd5f428f7a34b394fc2c15221d3fcc5e7fdf35c434e5c1326b229b884e0660fa [INFO] running `Command { std: "docker" "start" "-a" "bd5f428f7a34b394fc2c15221d3fcc5e7fdf35c434e5c1326b229b884e0660fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd5f428f7a34b394fc2c15221d3fcc5e7fdf35c434e5c1326b229b884e0660fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd5f428f7a34b394fc2c15221d3fcc5e7fdf35c434e5c1326b229b884e0660fa", kill_on_drop: false }` [INFO] [stdout] bd5f428f7a34b394fc2c15221d3fcc5e7fdf35c434e5c1326b229b884e0660fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f33ec111d0073b2248c054337f5a65edb1f639f83242d8fd5ac1675760a2c371 [INFO] running `Command { std: "docker" "start" "-a" "f33ec111d0073b2248c054337f5a65edb1f639f83242d8fd5ac1675760a2c371", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling webpki-roots v1.0.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling blake3 v1.8.3 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling battery v0.7.8 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling uom v0.30.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling constant_time_eq v0.4.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling wole v1.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling rusqlite v0.31.0 [INFO] [stderr] Compiling trash v5.2.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling jwalk v0.8.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling sysinfo v0.32.1 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling bytesize v1.3.3 [INFO] [stdout] warning: unused import: `ScanPathReporter` [INFO] [stdout] --> src/categories/applications.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::scan_events::{ScanPathReporter, ScanProgressEvent}; [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: `std::sync::Arc` [INFO] [stdout] --> src/categories/applications.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/categories/applications.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/categories/startup.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/categories/startup.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/categories/startup.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/status.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories/startup.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 83 | return Ok(programs); [INFO] [stdout] | ------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(programs) [INFO] [stdout] | ^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories/startup.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 274 | / return Err(anyhow::anyhow!( [INFO] [stdout] 275 | | "Startup management is only available on Windows" [INFO] [stdout] 276 | | )); [INFO] [stdout] | |__________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 279 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories/startup.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 383 | / return Err(anyhow::anyhow!( [INFO] [stdout] 384 | | "Startup management is only available on Windows" [INFO] [stdout] 385 | | )); [INFO] [stdout] | |__________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 388 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/categories/applications.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [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/categories/startup.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut programs = Vec::new(); [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: `program` [INFO] [stdout] --> src/categories/startup.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn disable_startup_program(program: &StartupProgram) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/categories/startup.rs:371:31 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn enable_startup_program(program: &StartupProgram) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_str` [INFO] [stdout] --> src/scan_cache/database.rs:1132:17 [INFO] [stdout] | [INFO] [stdout] 1132 | let path_str = path.display().to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_str` [INFO] [stdout] --> src/scanner.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let path_str = path.display().to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/status.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | options: StatusGatherOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `idx` is never read [INFO] [stdout] --> src/tui/screens/status.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | idx += 2; // Skip spacing [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: function `estimate_impact` is never used [INFO] [stdout] --> src/categories/startup.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn estimate_impact(command: &str) -> StartupImpact { [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 `gather_process_io_metrics` is never used [INFO] [stdout] --> src/status.rs:2206:4 [INFO] [stdout] | [INFO] [stdout] 2206 | fn gather_process_io_metrics() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gather_process_handle_counts` is never used [INFO] [stdout] --> src/status.rs:2250:4 [INFO] [stdout] | [INFO] [stdout] 2250 | fn gather_process_handle_counts() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gather_process_page_faults` is never used [INFO] [stdout] --> src/status.rs:2296:4 [INFO] [stdout] | [INFO] [stdout] 2296 | fn gather_process_page_faults() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROC_HANDLES_WIDTH` is never used [INFO] [stdout] --> src/status.rs:2942:7 [INFO] [stdout] | [INFO] [stdout] 2942 | const PROC_HANDLES_WIDTH: usize = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROC_PGFAULTS_WIDTH` is never used [INFO] [stdout] --> src/status.rs:2943:7 [INFO] [stdout] | [INFO] [stdout] 2943 | const PROC_PGFAULTS_WIDTH: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_uptime_detailed` is never used [INFO] [stdout] --> src/tui/screens/status.rs:2203:4 [INFO] [stdout] | [INFO] [stdout] 2203 | fn format_uptime_detailed(seconds: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 16s [INFO] running `Command { std: "docker" "inspect" "f33ec111d0073b2248c054337f5a65edb1f639f83242d8fd5ac1675760a2c371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f33ec111d0073b2248c054337f5a65edb1f639f83242d8fd5ac1675760a2c371", kill_on_drop: false }` [INFO] [stdout] f33ec111d0073b2248c054337f5a65edb1f639f83242d8fd5ac1675760a2c371 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac99eeb7541a3943beac09f87a871d468424a23b8dd5303c137cf5c82540ccce [INFO] running `Command { std: "docker" "start" "-a" "ac99eeb7541a3943beac09f87a871d468424a23b8dd5303c137cf5c82540ccce", 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 fastrand v2.3.0 [INFO] [stdout] warning: unused import: `ScanPathReporter` [INFO] [stdout] --> src/categories/applications.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::scan_events::{ScanPathReporter, ScanProgressEvent}; [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: `std::sync::Arc` [INFO] [stdout] --> src/categories/applications.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/categories/applications.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/categories/startup.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/categories/startup.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/categories/startup.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/status.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories/startup.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 83 | return Ok(programs); [INFO] [stdout] | ------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(programs) [INFO] [stdout] | ^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories/startup.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 274 | / return Err(anyhow::anyhow!( [INFO] [stdout] 275 | | "Startup management is only available on Windows" [INFO] [stdout] 276 | | )); [INFO] [stdout] | |__________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 279 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories/startup.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 383 | / return Err(anyhow::anyhow!( [INFO] [stdout] 384 | | "Startup management is only available on Windows" [INFO] [stdout] 385 | | )); [INFO] [stdout] | |__________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 388 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/categories/applications.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [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/categories/startup.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut programs = Vec::new(); [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: `program` [INFO] [stdout] --> src/categories/startup.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn disable_startup_program(program: &StartupProgram) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/categories/startup.rs:371:31 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn enable_startup_program(program: &StartupProgram) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_str` [INFO] [stdout] --> src/scan_cache/database.rs:1132:17 [INFO] [stdout] | [INFO] [stdout] 1132 | let path_str = path.display().to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_str` [INFO] [stdout] --> src/scanner.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let path_str = path.display().to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/status.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | options: StatusGatherOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `idx` is never read [INFO] [stdout] --> src/tui/screens/status.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | idx += 2; // Skip spacing [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: function `estimate_impact` is never used [INFO] [stdout] --> src/categories/startup.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn estimate_impact(command: &str) -> StartupImpact { [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 `gather_process_io_metrics` is never used [INFO] [stdout] --> src/status.rs:2206:4 [INFO] [stdout] | [INFO] [stdout] 2206 | fn gather_process_io_metrics() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gather_process_handle_counts` is never used [INFO] [stdout] --> src/status.rs:2250:4 [INFO] [stdout] | [INFO] [stdout] 2250 | fn gather_process_handle_counts() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gather_process_page_faults` is never used [INFO] [stdout] --> src/status.rs:2296:4 [INFO] [stdout] | [INFO] [stdout] 2296 | fn gather_process_page_faults() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROC_HANDLES_WIDTH` is never used [INFO] [stdout] --> src/status.rs:2942:7 [INFO] [stdout] | [INFO] [stdout] 2942 | const PROC_HANDLES_WIDTH: usize = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROC_PGFAULTS_WIDTH` is never used [INFO] [stdout] --> src/status.rs:2943:7 [INFO] [stdout] | [INFO] [stdout] 2943 | const PROC_PGFAULTS_WIDTH: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_uptime_detailed` is never used [INFO] [stdout] --> src/tui/screens/status.rs:2203:4 [INFO] [stdout] | [INFO] [stdout] 2203 | fn format_uptime_detailed(seconds: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling wole v1.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ScanPathReporter` [INFO] [stdout] --> src/categories/applications.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::scan_events::{ScanPathReporter, ScanProgressEvent}; [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: `std::sync::Arc` [INFO] [stdout] --> src/categories/applications.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> src/categories/applications.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/categories/startup.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::{Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/categories/startup.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/categories/startup.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/status.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories/startup.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 83 | return Ok(programs); [INFO] [stdout] | ------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(programs) [INFO] [stdout] | ^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories/startup.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 274 | / return Err(anyhow::anyhow!( [INFO] [stdout] 275 | | "Startup management is only available on Windows" [INFO] [stdout] 276 | | )); [INFO] [stdout] | |__________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 279 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/categories/startup.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 383 | / return Err(anyhow::anyhow!( [INFO] [stdout] 384 | | "Startup management is only available on Windows" [INFO] [stdout] 385 | | )); [INFO] [stdout] | |__________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 388 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/categories/applications.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | config: &Config, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [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/categories/startup.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut programs = Vec::new(); [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: `program` [INFO] [stdout] --> src/categories/startup.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn disable_startup_program(program: &StartupProgram) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/categories/startup.rs:371:31 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn enable_startup_program(program: &StartupProgram) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_str` [INFO] [stdout] --> src/scan_cache/database.rs:1132:17 [INFO] [stdout] | [INFO] [stdout] 1132 | let path_str = path.display().to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_str` [INFO] [stdout] --> src/scanner.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let path_str = path.display().to_string(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/status.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | options: StatusGatherOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `idx` is never read [INFO] [stdout] --> src/tui/screens/status.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 464 | idx += 2; // Skip spacing [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: function `estimate_impact` is never used [INFO] [stdout] --> src/categories/startup.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn estimate_impact(command: &str) -> StartupImpact { [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 `gather_process_io_metrics` is never used [INFO] [stdout] --> src/status.rs:2206:4 [INFO] [stdout] | [INFO] [stdout] 2206 | fn gather_process_io_metrics() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gather_process_handle_counts` is never used [INFO] [stdout] --> src/status.rs:2250:4 [INFO] [stdout] | [INFO] [stdout] 2250 | fn gather_process_handle_counts() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gather_process_page_faults` is never used [INFO] [stdout] --> src/status.rs:2296:4 [INFO] [stdout] | [INFO] [stdout] 2296 | fn gather_process_page_faults() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROC_HANDLES_WIDTH` is never used [INFO] [stdout] --> src/status.rs:2942:7 [INFO] [stdout] | [INFO] [stdout] 2942 | const PROC_HANDLES_WIDTH: usize = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROC_PGFAULTS_WIDTH` is never used [INFO] [stdout] --> src/status.rs:2943:7 [INFO] [stdout] | [INFO] [stdout] 2943 | const PROC_PGFAULTS_WIDTH: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_uptime_detailed` is never used [INFO] [stdout] --> src/tui/screens/status.rs:2203:4 [INFO] [stdout] | [INFO] [stdout] 2203 | fn format_uptime_detailed(seconds: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.69s [INFO] running `Command { std: "docker" "inspect" "ac99eeb7541a3943beac09f87a871d468424a23b8dd5303c137cf5c82540ccce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac99eeb7541a3943beac09f87a871d468424a23b8dd5303c137cf5c82540ccce", kill_on_drop: false }` [INFO] [stdout] ac99eeb7541a3943beac09f87a871d468424a23b8dd5303c137cf5c82540ccce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 61961409121d38660aee07607484587a8c00c5bfe37b763f3267f38ab147fa97 [INFO] running `Command { std: "docker" "start" "-a" "61961409121d38660aee07607484587a8c00c5bfe37b763f3267f38ab147fa97", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ScanPathReporter` [INFO] [stderr] --> src/categories/applications.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::scan_events::{ScanPathReporter, ScanProgressEvent}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/categories/applications.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `UNIX_EPOCH` [INFO] [stderr] --> src/categories/applications.rs:12:29 [INFO] [stderr] | [INFO] [stderr] 12 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/categories/startup.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | use anyhow::{Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PathBuf` and `Path` [INFO] [stderr] --> src/categories/startup.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::process::Command` [INFO] [stderr] --> src/categories/startup.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::process::Command; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/status.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/categories/startup.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 83 | return Ok(programs); [INFO] [stderr] | ------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 86 | Ok(programs) [INFO] [stderr] | ^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/categories/startup.rs:279:5 [INFO] [stderr] | [INFO] [stderr] 274 | / return Err(anyhow::anyhow!( [INFO] [stderr] 275 | | "Startup management is only available on Windows" [INFO] [stderr] 276 | | )); [INFO] [stderr] | |__________- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 279 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/categories/startup.rs:388:5 [INFO] [stderr] | [INFO] [stderr] 383 | / return Err(anyhow::anyhow!( [INFO] [stderr] 384 | | "Startup management is only available on Windows" [INFO] [stderr] 385 | | )); [INFO] [stderr] | |__________- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 388 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/categories/applications.rs:409:5 [INFO] [stderr] | [INFO] [stderr] 409 | config: &Config, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [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/categories/startup.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let mut programs = Vec::new(); [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: `program` [INFO] [stderr] --> src/categories/startup.rs:262:32 [INFO] [stderr] | [INFO] [stderr] 262 | pub fn disable_startup_program(program: &StartupProgram) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `program` [INFO] [stderr] --> src/categories/startup.rs:371:31 [INFO] [stderr] | [INFO] [stderr] 371 | pub fn enable_startup_program(program: &StartupProgram) -> Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path_str` [INFO] [stderr] --> src/scan_cache/database.rs:1132:17 [INFO] [stderr] | [INFO] [stderr] 1132 | let path_str = path.display().to_string(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path_str` [INFO] [stderr] --> src/scanner.rs:137:17 [INFO] [stderr] | [INFO] [stderr] 137 | let path_str = path.display().to_string(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `options` [INFO] [stderr] --> src/status.rs:454:5 [INFO] [stderr] | [INFO] [stderr] 454 | options: StatusGatherOptions, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `idx` is never read [INFO] [stderr] --> src/tui/screens/status.rs:464:17 [INFO] [stderr] | [INFO] [stderr] 464 | idx += 2; // Skip spacing [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `estimate_impact` is never used [INFO] [stdout] [INFO] [stderr] --> src/categories/startup.rs:222:4 [INFO] [stdout] running 67 tests [INFO] [stderr] | [INFO] [stderr] 222 | fn estimate_impact(command: &str) -> StartupImpact { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `gather_process_io_metrics` is never used [INFO] [stderr] --> src/status.rs:2206:4 [INFO] [stderr] | [INFO] [stderr] 2206 | fn gather_process_io_metrics() -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `gather_process_handle_counts` is never used [INFO] [stderr] --> src/status.rs:2250:4 [INFO] [stderr] | [INFO] [stderr] 2250 | fn gather_process_handle_counts() -> HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `gather_process_page_faults` is never used [INFO] [stderr] --> src/status.rs:2296:4 [INFO] [stderr] | [INFO] [stderr] 2296 | fn gather_process_page_faults() -> HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PROC_HANDLES_WIDTH` is never used [INFO] [stderr] --> src/status.rs:2942:7 [INFO] [stderr] | [INFO] [stderr] 2942 | const PROC_HANDLES_WIDTH: usize = 9; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PROC_PGFAULTS_WIDTH` is never used [INFO] [stderr] --> src/status.rs:2943:7 [INFO] [stderr] | [INFO] [stderr] 2943 | const PROC_PGFAULTS_WIDTH: usize = 8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_uptime_detailed` is never used [INFO] [stderr] --> src/tui/screens/status.rs:2203:4 [INFO] [stderr] | [INFO] [stderr] 2203 | fn format_uptime_detailed(seconds: u64) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wole` (lib) generated 25 warnings (run `cargo fix --lib -p wole` to apply 14 suggestions) [INFO] [stderr] warning: `wole` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wole-d14a0b106e0bc2b4) [INFO] [stdout] test cleaner::category_cleaning::tests::test_clean_all_empty_results ... ok [INFO] [stdout] test cleaner::category_cleaning::tests::test_clean_all_dry_run ... ok [INFO] [stdout] test cleaner::path_precheck::tests::test_is_path_locked_directory ... ok [INFO] [stdout] test config::tests::test_config_apply_cli_overrides ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test config::tests::test_config_load_default ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test config::tests::test_config_partial_overrides ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test cleaner::path_precheck::tests::test_is_path_locked_regular_file ... ok [INFO] [stdout] test cleaner::single_deletion::tests::test_clean_path_nonexistent ... ok [INFO] [stdout] test cleaner::path_precheck::tests::test_is_path_locked_nonexistent ... ok [INFO] [stdout] test config::tests::test_exclusion_patterns ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test git::tests::test_clear_cache ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test git::tests::test_find_git_root_cached ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test git::tests::test_find_git_root_no_git ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test git::tests::test_is_dirty_no_repo ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test history::tests::test_deletion_log_add_failure ... ok [INFO] [stdout] test history::tests::test_deletion_log_mixed ... ok [INFO] [stdout] test history::tests::test_deletion_record_failure ... ok [INFO] [stdout] test history::tests::test_deletion_log_new ... ok [INFO] [stdout] test history::tests::test_deletion_record_success ... ok [INFO] [stdout] test history::tests::test_deletion_log_summary ... ok [INFO] [stdout] test project::tests::test_detect_project_type_node ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test project::tests::test_detect_project_type_none ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test project::tests::test_detect_project_type_python ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test project::tests::test_detect_project_type_rust ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test project::tests::test_find_project_roots ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test restore::tests::test_restore_result_default ... ok [INFO] [stdout] test history::tests::test_deletion_log_add_success ... ok [INFO] [stdout] test restore::tests::test_restore_result_summary ... ok [INFO] [stdout] test progress::tests::test_create_progress_bar_with_eta ... ok [INFO] [stdout] test progress::tests::test_create_progress_bar ... ok [INFO] [stdout] test progress::tests::test_create_scan_progress_bar ... ok [INFO] [stdout] test progress::tests::test_create_bytes_progress_bar ... ok [INFO] [stdout] test progress::tests::test_create_spinner ... ok [INFO] [stdout] test history::tests::test_get_history_dir ... ok [INFO] [stdout] test scan_cache::signature::tests::test_signature_compare_unchanged ... ok [INFO] [stdout] test scan_cache::signature::tests::test_signature_from_path ... ok [INFO] [stdout] test scan_cache::signature::tests::test_signature_with_hash ... ok [INFO] [stdout] test scanner::tests::test_calculate_total_size ... ok [INFO] [stdout] test scanner::tests::test_filter_exclusions ... ok [INFO] [stdout] test scanner::tests::test_scan_all_no_categories ... ok [INFO] [stdout] test size::tests::test_case_insensitive ... ok [INFO] [stdout] test size::tests::test_parse_size ... ok [INFO] [stdout] test size::tests::test_parse_size_decimal ... ok [INFO] [stdout] test size::tests::test_parse_size_errors ... ok [INFO] [stdout] test spinner::tests::test_get_spinner_cycles ... ok [INFO] [stdout] test spinner::tests::test_spinner_chars_matches_frames ... ok [INFO] [stdout] test spinner::tests::test_spinner_frames_count ... ok [INFO] [stdout] test scan_cache::database::tests::test_open_cache ... ok [INFO] [stdout] test scan_cache::signature::tests::test_signature_compare_modified ... ok [INFO] [stdout] test scan_cache::database::tests::test_check_file_new ... ok [INFO] [stdout] test utils::tests::test_file_type_as_str ... ok [INFO] [stdout] test utils::tests::test_is_hidden_dot_prefix ... ok [INFO] [stdout] test utils::tests::test_file_type_emoji ... ok [INFO] [stdout] test utils::tests::test_calculate_dir_size ... ok [INFO] [stdout] test scan_cache::database::tests::test_upsert_file ... ok [INFO] [stdout] test utils::tests::test_safe_metadata ... ok [INFO] [stdout] test utils::tests::test_safe_symlink_metadata ... ok [INFO] [stdout] test utils::tests::test_should_skip_entry_regular_dir ... ok [INFO] [stdout] test utils::tests::test_file_type_detection ... ok [INFO] [stdout] test utils::tests::test_should_skip_entry_regular_file ... ok [INFO] [stdout] test utils::tests::test_should_skip_walk ... ignored, temporarily disabled to debug stack overflow [INFO] [stdout] test utils::tests::test_system_path_detection ... ok [INFO] [stdout] test utils::tests::test_to_long_path ... ok [INFO] [stdout] test scan_cache::database::tests::test_check_file_modified ... ok [INFO] [stdout] test utils::tests::test_should_skip_entry_symlink ... ok [INFO] [stdout] test scan_cache::database::tests::test_start_scan ... ok [INFO] [stdout] test scan_cache::database::tests::test_invalidate ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 53 passed; 0 failed; 14 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wole-f2b0d58765a48abb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-3257ec268938c158) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test test_config_defaults ... ok [INFO] [stdout] test test_config_cli_overrides ... ok [INFO] [stdout] test test_config_exclusion_filtering ... ok [INFO] [stdout] test test_deletion_log_add_failure ... ok [INFO] [stdout] test test_deletion_log_creation ... ok [INFO] [stdout] test test_deletion_log_add_success ... ok [INFO] [stdout] test test_deletion_log_mixed_results ... ok [INFO] [stdout] test test_deletion_record_success ... ok [INFO] [stdout] test test_deletion_record_failure ... ok [INFO] [stdout] test test_history_dir_creation ... ok [INFO] [stdout] test test_long_path_conversion ... ok [INFO] [stdout] test test_safe_metadata_on_regular_file ... ok [INFO] [stdout] test test_scan_empty_directory ... ok [INFO] [stdout] test test_should_skip_entry_regular_dir ... ok [INFO] [stdout] test test_safe_read_dir ... ok [INFO] [stdout] test test_calculate_dir_size_empty ... ok [INFO] [stdout] test test_calculate_dir_size_with_files ... ok [INFO] [stdout] test test_calculate_dir_size_nested ... ok [INFO] [stdout] test test_should_skip_entry_regular_file ... ok [INFO] [stdout] test test_scan_build_artifacts_inactive_project ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests wole [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/spinner.rs - spinner::get_spinner (line 21) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.85s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "61961409121d38660aee07607484587a8c00c5bfe37b763f3267f38ab147fa97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61961409121d38660aee07607484587a8c00c5bfe37b763f3267f38ab147fa97", kill_on_drop: false }` [INFO] [stdout] 61961409121d38660aee07607484587a8c00c5bfe37b763f3267f38ab147fa97