[INFO] fetching crate swc_formatjs_transform 7.0.0... [INFO] building swc_formatjs_transform-7.0.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate swc_formatjs_transform 7.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate swc_formatjs_transform 7.0.0 [INFO] finished tweaking crates.io crate swc_formatjs_transform 7.0.0 [INFO] tweaked toml for crates.io crate swc_formatjs_transform 7.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_formatjs_transform 7.0.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swc_formatjs_transform 7.0.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded swc_icu_messageformat_parser v3.0.2 [INFO] [stderr] Downloaded better_scoped_tls v1.0.1 [INFO] [stderr] Downloaded derive_builder v0.20.1 [INFO] [stderr] Downloaded cpufeatures v0.2.12 [INFO] [stderr] Downloaded thiserror v1.0.60 [INFO] [stderr] Downloaded swc_allocator v4.0.1 [INFO] [stderr] Downloaded cc v1.0.97 [INFO] [stderr] Downloaded ast_node v3.0.3 [INFO] [stderr] Downloaded pretty_assertions v1.4.0 [INFO] [stderr] Downloaded num-bigint v0.4.5 [INFO] [stderr] Downloaded swc_ecma_lexer v23.0.1 [INFO] [stderr] Downloaded swc_ecma_parser v24.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_base v26.0.0 [INFO] [stderr] Downloaded swc_common v14.0.3 [INFO] [stderr] Downloaded syn v2.0.77 [INFO] [stderr] Downloaded derive_builder_macro v0.20.1 [INFO] [stderr] Downloaded unicode-id-start v1.2.0 [INFO] [stderr] Downloaded stacker v0.1.15 [INFO] [stderr] Downloaded ryu-js v1.0.1 [INFO] [stderr] Downloaded swc_ecma_utils v21.0.0 [INFO] [stderr] Downloaded hstr v2.0.1 [INFO] [stderr] Downloaded swc_ecma_ast v15.0.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.60 [INFO] [stderr] Downloaded widestring v1.1.0 [INFO] [stderr] Downloaded psm v0.1.21 [INFO] [stderr] Downloaded string_enum v1.0.2 [INFO] [stderr] Downloaded bytes-str v0.2.5 [INFO] [stderr] Downloaded derive_builder_core v0.20.1 [INFO] [stderr] Downloaded vergen-lib v0.1.3 [INFO] [stderr] Downloaded swc_ecma_visit v15.0.0 [INFO] [stderr] Downloaded swc_core v39.0.0 [INFO] [stderr] Downloaded langtag v0.3.4 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded par-core v2.0.0 [INFO] [stderr] Downloaded is-macro v0.3.5 [INFO] [stderr] Downloaded from_variant v2.0.2 [INFO] [stderr] Downloaded triomphe v0.1.13 [INFO] [stderr] Downloaded swc_atoms v7.0.0 [INFO] [stderr] Downloaded swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Downloaded swc_visit v2.0.1 [INFO] [stderr] Downloaded cargo-platform v0.1.8 [INFO] [stderr] Downloaded cargo_metadata v0.18.1 [INFO] [stderr] Downloaded swc_macros_common v1.0.1 [INFO] [stderr] Downloaded vergen v9.0.0 [INFO] [stderr] Downloaded serde_repr v0.1.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2266b9c83bd80e787a1b3d207673bc4c3f107a12b266b60e42a7d238c19b426f [INFO] running `Command { std: "docker" "start" "-a" "2266b9c83bd80e787a1b3d207673bc4c3f107a12b266b60e42a7d238c19b426f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2266b9c83bd80e787a1b3d207673bc4c3f107a12b266b60e42a7d238c19b426f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2266b9c83bd80e787a1b3d207673bc4c3f107a12b266b60e42a7d238c19b426f", kill_on_drop: false }` [INFO] [stdout] 2266b9c83bd80e787a1b3d207673bc4c3f107a12b266b60e42a7d238c19b426f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fd9a669f06638fa75f0faf3b5dd16d1ffc37bd985499b68e8fca80d653b5e4c [INFO] running `Command { std: "docker" "start" "-a" "5fd9a669f06638fa75f0faf3b5dd16d1ffc37bd985499b68e8fca80d653b5e4c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling better_scoped_tls v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling swc_visit v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling unicode-id-start v1.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling vergen-lib v0.1.3 [INFO] [stderr] Compiling vergen v9.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling par-core v2.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling ryu-js v1.0.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling widestring v1.1.0 [INFO] [stderr] Compiling langtag v0.3.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling swc_allocator v4.0.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.209 [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 tracing-attributes v0.1.27 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling from_variant v2.0.2 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling ast_node v3.0.3 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling is-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling derive_builder v0.20.1 [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.13 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling bytes-str v0.2.5 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling swc_icu_messageformat_parser v3.0.2 [INFO] [stderr] Compiling hstr v2.0.1 [INFO] [stderr] Compiling swc_atoms v7.0.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [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_core v39.0.0 [INFO] [stderr] Compiling swc_common v14.0.3 [INFO] [stderr] Compiling swc_ecma_ast v15.0.0 [INFO] [stderr] Compiling swc_ecma_lexer v23.0.1 [INFO] [stderr] Compiling swc_ecma_visit v15.0.0 [INFO] [stderr] Compiling swc_ecma_utils v21.0.0 [INFO] [stderr] Compiling swc_ecma_parser v24.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_base v26.0.0 [INFO] [stderr] Compiling swc_formatjs_transform v7.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `plugin` in `swc_core` [INFO] [stdout] --> src/lib.rs:328:34 [INFO] [stdout] | [INFO] [stdout] 328 | let handler = &swc_core::plugin::errors::HANDLER; [INFO] [stdout] | ^^^^^^ could not find `plugin` in `swc_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_core-39.0.0/src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 22 | | all( [INFO] [stdout] 23 | | docsrs, [INFO] [stdout] 24 | | any( [INFO] [stdout] ... | [INFO] [stdout] 30 | | feature = "__plugin_transform_host" [INFO] [stdout] 31 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 39 | pub mod plugin; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use swc_core::common::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 328 - let handler = &swc_core::plugin::errors::HANDLER; [INFO] [stdout] 328 + let handler = &errors::HANDLER; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `plugin` in `swc_core` [INFO] [stdout] --> src/lib.rs:385:34 [INFO] [stdout] | [INFO] [stdout] 385 | let handler = &swc_core::plugin::errors::HANDLER; [INFO] [stdout] | ^^^^^^ could not find `plugin` in `swc_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_core-39.0.0/src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 22 | | all( [INFO] [stdout] 23 | | docsrs, [INFO] [stdout] 24 | | any( [INFO] [stdout] ... | [INFO] [stdout] 30 | | feature = "__plugin_transform_host" [INFO] [stdout] 31 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 39 | pub mod plugin; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use swc_core::common::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 385 - let handler = &swc_core::plugin::errors::HANDLER; [INFO] [stdout] 385 + let handler = &errors::HANDLER; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `plugin` in `swc_core` [INFO] [stdout] --> src/lib.rs:464:31 [INFO] [stdout] | [INFO] [stdout] 464 | swc_core::plugin::errors::HANDLER.with(|handler| { [INFO] [stdout] | ^^^^^^ could not find `plugin` in `swc_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_core-39.0.0/src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 22 | | all( [INFO] [stdout] 23 | | docsrs, [INFO] [stdout] 24 | | any( [INFO] [stdout] ... | [INFO] [stdout] 30 | | feature = "__plugin_transform_host" [INFO] [stdout] 31 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 39 | pub mod plugin; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use swc_core::common::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 464 - swc_core::plugin::errors::HANDLER.with(|handler| { [INFO] [stdout] 464 + errors::HANDLER.with(|handler| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `plugin` in `swc_core` [INFO] [stdout] --> src/lib.rs:677:34 [INFO] [stdout] | [INFO] [stdout] 677 | let handler = &swc_core::plugin::errors::HANDLER; [INFO] [stdout] | ^^^^^^ could not find `plugin` in `swc_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_core-39.0.0/src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 22 | | all( [INFO] [stdout] 23 | | docsrs, [INFO] [stdout] 24 | | any( [INFO] [stdout] ... | [INFO] [stdout] 30 | | feature = "__plugin_transform_host" [INFO] [stdout] 31 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 39 | pub mod plugin; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use swc_core::common::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 677 - let handler = &swc_core::plugin::errors::HANDLER; [INFO] [stdout] 677 + let handler = &errors::HANDLER; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `plugin` in `swc_core` [INFO] [stdout] --> src/lib.rs:747:34 [INFO] [stdout] | [INFO] [stdout] 747 | let handler = &swc_core::plugin::errors::HANDLER; [INFO] [stdout] | ^^^^^^ could not find `plugin` in `swc_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_core-39.0.0/src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 22 | | all( [INFO] [stdout] 23 | | docsrs, [INFO] [stdout] 24 | | any( [INFO] [stdout] ... | [INFO] [stdout] 30 | | feature = "__plugin_transform_host" [INFO] [stdout] 31 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 39 | pub mod plugin; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use swc_core::common::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 747 - let handler = &swc_core::plugin::errors::HANDLER; [INFO] [stdout] 747 + let handler = &errors::HANDLER; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `swc_core::ecma::ast::ObjectLit: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | Obj(ObjectLit), [INFO] [stdout] | ^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `swc_core::ecma::ast::ObjectLit` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `swc_core::ecma::ast::ObjectLit` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 167 others [INFO] [stdout] note: required by a bound in `newtype_variant` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.209/src/de/mod.rs:2126:12 [INFO] [stdout] | [INFO] [stdout] 2124 | fn newtype_variant(self) -> Result [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 2125 | where [INFO] [stdout] 2126 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `VariantAccess::newtype_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_formatjs_transform` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5fd9a669f06638fa75f0faf3b5dd16d1ffc37bd985499b68e8fca80d653b5e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fd9a669f06638fa75f0faf3b5dd16d1ffc37bd985499b68e8fca80d653b5e4c", kill_on_drop: false }` [INFO] [stdout] 5fd9a669f06638fa75f0faf3b5dd16d1ffc37bd985499b68e8fca80d653b5e4c