[INFO] cloning repository https://github.com/sukovanej/ts-unused-symbols [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sukovanej/ts-unused-symbols" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsukovanej%2Fts-unused-symbols", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsukovanej%2Fts-unused-symbols'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d89fdabc76303b37e931a48175c7017e801ace82 [INFO] testing sukovanej/ts-unused-symbols against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsukovanej%2Fts-unused-symbols" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sukovanej/ts-unused-symbols [INFO] finished tweaking git repo https://github.com/sukovanej/ts-unused-symbols [INFO] tweaked toml for git repo https://github.com/sukovanej/ts-unused-symbols written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sukovanej/ts-unused-symbols on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sukovanej/ts-unused-symbols 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e33f27312c050ce5daa58812fedddcf8d9bd6520ff8c465025a92ae18a726daf [INFO] running `Command { std: "docker" "start" "-a" "e33f27312c050ce5daa58812fedddcf8d9bd6520ff8c465025a92ae18a726daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e33f27312c050ce5daa58812fedddcf8d9bd6520ff8c465025a92ae18a726daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e33f27312c050ce5daa58812fedddcf8d9bd6520ff8c465025a92ae18a726daf", kill_on_drop: false }` [INFO] [stdout] e33f27312c050ce5daa58812fedddcf8d9bd6520ff8c465025a92ae18a726daf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a35eab985fd141d677dd3032d7e6471679a874c151fddd96caf9b7ffb34c4d6d [INFO] running `Command { std: "docker" "start" "-a" "a35eab985fd141d677dd3032d7e6471679a874c151fddd96caf9b7ffb34c4d6d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling better_scoped_tls v1.0.0 [INFO] [stderr] Compiling swc_visit v2.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling wildmatch v2.4.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling swc_macros_common v1.0.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling from_variant v2.0.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.0 [INFO] [stderr] Compiling ast_node v2.0.0 [INFO] [stderr] Compiling string_enum v1.0.0 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling hstr v0.2.12 [INFO] [stderr] Compiling swc_allocator v1.0.0 [INFO] [stderr] Compiling swc_atoms v2.0.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling swc_common v4.0.1 [INFO] [stderr] Compiling swc_ecma_ast v4.0.1 [INFO] [stderr] Compiling swc_ecma_parser v5.0.0 [INFO] [stderr] Compiling ts-unused-symbols v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/analyze_package.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct AnalyzedPackage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 18 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalyzedPackage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/analyzed_module.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AnalyzedModule

{ [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | pub path: P, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalyzedModule` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reexport` is never constructed [INFO] [stdout] --> src/module_symbols.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Reexport

{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "a35eab985fd141d677dd3032d7e6471679a874c151fddd96caf9b7ffb34c4d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a35eab985fd141d677dd3032d7e6471679a874c151fddd96caf9b7ffb34c4d6d", kill_on_drop: false }` [INFO] [stdout] a35eab985fd141d677dd3032d7e6471679a874c151fddd96caf9b7ffb34c4d6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86162c84bcd89445cfeb327ec568699e92482270fd6876024f8a132567114190 [INFO] running `Command { std: "docker" "start" "-a" "86162c84bcd89445cfeb327ec568699e92482270fd6876024f8a132567114190", kill_on_drop: false }` [INFO] [stderr] Compiling ts-unused-symbols v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/analyze_package.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct AnalyzedPackage { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 18 | pub path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalyzedPackage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/analyzed_module.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AnalyzedModule

{ [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | pub path: P, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalyzedModule` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reexport` is never constructed [INFO] [stdout] --> src/module_symbols.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Reexport

{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.24s [INFO] running `Command { std: "docker" "inspect" "86162c84bcd89445cfeb327ec568699e92482270fd6876024f8a132567114190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86162c84bcd89445cfeb327ec568699e92482270fd6876024f8a132567114190", kill_on_drop: false }` [INFO] [stdout] 86162c84bcd89445cfeb327ec568699e92482270fd6876024f8a132567114190 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bc2fe455b93750dc9da93c95dcabf5c6945e4c1353d15818f9f9e4e785fcb6d6 [INFO] running `Command { std: "docker" "start" "-a" "bc2fe455b93750dc9da93c95dcabf5c6945e4c1353d15818f9f9e4e785fcb6d6", kill_on_drop: false }` [INFO] [stderr] warning: field `path` is never read [INFO] [stderr] --> src/analyze_package.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct AnalyzedPackage { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 18 | pub path: PathBuf, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AnalyzedPackage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `path` is never read [INFO] [stderr] --> src/analyzed_module.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct AnalyzedModule

{ [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 7 | pub path: P, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AnalyzedModule` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Reexport` is never constructed [INFO] [stderr] --> src/module_symbols.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Reexport

{ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ts-unused-symbols` (bin "ts-unused-symbols" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ts_unused_symbols-0145f8e544868daa) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test analyze_file::tests::reexported_symbols ... ok [INFO] [stdout] test analyze_file::tests::namespace_imports ... ok [INFO] [stdout] test analyze_package::tests::namespace_imports ... ok [INFO] [stdout] test find_unused_exports::tests::reexported_symbols ... ok [INFO] [stdout] test find_unused_exports::tests::default_import ... ok [INFO] [stdout] test find_unused_exports::tests::namespace_import ... ok [INFO] [stdout] test find_unused_exports::tests::relative_imports ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bc2fe455b93750dc9da93c95dcabf5c6945e4c1353d15818f9f9e4e785fcb6d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2fe455b93750dc9da93c95dcabf5c6945e4c1353d15818f9f9e4e785fcb6d6", kill_on_drop: false }` [INFO] [stdout] bc2fe455b93750dc9da93c95dcabf5c6945e4c1353d15818f9f9e4e785fcb6d6