[INFO] fetching crate swc_formatjs_transform 12.0.0... [INFO] testing swc_formatjs_transform-12.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate swc_formatjs_transform 12.0.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate swc_formatjs_transform 12.0.0 [INFO] finished tweaking crates.io crate swc_formatjs_transform 12.0.0 [INFO] tweaked toml for crates.io crate swc_formatjs_transform 12.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_formatjs_transform 12.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swc_formatjs_transform 12.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getset v0.1.2 [INFO] [stderr] Downloaded derive_builder v0.20.1 [INFO] [stderr] Downloaded cpufeatures v0.2.12 [INFO] [stderr] Downloaded swc_core v47.0.1 [INFO] [stderr] Downloaded memchr v2.7.2 [INFO] [stderr] Downloaded ryu-js v1.0.1 [INFO] [stderr] Downloaded num-bigint v0.4.5 [INFO] [stderr] Downloaded swc_ecma_parser v27.0.1 [INFO] [stderr] Downloaded derive_builder_macro v0.20.1 [INFO] [stderr] Downloaded unicode-id-start v1.2.0 [INFO] [stderr] Downloaded regex-syntax v0.8.3 [INFO] [stderr] Downloaded allocator-api2 v0.2.18 [INFO] [stderr] Downloaded camino v1.1.6 [INFO] [stderr] Downloaded triomphe v0.1.13 [INFO] [stderr] Downloaded hstr v3.0.3 [INFO] [stderr] Downloaded is-macro v0.3.5 [INFO] [stderr] Downloaded derive_builder_core v0.20.1 [INFO] [stderr] Downloaded vergen-lib v0.1.3 [INFO] [stderr] Downloaded vergen v9.0.0 [INFO] [stderr] Downloaded langtag v0.3.4 [INFO] [stderr] Downloaded swc_icu_messageformat_parser v8.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f8d69a1167ae94e5141499dda22ad9161ef0e8b7ced569a798b1aa42d96321b [INFO] running `Command { std: "docker" "start" "-a" "6f8d69a1167ae94e5141499dda22ad9161ef0e8b7ced569a798b1aa42d96321b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f8d69a1167ae94e5141499dda22ad9161ef0e8b7ced569a798b1aa42d96321b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f8d69a1167ae94e5141499dda22ad9161ef0e8b7ced569a798b1aa42d96321b", kill_on_drop: false }` [INFO] [stdout] 6f8d69a1167ae94e5141499dda22ad9161ef0e8b7ced569a798b1aa42d96321b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05d5e2c8f23c872e33586550474c0266fe655f4725965f84f3b5c7081a2d1987 [INFO] running `Command { std: "docker" "start" "-a" "05d5e2c8f23c872e33586550474c0266fe655f4725965f84f3b5c7081a2d1987", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling swc_visit v2.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling vergen-lib v0.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-id-start v1.2.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling vergen v9.0.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling par-core v2.0.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling ryu-js v1.0.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling swc_allocator v4.0.1 [INFO] [stderr] Compiling langtag v0.3.4 [INFO] [stderr] Compiling widestring v1.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.226 [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.30 [INFO] [stderr] Compiling from_variant v3.0.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling ast_node v5.0.0 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling is-macro v0.3.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling serde_repr v0.1.19 [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 icu_locid v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.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 derive_builder v0.20.1 [INFO] [stderr] Compiling hstr v3.0.3 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling swc_icu_messageformat_parser v8.0.0 [INFO] [stderr] Compiling swc_atoms v9.0.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling swc_core v47.0.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_common v17.0.0 [INFO] [stderr] Compiling swc_ecma_ast v18.0.0 [INFO] [stderr] Compiling swc_ecma_visit v18.0.0 [INFO] [stderr] Compiling swc_ecma_parser v27.0.1 [INFO] [stderr] Compiling swc_ecma_utils v24.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_base v30.0.0 [INFO] [stderr] Compiling swc_formatjs_transform v12.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `plugin` in `swc_core` [INFO] [stdout] --> src/lib.rs:326:34 [INFO] [stdout] | [INFO] [stdout] 326 | 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-47.0.1/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] 326 - let handler = &swc_core::plugin::errors::HANDLER; [INFO] [stdout] 326 + 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:383:34 [INFO] [stdout] | [INFO] [stdout] 383 | 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-47.0.1/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] 383 - let handler = &swc_core::plugin::errors::HANDLER; [INFO] [stdout] 383 + 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:462:31 [INFO] [stdout] | [INFO] [stdout] 462 | 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-47.0.1/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] 462 - swc_core::plugin::errors::HANDLER.with(|handler| { [INFO] [stdout] 462 + 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:675:34 [INFO] [stdout] | [INFO] [stdout] 675 | 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-47.0.1/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] 675 - let handler = &swc_core::plugin::errors::HANDLER; [INFO] [stdout] 675 + 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:745:34 [INFO] [stdout] | [INFO] [stdout] 745 | 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-47.0.1/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] 745 - let handler = &swc_core::plugin::errors::HANDLER; [INFO] [stdout] 745 + let handler = &errors::HANDLER; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `swc_core::ecma::ast::ObjectLit: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | 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 169 others [INFO] [stdout] note: required by a bound in `newtype_variant` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.226/src/de/mod.rs:2183:12 [INFO] [stdout] | [INFO] [stdout] 2181 | fn newtype_variant(self) -> Result [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 2182 | where [INFO] [stdout] 2183 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `VariantAccess::newtype_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:330:31 [INFO] [stdout] | [INFO] [stdout] 330 | handler.with(|handler| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 331 | handler [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 330 | handler.with(|handler: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:346:31 [INFO] [stdout] | [INFO] [stdout] 346 | handler.with(|handler| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 347 | handler [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 346 | handler.with(|handler: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:386:27 [INFO] [stdout] | [INFO] [stdout] 386 | handler.with(|handler| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 387 | handler [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 386 | handler.with(|handler: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:462:61 [INFO] [stdout] | [INFO] [stdout] 462 | swc_core::plugin::errors::HANDLER.with(|handler| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 463 | handler.warn(&format!( [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 462 | swc_core::plugin::errors::HANDLER.with(|handler: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:677:23 [INFO] [stdout] | [INFO] [stdout] 677 | handler.with(|handler| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 678 | handler [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 677 | handler.with(|handler: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:747:23 [INFO] [stdout] | [INFO] [stdout] 747 | handler.with(|handler| { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 748 | handler [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 747 | handler.with(|handler: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, 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 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "05d5e2c8f23c872e33586550474c0266fe655f4725965f84f3b5c7081a2d1987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d5e2c8f23c872e33586550474c0266fe655f4725965f84f3b5c7081a2d1987", kill_on_drop: false }` [INFO] [stdout] 05d5e2c8f23c872e33586550474c0266fe655f4725965f84f3b5c7081a2d1987