[INFO] cloning repository https://github.com/AlessioGr/swc-plugin-strip-components
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlessioGr/swc-plugin-strip-components" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlessioGr%2Fswc-plugin-strip-components", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlessioGr%2Fswc-plugin-strip-components'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7dc7ae855067d224634a57e0d96fe72fa91b920b
[INFO] checking AlessioGr/swc-plugin-strip-components against try#ddcf048784667508cd676fef4667f88ae15628a3 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlessioGr%2Fswc-plugin-strip-components" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/AlessioGr/swc-plugin-strip-components
[INFO] finished tweaking git repo https://github.com/AlessioGr/swc-plugin-strip-components
[INFO] tweaked toml for git repo https://github.com/AlessioGr/swc-plugin-strip-components written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AlessioGr/swc-plugin-strip-components on toolchain ddcf048784667508cd676fef4667f88ae15628a3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AlessioGr/swc-plugin-strip-components 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" "+ddcf048784667508cd676fef4667f88ae15628a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest
[INFO] [stderr]   See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature.
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6ff617a7773beadd7bc8dc08b9e66ac52ef854f80d491ea75dbb5dfcbfb09298
[INFO] running `Command { std: "docker" "start" "-a" "6ff617a7773beadd7bc8dc08b9e66ac52ef854f80d491ea75dbb5dfcbfb09298", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ff617a7773beadd7bc8dc08b9e66ac52ef854f80d491ea75dbb5dfcbfb09298", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ff617a7773beadd7bc8dc08b9e66ac52ef854f80d491ea75dbb5dfcbfb09298", kill_on_drop: false }`
[INFO] [stdout] 6ff617a7773beadd7bc8dc08b9e66ac52ef854f80d491ea75dbb5dfcbfb09298
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3429034de1a39aee0dd7c336203920d6634ebd4f248585ebf29250312c682f70
[INFO] running `Command { std: "docker" "start" "-a" "3429034de1a39aee0dd7c336203920d6634ebd4f248585ebf29250312c682f70", kill_on_drop: false }`
[INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest
[INFO] [stderr]   See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature.
[INFO] [stderr]    Compiling proc-macro2 v1.0.84
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling bytecheck v0.6.12
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]     Checking simdutf8 v0.1.4
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling rend v0.4.2
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling rkyv v0.7.44
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]     Checking outref v0.1.0
[INFO] [stderr]     Checking phf_shared v0.11.2
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking simd-abstraction v0.7.1
[INFO] [stderr]     Checking uuid v1.8.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking unicode-width v0.1.12
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking seahash v4.1.0
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking unicode-id-start v1.0.4
[INFO] [stderr]     Checking if_chain v1.0.2
[INFO] [stderr]     Checking better_scoped_tls v0.1.1
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]     Checking base64-simd v0.7.0
[INFO] [stderr]    Compiling camino v1.1.7
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]     Checking miniz_oxide v0.7.3
[INFO] [stderr]     Checking unicode-linebreak v0.1.5
[INFO] [stderr]     Checking smawk v0.3.2
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking is_ci v1.2.0
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking supports-color v1.3.1
[INFO] [stderr]     Checking textwrap v0.15.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking supports-unicode v1.0.2
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking supports-hyperlinks v1.2.0
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]     Checking owo-colors v3.5.0
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling vergen v8.3.1
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]     Checking yansi v0.5.1
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling relative-path v1.9.3
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]     Checking pretty_assertions v1.4.0
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking unicode-id v0.3.4
[INFO] [stderr]     Checking typed-arena v2.0.2
[INFO] [stderr]     Checking fastrand v2.1.0
[INFO] [stderr]     Checking swc_plugin v0.90.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]     Checking tempfile v3.10.1
[INFO] [stderr]    Compiling ptr_meta_derive v0.1.4
[INFO] [stderr]    Compiling bytecheck_derive v0.6.12
[INFO] [stderr]    Compiling rkyv_derive v0.7.44
[INFO] [stderr]    Compiling miette-derive v4.7.1
[INFO] [stderr]     Checking ptr_meta v0.1.4
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]    Compiling swc_macros_common v0.3.11
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling phf_macros v0.11.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling ast_node v0.9.8
[INFO] [stderr]    Compiling from_variant v0.1.8
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling swc_eq_ignore_macros v0.1.3
[INFO] [stderr]    Compiling string_enum v0.4.4
[INFO] [stderr]    Compiling swc_ecma_codegen_macros v0.7.6
[INFO] [stderr]    Compiling swc_trace_macro v0.1.3
[INFO] [stderr]    Compiling swc_plugin_macro v0.9.16
[INFO] [stderr]    Compiling testing_macros v0.2.13
[INFO] [stderr]    Compiling swc_visit_macros v0.5.12
[INFO] [stderr]    Compiling is-macro v0.3.5
[INFO] [stderr]     Checking phf v0.11.2
[INFO] [stderr]     Checking thiserror v1.0.61
[INFO] [stderr]     Checking miette v4.7.1
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking swc_visit v0.5.14
[INFO] [stderr]     Checking triomphe v0.1.11
[INFO] [stderr]     Checking debugid v0.8.0
[INFO] [stderr]     Checking num-bigint v0.4.5
[INFO] [stderr]     Checking cargo-platform v0.1.8
[INFO] [stderr]     Checking hstr v0.2.10
[INFO] [stderr]     Checking swc_atoms v0.6.7
[INFO] [stderr]     Checking sourcemap v8.0.1
[INFO] [stderr]     Checking cargo_metadata v0.15.4
[INFO] [stderr]    Compiling cargo_metadata v0.18.1
[INFO] [stderr]     Checking swc_common v0.33.26
[INFO] [stderr]    Compiling swc_core v0.92.5
[INFO] [stderr]     Checking swc_ecma_ast v0.113.4
[INFO] [stderr]     Checking swc_error_reporters v0.17.20
[INFO] [stderr]     Checking testing v0.35.25
[INFO] [stderr]     Checking swc_ecma_testing v0.22.23
[INFO] [stderr]     Checking swc_ecma_visit v0.99.1
[INFO] [stderr]     Checking swc_ecma_parser v0.144.1
[INFO] [stderr]     Checking swc_ecma_codegen v0.149.1
[INFO] [stderr]     Checking swc_plugin_proxy v0.42.1
[INFO] [stderr]     Checking swc_ecma_utils v0.128.1
[INFO] [stderr]     Checking swc_ecma_transforms_base v0.138.2
[INFO] [stderr]     Checking swc_ecma_transforms_testing v0.141.1
[INFO] [stderr]     Checking swc_plugin_strip_components v0.3.9 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> src/lib.rs:76:32
[INFO] [stdout]    |
[INFO] [stdout] 76 |         if let Program::Module(ref mut module) = program {
[INFO] [stdout]    |                                ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]   --> src/lib.rs:76:16
[INFO] [stdout]    |
[INFO] [stdout] 76 |         if let Program::Module(ref mut module) = program {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]    |
[INFO] [stdout] 76 -         if let Program::Module(ref mut module) = program {
[INFO] [stdout] 76 +         if let Program::Module(module) = program {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> src/lib.rs:76:32
[INFO] [stdout]    |
[INFO] [stdout] 76 |         if let Program::Module(ref mut module) = program {
[INFO] [stdout]    |                                ^^^^^^^ explicit `ref` binding modifier not allowed when implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout] note: matching on a reference type with a non-reference pattern implicitly borrows the contents
[INFO] [stdout]   --> src/lib.rs:76:16
[INFO] [stdout]    |
[INFO] [stdout] 76 |         if let Program::Module(ref mut module) = program {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this non-reference pattern matches on a reference type `&mut _`
[INFO] [stdout] help: remove the unnecessary binding modifier
[INFO] [stdout]    |
[INFO] [stdout] 76 -         if let Program::Module(ref mut module) = program {
[INFO] [stdout] 76 +         if let Program::Module(module) = program {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sym`
[INFO] [stdout]    --> src/lib.rs:218:66
[INFO] [stdout]     |
[INFO] [stdout] 218 |                     if let Pat::Ident(BindingIdent { id: Ident { sym, .. }, .. }) = &decl.name {
[INFO] [stdout]     |                                                                  ^^^ help: try ignoring the field: `sym: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sym`
[INFO] [stdout]    --> src/lib.rs:218:66
[INFO] [stdout]     |
[INFO] [stdout] 218 |                     if let Pat::Ident(BindingIdent { id: Ident { sym, .. }, .. }) = &decl.name {
[INFO] [stdout]     |                                                                  ^^^ help: try ignoring the field: `sym: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `swc_plugin_strip_components` (lib test) due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `swc_plugin_strip_components` (lib) due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3429034de1a39aee0dd7c336203920d6634ebd4f248585ebf29250312c682f70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3429034de1a39aee0dd7c336203920d6634ebd4f248585ebf29250312c682f70", kill_on_drop: false }`
[INFO] [stdout] 3429034de1a39aee0dd7c336203920d6634ebd4f248585ebf29250312c682f70
