[INFO] fetching crate swc_mut_cjs_exports 10.7.0... [INFO] testing swc_mut_cjs_exports-10.7.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate swc_mut_cjs_exports 10.7.0 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate swc_mut_cjs_exports 10.7.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate swc_mut_cjs_exports 10.7.0 [INFO] tweaked toml for crates.io crate swc_mut_cjs_exports 10.7.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_mut_cjs_exports 10.7.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 259 packages to latest compatible versions [INFO] [stderr] Adding swc_core v10.7.0 (available: v38.0.0) [INFO] [stderr] Adding testing v4.0.0 (available: v15.0.0) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5577edc76cbf33410680474434693c421e5a331d9f0ae71110e5bf52094cc59e [INFO] running `Command { std: "docker" "start" "-a" "5577edc76cbf33410680474434693c421e5a331d9f0ae71110e5bf52094cc59e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5577edc76cbf33410680474434693c421e5a331d9f0ae71110e5bf52094cc59e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5577edc76cbf33410680474434693c421e5a331d9f0ae71110e5bf52094cc59e", kill_on_drop: false }` [INFO] [stdout] 5577edc76cbf33410680474434693c421e5a331d9f0ae71110e5bf52094cc59e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4281b42b8603f6ed3115e1acba456b24e9e303e555ab349a2b3c0fb26786a8eb [INFO] running `Command { std: "docker" "start" "-a" "4281b42b8603f6ed3115e1acba456b24e9e303e555ab349a2b3c0fb26786a8eb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling swc_visit v2.0.1 [INFO] [stderr] Compiling better_scoped_tls v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling camino v1.1.12 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling bytecheck_derive v0.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling rancor v0.1.0 [INFO] [stderr] Compiling munge_macro v0.4.6 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling bytecheck v0.8.1 [INFO] [stderr] Compiling rkyv_derive v0.8.11 [INFO] [stderr] Compiling rend v0.5.2 [INFO] [stderr] Compiling munge v0.4.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling ast_node v3.0.3 [INFO] [stderr] Compiling from_variant v2.0.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling vergen-lib v0.1.6 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling vergen v9.0.6 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling testing_macros v1.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling rkyv v0.8.11 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling hstr v0.2.17 [INFO] [stderr] Compiling swc_allocator v2.0.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling sourcemap v9.2.2 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling swc_parallel v1.3.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling swc_ecma_codegen_macros v1.0.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling swc_atoms v3.1.0 [INFO] [stderr] Compiling swc_common v5.0.1 [INFO] [stderr] Compiling swc_trace_macro v2.0.2 [INFO] [stderr] Compiling swc_plugin_macro v1.1.0 [INFO] [stderr] Compiling swc_plugin v1.0.1 [INFO] [stderr] Compiling swc_core v10.7.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling swc_ecma_ast v5.1.0 [INFO] [stderr] Compiling swc_error_reporters v6.0.0 [INFO] [stderr] Compiling testing v5.0.0 [INFO] [stderr] Compiling swc_ecma_testing v5.0.0 [INFO] [stderr] Compiling swc_ecma_visit v5.0.0 [INFO] [stderr] Compiling swc_ecma_parser v6.0.2 [INFO] [stderr] Compiling swc_ecma_codegen v5.1.0 [INFO] [stderr] Compiling swc_plugin_proxy v5.0.0 [INFO] [stderr] Compiling swc_ecma_utils v7.0.4 [INFO] [stderr] Compiling swc_ecma_transforms_base v7.1.1 [INFO] [stderr] Compiling swc_ecma_transforms_testing v7.0.1 [INFO] [stderr] Compiling swc_mut_cjs_exports v10.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0053]: method `emit` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:318:1 [INFO] [stdout] | [INFO] [stdout] 318 | #[plugin_transform] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&mut PluginDiagnosticsEmitter, &DiagnosticBuilder<'_>)` [INFO] [stdout] found signature `fn(&mut PluginDiagnosticsEmitter, &mut DiagnosticBuilder<'_>)` [INFO] [stdout] = note: this error originates in the attribute macro `plugin_transform` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 318 - #[plugin_transform] [INFO] [stdout] 318 + &DiagnosticBuilder<'_> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_mut_cjs_exports` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "4281b42b8603f6ed3115e1acba456b24e9e303e555ab349a2b3c0fb26786a8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4281b42b8603f6ed3115e1acba456b24e9e303e555ab349a2b3c0fb26786a8eb", kill_on_drop: false }` [INFO] [stdout] 4281b42b8603f6ed3115e1acba456b24e9e303e555ab349a2b3c0fb26786a8eb