[INFO] cloning repository https://github.com/MatthewMckee4/cargo-unused [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MatthewMckee4/cargo-unused" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewMckee4%2Fcargo-unused", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewMckee4%2Fcargo-unused'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4b9abefe65c46c6c474b48abcc3311da7aa5d62 [INFO] testing MatthewMckee4/cargo-unused against beta-2026-04-21 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewMckee4%2Fcargo-unused" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MatthewMckee4/cargo-unused [INFO] finished tweaking git repo https://github.com/MatthewMckee4/cargo-unused [INFO] tweaked toml for git repo https://github.com/MatthewMckee4/cargo-unused written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MatthewMckee4/cargo-unused on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MatthewMckee4/cargo-unused 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" "+beta-2026-04-21" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc5155c708d15e5b2d2cbeda1385559e86680fb842c4231ca855b7318514d745 [INFO] running `Command { std: "docker" "start" "-a" "dc5155c708d15e5b2d2cbeda1385559e86680fb842c4231ca855b7318514d745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc5155c708d15e5b2d2cbeda1385559e86680fb842c4231ca855b7318514d745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5155c708d15e5b2d2cbeda1385559e86680fb842c4231ca855b7318514d745", kill_on_drop: false }` [INFO] [stdout] dc5155c708d15e5b2d2cbeda1385559e86680fb842c4231ca855b7318514d745 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a25bb8ee1bd13c5d1032095098ad67e5fb88e1053056e0fb8ef0570fdd0554ff [INFO] running `Command { std: "docker" "start" "-a" "a25bb8ee1bd13c5d1032095098ad67e5fb88e1053056e0fb8ef0570fdd0554ff", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling jod-thread v1.0.0 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling triomphe v0.1.15 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.116.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling ra_ap_edition v0.0.289 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling salsa-macros v0.22.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ra_ap_parser v0.0.289 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling boxcar v0.2.14 [INFO] [stderr] Compiling indexmap v2.13.1 [INFO] [stderr] Compiling salsa-macro-rules v0.22.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling smol_str v0.3.6 [INFO] [stderr] Compiling la-arena v0.3.1 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling ra_ap_query-group-macro v0.0.289 [INFO] [stderr] Compiling ra_ap_paths v0.0.289 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling ra_ap_intern v0.0.289 [INFO] [stderr] Compiling ra-ap-rustc_index_macros v0.116.0 [INFO] [stderr] Compiling rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Compiling chalk-derive v0.103.0 [INFO] [stderr] Compiling cov-mark v2.2.0 [INFO] [stderr] Compiling rustc-stable-hash v0.1.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling ra-ap-rustc_hashes v0.116.0 [INFO] [stderr] Compiling ena v0.14.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.2 [INFO] [stderr] Compiling ra-ap-rustc_parse_format v0.116.0 [INFO] [stderr] Compiling perf-event-open-sys v1.0.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling perf-event v0.4.7 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling chalk-ir v0.103.0 [INFO] [stderr] Compiling line-index v0.1.2 [INFO] [stderr] Compiling erased-serde v0.4.10 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling ra_ap_profile v0.0.289 [INFO] [stderr] Compiling ra-ap-rustc_index v0.116.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [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 winnow v0.7.15 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling salsa v0.22.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling ra_ap_stdx v0.0.289 [INFO] [stderr] Compiling ra-ap-rustc_abi v0.116.0 [INFO] [stderr] Compiling ra-ap-rustc_pattern_analysis v0.116.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling ra_ap_vfs v0.0.289 [INFO] [stderr] Compiling ra_ap_syntax v0.0.289 [INFO] [stderr] Compiling ra_ap_tt v0.0.289 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling serde-untagged v0.1.9 [INFO] [stderr] Compiling ra_ap_cfg v0.0.289 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling ra_ap_toolchain v0.0.289 [INFO] [stderr] Compiling inotify v0.11.1 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cargo-platform v0.2.0 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling notify-types v2.1.0 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling owo-colors v4.3.0 [INFO] [stderr] Compiling notify v8.2.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling dot v0.1.4 [INFO] [stderr] Compiling chalk-solve v0.103.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling cargo-unused-version v0.0.1 (/opt/rustwide/workdir/crates/cargo-unused-version) [INFO] [stderr] Compiling ra_ap_vfs-notify v0.0.289 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling terminal_size v0.4.4 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling pulldown-cmark-to-cmark v10.0.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling ra_ap_span v0.0.289 [INFO] [stderr] Compiling chalk-recursive v0.103.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling ra_ap_syntax-bridge v0.0.289 [INFO] [stderr] Compiling ra_ap_base_db v0.0.289 [INFO] [stderr] Compiling ra_ap_proc_macro_api v0.0.289 [INFO] [stderr] Compiling ra_ap_mbe v0.0.289 [INFO] [stderr] Compiling cargo-util-schemas v0.2.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling ra_ap_hir_expand v0.0.289 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling cargo-unused-cli v0.1.0 (/opt/rustwide/workdir/crates/cargo-unused-cli) [INFO] [stderr] Compiling cargo_metadata v0.20.0 [INFO] [stderr] Compiling cargo-unused-logging v0.1.0 (/opt/rustwide/workdir/crates/cargo-unused-logging) [INFO] [stderr] Compiling ra_ap_project_model v0.0.289 [INFO] [stderr] Compiling ra_ap_hir_def v0.0.289 [INFO] [stderr] Compiling ra_ap_hir_ty v0.0.289 [INFO] [stderr] Compiling ra_ap_hir v0.0.289 [INFO] [stderr] Compiling ra_ap_ide_db v0.0.289 [INFO] [stderr] Compiling ra_ap_ide_ssr v0.0.289 [INFO] [stderr] Compiling ra_ap_ide_completion v0.0.289 [INFO] [stderr] Compiling ra_ap_ide_diagnostics v0.0.289 [INFO] [stderr] Compiling ra_ap_ide_assists v0.0.289 [INFO] [stderr] Compiling ra_ap_load-cargo v0.0.289 [INFO] [stderr] Compiling ra_ap_ide v0.0.289 [INFO] [stderr] Compiling cargo-unused-core v0.0.0 (/opt/rustwide/workdir/crates/cargo-unused-core) [INFO] [stderr] Compiling cargo-unused v0.0.1 (/opt/rustwide/workdir/crates/cargo-unused) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 31s [INFO] running `Command { std: "docker" "inspect" "a25bb8ee1bd13c5d1032095098ad67e5fb88e1053056e0fb8ef0570fdd0554ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a25bb8ee1bd13c5d1032095098ad67e5fb88e1053056e0fb8ef0570fdd0554ff", kill_on_drop: false }` [INFO] [stdout] a25bb8ee1bd13c5d1032095098ad67e5fb88e1053056e0fb8ef0570fdd0554ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b7786455972756be17134447d0ca9fb202be8a709faa43059c207d2ecd9df9e [INFO] running `Command { std: "docker" "start" "-a" "6b7786455972756be17134447d0ca9fb202be8a709faa43059c207d2ecd9df9e", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling predicates-core v1.0.10 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling assert_cmd v2.2.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling console v0.16.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling cargo-unused-core v0.0.0 (/opt/rustwide/workdir/crates/cargo-unused-core) [INFO] [stderr] Compiling cargo-unused-version v0.0.1 (/opt/rustwide/workdir/crates/cargo-unused-version) [INFO] [stderr] Compiling predicates-tree v1.0.13 [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling terminal_size v0.4.4 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling insta v1.47.2 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling cargo-unused-cli v0.1.0 (/opt/rustwide/workdir/crates/cargo-unused-cli) [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling assert_fs v1.1.3 [INFO] [stderr] Compiling cargo-unused-logging v0.1.0 (/opt/rustwide/workdir/crates/cargo-unused-logging) [INFO] [stderr] Compiling cargo-unused v0.0.1 (/opt/rustwide/workdir/crates/cargo-unused) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.70s [INFO] running `Command { std: "docker" "inspect" "6b7786455972756be17134447d0ca9fb202be8a709faa43059c207d2ecd9df9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7786455972756be17134447d0ca9fb202be8a709faa43059c207d2ecd9df9e", kill_on_drop: false }` [INFO] [stdout] 6b7786455972756be17134447d0ca9fb202be8a709faa43059c207d2ecd9df9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aecf0d44205f7fc12b15007b57a17ed590a486052a889ecac710761c2436c0a8 [INFO] running `Command { std: "docker" "start" "-a" "aecf0d44205f7fc12b15007b57a17ed590a486052a889ecac710761c2436c0a8", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_unused-23167658fc68b2d3) [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/it/main.rs (/opt/rustwide/target/debug/deps/it-d7c5277b07488849) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test help::help_short_flag ... ok [INFO] [stdout] test self_version::version_flag ... ok [INFO] [stdout] test self_version::self_version ... ok [INFO] [stdout] test analyze::no_manifest_error ... ok [INFO] [stdout] test help::help_flag ... ok [INFO] [stdout] test self_version::version_short_flag ... ok [INFO] [stdout] test self_version::self_version_json ... ok [INFO] [stdout] test self_version::self_version_short ... ok [INFO] [stdout] test analyze::multiple_unused_symbols ... FAILED [INFO] [stdout] test analyze::pub_static_used_in_exported_macro ... FAILED [INFO] [stdout] test analyze::exclude_crate_flag ... FAILED [INFO] [stdout] test analyze::proc_macro_derive_not_reported ... FAILED [INFO] [stdout] test analyze::json_output_all_used ... FAILED [INFO] [stdout] test analyze::json_output_unused ... FAILED [INFO] [stdout] test analyze::all_used_no_output ... FAILED [INFO] [stdout] test analyze::unused_pub_function ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- analyze::multiple_unused_symbols stdout ---- [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Unfiltered output ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] ----- stdout ----- [INFO] [stdout] [INFO] [stdout] ----- stderr ----- [INFO] [stdout] error: failed to load workspace at /tmp/cargo-unused-testmiLxmq [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-testmiLxmq/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-testmiLxmq/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-testmiLxmq" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-testmiLxmq/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-testmiLxmq/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] [INFO] [stdout] tip: a similar argument exists: '--locked' [INFO] [stdout] [INFO] [stdout] Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] [INFO] [stdout] For more information, try '--help'. [INFO] [stdout] [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: multiple_unused_symbols [INFO] [stdout] Source: crates/cargo-unused/tests/it/analyze.rs:228 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: snapshot [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 1 │ success: false [INFO] [stdout] 2 │-exit_code: 1 [INFO] [stdout] 2 │+exit_code: 2 [INFO] [stdout] 3 3 │ ----- stdout ----- [INFO] [stdout] 4 │-crate: crate_a: [INFO] [stdout] 5 │- crate_a/src/lib.rs:1:8 function unused_one [INFO] [stdout] 6 │- crate_a/src/lib.rs:2:8 function unused_two [INFO] [stdout] 7 │- crate_a/src/lib.rs:3:12 struct UnusedStruct [INFO] [stdout] 8 │- [INFO] [stdout] 9 4 │ [INFO] [stdout] 10 5 │ ----- stderr ----- [INFO] [stdout] 11 │-Found [N] unused exports across [N] crates. [INFO] [stdout] 6 │+error: failed to load workspace at [TEMP]/ [INFO] [stdout] 7 │+ Caused by: Failed to load the project at [TEMP]/Cargo.toml [INFO] [stdout] 8 │+ Caused by: Failed to read Cargo metadata from Cargo.toml file [TEMP]/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "[TEMP]/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "[TEMP]/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] 10 │+ Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] 11 │+ [INFO] [stdout] 12 │+ tip: a similar argument exists: '--locked' [INFO] [stdout] 13 │+ [INFO] [stdout] 14 │+Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] 15 │+ [INFO] [stdout] 16 │+For more information, try '--help'. [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'analyze::multiple_unused_symbols' (21) panicked at crates/cargo-unused/tests/it/analyze.rs:228:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59a37348055a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x59a37348055a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x59a37349825a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x59a37349825a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x59a373485392 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x59a373485392 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x59a37345c0ff - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x59a37345c0ff - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x59a3734775e9 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x59a3730d8bec - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x59a3730d8bec - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59a3734777a2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x59a3734777a2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x59a37345c1b8 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x59a373450fd9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x59a37345cf6d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x59a373498a9c - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x59a373498812 - core[6771d259883166e6]::result::unwrap_failed [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x59a372fac650 - core::result::Result::unwrap::hce61bfedae346c9d [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x59a372fac650 - it::analyze::multiple_unused_symbols::h595e15d05f3ec509 [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x59a372fac857 - it::analyze::multiple_unused_symbols::{{closure}}::h8a91cfc85e4f4bcf [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:217:29 [INFO] [stdout] 23: 0x59a372fa44d6 - core::ops::function::FnOnce::call_once::he8ed2e0dabc30432 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x59a3730ccceb - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x59a3730ccceb - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x59a3730d96bb - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x59a3730d96bb - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x59a3730d96bb - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x59a3730d3b14 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x59a3730d3b14 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x59a3730dc2c2 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x59a3730dc2c2 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x59a3730dc2c2 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x59a37347f61f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x59a37347f61f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x77344483faa4 - [INFO] [stdout] 45: 0x7734448cca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- analyze::pub_static_used_in_exported_macro stdout ---- [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Unfiltered output ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] ----- stdout ----- [INFO] [stdout] [INFO] [stdout] ----- stderr ----- [INFO] [stdout] error: failed to load workspace at /tmp/cargo-unused-test29x6Y9 [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-test29x6Y9/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-test29x6Y9/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-test29x6Y9" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-test29x6Y9/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-test29x6Y9/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] [INFO] [stdout] tip: a similar argument exists: '--locked' [INFO] [stdout] [INFO] [stdout] Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] [INFO] [stdout] For more information, try '--help'. [INFO] [stdout] [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: pub_static_used_in_exported_macro [INFO] [stdout] Source: crates/cargo-unused/tests/it/analyze.rs:32 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: snapshot [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-success: true [INFO] [stdout] 2 │-exit_code: 0 [INFO] [stdout] 1 │+success: false [INFO] [stdout] 2 │+exit_code: 2 [INFO] [stdout] 3 3 │ ----- stdout ----- [INFO] [stdout] 4 4 │ [INFO] [stdout] 5 5 │ ----- stderr ----- [INFO] [stdout] 6 │-No unused exports found. [INFO] [stdout] 6 │+error: failed to load workspace at [TEMP]/ [INFO] [stdout] 7 │+ Caused by: Failed to load the project at [TEMP]/Cargo.toml [INFO] [stdout] 8 │+ Caused by: Failed to read Cargo metadata from Cargo.toml file [TEMP]/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "[TEMP]/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "[TEMP]/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] 10 │+ Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] 11 │+ [INFO] [stdout] 12 │+ tip: a similar argument exists: '--locked' [INFO] [stdout] 13 │+ [INFO] [stdout] 14 │+Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] 15 │+ [INFO] [stdout] 16 │+For more information, try '--help'. [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'analyze::pub_static_used_in_exported_macro' (24) panicked at crates/cargo-unused/tests/it/analyze.rs:32:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59a37348055a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x59a37348055a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x59a37349825a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x59a37349825a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x59a373485392 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x59a373485392 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x59a37345c0ff - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x59a37345c0ff - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x59a3734775e9 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x59a3730d8bec - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x59a3730d8bec - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59a3734777a2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x59a3734777a2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x59a37345c1b8 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x59a373450fd9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x59a37345cf6d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x59a373498a9c - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x59a373498812 - core[6771d259883166e6]::result::unwrap_failed [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x59a372fade40 - core::result::Result::unwrap::hce61bfedae346c9d [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x59a372fade40 - it::analyze::pub_static_used_in_exported_macro::h33d0b5ff0f1124c9 [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x59a372fae047 - it::analyze::pub_static_used_in_exported_macro::{{closure}}::hf05e7fcdecf99f0e [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:6:39 [INFO] [stdout] 23: 0x59a372fa40d6 - core::ops::function::FnOnce::call_once::h171b516b7fce0fed [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x59a3730ccceb - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x59a3730ccceb - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x59a3730d96bb - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x59a3730d96bb - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x59a3730d96bb - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x59a3730d3b14 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x59a3730d3b14 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x59a3730dc2c2 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x59a3730dc2c2 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x59a3730dc2c2 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x59a37347f61f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x59a37347f61f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x77344483faa4 - [INFO] [stdout] 45: 0x7734448cca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- analyze::exclude_crate_flag stdout ---- [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Unfiltered output ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] ----- stdout ----- [INFO] [stdout] [INFO] [stdout] ----- stderr ----- [INFO] [stdout] error: failed to load workspace at /tmp/cargo-unused-test0IODVs [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-test0IODVs/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-test0IODVs/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-test0IODVs" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-test0IODVs/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-test0IODVs/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] [INFO] [stdout] tip: a similar argument exists: '--locked' [INFO] [stdout] [INFO] [stdout] Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] [INFO] [stdout] For more information, try '--help'. [INFO] [stdout] [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: exclude_crate_flag [INFO] [stdout] Source: crates/cargo-unused/tests/it/analyze.rs:130 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: snapshot [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-success: true [INFO] [stdout] 2 │-exit_code: 0 [INFO] [stdout] 1 │+success: false [INFO] [stdout] 2 │+exit_code: 2 [INFO] [stdout] 3 3 │ ----- stdout ----- [INFO] [stdout] 4 4 │ [INFO] [stdout] 5 5 │ ----- stderr ----- [INFO] [stdout] 6 │-No unused exports found. [INFO] [stdout] 6 │+error: failed to load workspace at [TEMP]/ [INFO] [stdout] 7 │+ Caused by: Failed to load the project at [TEMP]/Cargo.toml [INFO] [stdout] 8 │+ Caused by: Failed to read Cargo metadata from Cargo.toml file [TEMP]/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "[TEMP]/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "[TEMP]/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] 10 │+ Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] 11 │+ [INFO] [stdout] 12 │+ tip: a similar argument exists: '--locked' [INFO] [stdout] 13 │+ [INFO] [stdout] 14 │+Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] 15 │+ [INFO] [stdout] 16 │+For more information, try '--help'. [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'analyze::exclude_crate_flag' (18) panicked at crates/cargo-unused/tests/it/analyze.rs:130:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59a37348055a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x59a37348055a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x59a37349825a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x59a37349825a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x59a373485392 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x59a373485392 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x59a37345c0ff - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x59a37345c0ff - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x59a3734775e9 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x59a3730d8bec - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x59a3730d8bec - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59a3734777a2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x59a3734777a2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x59a37345c1b8 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x59a373450fd9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x59a37345cf6d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x59a373498a9c - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x59a373498812 - core[6771d259883166e6]::result::unwrap_failed [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x59a372fa95e9 - core::result::Result::unwrap::hce61bfedae346c9d [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x59a372fa95e9 - it::analyze::exclude_crate_flag::hb9ac92040e90843d [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x59a372fa97f7 - it::analyze::exclude_crate_flag::{{closure}}::hf27afd381c61627c [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:123:24 [INFO] [stdout] 23: 0x59a372fa4356 - core::ops::function::FnOnce::call_once::hb08d2dca4a3717ff [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x59a3730ccceb - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x59a3730ccceb - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x59a3730d96bb - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x59a3730d96bb - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x59a3730d96bb - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x59a3730d3b14 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x59a3730d3b14 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x59a3730dc2c2 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x59a3730dc2c2 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x59a3730dc2c2 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x59a37347f61f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x59a37347f61f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x77344483faa4 - [INFO] [stdout] 45: 0x7734448cca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- analyze::proc_macro_derive_not_reported stdout ---- [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Unfiltered output ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] ----- stdout ----- [INFO] [stdout] [INFO] [stdout] ----- stderr ----- [INFO] [stdout] error: failed to load workspace at /tmp/cargo-unused-testj7sJOu [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-testj7sJOu/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-testj7sJOu/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-testj7sJOu" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-testj7sJOu/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-testj7sJOu/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] [INFO] [stdout] tip: a similar argument exists: '--locked' [INFO] [stdout] [INFO] [stdout] Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] [INFO] [stdout] For more information, try '--help'. [INFO] [stdout] [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: proc_macro_derive_not_reported [INFO] [stdout] Source: crates/cargo-unused/tests/it/analyze.rs:61 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: snapshot [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-success: true [INFO] [stdout] 2 │-exit_code: 0 [INFO] [stdout] 1 │+success: false [INFO] [stdout] 2 │+exit_code: 2 [INFO] [stdout] 3 3 │ ----- stdout ----- [INFO] [stdout] 4 4 │ [INFO] [stdout] 5 5 │ ----- stderr ----- [INFO] [stdout] 6 │-No unused exports found. [INFO] [stdout] 6 │+error: failed to load workspace at [TEMP]/ [INFO] [stdout] 7 │+ Caused by: Failed to load the project at [TEMP]/Cargo.toml [INFO] [stdout] 8 │+ Caused by: Failed to read Cargo metadata from Cargo.toml file [TEMP]/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "[TEMP]/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "[TEMP]/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] 10 │+ Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] 11 │+ [INFO] [stdout] 12 │+ tip: a similar argument exists: '--locked' [INFO] [stdout] 13 │+ [INFO] [stdout] 14 │+Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] 15 │+ [INFO] [stdout] 16 │+For more information, try '--help'. [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'analyze::proc_macro_derive_not_reported' (23) panicked at crates/cargo-unused/tests/it/analyze.rs:61:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59a37348055a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x59a37348055a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x59a37349825a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x59a37349825a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x59a373485392 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x59a373485392 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x59a37345c0ff - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x59a37345c0ff - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x59a3734775e9 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x59a3730d8bec - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x59a3730d8bec - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59a3734777a2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x59a3734777a2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x59a37345c1b8 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x59a373450fd9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x59a37345cf6d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x59a373498a9c - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x59a373498812 - core[6771d259883166e6]::result::unwrap_failed [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x59a372fad253 - core::result::Result::unwrap::hce61bfedae346c9d [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x59a372fad253 - it::analyze::proc_macro_derive_not_reported::h759bac0310448d53 [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x59a372fad457 - it::analyze::proc_macro_derive_not_reported::{{closure}}::h6fc7864d8ecafab4 [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:45:36 [INFO] [stdout] 23: 0x59a372fa4286 - core::ops::function::FnOnce::call_once::h5760755827c668ea [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x59a3730ccceb - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x59a3730ccceb - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x59a3730d96bb - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x59a3730d96bb - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x59a3730d96bb - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x59a3730d3b14 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x59a3730d3b14 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x59a3730dc2c2 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x59a3730dc2c2 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x59a3730dc2c2 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x59a37347f61f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x59a37347f61f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x77344483faa4 - [INFO] [stdout] 45: 0x7734448cca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- analyze::json_output_all_used stdout ---- [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Unfiltered output ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] ----- stdout ----- [INFO] [stdout] [INFO] [stdout] ----- stderr ----- [INFO] [stdout] error: failed to load workspace at /tmp/cargo-unused-test2Csqok [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-test2Csqok/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-test2Csqok/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-test2Csqok" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-test2Csqok/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-test2Csqok/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] [INFO] [stdout] tip: a similar argument exists: '--locked' [INFO] [stdout] [INFO] [stdout] Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] [INFO] [stdout] For more information, try '--help'. [INFO] [stdout] [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: json_output_all_used [INFO] [stdout] Source: crates/cargo-unused/tests/it/analyze.rs:187 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: snapshot [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-success: true [INFO] [stdout] 2 │-exit_code: 0 [INFO] [stdout] 1 │+success: false [INFO] [stdout] 2 │+exit_code: 2 [INFO] [stdout] 3 3 │ ----- stdout ----- [INFO] [stdout] 4 │-{ [INFO] [stdout] 5 │- "unused": [] [INFO] [stdout] 6 │-} [INFO] [stdout] 7 4 │ [INFO] [stdout] 8 │------ stderr ----- [INFO] [stdout] 5 │+----- stderr ----- [INFO] [stdout] 6 │+error: failed to load workspace at [TEMP]/ [INFO] [stdout] 7 │+ Caused by: Failed to load the project at [TEMP]/Cargo.toml [INFO] [stdout] 8 │+ Caused by: Failed to read Cargo metadata from Cargo.toml file [TEMP]/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "[TEMP]/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "[TEMP]/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] 10 │+ Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] 11 │+ [INFO] [stdout] 12 │+ tip: a similar argument exists: '--locked' [INFO] [stdout] 13 │+ [INFO] [stdout] 14 │+Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] 15 │+ [INFO] [stdout] 16 │+For more information, try '--help'. [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'analyze::json_output_all_used' (19) panicked at crates/cargo-unused/tests/it/analyze.rs:187:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59a37348055a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x59a37348055a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x59a37349825a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x59a37349825a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x59a373485392 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x59a373485392 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x59a37345c0ff - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x59a37345c0ff - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x59a3734775e9 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x59a3730d8bec - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x59a3730d8bec - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59a3734777a2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x59a3734777a2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x59a37345c1b8 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x59a373450fd9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x59a37345cf6d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x59a373498a9c - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x59a373498812 - core[6771d259883166e6]::result::unwrap_failed [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x59a372faba59 - core::result::Result::unwrap::hce61bfedae346c9d [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x59a372faba59 - it::analyze::json_output_all_used::h3e6ac6a595524111 [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x59a372fabc67 - it::analyze::json_output_all_used::{{closure}}::hb09b1692041b002f [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:176:26 [INFO] [stdout] 23: 0x59a372fa4316 - core::ops::function::FnOnce::call_once::h964fcd285f1df4d8 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x59a3730ccceb - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x59a3730ccceb - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x59a3730d96bb - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x59a3730d96bb - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x59a3730d96bb - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x59a3730d3b14 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x59a3730d3b14 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x59a3730dc2c2 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x59a3730dc2c2 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x59a3730dc2c2 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x59a37347f61f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x59a37347f61f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x77344483faa4 - [INFO] [stdout] 45: 0x7734448cca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- analyze::json_output_unused stdout ---- [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Unfiltered output ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] ----- stdout ----- [INFO] [stdout] [INFO] [stdout] ----- stderr ----- [INFO] [stdout] error: failed to load workspace at /tmp/cargo-unused-testOaO60r [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-testOaO60r/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-testOaO60r/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-testOaO60r" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-testOaO60r/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-testOaO60r/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] [INFO] [stdout] tip: a similar argument exists: '--locked' [INFO] [stdout] [INFO] [stdout] Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] [INFO] [stdout] For more information, try '--help'. [INFO] [stdout] [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: json_output_unused [INFO] [stdout] Source: crates/cargo-unused/tests/it/analyze.rs:150 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: snapshot [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 1 │ success: false [INFO] [stdout] 2 │-exit_code: 1 [INFO] [stdout] 2 │+exit_code: 2 [INFO] [stdout] 3 3 │ ----- stdout ----- [INFO] [stdout] 4 │-{ [INFO] [stdout] 5 │- "unused": [ [INFO] [stdout] 6 │- { [INFO] [stdout] 7 │- "name": "never_used", [INFO] [stdout] 8 │- "qualified_name": "never_used", [INFO] [stdout] 9 │- "kind": "function", [INFO] [stdout] 10 │- "visibility": "public", [INFO] [stdout] 11 │- "file": "crate_a/src/lib.rs", [INFO] [stdout] 12 │- "line": 1, [INFO] [stdout] 13 │- "column": 8, [INFO] [stdout] 14 │- "crate_name": "crate_a" [INFO] [stdout] 15 │- } [INFO] [stdout] 16 │- ] [INFO] [stdout] 17 │-} [INFO] [stdout] 18 4 │ [INFO] [stdout] 19 │------ stderr ----- [INFO] [stdout] 5 │+----- stderr ----- [INFO] [stdout] 6 │+error: failed to load workspace at [TEMP]/ [INFO] [stdout] 7 │+ Caused by: Failed to load the project at [TEMP]/Cargo.toml [INFO] [stdout] 8 │+ Caused by: Failed to read Cargo metadata from Cargo.toml file [TEMP]/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "[TEMP]/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "[TEMP]/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] 10 │+ Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] 11 │+ [INFO] [stdout] 12 │+ tip: a similar argument exists: '--locked' [INFO] [stdout] 13 │+ [INFO] [stdout] 14 │+Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] 15 │+ [INFO] [stdout] 16 │+For more information, try '--help'. [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'analyze::json_output_unused' (20) panicked at crates/cargo-unused/tests/it/analyze.rs:150:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59a37348055a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x59a37348055a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x59a37349825a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x59a37349825a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x59a373485392 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x59a373485392 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x59a37345c0ff - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x59a37345c0ff - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x59a3734775e9 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x59a3730d8bec - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x59a3730d8bec - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59a3734777a2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x59a3734777a2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x59a37345c1b8 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x59a373450fd9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x59a37345cf6d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x59a373498a9c - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x59a373498812 - core[6771d259883166e6]::result::unwrap_failed [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x59a372faa229 - core::result::Result::unwrap::hce61bfedae346c9d [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x59a372faa229 - it::analyze::json_output_unused::h04db459b2482eda2 [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x59a372faa3a7 - it::analyze::json_output_unused::{{closure}}::h8e9351ca6badc8cf [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:143:24 [INFO] [stdout] 23: 0x59a372fa4246 - core::ops::function::FnOnce::call_once::h55a7d8a6b7b63b61 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x59a3730ccceb - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x59a3730ccceb - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x59a3730d96bb - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x59a3730d96bb - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x59a3730d96bb - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x59a3730d3b14 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x59a3730d3b14 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x59a3730dc2c2 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x59a3730dc2c2 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x59a3730dc2c2 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x59a37347f61f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x59a37347f61f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x77344483faa4 - [INFO] [stdout] 45: 0x7734448cca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- analyze::all_used_no_output stdout ---- [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Unfiltered output ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] ----- stdout ----- [INFO] [stdout] [INFO] [stdout] ----- stderr ----- [INFO] [stdout] error: failed to load workspace at /tmp/cargo-unused-testh8c5vg [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-testh8c5vg/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-testh8c5vg/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-testh8c5vg" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-testh8c5vg/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-testh8c5vg/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] [INFO] [stdout] tip: a similar argument exists: '--locked' [INFO] [stdout] [INFO] [stdout] Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] [INFO] [stdout] For more information, try '--help'. [INFO] [stdout] [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: all_used_no_output [INFO] [stdout] Source: crates/cargo-unused/tests/it/analyze.rs:112 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: snapshot [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 │-success: true [INFO] [stdout] 2 │-exit_code: 0 [INFO] [stdout] 1 │+success: false [INFO] [stdout] 2 │+exit_code: 2 [INFO] [stdout] 3 3 │ ----- stdout ----- [INFO] [stdout] 4 4 │ [INFO] [stdout] 5 5 │ ----- stderr ----- [INFO] [stdout] 6 │-No unused exports found. [INFO] [stdout] 6 │+error: failed to load workspace at [TEMP]/ [INFO] [stdout] 7 │+ Caused by: Failed to load the project at [TEMP]/Cargo.toml [INFO] [stdout] 8 │+ Caused by: Failed to read Cargo metadata from Cargo.toml file [TEMP]/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "[TEMP]/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "[TEMP]/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] 10 │+ Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] 11 │+ [INFO] [stdout] 12 │+ tip: a similar argument exists: '--locked' [INFO] [stdout] 13 │+ [INFO] [stdout] 14 │+Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] 15 │+ [INFO] [stdout] 16 │+For more information, try '--help'. [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'analyze::all_used_no_output' (17) panicked at crates/cargo-unused/tests/it/analyze.rs:112:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59a37348055a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x59a37348055a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x59a37349825a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x59a37349825a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x59a373485392 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x59a373485392 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x59a37345c0ff - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x59a37345c0ff - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x59a3734775e9 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x59a3730d8bec - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x59a3730d8bec - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59a3734777a2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x59a3734777a2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x59a37345c1b8 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x59a373450fd9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x59a37345cf6d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x59a373498a9c - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x59a373498812 - core[6771d259883166e6]::result::unwrap_failed [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x59a372fa89b0 - core::result::Result::unwrap::hce61bfedae346c9d [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x59a372fa89b0 - it::analyze::all_used_no_output::hd213849d0eb27837 [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x59a372fa8b27 - it::analyze::all_used_no_output::{{closure}}::h8258abda19f1d65f [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:101:24 [INFO] [stdout] 23: 0x59a372fa42d6 - core::ops::function::FnOnce::call_once::h927e04907f03da7b [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x59a3730ccceb - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x59a3730ccceb - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x59a3730d96bb - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x59a3730d96bb - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x59a3730d96bb - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x59a3730d3b14 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x59a3730d3b14 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x59a3730dc2c2 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x59a3730dc2c2 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x59a3730dc2c2 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x59a37347f61f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x59a37347f61f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x77344483faa4 - [INFO] [stdout] 45: 0x7734448cca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- analyze::unused_pub_function stdout ---- [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Unfiltered output ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] ----- stdout ----- [INFO] [stdout] [INFO] [stdout] ----- stderr ----- [INFO] [stdout] error: failed to load workspace at /tmp/cargo-unused-testMFh7P0 [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-testMFh7P0/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-testMFh7P0/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-testMFh7P0" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-testMFh7P0/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-testMFh7P0/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] [INFO] [stdout] tip: a similar argument exists: '--locked' [INFO] [stdout] [INFO] [stdout] Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] [INFO] [stdout] For more information, try '--help'. [INFO] [stdout] [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: unused_pub_function [INFO] [stdout] Source: crates/cargo-unused/tests/it/analyze.rs:87 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: snapshot [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 1 1 │ success: false [INFO] [stdout] 2 │-exit_code: 1 [INFO] [stdout] 2 │+exit_code: 2 [INFO] [stdout] 3 3 │ ----- stdout ----- [INFO] [stdout] 4 │-crate: crate_a: [INFO] [stdout] 5 │- crate_a/src/lib.rs:2:8 function unused_func [INFO] [stdout] 6 │- [INFO] [stdout] 7 4 │ [INFO] [stdout] 8 5 │ ----- stderr ----- [INFO] [stdout] 9 │-Found [N] unused exports across [N] crates. [INFO] [stdout] 6 │+error: failed to load workspace at [TEMP]/ [INFO] [stdout] 7 │+ Caused by: Failed to load the project at [TEMP]/Cargo.toml [INFO] [stdout] 8 │+ Caused by: Failed to read Cargo metadata from Cargo.toml file [TEMP]/Cargo.toml, Some(Version { major: 1, minor: 96, patch: 0, pre: Prerelease("beta.4") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/beta-2026-04-21-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "[TEMP]/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "[TEMP]/target/rust-analyzer/metadata/workspace/Cargo.lock" "-Zunstable-options"` [INFO] [stdout] 10 │+ Caused by: `cargo metadata` exited with an error: error: unexpected argument '--lockfile-path' found [INFO] [stdout] 11 │+ [INFO] [stdout] 12 │+ tip: a similar argument exists: '--locked' [INFO] [stdout] 13 │+ [INFO] [stdout] 14 │+Usage: cargo metadata --format-version --manifest-path --filter-platform --locked [INFO] [stdout] 15 │+ [INFO] [stdout] 16 │+For more information, try '--help'. [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'analyze::unused_pub_function' (25) panicked at crates/cargo-unused/tests/it/analyze.rs:87:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59a37348055a - std[128c3efe2914e152]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59a37348055a - std[128c3efe2914e152]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x59a37348055a - <::print::DisplayBacktrace as core[6771d259883166e6]::fmt::Display>::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x59a37349825a - ::fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x59a37349825a - core[6771d259883166e6]::fmt::write [INFO] [stdout] 6: 0x59a373485392 - std[128c3efe2914e152]::io::default_write_fmt::> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x59a373485392 - as std[128c3efe2914e152]::io::Write>::write_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x59a37345c0ff - ::print [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x59a37345c0ff - std[128c3efe2914e152]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x59a3734775e9 - std[128c3efe2914e152]::panicking::default_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x59a3730d8bec - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 12: 0x59a3730d8bec - test[b137923399915ecf]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59a3734777a2 - core[6771d259883166e6]::ops::function::Fn<(&'a std[128c3efe2914e152]::panic::PanicHookInfo<'b>,), Output = ()> + core[6771d259883166e6]::marker::Sync + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::Fn<(&std[128c3efe2914e152]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2263:9 [INFO] [stdout] 14: 0x59a3734777a2 - std[128c3efe2914e152]::panicking::panic_with_hook [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x59a37345c1b8 - std[128c3efe2914e152]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x59a373450fd9 - std[128c3efe2914e152]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x59a37345cf6d - __rustc[752cc74e29381ccc]::rust_begin_unwind [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x59a373498a9c - core[6771d259883166e6]::panicking::panic_fmt [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x59a373498812 - core[6771d259883166e6]::result::unwrap_failed [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x59a372faae20 - core::result::Result::unwrap::hce61bfedae346c9d [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x59a372faae20 - it::analyze::unused_pub_function::h46b352ae87f2e4bc [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x59a372fab027 - it::analyze::unused_pub_function::{{closure}}::hc58988455e92d2b3 [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:72:25 [INFO] [stdout] 23: 0x59a372fa4206 - core::ops::function::FnOnce::call_once::h4686177f1d63b572 [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x59a3730ccceb - core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x59a3730ccceb - test[b137923399915ecf]::__rust_begin_short_backtrace::, fn() -> core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x59a3730d96bb - as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::do_call::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x59a3730d96bb - std[128c3efe2914e152]::panicking::catch_unwind::, core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x59a3730d96bb - std[128c3efe2914e152]::panic::catch_unwind::, core[6771d259883166e6]::result::Result<(), alloc[fef50e8eecedd288]::string::String>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x59a3730d96bb - test[b137923399915ecf]::run_test_in_process [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x59a3730d96bb - test[b137923399915ecf]::run_test::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x59a3730d3b14 - test[b137923399915ecf]::run_test::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x59a3730d3b14 - std[128c3efe2914e152]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x59a3730dc2c2 - ::{closure#1}::{closure#0}> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x59a3730dc2c2 - std[128c3efe2914e152]::panicking::catch_unwind::<(), core[6771d259883166e6]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x59a3730dc2c2 - std[128c3efe2914e152]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x59a3730dc2c2 - std[128c3efe2914e152]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x59a3730dc2c2 - ::{closure#1} as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x59a37347f61f - + core[6771d259883166e6]::marker::Send> as core[6771d259883166e6]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/alloc/src/boxed.rs:2249:9 [INFO] [stdout] 43: 0x59a37347f61f - ::new::thread_start [INFO] [stdout] at /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x77344483faa4 - [INFO] [stdout] 45: 0x7734448cca64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] analyze::all_used_no_output [INFO] [stdout] analyze::exclude_crate_flag [INFO] [stdout] analyze::json_output_all_used [INFO] [stdout] analyze::json_output_unused [INFO] [stdout] analyze::multiple_unused_symbols [INFO] [stdout] analyze::proc_macro_derive_not_reported [INFO] [stdout] analyze::pub_static_used_in_exported_macro [INFO] [stdout] analyze::unused_pub_function [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.35s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p cargo-unused --test it` [INFO] running `Command { std: "docker" "inspect" "aecf0d44205f7fc12b15007b57a17ed590a486052a889ecac710761c2436c0a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aecf0d44205f7fc12b15007b57a17ed590a486052a889ecac710761c2436c0a8", kill_on_drop: false }` [INFO] [stdout] aecf0d44205f7fc12b15007b57a17ed590a486052a889ecac710761c2436c0a8