[INFO] fetching crate swc_plugin_shared 0.0.0... [INFO] checking swc_plugin_shared-0.0.0 against master#bbe853615821442ef11d6cd42a30a73432b38d89 for pr-154205 [INFO] extracting crate swc_plugin_shared 0.0.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate swc_plugin_shared 0.0.0 [INFO] finished tweaking crates.io crate swc_plugin_shared 0.0.0 [INFO] tweaked toml for crates.io crate swc_plugin_shared 0.0.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_plugin_shared 0.0.0 on toolchain bbe853615821442ef11d6cd42a30a73432b38d89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] [stderr] Adding abi_stable v0.9.3 (available: v0.11.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generational-arena v0.2.9 [INFO] [stderr] Downloaded parking_lot_core v0.8.6 [INFO] [stderr] Downloaded libloading v0.6.7 [INFO] [stderr] Downloaded abi_stable_shared v0.9.0 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded as_derive_utils v0.9.0 [INFO] [stderr] Downloaded repr_offset v0.1.2 [INFO] [stderr] Downloaded core_extensions v0.1.20 [INFO] [stderr] Downloaded abi_stable_derive v0.9.2 [INFO] [stderr] Downloaded abi_stable v0.9.3 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40d3a1a4913a85cb918d31a8ff843a43d17231d0719953f5c31b73e0fd1aee80 [INFO] running `Command { std: "docker" "start" "-a" "40d3a1a4913a85cb918d31a8ff843a43d17231d0719953f5c31b73e0fd1aee80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40d3a1a4913a85cb918d31a8ff843a43d17231d0719953f5c31b73e0fd1aee80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d3a1a4913a85cb918d31a8ff843a43d17231d0719953f5c31b73e0fd1aee80", kill_on_drop: false }` [INFO] [stdout] 40d3a1a4913a85cb918d31a8ff843a43d17231d0719953f5c31b73e0fd1aee80 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f20be16e500c1d35907a54c8c4fe1f68104045077c7a0b8b35744c1933812d90 [INFO] running `Command { std: "docker" "start" "-a" "f20be16e500c1d35907a54c8c4fe1f68104045077c7a0b8b35744c1933812d90", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking generational-arena v0.2.9 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling core_extensions v0.1.20 [INFO] [stderr] Compiling repr_offset v0.1.2 [INFO] [stderr] Compiling abi_stable_shared v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling as_derive_utils v0.9.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling abi_stable_derive v0.9.2 [INFO] [stderr] Checking abi_stable v0.9.3 [INFO] [stderr] Checking swc_plugin_shared v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: zero-sized fields in `repr(transparent)` cannot contain external types with private fields [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this field contains `UnsafeIgnoredType`, which contains private fields, so it could become non-zero-sized in the future. [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #78586 [INFO] [stdout] = note: `#[deny(repr_transparent_non_zst_fields)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the attribute macro `sabi_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: zero-sized fields in `repr(transparent)` cannot contain external types with private fields [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this field contains `UnsafeIgnoredType`, which contains private fields, so it could become non-zero-sized in the future. [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #78586 [INFO] [stdout] = note: `#[deny(repr_transparent_non_zst_fields)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the attribute macro `sabi_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsTransform_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__inside_generated_mod` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `sabi_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `sabi_trait` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `sabi_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `JsTransform_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__inside_generated_mod` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `sabi_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `sabi_trait` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `sabi_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_plugin_shared` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `swc_plugin_shared` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f20be16e500c1d35907a54c8c4fe1f68104045077c7a0b8b35744c1933812d90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f20be16e500c1d35907a54c8c4fe1f68104045077c7a0b8b35744c1933812d90", kill_on_drop: false }` [INFO] [stdout] f20be16e500c1d35907a54c8c4fe1f68104045077c7a0b8b35744c1933812d90