[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 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yamadapc/react_magnetic_di_swc_plugin on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f024365074cc0a29dd892671d0d6a2e70ea4c5ba81f2cd508cd5273119c88da4
[INFO] running `Command { std: "docker" "start" "-a" "f024365074cc0a29dd892671d0d6a2e70ea4c5ba81f2cd508cd5273119c88da4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f024365074cc0a29dd892671d0d6a2e70ea4c5ba81f2cd508cd5273119c88da4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f024365074cc0a29dd892671d0d6a2e70ea4c5ba81f2cd508cd5273119c88da4", kill_on_drop: false }`
[INFO] [stdout] f024365074cc0a29dd892671d0d6a2e70ea4c5ba81f2cd508cd5273119c88da4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64b5a9e8e7bc5c8d5999356255e6c6848fb3b13c29f41858cb9e5edf5bccbbf0
[INFO] running `Command { std: "docker" "start" "-a" "64b5a9e8e7bc5c8d5999356255e6c6848fb3b13c29f41858cb9e5edf5bccbbf0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling anyhow v1.0.87
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling bytecheck v0.6.12
[INFO] [stderr]    Compiling better_scoped_tls v0.1.1
[INFO] [stderr]    Compiling swc_visit v0.6.2
[INFO] [stderr]    Compiling simdutf8 v0.1.4
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling unicode-id-start v1.2.0
[INFO] [stderr]    Compiling rend v0.4.2
[INFO] [stderr]    Compiling outref v0.1.0
[INFO] [stderr]    Compiling rkyv v0.7.44
[INFO] [stderr]    Compiling uuid v1.10.0
[INFO] [stderr]    Compiling simd-abstraction v0.7.1
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling cc v1.1.18
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling base64-simd v0.7.0
[INFO] [stderr]    Compiling camino v1.1.9
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling smartstring v1.0.1
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling textwrap v0.16.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling vergen v8.3.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling rustix v0.38.36
[INFO] [stderr]    Compiling relative-path v1.9.3
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling indexmap v2.5.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling ryu-js v1.0.1
[INFO] [stderr]    Compiling pretty_assertions v1.4.0
[INFO] [stderr]    Compiling unicode-id v0.3.4
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling psm v0.1.23
[INFO] [stderr]    Compiling stacker v0.1.17
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling swc_plugin v0.90.2
[INFO] [stderr]    Compiling regex-automata v0.4.7
[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 tempfile v3.12.0
[INFO] [stderr]    Compiling ptr_meta v0.1.4
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling swc_macros_common v0.3.13
[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 string_enum v0.4.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[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 swc_trace_macro v0.1.3
[INFO] [stderr]    Compiling testing_macros v0.2.14
[INFO] [stderr]    Compiling swc_plugin_macro v0.9.16
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling miette v7.2.0
[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 semver v1.0.23
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s
[INFO] running `Command { std: "docker" "inspect" "64b5a9e8e7bc5c8d5999356255e6c6848fb3b13c29f41858cb9e5edf5bccbbf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64b5a9e8e7bc5c8d5999356255e6c6848fb3b13c29f41858cb9e5edf5bccbbf0", kill_on_drop: false }`
[INFO] [stdout] 64b5a9e8e7bc5c8d5999356255e6c6848fb3b13c29f41858cb9e5edf5bccbbf0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b91720bd7211ca6248b86e8e7d7c6a884199b39648bf1b57f829af8a45720172
[INFO] running `Command { std: "docker" "start" "-a" "b91720bd7211ca6248b86e8e7d7c6a884199b39648bf1b57f829af8a45720172", 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.86s
[INFO] running `Command { std: "docker" "inspect" "b91720bd7211ca6248b86e8e7d7c6a884199b39648bf1b57f829af8a45720172", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b91720bd7211ca6248b86e8e7d7c6a884199b39648bf1b57f829af8a45720172", kill_on_drop: false }`
[INFO] [stdout] b91720bd7211ca6248b86e8e7d7c6a884199b39648bf1b57f829af8a45720172
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ad8f46400f83116cc8b36bab4c7c9bd88f3cf025fcd13a8c62779527627bf946
[INFO] running `Command { std: "docker" "start" "-a" "ad8f46400f83116cc8b36bab4c7c9bd88f3cf025fcd13a8c62779527627bf946", 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)]` (part of `#[warn(unused)]`) 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.25s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/react_magnetic_di_swc_plugin-747e3222fca021d1)
[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]   [32m INFO[0m  [32mDiagnostics will be printed to stderr as logging level is trace or debug[0m
[INFO] [stdout]     [2;3mat[0m /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/testing-0.39.0/src/errors/stderr.rs:17
[INFO] [stdout] 
[INFO] [stdout] ----- [32mExpected[0m -----
[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]   [32m INFO[0m  [32mDiagnostics will be printed to stderr as logging level is trace or debug[0m
[INFO] [stdout]     [2;3mat[0m /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/testing-0.39.0/src/errors/stderr.rs:17
[INFO] [stdout] 
[INFO] [stdout] ----- [32mInput[0m -----
[INFO] [stdout] 
[INFO] [stdout] import React, { Component } from 'react';
[INFO] [stdout] import Modal from 'modal';
[INFO] [stdout] 
[INFO] [stdout] const MyComponent = () => {
[INFO] [stdout]     return <Modal />;
[INFO] [stdout] }
[INFO] [stdout] ----- [32mActual[0m -----
[INFO] [stdout]   [34mDEBUG[0m  [34mRenaming `React#0` to `React`[0m
[INFO] [stdout]     [2;3mat[0m /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]   [34mDEBUG[0m  [34mRenaming `Component#0` to `Component`[0m
[INFO] [stdout]     [2;3mat[0m /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]   [34mDEBUG[0m  [34mRenaming `Modal#0` to `Modal`[0m
[INFO] [stdout]     [2;3mat[0m /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]   [34mDEBUG[0m  [34mRenaming `MyComponent#0` to `MyComponent`[0m
[INFO] [stdout]     [2;3mat[0m /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' (25) 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 <Modal/>;
[INFO] [stdout] };
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] [1mDiff[0m [31m< left[0m / [32mright >[0m :
[INFO] [stdout]  import React, { Component } from 'react';
[INFO] [stdout]  import Modal from 'modal';
[INFO] [stdout]  const MyComponent = ()=>{
[INFO] [stdout] [31m<    const [_Modal] = _di([[0m
[INFO] [stdout] [31m<        Modal[0m
[INFO] [stdout] [31m<    ], MyComponent);[0m
[INFO] [stdout] [31m<    return <_Modal/>;[0m
[INFO] [stdout] [32m>    return <Modal/>;[0m
[INFO] [stdout]  };
[INFO] [stdout]  
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6082d97e1c62 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x6082d97e1c62 - std[3f03f8b59f91bef1]::backtrace_rs::backtrace::trace_unsynchronized::<std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x6082d97e1c62 - std[3f03f8b59f91bef1]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x6082d97e1c62 - <<std[3f03f8b59f91bef1]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[585f66e14d78f9ba]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x6082d97f8eca - <core[585f66e14d78f9ba]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x6082d97f8eca - core[585f66e14d78f9ba]::fmt::write
[INFO] [stdout]    6:     0x6082d97e6c26 - std[3f03f8b59f91bef1]::io::default_write_fmt::<alloc[15e7b27aba85d2e2]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x6082d97e6c26 - <alloc[15e7b27aba85d2e2]::vec::Vec<u8> as std[3f03f8b59f91bef1]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x6082d97bfb2f - <std[3f03f8b59f91bef1]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x6082d97bfb2f - std[3f03f8b59f91bef1]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x6082d97d9919 - std[3f03f8b59f91bef1]::panicking::default_hook
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x6082d8eb65ee - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn for<'a, 'b> core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x6082d8eb65ee - test[30224e0cb089acd2]::test_main_with_exit_callback::<test[30224e0cb089acd2]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x6082d97d9b82 - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn for<'a, 'b> core[585f66e14d78f9ba]::ops::function::Fn<(&'a std[3f03f8b59f91bef1]::panic::PanicHookInfo<'b>,), Output = ()> + core[585f66e14d78f9ba]::marker::Sync + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::Fn<(&std[3f03f8b59f91bef1]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x6082d97d9b82 - std[3f03f8b59f91bef1]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x6082d97bfbe8 - std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x6082d97b4ca9 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_end_short_backtrace::<std[3f03f8b59f91bef1]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x6082d97c0a3d - __rustc[caa99d26c7bae192]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x6082d97f968c - core[585f66e14d78f9ba]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x6082d8e8f624 - swc_ecma_transforms_testing[c4c4c2f38d6e293b]::test_inline_input_output::<react_magnetic_di_swc_plugin[5e2a9a333ad34f39]::test::test_should_work_in_arrow_function_components::{closure#0}, swc_ecma_visit[5abf7a6d8b1cf21b]::Folder<react_magnetic_di_swc_plugin[5e2a9a333ad34f39]::TransformVisitor>>
[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:     0x6082d8e9778b - react_magnetic_di_swc_plugin[5e2a9a333ad34f39]::test::test_should_work_in_arrow_function_components
[INFO] [stdout]                                at /opt/rustwide/workdir/src/lib.rs:212:9
[INFO] [stdout]   21:     0x6082d8e972e7 - react_magnetic_di_swc_plugin[5e2a9a333ad34f39]::test::test_should_work_in_arrow_function_components::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/lib.rs:211:55
[INFO] [stdout]   22:     0x6082d8e8c806 - <react_magnetic_di_swc_plugin[5e2a9a333ad34f39]::test::test_should_work_in_arrow_function_components::{closure#0} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x6082d8eaa99b - <fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x6082d8eaa99b - test[30224e0cb089acd2]::__rust_begin_short_backtrace::<core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>, fn() -> core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18
[INFO] [stdout]   25:     0x6082d8eb71fa - test[30224e0cb089acd2]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74
[INFO] [stdout]   26:     0x6082d8eb71fa - <core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   27:     0x6082d8eb71fa - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   28:     0x6082d8eb71fa - std[3f03f8b59f91bef1]::panicking::catch_unwind::<core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>, core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   29:     0x6082d8eb71fa - std[3f03f8b59f91bef1]::panic::catch_unwind::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<test[30224e0cb089acd2]::run_test_in_process::{closure#0}>, core[585f66e14d78f9ba]::result::Result<(), alloc[15e7b27aba85d2e2]::string::String>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x6082d8eb71fa - test[30224e0cb089acd2]::run_test_in_process
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27
[INFO] [stdout]   31:     0x6082d8eb71fa - test[30224e0cb089acd2]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43
[INFO] [stdout]   32:     0x6082d8eb16c4 - test[30224e0cb089acd2]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41
[INFO] [stdout]   33:     0x6082d8eb16c4 - std[3f03f8b59f91bef1]::sys::backtrace::__rust_begin_short_backtrace::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   34:     0x6082d8eb9cf2 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   35:     0x6082d8eb9cf2 - <core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   36:     0x6082d8eb9cf2 - std[3f03f8b59f91bef1]::panicking::catch_unwind::do_call::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   37:     0x6082d8eb9cf2 - std[3f03f8b59f91bef1]::panicking::catch_unwind::<(), core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   38:     0x6082d8eb9cf2 - std[3f03f8b59f91bef1]::panic::catch_unwind::<core[585f66e14d78f9ba]::panic::unwind_safe::AssertUnwindSafe<std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x6082d8eb9cf2 - std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked::<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   40:     0x6082d8eb9cf2 - <std[3f03f8b59f91bef1]::thread::lifecycle::spawn_unchecked<test[30224e0cb089acd2]::run_test::{closure#1}, ()>::{closure#1} as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x6082d97e112f - <alloc[15e7b27aba85d2e2]::boxed::Box<dyn core[585f66e14d78f9ba]::ops::function::FnOnce<(), Output = ()> + core[585f66e14d78f9ba]::marker::Send> as core[585f66e14d78f9ba]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   42:     0x6082d97e112f - <std[3f03f8b59f91bef1]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   43:     0x7e6f4f20daa4 - <unknown>
[INFO] [stdout]   44:     0x7e6f4f29aa64 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[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.12s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "ad8f46400f83116cc8b36bab4c7c9bd88f3cf025fcd13a8c62779527627bf946", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad8f46400f83116cc8b36bab4c7c9bd88f3cf025fcd13a8c62779527627bf946", kill_on_drop: false }`
[INFO] [stdout] ad8f46400f83116cc8b36bab4c7c9bd88f3cf025fcd13a8c62779527627bf946
