[INFO] cloning repository https://github.com/yamadapc/react_magnetic_di_swc_plugin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yamadapc/react_magnetic_di_swc_plugin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamadapc%2Freact_magnetic_di_swc_plugin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamadapc%2Freact_magnetic_di_swc_plugin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b532e4668cdf6c84981c5b07fe60be9b7e652e2c [INFO] testing yamadapc/react_magnetic_di_swc_plugin/b532e4668cdf6c84981c5b07fe60be9b7e652e2c against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamadapc%2Freact_magnetic_di_swc_plugin" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yamadapc/react_magnetic_di_swc_plugin on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/yamadapc/react_magnetic_di_swc_plugin [INFO] finished tweaking git repo https://github.com/yamadapc/react_magnetic_di_swc_plugin [INFO] tweaked toml for git repo https://github.com/yamadapc/react_magnetic_di_swc_plugin written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yamadapc/react_magnetic_di_swc_plugin 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded swc_trace_macro v0.1.3 [INFO] [stderr] Downloaded swc_allocator v0.1.8 [INFO] [stderr] Downloaded swc_ecma_ast v0.118.2 [INFO] [stderr] Downloaded swc_visit v0.6.2 [INFO] [stderr] Downloaded swc_plugin_proxy v0.47.0 [INFO] [stderr] Downloaded swc_ecma_testing v0.26.0 [INFO] [stderr] Downloaded swc_ecma_quote_macros v0.60.0 [INFO] [stderr] Downloaded swc_error_reporters v0.21.0 [INFO] [stderr] Downloaded swc_ecma_codegen v0.155.1 [INFO] [stderr] Downloaded swc_ecma_utils v0.134.3 [INFO] [stderr] Downloaded swc_ecma_transforms_testing v0.147.0 [INFO] [stderr] Downloaded swc_ecma_transforms_base v0.144.0 [INFO] [stderr] Downloaded swc_ecma_parser v0.149.1 [INFO] [stderr] Downloaded swc_common v0.37.5 [INFO] [stderr] Downloaded unicode-id-start v1.2.0 [INFO] [stderr] Downloaded testing_macros v0.2.14 [INFO] [stderr] Downloaded testing v0.39.0 [INFO] [stderr] Downloaded swc_plugin v0.90.2 [INFO] [stderr] Downloaded swc_plugin_macro v0.9.16 [INFO] [stderr] Downloaded swc_core v0.101.7 [INFO] [stderr] Downloaded swc_ecma_visit v0.104.8 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e0f27495b6a71d206c17bfc569ff54a9af760561f814921132d25d4973f26e8 [INFO] running `Command { std: "docker" "start" "-a" "0e0f27495b6a71d206c17bfc569ff54a9af760561f814921132d25d4973f26e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e0f27495b6a71d206c17bfc569ff54a9af760561f814921132d25d4973f26e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e0f27495b6a71d206c17bfc569ff54a9af760561f814921132d25d4973f26e8", kill_on_drop: false }` [INFO] [stdout] 0e0f27495b6a71d206c17bfc569ff54a9af760561f814921132d25d4973f26e8 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 967a2e3f084de6c5fa7c44a4fd1a29e386a17959fe87649f49e19666005bec06 [INFO] running `Command { std: "docker" "start" "-a" "967a2e3f084de6c5fa7c44a4fd1a29e386a17959fe87649f49e19666005bec06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling better_scoped_tls v0.1.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling swc_visit v0.6.2 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling simdutf8 v0.1.4 [INFO] [stderr] Compiling unicode-id-start v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling outref v0.1.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling rkyv v0.7.44 [INFO] [stderr] Compiling simd-abstraction v0.7.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling base64-simd v0.7.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-id v0.3.4 [INFO] [stderr] Compiling ryu-js v1.0.1 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling swc_plugin v0.90.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling rkyv_derive v0.7.44 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling swc_macros_common v0.3.13 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling from_variant v0.1.9 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.4 [INFO] [stderr] Compiling ast_node v0.9.9 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling string_enum v0.4.4 [INFO] [stderr] Compiling is-macro v0.3.6 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling swc_trace_macro v0.1.3 [INFO] [stderr] Compiling swc_plugin_macro v0.9.16 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling testing_macros v0.2.14 [INFO] [stderr] Compiling triomphe v0.1.13 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling hstr v0.2.12 [INFO] [stderr] Compiling swc_allocator v0.1.8 [INFO] [stderr] Compiling swc_atoms v0.6.7 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling sourcemap v9.0.0 [INFO] [stderr] Compiling swc_common v0.37.5 [INFO] [stderr] Compiling swc_core v0.101.7 [INFO] [stderr] Compiling swc_ecma_ast v0.118.2 [INFO] [stderr] Compiling swc_error_reporters v0.21.0 [INFO] [stderr] Compiling testing v0.39.0 [INFO] [stderr] Compiling swc_ecma_testing v0.26.0 [INFO] [stderr] Compiling swc_ecma_parser v0.149.1 [INFO] [stderr] Compiling swc_ecma_quote_macros v0.60.0 [INFO] [stderr] Compiling swc_ecma_visit v0.104.8 [INFO] [stderr] Compiling swc_ecma_codegen v0.155.1 [INFO] [stderr] Compiling swc_plugin_proxy v0.47.0 [INFO] [stderr] Compiling swc_ecma_utils v0.134.3 [INFO] [stderr] Compiling swc_ecma_transforms_base v0.144.0 [INFO] [stderr] Compiling swc_ecma_transforms_testing v0.147.0 [INFO] [stderr] Compiling react_magnetic_di_swc_plugin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VarDecl` [INFO] [stdout] --> src/lib.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | use swc_core::ecma::ast::{ClassDecl, FnDecl, Function, Ident, VarDecl, VarDeclarator}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "967a2e3f084de6c5fa7c44a4fd1a29e386a17959fe87649f49e19666005bec06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "967a2e3f084de6c5fa7c44a4fd1a29e386a17959fe87649f49e19666005bec06", kill_on_drop: false }` [INFO] [stdout] 967a2e3f084de6c5fa7c44a4fd1a29e386a17959fe87649f49e19666005bec06 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09ad6dfd8703eb950863883f323e021e4738a3aa6f2f13d73eb15b199ff072cb [INFO] running `Command { std: "docker" "start" "-a" "09ad6dfd8703eb950863883f323e021e4738a3aa6f2f13d73eb15b199ff072cb", kill_on_drop: false }` [INFO] [stderr] Compiling react_magnetic_di_swc_plugin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VarDecl` [INFO] [stdout] --> src/lib.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | use swc_core::ecma::ast::{ClassDecl, FnDecl, Function, Ident, VarDecl, VarDeclarator}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.36s [INFO] running `Command { std: "docker" "inspect" "09ad6dfd8703eb950863883f323e021e4738a3aa6f2f13d73eb15b199ff072cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09ad6dfd8703eb950863883f323e021e4738a3aa6f2f13d73eb15b199ff072cb", kill_on_drop: false }` [INFO] [stdout] 09ad6dfd8703eb950863883f323e021e4738a3aa6f2f13d73eb15b199ff072cb [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e00f00e3f5185e98a9f188d0d79d22e03d9a8a93648363abfb626ae0cc6e14af [INFO] running `Command { std: "docker" "start" "-a" "e00f00e3f5185e98a9f188d0d79d22e03d9a8a93648363abfb626ae0cc6e14af", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `VarDecl` [INFO] [stderr] --> src/lib.rs:7:63 [INFO] [stderr] | [INFO] [stderr] 7 | use swc_core::ecma::ast::{ClassDecl, FnDecl, Function, Ident, VarDecl, VarDeclarator}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `react_magnetic_di_swc_plugin` (lib test) generated 1 warning (run `cargo fix --lib -p react_magnetic_di_swc_plugin --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/react_magnetic_di_swc_plugin-fd68b3ad2d178074) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test::test_should_work_in_function_components ... ok [INFO] [stdout] test test::test_should_work_in_class_components ... ok [INFO] [stdout] test test::test_should_work_in_arrow_function_components ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::test_should_work_in_arrow_function_components stdout ---- [INFO] [stdout]  INFO Diagnostics will be printed to stderr as logging level is trace or debug [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/testing-0.39.0/src/errors/stderr.rs:17 [INFO] [stdout] [INFO] [stdout] ----- Expected ----- [INFO] [stdout] import React, { Component } from 'react'; [INFO] [stdout] import Modal from 'modal'; [INFO] [stdout] const MyComponent = ()=>{ [INFO] [stdout] const [_Modal] = _di([ [INFO] [stdout] Modal [INFO] [stdout] ], MyComponent); [INFO] [stdout] return <_Modal/>; [INFO] [stdout] }; [INFO] [stdout] [INFO] [stdout]  INFO Diagnostics will be printed to stderr as logging level is trace or debug [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/testing-0.39.0/src/errors/stderr.rs:17 [INFO] [stdout] [INFO] [stdout] ----- Input ----- [INFO] [stdout] [INFO] [stdout] import React, { Component } from 'react'; [INFO] [stdout] import Modal from 'modal'; [INFO] [stdout] [INFO] [stdout] const MyComponent = () => { [INFO] [stdout] return ; [INFO] [stdout] } [INFO] [stdout] ----- Actual ----- [INFO] [stdout] DEBUG Renaming `React#0` to `React` [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_base-0.144.0/src/rename/analyzer/scope.rs:163 [INFO] [stdout] [INFO] [stdout] DEBUG Renaming `Component#0` to `Component` [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_base-0.144.0/src/rename/analyzer/scope.rs:163 [INFO] [stdout] [INFO] [stdout] DEBUG Renaming `Modal#0` to `Modal` [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_base-0.144.0/src/rename/analyzer/scope.rs:163 [INFO] [stdout] [INFO] [stdout] DEBUG Renaming `MyComponent#0` to `MyComponent` [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_base-0.144.0/src/rename/analyzer/scope.rs:163 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'test::test_should_work_in_arrow_function_components' panicked at src/lib.rs:212:9: [INFO] [stdout] assertion failed: `(left == right)`: Exepcted: [INFO] [stdout] import React, { Component } from 'react'; [INFO] [stdout] import Modal from 'modal'; [INFO] [stdout] const MyComponent = ()=>{ [INFO] [stdout] const [_Modal] = _di([ [INFO] [stdout] Modal [INFO] [stdout] ], MyComponent); [INFO] [stdout] return <_Modal/>; [INFO] [stdout] }; [INFO] [stdout] [INFO] [stdout] Actual: [INFO] [stdout] import React, { Component } from 'react'; [INFO] [stdout] import Modal from 'modal'; [INFO] [stdout] const MyComponent = ()=>{ [INFO] [stdout] return ; [INFO] [stdout] }; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Diff < left / right > : [INFO] [stdout] import React, { Component } from 'react'; [INFO] [stdout] import Modal from 'modal'; [INFO] [stdout] const MyComponent = ()=>{ [INFO] [stdout] < const [_Modal] = _di([ [INFO] [stdout] < Modal [INFO] [stdout] < ], MyComponent); [INFO] [stdout] < return <_Modal/>; [INFO] [stdout] > return ; [INFO] [stdout] }; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x636b1672b332 - std::backtrace_rs::backtrace::libunwind::trace::h2a54ddf40adf8cf8 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x636b1672b332 - std::backtrace_rs::backtrace::trace_unsynchronized::h332dec2b3594a10b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x636b1672b332 - std::sys::backtrace::_print_fmt::hcb3dee91dccac105 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x636b1672b332 - ::fmt::h2f02338d4ae6d8b0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x636b16751ea3 - core::fmt::rt::Argument::fmt::h8705d664b1839d6c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x636b16751ea3 - core::fmt::write::h5e77c22335cabc7f [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x636b16728043 - std::io::default_write_fmt::h5c16109ce8878b06 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x636b16728043 - std::io::Write::write_fmt::h183cd11c08a12e04 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x636b1672b182 - std::sys::backtrace::BacktraceLock::print::hb22254026b13323e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x636b1672c95c - std::panicking::default_hook::{{closure}}::h15ac4e3ee7801be5 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x636b1672c7b2 - std::panicking::default_hook::h15db2a3343942a16 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x636b15e3b7b4 - as core::ops::function::Fn>::call::ha02114eecd5b8f69 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x636b15e3b7b4 - test::test_main_with_exit_callback::{{closure}}::hfb76c9b760818eb2 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x636b1672d453 - as core::ops::function::Fn>::call::h325134fa51136753 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x636b1672d453 - std::panicking::rust_panic_with_hook::h67f3fa85499b6cf9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x636b1672d10a - std::panicking::begin_panic_handler::{{closure}}::h40a30e994b26720e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x636b1672b839 - std::sys::backtrace::__rust_end_short_backtrace::hb5bcb2f6ea295c8b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x636b1672cd9d - __rustc[bf3627c2b8b7eae9]::rust_begin_unwind [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x636b1674fc30 - core::panicking::panic_fmt::h20722ae9d0312a90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x636b15dda1dc - swc_ecma_transforms_testing::test_inline_input_output::hf3d4e607a7c20d9e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_testing-0.147.0/src/lib.rs:401:5 [INFO] [stdout] 20: 0x636b15dd95fb - react_magnetic_di_swc_plugin::test::test_should_work_in_arrow_function_components::hcf2a6fa02dd70e5c [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:212:9 [INFO] [stdout] 21: 0x636b15dd9537 - react_magnetic_di_swc_plugin::test::test_should_work_in_arrow_function_components::{{closure}}::hf3c434123efc5440 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:211:55 [INFO] [stdout] 22: 0x636b15df63a6 - core::ops::function::FnOnce::call_once::hcf223ba9ac2b7078 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x636b15e40f6b - core::ops::function::FnOnce::call_once::h57f6f31c364c320b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x636b15e40f6b - test::__rust_begin_short_backtrace::h517520f4c2bfc013 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:648:18 [INFO] [stdout] 25: 0x636b15e401c2 - test::run_test_in_process::{{closure}}::h0914ac5f2719bf90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:60 [INFO] [stdout] 26: 0x636b15e401c2 - as core::ops::function::FnOnce<()>>::call_once::h6fe627a8560ee122 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x636b15e401c2 - std::panicking::try::do_call::h8e4a522b2d07b5d9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x636b15e401c2 - std::panicking::try::h254b443d279d1f8a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x636b15e401c2 - std::panic::catch_unwind::he39107e495b94aed [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x636b15e401c2 - test::run_test_in_process::hb9053e7102e6de40 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:27 [INFO] [stdout] 31: 0x636b15e401c2 - test::run_test::{{closure}}::hed53f683e9967fc9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:592:43 [INFO] [stdout] 32: 0x636b15e035b4 - test::run_test::{{closure}}::h1b1395a97621c24c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:622:41 [INFO] [stdout] 33: 0x636b15e035b4 - std::sys::backtrace::__rust_begin_short_backtrace::hd15d7342920b94e4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x636b15e06fda - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf7d3403d2a997ad4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x636b15e06fda - as core::ops::function::FnOnce<()>>::call_once::h804cb151403aed57 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x636b15e06fda - std::panicking::try::do_call::h83a3328114f83651 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 37: 0x636b15e06fda - std::panicking::try::h5371451a86d476d0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 38: 0x636b15e06fda - std::panic::catch_unwind::h2d1b89e7535ca74a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x636b15e06fda - std::thread::Builder::spawn_unchecked_::{{closure}}::h169c242c7f876b92 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x636b15e06fda - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4115e0f997976371 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x636b1672ee8b - as core::ops::function::FnOnce>::call_once::hbc3fa83432d7fd73 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 42: 0x636b1672ee8b - as core::ops::function::FnOnce>::call_once::heba5519d10f2c030 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x636b1672ee8b - std::sys::pal::unix::thread::Thread::new::thread_start::h211a36f354245501 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 44: 0x7e21afe42aa4 - [INFO] [stdout] 45: 0x7e21afecfa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::test_should_work_in_arrow_function_components [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "e00f00e3f5185e98a9f188d0d79d22e03d9a8a93648363abfb626ae0cc6e14af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e00f00e3f5185e98a9f188d0d79d22e03d9a8a93648363abfb626ae0cc6e14af", kill_on_drop: false }` [INFO] [stdout] e00f00e3f5185e98a9f188d0d79d22e03d9a8a93648363abfb626ae0cc6e14af