[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 master#f9988fefd3add01f414f52b414308e7872622fee for pr-155114 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatthewMckee4%2Fcargo-unused" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MatthewMckee4/cargo-unused on toolchain f9988fefd3add01f414f52b414308e7872622fee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "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" "+f9988fefd3add01f414f52b414308e7872622fee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-hash v2.1.2 [INFO] [stderr] Downloaded owo-colors v4.3.0 [INFO] [stderr] Downloaded miow v0.6.1 [INFO] [stderr] Downloaded ra_ap_vfs v0.0.289 [INFO] [stderr] Downloaded ra_ap_stdx v0.0.289 [INFO] [stderr] Downloaded ra-ap-rustc_lexer v0.116.0 [INFO] [stderr] Downloaded ra_ap_toolchain v0.0.289 [INFO] [stderr] Downloaded la-arena v0.3.1 [INFO] [stderr] Downloaded boxcar v0.2.14 [INFO] [stderr] Downloaded ra_ap_edition v0.0.289 [INFO] [stderr] Downloaded drop_bomb v0.1.5 [INFO] [stderr] Downloaded salsa-macros v0.22.0 [INFO] [stderr] Downloaded ra_ap_span v0.0.289 [INFO] [stderr] Downloaded ra_ap_parser v0.0.289 [INFO] [stderr] Downloaded ra_ap_project_model v0.0.289 [INFO] [stderr] Downloaded rustc-stable-hash v0.1.2 [INFO] [stderr] Downloaded line-index v0.1.2 [INFO] [stderr] Downloaded rustc-literal-escaper v0.0.2 [INFO] [stderr] Downloaded ena v0.14.4 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded termtree v0.5.1 [INFO] [stderr] Downloaded chalk-ir v0.103.0 [INFO] [stderr] Downloaded assert_cmd v2.2.0 [INFO] [stderr] Downloaded text-size v1.1.1 [INFO] [stderr] Downloaded terminal_size v0.4.4 [INFO] [stderr] Downloaded ra_ap_tt v0.0.289 [INFO] [stderr] Downloaded cov-mark v2.2.0 [INFO] [stderr] Downloaded ra-ap-rustc_hashes v0.116.0 [INFO] [stderr] Downloaded predicates-tree v1.0.13 [INFO] [stderr] Downloaded jod-thread v1.0.0 [INFO] [stderr] Downloaded ra_ap_paths v0.0.289 [INFO] [stderr] Downloaded ra_ap_profile v0.0.289 [INFO] [stderr] Downloaded ra_ap_intern v0.0.289 [INFO] [stderr] Downloaded predicates-core v1.0.10 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded doc-comment v0.3.4 [INFO] [stderr] Downloaded ra_ap_cfg v0.0.289 [INFO] [stderr] Downloaded rustc-literal-escaper v0.0.3 [INFO] [stderr] Downloaded ra_ap_vfs-notify v0.0.289 [INFO] [stderr] Downloaded ra-ap-rustc_index_macros v0.116.0 [INFO] [stderr] Downloaded chalk-derive v0.103.0 [INFO] [stderr] Downloaded countme v3.0.1 [INFO] [stderr] Downloaded ra-ap-rustc_parse_format v0.116.0 [INFO] [stderr] Downloaded salsa-macro-rules v0.22.0 [INFO] [stderr] Downloaded ra_ap_query-group-macro v0.0.289 [INFO] [stderr] Downloaded perf-event-open-sys v1.0.1 [INFO] [stderr] Downloaded chalk-recursive v0.103.0 [INFO] [stderr] Downloaded dot v0.1.4 [INFO] [stderr] Downloaded perf-event v0.4.7 [INFO] [stderr] Downloaded ra_ap_syntax-bridge v0.0.289 [INFO] [stderr] Downloaded pulldown-cmark-to-cmark v10.0.4 [INFO] [stderr] Downloaded assert_fs v1.1.3 [INFO] [stderr] Downloaded cargo_metadata v0.20.0 [INFO] [stderr] Downloaded ra_ap_load-cargo v0.0.289 [INFO] [stderr] Downloaded cargo-util-schemas v0.2.0 [INFO] [stderr] Downloaded cargo-platform v0.2.0 [INFO] [stderr] Downloaded notify-types v2.1.0 [INFO] [stderr] Downloaded ra_ap_proc_macro_api v0.0.289 [INFO] [stderr] Downloaded ra-ap-rustc_index v0.116.0 [INFO] [stderr] Downloaded predicates v3.1.4 [INFO] [stderr] Downloaded inotify v0.11.1 [INFO] [stderr] Downloaded ra_ap_base_db v0.0.289 [INFO] [stderr] Downloaded console v0.16.3 [INFO] [stderr] Downloaded triomphe v0.1.15 [INFO] [stderr] Downloaded erased-serde v0.4.10 [INFO] [stderr] Downloaded ra_ap_mbe v0.0.289 [INFO] [stderr] Downloaded smol_str v0.3.6 [INFO] [stderr] Downloaded ra_ap_ide_ssr v0.0.289 [INFO] [stderr] Downloaded globset v0.4.18 [INFO] [stderr] Downloaded rowan v0.15.15 [INFO] [stderr] Downloaded thin-vec v0.2.14 [INFO] [stderr] Downloaded ra-ap-rustc_pattern_analysis v0.116.0 [INFO] [stderr] Downloaded ra-ap-rustc_abi v0.116.0 [INFO] [stderr] Downloaded ignore v0.4.25 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Downloaded ra_ap_hir_expand v0.0.289 [INFO] [stderr] Downloaded borsh v1.6.1 [INFO] [stderr] Downloaded chalk-solve v0.103.0 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded ra_ap_ide_diagnostics v0.0.289 [INFO] [stderr] Downloaded insta v1.47.2 [INFO] [stderr] Downloaded indexmap v2.13.1 [INFO] [stderr] Downloaded ra_ap_syntax v0.0.289 [INFO] [stderr] Downloaded ra_ap_hir v0.0.289 [INFO] [stderr] Downloaded ra_ap_ide_completion v0.0.289 [INFO] [stderr] Downloaded ra_ap_ide_db v0.0.289 [INFO] [stderr] Downloaded ra_ap_hir_def v0.0.289 [INFO] [stderr] Downloaded ra_ap_ide v0.0.289 [INFO] [stderr] Downloaded ra_ap_ide_assists v0.0.289 [INFO] [stderr] Downloaded ra_ap_hir_ty v0.0.289 [INFO] [stderr] Downloaded salsa v0.22.0 [INFO] [stderr] Downloaded fst v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+f9988fefd3add01f414f52b414308e7872622fee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb465f8192844dfe96ce96f1b477380d4d278394bc0c53d9e89105d1b1138690 [INFO] running `Command { std: "docker" "start" "-a" "bb465f8192844dfe96ce96f1b477380d4d278394bc0c53d9e89105d1b1138690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb465f8192844dfe96ce96f1b477380d4d278394bc0c53d9e89105d1b1138690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb465f8192844dfe96ce96f1b477380d4d278394bc0c53d9e89105d1b1138690", kill_on_drop: false }` [INFO] [stdout] bb465f8192844dfe96ce96f1b477380d4d278394bc0c53d9e89105d1b1138690 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d2d186b2fd8028855eb8b02a25d6c8ce7a2adc06adb1171ad1318dc5a6656f2 [INFO] running `Command { std: "docker" "start" "-a" "0d2d186b2fd8028855eb8b02a25d6c8ce7a2adc06adb1171ad1318dc5a6656f2", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling memchr v2.8.0 [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 syn v2.0.117 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling jod-thread v1.0.0 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.116.0 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling triomphe v0.1.15 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.3 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling ra_ap_edition v0.0.289 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling ra_ap_intern v0.0.289 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling salsa-macro-rules v0.22.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling smol_str v0.3.6 [INFO] [stderr] Compiling indexmap v2.13.1 [INFO] [stderr] Compiling boxcar v0.2.14 [INFO] [stderr] Compiling la-arena v0.3.1 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling rustc_apfloat v0.2.3+llvm-462a31f5a5ab [INFO] [stderr] Compiling ra_ap_paths v0.0.289 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling rustc-stable-hash v0.1.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling cov-mark v2.2.0 [INFO] [stderr] Compiling petgraph v0.6.5 [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 icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [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 zmij v1.0.21 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling perf-event v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling ra_ap_profile v0.0.289 [INFO] [stderr] Compiling line-index v0.1.2 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling erased-serde v0.4.10 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling serde-untagged v0.1.9 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling walkdir v2.5.0 [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 mio v1.2.0 [INFO] [stderr] Compiling notify-types v2.1.0 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling salsa-macros v0.22.0 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling ra-ap-rustc_index_macros v0.116.0 [INFO] [stderr] Compiling ra_ap_query-group-macro v0.0.289 [INFO] [stderr] Compiling ra-ap-rustc_index v0.116.0 [INFO] [stderr] Compiling chalk-derive v0.103.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ra_ap_stdx v0.0.289 [INFO] [stderr] Compiling ra_ap_parser v0.0.289 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling salsa v0.22.0 [INFO] [stderr] Compiling ra_ap_vfs v0.0.289 [INFO] [stderr] Compiling ra_ap_tt v0.0.289 [INFO] [stderr] Compiling ra_ap_syntax v0.0.289 [INFO] [stderr] Compiling ra_ap_cfg v0.0.289 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling chalk-ir v0.103.0 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling ra-ap-rustc_abi v0.116.0 [INFO] [stderr] Compiling ra-ap-rustc_pattern_analysis v0.116.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling chalk-solve v0.103.0 [INFO] [stderr] Compiling terminal_size v0.4.4 [INFO] [stderr] Compiling notify v8.2.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ra_ap_span v0.0.289 [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_mbe v0.0.289 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling chalk-recursive v0.103.0 [INFO] [stderr] Compiling ra_ap_hir_expand v0.0.289 [INFO] [stderr] Compiling cargo-platform v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling owo-colors v4.3.0 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling pulldown-cmark-to-cmark v10.0.4 [INFO] [stderr] Compiling ra_ap_proc_macro_api v0.0.289 [INFO] [stderr] Compiling ra_ap_vfs-notify v0.0.289 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling ra_ap_hir_def v0.0.289 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling cargo-util-schemas v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling dot v0.1.4 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling clap v4.6.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 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_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_diagnostics v0.0.289 [INFO] [stderr] Compiling ra_ap_ide_assists 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_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 57.02s [INFO] running `Command { std: "docker" "inspect" "0d2d186b2fd8028855eb8b02a25d6c8ce7a2adc06adb1171ad1318dc5a6656f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d2d186b2fd8028855eb8b02a25d6c8ce7a2adc06adb1171ad1318dc5a6656f2", kill_on_drop: false }` [INFO] [stdout] 0d2d186b2fd8028855eb8b02a25d6c8ce7a2adc06adb1171ad1318dc5a6656f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9532727586970b630709a75b6183ef47665a35369b0b6d335bb00e75c32fe21 [INFO] running `Command { std: "docker" "start" "-a" "b9532727586970b630709a75b6183ef47665a35369b0b6d335bb00e75c32fe21", 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 fastrand v2.4.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.2.0 [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling predicates-tree v1.0.13 [INFO] [stderr] Compiling console v0.16.3 [INFO] [stderr] Compiling wait-timeout v0.2.1 [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 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 clap v4.6.0 [INFO] [stderr] Compiling globset v0.4.18 [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 cargo-unused-logging v0.1.0 (/opt/rustwide/workdir/crates/cargo-unused-logging) [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling assert_fs v1.1.3 [INFO] [stderr] Compiling cargo-unused v0.0.1 (/opt/rustwide/workdir/crates/cargo-unused) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.40s [INFO] running `Command { std: "docker" "inspect" "b9532727586970b630709a75b6183ef47665a35369b0b6d335bb00e75c32fe21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9532727586970b630709a75b6183ef47665a35369b0b6d335bb00e75c32fe21", kill_on_drop: false }` [INFO] [stdout] b9532727586970b630709a75b6183ef47665a35369b0b6d335bb00e75c32fe21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+f9988fefd3add01f414f52b414308e7872622fee" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5baa83aae1a521151fd0752905feb5cd5992f5e27006b9977877c73b3484732e [INFO] running `Command { std: "docker" "start" "-a" "5baa83aae1a521151fd0752905feb5cd5992f5e27006b9977877c73b3484732e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_unused-9df6256ec268156e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running tests/it/main.rs (/opt/rustwide/target/debug/deps/it-182680ad3c0dc540) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test analyze::no_manifest_error ... ok [INFO] [stdout] test analyze::json_output_all_used ... FAILED [INFO] [stdout] test analyze::exclude_crate_flag ... FAILED [INFO] [stdout] test analyze::json_output_unused ... FAILED [INFO] [stdout] test analyze::pub_static_used_in_exported_macro ... FAILED [INFO] [stdout] test analyze::proc_macro_derive_not_reported ... FAILED [INFO] [stdout] test analyze::all_used_no_output ... FAILED [INFO] [stdout] test help::help_short_flag ... ok [INFO] [stdout] test self_version::self_version ... ok [INFO] [stdout] test help::help_flag ... ok [INFO] [stdout] test analyze::unused_pub_function ... FAILED [INFO] [stdout] test self_version::self_version_short ... ok [INFO] [stdout] test analyze::multiple_unused_symbols ... FAILED [INFO] [stdout] test self_version::version_short_flag ... ok [INFO] [stdout] test self_version::self_version_json ... ok [INFO] [stdout] test self_version::version_flag ... ok [INFO] [stdout] [INFO] [stdout] failures: [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-testyzFYUK [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-testyzFYUK/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-testyzFYUK/Cargo.toml, Some(Version { major: 1, minor: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-testyzFYUK" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-testyzFYUK/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-testyzFYUK/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: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/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' (21) 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: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x6089b9dc3e9a - <::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x6089b9ddbc9a - ::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x6089b9ddbc9a - core[4a92201981c6b77a]::fmt::write [INFO] [stdout] 6: 0x6089b9dc8c92 - std[1209cfb42f6d497f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x6089b9dc8c92 - as std[1209cfb42f6d497f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x6089b9d9f87f - ::print [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6089b9d9f87f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x6089b9dbaf29 - std[1209cfb42f6d497f]::panicking::default_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x6089b9a2220c - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 12: 0x6089b9a2220c - test[59e67a9bc0e119f1]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x6089b9dbb0e2 - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 14: 0x6089b9dbb0e2 - std[1209cfb42f6d497f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6089b9d9f938 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x6089b9d94759 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6089b9da06ed - __rustc[4effac393e9f3da6]::rust_begin_unwind [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x6089b9ddc4dc - core[4a92201981c6b77a]::panicking::panic_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6089b9ddc252 - core[4a92201981c6b77a]::result::unwrap_failed [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x6089b98f1f89 - >>::unwrap [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x6089b98f1f89 - it[b17aacc36ed34aa0]::analyze::json_output_all_used [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x6089b98ea1f7 - it[b17aacc36ed34aa0]::analyze::json_output_all_used::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:176:26 [INFO] [stdout] 23: 0x6089b98e82d6 - >::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6089b9a154eb - core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6089b9a154eb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18 [INFO] [stdout] 26: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74 [INFO] [stdout] 27: 0x6089b9a22cdb - as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panic::catch_unwind::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27 [INFO] [stdout] 32: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43 [INFO] [stdout] 33: 0x6089b9a1c3f4 - test[59e67a9bc0e119f1]::run_test::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41 [INFO] [stdout] 34: 0x6089b9a1c3f4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 36: 0x6089b9a258e2 - ::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 41: 0x6089b9a258e2 - ::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6089b9dc2f5f - + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9 [INFO] [stdout] 43: 0x6089b9dc2f5f - ::new::thread_start [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x73dfbe04faa4 - [INFO] [stdout] 45: 0x73dfbe0dca64 - 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-test4PL76l [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-test4PL76l/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-test4PL76l/Cargo.toml, Some(Version { major: 1, minor: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-test4PL76l" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-test4PL76l/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-test4PL76l/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: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/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' (20) 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: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x6089b9dc3e9a - <::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x6089b9ddbc9a - ::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x6089b9ddbc9a - core[4a92201981c6b77a]::fmt::write [INFO] [stdout] 6: 0x6089b9dc8c92 - std[1209cfb42f6d497f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x6089b9dc8c92 - as std[1209cfb42f6d497f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x6089b9d9f87f - ::print [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6089b9d9f87f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x6089b9dbaf29 - std[1209cfb42f6d497f]::panicking::default_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x6089b9a2220c - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 12: 0x6089b9a2220c - test[59e67a9bc0e119f1]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x6089b9dbb0e2 - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 14: 0x6089b9dbb0e2 - std[1209cfb42f6d497f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6089b9d9f938 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x6089b9d94759 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6089b9da06ed - __rustc[4effac393e9f3da6]::rust_begin_unwind [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x6089b9ddc4dc - core[4a92201981c6b77a]::panicking::panic_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6089b9ddc252 - core[4a92201981c6b77a]::result::unwrap_failed [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x6089b98efed9 - >>::unwrap [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x6089b98efed9 - it[b17aacc36ed34aa0]::analyze::exclude_crate_flag [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x6089b98ea167 - it[b17aacc36ed34aa0]::analyze::exclude_crate_flag::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:123:24 [INFO] [stdout] 23: 0x6089b98e8216 - >::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6089b9a154eb - core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6089b9a154eb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18 [INFO] [stdout] 26: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74 [INFO] [stdout] 27: 0x6089b9a22cdb - as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panic::catch_unwind::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27 [INFO] [stdout] 32: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43 [INFO] [stdout] 33: 0x6089b9a1c3f4 - test[59e67a9bc0e119f1]::run_test::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41 [INFO] [stdout] 34: 0x6089b9a1c3f4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 36: 0x6089b9a258e2 - ::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 41: 0x6089b9a258e2 - ::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6089b9dc2f5f - + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9 [INFO] [stdout] 43: 0x6089b9dc2f5f - ::new::thread_start [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x73dfbe04faa4 - [INFO] [stdout] 45: 0x73dfbe0dca64 - 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-testWZGPzM [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-testWZGPzM/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-testWZGPzM/Cargo.toml, Some(Version { major: 1, minor: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-testWZGPzM" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-testWZGPzM/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-testWZGPzM/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: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/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' (22) 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: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x6089b9dc3e9a - <::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x6089b9ddbc9a - ::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x6089b9ddbc9a - core[4a92201981c6b77a]::fmt::write [INFO] [stdout] 6: 0x6089b9dc8c92 - std[1209cfb42f6d497f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x6089b9dc8c92 - as std[1209cfb42f6d497f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x6089b9d9f87f - ::print [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6089b9d9f87f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x6089b9dbaf29 - std[1209cfb42f6d497f]::panicking::default_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x6089b9a2220c - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 12: 0x6089b9a2220c - test[59e67a9bc0e119f1]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x6089b9dbb0e2 - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 14: 0x6089b9dbb0e2 - std[1209cfb42f6d497f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6089b9d9f938 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x6089b9d94759 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6089b9da06ed - __rustc[4effac393e9f3da6]::rust_begin_unwind [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x6089b9ddc4dc - core[4a92201981c6b77a]::panicking::panic_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6089b9ddc252 - core[4a92201981c6b77a]::result::unwrap_failed [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x6089b98f09d9 - >>::unwrap [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x6089b98f09d9 - it[b17aacc36ed34aa0]::analyze::json_output_unused [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x6089b98ea197 - it[b17aacc36ed34aa0]::analyze::json_output_unused::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:143:24 [INFO] [stdout] 23: 0x6089b98e8256 - >::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6089b9a154eb - core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6089b9a154eb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18 [INFO] [stdout] 26: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74 [INFO] [stdout] 27: 0x6089b9a22cdb - as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panic::catch_unwind::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27 [INFO] [stdout] 32: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43 [INFO] [stdout] 33: 0x6089b9a1c3f4 - test[59e67a9bc0e119f1]::run_test::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41 [INFO] [stdout] 34: 0x6089b9a1c3f4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 36: 0x6089b9a258e2 - ::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 41: 0x6089b9a258e2 - ::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6089b9dc2f5f - + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9 [INFO] [stdout] 43: 0x6089b9dc2f5f - ::new::thread_start [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x73dfbe04faa4 - [INFO] [stdout] 45: 0x73dfbe0dca64 - 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-test5J6jGe [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-test5J6jGe/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-test5J6jGe/Cargo.toml, Some(Version { major: 1, minor: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-test5J6jGe" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-test5J6jGe/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-test5J6jGe/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: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/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' (26) 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: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x6089b9dc3e9a - <::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x6089b9ddbc9a - ::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x6089b9ddbc9a - core[4a92201981c6b77a]::fmt::write [INFO] [stdout] 6: 0x6089b9dc8c92 - std[1209cfb42f6d497f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x6089b9dc8c92 - as std[1209cfb42f6d497f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x6089b9d9f87f - ::print [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6089b9d9f87f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x6089b9dbaf29 - std[1209cfb42f6d497f]::panicking::default_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x6089b9a2220c - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 12: 0x6089b9a2220c - test[59e67a9bc0e119f1]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x6089b9dbb0e2 - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 14: 0x6089b9dbb0e2 - std[1209cfb42f6d497f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6089b9d9f938 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x6089b9d94759 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6089b9da06ed - __rustc[4effac393e9f3da6]::rust_begin_unwind [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x6089b9ddc4dc - core[4a92201981c6b77a]::panicking::panic_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6089b9ddc252 - core[4a92201981c6b77a]::result::unwrap_failed [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x6089b98f3fb0 - >>::unwrap [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x6089b98f3fb0 - it[b17aacc36ed34aa0]::analyze::pub_static_used_in_exported_macro [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x6089b98ea287 - it[b17aacc36ed34aa0]::analyze::pub_static_used_in_exported_macro::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:6:39 [INFO] [stdout] 23: 0x6089b98e8396 - >::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6089b9a154eb - core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6089b9a154eb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18 [INFO] [stdout] 26: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74 [INFO] [stdout] 27: 0x6089b9a22cdb - as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panic::catch_unwind::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27 [INFO] [stdout] 32: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43 [INFO] [stdout] 33: 0x6089b9a1c3f4 - test[59e67a9bc0e119f1]::run_test::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41 [INFO] [stdout] 34: 0x6089b9a1c3f4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 36: 0x6089b9a258e2 - ::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 41: 0x6089b9a258e2 - ::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6089b9dc2f5f - + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9 [INFO] [stdout] 43: 0x6089b9dc2f5f - ::new::thread_start [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x73dfbe04faa4 - [INFO] [stdout] 45: 0x73dfbe0dca64 - 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-testQHClyh [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-testQHClyh/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-testQHClyh/Cargo.toml, Some(Version { major: 1, minor: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-testQHClyh" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-testQHClyh/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-testQHClyh/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: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/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' (25) 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: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x6089b9dc3e9a - <::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x6089b9ddbc9a - ::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x6089b9ddbc9a - core[4a92201981c6b77a]::fmt::write [INFO] [stdout] 6: 0x6089b9dc8c92 - std[1209cfb42f6d497f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x6089b9dc8c92 - as std[1209cfb42f6d497f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x6089b9d9f87f - ::print [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6089b9d9f87f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x6089b9dbaf29 - std[1209cfb42f6d497f]::panicking::default_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x6089b9a2220c - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 12: 0x6089b9a2220c - test[59e67a9bc0e119f1]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x6089b9dbb0e2 - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 14: 0x6089b9dbb0e2 - std[1209cfb42f6d497f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6089b9d9f938 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x6089b9d94759 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6089b9da06ed - __rustc[4effac393e9f3da6]::rust_begin_unwind [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x6089b9ddc4dc - core[4a92201981c6b77a]::panicking::panic_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6089b9ddc252 - core[4a92201981c6b77a]::result::unwrap_failed [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x6089b98f3503 - >>::unwrap [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x6089b98f3503 - it[b17aacc36ed34aa0]::analyze::proc_macro_derive_not_reported [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x6089b98ea257 - it[b17aacc36ed34aa0]::analyze::proc_macro_derive_not_reported::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:45:36 [INFO] [stdout] 23: 0x6089b98e8356 - >::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6089b9a154eb - core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6089b9a154eb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18 [INFO] [stdout] 26: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74 [INFO] [stdout] 27: 0x6089b9a22cdb - as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panic::catch_unwind::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27 [INFO] [stdout] 32: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43 [INFO] [stdout] 33: 0x6089b9a1c3f4 - test[59e67a9bc0e119f1]::run_test::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41 [INFO] [stdout] 34: 0x6089b9a1c3f4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 36: 0x6089b9a258e2 - ::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 41: 0x6089b9a258e2 - ::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6089b9dc2f5f - + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9 [INFO] [stdout] 43: 0x6089b9dc2f5f - ::new::thread_start [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x73dfbe04faa4 - [INFO] [stdout] 45: 0x73dfbe0dca64 - 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-test5f0wes [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-test5f0wes/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-test5f0wes/Cargo.toml, Some(Version { major: 1, minor: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-test5f0wes" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-test5f0wes/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-test5f0wes/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: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/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' (19) 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: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x6089b9dc3e9a - <::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x6089b9ddbc9a - ::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x6089b9ddbc9a - core[4a92201981c6b77a]::fmt::write [INFO] [stdout] 6: 0x6089b9dc8c92 - std[1209cfb42f6d497f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x6089b9dc8c92 - as std[1209cfb42f6d497f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x6089b9d9f87f - ::print [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6089b9d9f87f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x6089b9dbaf29 - std[1209cfb42f6d497f]::panicking::default_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x6089b9a2220c - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 12: 0x6089b9a2220c - test[59e67a9bc0e119f1]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x6089b9dbb0e2 - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 14: 0x6089b9dbb0e2 - std[1209cfb42f6d497f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6089b9d9f938 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x6089b9d94759 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6089b9da06ed - __rustc[4effac393e9f3da6]::rust_begin_unwind [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x6089b9ddc4dc - core[4a92201981c6b77a]::panicking::panic_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6089b9ddc252 - core[4a92201981c6b77a]::result::unwrap_failed [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x6089b98ef3e0 - >>::unwrap [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x6089b98ef3e0 - it[b17aacc36ed34aa0]::analyze::all_used_no_output [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x6089b98ea137 - it[b17aacc36ed34aa0]::analyze::all_used_no_output::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:101:24 [INFO] [stdout] 23: 0x6089b98e81d6 - >::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6089b9a154eb - core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6089b9a154eb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18 [INFO] [stdout] 26: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74 [INFO] [stdout] 27: 0x6089b9a22cdb - as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panic::catch_unwind::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27 [INFO] [stdout] 32: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43 [INFO] [stdout] 33: 0x6089b9a1c3f4 - test[59e67a9bc0e119f1]::run_test::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41 [INFO] [stdout] 34: 0x6089b9a1c3f4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 36: 0x6089b9a258e2 - ::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] error: test failed, to rerun pass `-p cargo-unused --test it` [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 41: 0x6089b9a258e2 - ::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6089b9dc2f5f - + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9 [INFO] [stdout] 43: 0x6089b9dc2f5f - ::new::thread_start [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x73dfbe04faa4 - [INFO] [stdout] 45: 0x73dfbe0dca64 - 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-testzsaUZ4 [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-testzsaUZ4/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-testzsaUZ4/Cargo.toml, Some(Version { major: 1, minor: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-testzsaUZ4" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-testzsaUZ4/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-testzsaUZ4/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: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/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' (230) 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: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x6089b9dc3e9a - <::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x6089b9ddbc9a - ::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x6089b9ddbc9a - core[4a92201981c6b77a]::fmt::write [INFO] [stdout] 6: 0x6089b9dc8c92 - std[1209cfb42f6d497f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x6089b9dc8c92 - as std[1209cfb42f6d497f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x6089b9d9f87f - ::print [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6089b9d9f87f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x6089b9dbaf29 - std[1209cfb42f6d497f]::panicking::default_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x6089b9a2220c - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 12: 0x6089b9a2220c - test[59e67a9bc0e119f1]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x6089b9dbb0e2 - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 14: 0x6089b9dbb0e2 - std[1209cfb42f6d497f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6089b9d9f938 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x6089b9d94759 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6089b9da06ed - __rustc[4effac393e9f3da6]::rust_begin_unwind [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x6089b9ddc4dc - core[4a92201981c6b77a]::panicking::panic_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6089b9ddc252 - core[4a92201981c6b77a]::result::unwrap_failed [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x6089b98f1490 - >>::unwrap [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x6089b98f1490 - it[b17aacc36ed34aa0]::analyze::unused_pub_function [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x6089b98ea1c7 - it[b17aacc36ed34aa0]::analyze::unused_pub_function::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:72:25 [INFO] [stdout] 23: 0x6089b98e8296 - >::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6089b9a154eb - core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6089b9a154eb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18 [INFO] [stdout] 26: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74 [INFO] [stdout] 27: 0x6089b9a22cdb - as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panic::catch_unwind::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27 [INFO] [stdout] 32: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43 [INFO] [stdout] 33: 0x6089b9a1c3f4 - test[59e67a9bc0e119f1]::run_test::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41 [INFO] [stdout] 34: 0x6089b9a1c3f4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 36: 0x6089b9a258e2 - ::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 41: 0x6089b9a258e2 - ::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6089b9dc2f5f - + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9 [INFO] [stdout] 43: 0x6089b9dc2f5f - ::new::thread_start [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x73dfbe04faa4 - [INFO] [stdout] 45: 0x73dfbe0dca64 - clone [INFO] [stdout] 46: 0x0 - [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-testTHJJX6 [INFO] [stdout] Caused by: Failed to load the project at /tmp/cargo-unused-testTHJJX6/Cargo.toml [INFO] [stdout] Caused by: Failed to read Cargo metadata from Cargo.toml file /tmp/cargo-unused-testTHJJX6/Cargo.toml, Some(Version { major: 1, minor: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] Caused by: Failed to run `cd "/tmp/cargo-unused-testTHJJX6" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/tmp/cargo-unused-testTHJJX6/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu" "--lockfile-path" "/tmp/cargo-unused-testTHJJX6/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: 97, patch: 0, pre: Prerelease("nightly") }) [INFO] [stdout] 9 │+ Caused by: Failed to run `cd "[TEMP]/" && RUSTC_BOOTSTRAP="1" "/opt/rustwide/rustup-home/toolchains/f9988fefd3add01f414f52b414308e7872622fee/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' (23) 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: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6089b9dc3e9a - std[1209cfb42f6d497f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x6089b9dc3e9a - <::print::DisplayBacktrace as core[4a92201981c6b77a]::fmt::Display>::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x6089b9ddbc9a - ::fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x6089b9ddbc9a - core[4a92201981c6b77a]::fmt::write [INFO] [stdout] 6: 0x6089b9dc8c92 - std[1209cfb42f6d497f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:621:11 [INFO] [stdout] 7: 0x6089b9dc8c92 - as std[1209cfb42f6d497f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/io/mod.rs:1976:13 [INFO] [stdout] 8: 0x6089b9d9f87f - ::print [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6089b9d9f87f - std[1209cfb42f6d497f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x6089b9dbaf29 - std[1209cfb42f6d497f]::panicking::default_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x6089b9a2220c - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 12: 0x6089b9a2220c - test[59e67a9bc0e119f1]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x6089b9dbb0e2 - core[4a92201981c6b77a]::ops::function::Fn<(&'a std[1209cfb42f6d497f]::panic::PanicHookInfo<'b>,), Output = ()> + core[4a92201981c6b77a]::marker::Sync + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::Fn<(&std[1209cfb42f6d497f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2285:9 [INFO] [stdout] 14: 0x6089b9dbb0e2 - std[1209cfb42f6d497f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6089b9d9f938 - std[1209cfb42f6d497f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x6089b9d94759 - std[1209cfb42f6d497f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6089b9da06ed - __rustc[4effac393e9f3da6]::rust_begin_unwind [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x6089b9ddc4dc - core[4a92201981c6b77a]::panicking::panic_fmt [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x6089b9ddc252 - core[4a92201981c6b77a]::result::unwrap_failed [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x6089b98f2a40 - >>::unwrap [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x6089b98f2a40 - it[b17aacc36ed34aa0]::analyze::multiple_unused_symbols [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/common/mod.rs:280:9 [INFO] [stdout] 22: 0x6089b98ea227 - it[b17aacc36ed34aa0]::analyze::multiple_unused_symbols::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/crates/cargo-unused/tests/it/analyze.rs:217:29 [INFO] [stdout] 23: 0x6089b98e8316 - >::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x6089b9a154eb - core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x6089b9a154eb - test[59e67a9bc0e119f1]::__rust_begin_short_backtrace::, fn() -> core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:724:18 [INFO] [stdout] 26: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:74 [INFO] [stdout] 27: 0x6089b9a22cdb - as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panicking::catch_unwind::, core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x6089b9a22cdb - std[1209cfb42f6d497f]::panic::catch_unwind::, core[4a92201981c6b77a]::result::Result<(), alloc[420bb310a727dfd7]::string::String>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test_in_process [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:747:27 [INFO] [stdout] 32: 0x6089b9a22cdb - test[59e67a9bc0e119f1]::run_test::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:668:43 [INFO] [stdout] 33: 0x6089b9a1c3f4 - test[59e67a9bc0e119f1]::run_test::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/test/src/lib.rs:698:41 [INFO] [stdout] 34: 0x6089b9a1c3f4 - std[1209cfb42f6d497f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 36: 0x6089b9a258e2 - ::{closure#1}::{closure#0}> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panicking::catch_unwind::<(), core[4a92201981c6b77a]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x6089b9a258e2 - std[1209cfb42f6d497f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6089b9a258e2 - std[1209cfb42f6d497f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 41: 0x6089b9a258e2 - ::{closure#1} as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x6089b9dc2f5f - + core[4a92201981c6b77a]::marker::Send> as core[4a92201981c6b77a]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/alloc/src/boxed.rs:2271:9 [INFO] [stdout] 43: 0x6089b9dc2f5f - ::new::thread_start [INFO] [stdout] at /rustc/f9988fefd3add01f414f52b414308e7872622fee/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x73dfbe04faa4 - [INFO] [stdout] 45: 0x73dfbe0dca64 - 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 0.85s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5baa83aae1a521151fd0752905feb5cd5992f5e27006b9977877c73b3484732e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5baa83aae1a521151fd0752905feb5cd5992f5e27006b9977877c73b3484732e", kill_on_drop: false }` [INFO] [stdout] 5baa83aae1a521151fd0752905feb5cd5992f5e27006b9977877c73b3484732e