[INFO] fetching crate swc_plugin_shared 0.0.0... [INFO] testing swc_plugin_shared-0.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate swc_plugin_shared 0.0.0 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_plugin_shared 0.0.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82d7aa0f6a1cf8f1896528aeacb103ffa2632a195529fef001f56f61f7ba41ad [INFO] running `Command { std: "docker" "start" "-a" "82d7aa0f6a1cf8f1896528aeacb103ffa2632a195529fef001f56f61f7ba41ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82d7aa0f6a1cf8f1896528aeacb103ffa2632a195529fef001f56f61f7ba41ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82d7aa0f6a1cf8f1896528aeacb103ffa2632a195529fef001f56f61f7ba41ad", kill_on_drop: false }` [INFO] [stdout] 82d7aa0f6a1cf8f1896528aeacb103ffa2632a195529fef001f56f61f7ba41ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad468206db5daa2fd21dd20e47fb745c3719db964c18e3d891e3c92568c7b1eb [INFO] running `Command { std: "docker" "start" "-a" "ad468206db5daa2fd21dd20e47fb745c3719db964c18e3d891e3c92568c7b1eb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling generational-arena v0.2.9 [INFO] [stderr] Compiling core_extensions v0.1.20 [INFO] [stderr] Compiling repr_offset v0.1.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot v0.11.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] Compiling abi_stable_derive v0.9.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling abi_stable v0.9.3 [INFO] [stderr] Compiling swc_plugin_shared v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: zero-sized fields in `repr(transparent)` cannot contain external non-exhaustive types [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [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: this struct contains `UnsafeIgnoredType`, which contains private fields, and makes it not a breaking change to become non-zero-sized in the future. [INFO] [stdout] = note: `#[warn(repr_transparent_external_private_fields)]` 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: abi_stable v0.9.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "ad468206db5daa2fd21dd20e47fb745c3719db964c18e3d891e3c92568c7b1eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad468206db5daa2fd21dd20e47fb745c3719db964c18e3d891e3c92568c7b1eb", kill_on_drop: false }` [INFO] [stdout] ad468206db5daa2fd21dd20e47fb745c3719db964c18e3d891e3c92568c7b1eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59500bca316c821e72627ced832a5b541c1dc388dd2f6d999242392fd78e2aa6 [INFO] running `Command { std: "docker" "start" "-a" "59500bca316c821e72627ced832a5b541c1dc388dd2f6d999242392fd78e2aa6", kill_on_drop: false }` [INFO] [stdout] warning: zero-sized fields in `repr(transparent)` cannot contain external non-exhaustive types [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [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: this struct contains `UnsafeIgnoredType`, which contains private fields, and makes it not a breaking change to become non-zero-sized in the future. [INFO] [stdout] = note: `#[warn(repr_transparent_external_private_fields)]` 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] Compiling swc_plugin_shared v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: zero-sized fields in `repr(transparent)` cannot contain external non-exhaustive types [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[sabi_trait] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [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: this struct contains `UnsafeIgnoredType`, which contains private fields, and makes it not a breaking change to become non-zero-sized in the future. [INFO] [stdout] = note: `#[warn(repr_transparent_external_private_fields)]` 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: abi_stable v0.9.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "59500bca316c821e72627ced832a5b541c1dc388dd2f6d999242392fd78e2aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59500bca316c821e72627ced832a5b541c1dc388dd2f6d999242392fd78e2aa6", kill_on_drop: false }` [INFO] [stdout] 59500bca316c821e72627ced832a5b541c1dc388dd2f6d999242392fd78e2aa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd92616cc4392949ae0e88576cc29f025b97127b460801b44e039432df9441fa [INFO] running `Command { std: "docker" "start" "-a" "bd92616cc4392949ae0e88576cc29f025b97127b460801b44e039432df9441fa", kill_on_drop: false }` [INFO] [stderr] warning: zero-sized fields in `repr(transparent)` cannot contain external non-exhaustive types [INFO] [stderr] --> src/lib.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | #[sabi_trait] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #78586 [INFO] [stderr] = note: this struct contains `UnsafeIgnoredType`, which contains private fields, and makes it not a breaking change to become non-zero-sized in the future. [INFO] [stderr] = note: `#[warn(repr_transparent_external_private_fields)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `sabi_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | #[sabi_trait] [INFO] [stderr] | -^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `JsTransform_Interface` is not local [INFO] [stderr] | `InterfaceType` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__inside_generated_mod` [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `sabi_trait` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `sabi_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `swc_plugin_shared` (lib) generated 2 warnings [INFO] [stderr] warning: `swc_plugin_shared` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: abi_stable v0.9.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swc_plugin_shared-9a504d2f6f297420) [INFO] [stderr] Doc-tests swc_plugin_shared [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bd92616cc4392949ae0e88576cc29f025b97127b460801b44e039432df9441fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd92616cc4392949ae0e88576cc29f025b97127b460801b44e039432df9441fa", kill_on_drop: false }` [INFO] [stdout] bd92616cc4392949ae0e88576cc29f025b97127b460801b44e039432df9441fa