[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 1.86.0 for beta-1.87-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyamadapc%2Freact_magnetic_di_swc_plugin" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yamadapc/react_magnetic_di_swc_plugin on toolchain 1.86.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0-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-0-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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded swc_plugin_proxy v0.47.0
[INFO] [stderr] Downloaded testing_macros v0.2.14
[INFO] [stderr] Downloaded swc_error_reporters v0.21.0
[INFO] [stderr] Downloaded swc_ecma_utils v0.134.3
[INFO] [stderr] Downloaded testing v0.39.0
[INFO] [stderr] Downloaded swc_ecma_codegen_macros v0.7.7
[INFO] [stderr] Downloaded sourcemap v9.0.0
[INFO] [stderr] Downloaded swc_ecma_quote_macros v0.60.0
[INFO] [stderr] Downloaded swc_ecma_codegen v0.155.1
[INFO] [stderr] Downloaded swc_ecma_transforms_testing v0.147.0
[INFO] [stderr] Downloaded swc_ecma_testing v0.26.0
[INFO] [stderr] Downloaded swc_plugin v0.90.2
[INFO] [stderr] Downloaded swc_core v0.101.7
[INFO] [stderr] Downloaded swc_ecma_transforms_base v0.144.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8ef780559b71a277e4237d4c9015833c268173226657442438fb3aaf4401252f
[INFO] running `Command { std: "docker" "start" "-a" "8ef780559b71a277e4237d4c9015833c268173226657442438fb3aaf4401252f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8ef780559b71a277e4237d4c9015833c268173226657442438fb3aaf4401252f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ef780559b71a277e4237d4c9015833c268173226657442438fb3aaf4401252f", kill_on_drop: false }`
[INFO] [stdout] 8ef780559b71a277e4237d4c9015833c268173226657442438fb3aaf4401252f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5fdfb21d089311ea6c03b72c4b9476ec7982b5aba27ca1264b43e3121b32d623
[INFO] running `Command { std: "docker" "start" "-a" "5fdfb21d089311ea6c03b72c4b9476ec7982b5aba27ca1264b43e3121b32d623", 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 cfg-if v1.0.0
[INFO] [stderr] Compiling serde v1.0.210
[INFO] [stderr] Compiling syn v1.0.109
[INFO] [stderr] Compiling autocfg v1.3.0
[INFO] [stderr] Compiling allocator-api2 v0.2.18
[INFO] [stderr] Compiling zerocopy v0.7.35
[INFO] [stderr] Compiling libc v0.2.158
[INFO] [stderr] Compiling siphasher v0.3.11
[INFO] [stderr] Compiling rand_core v0.6.4
[INFO] [stderr] Compiling rustc-hash v1.1.0
[INFO] [stderr] Compiling ahash v0.8.11
[INFO] [stderr] Compiling phf_shared v0.11.2
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling stable_deref_trait v1.2.0
[INFO] [stderr] Compiling serde_json v1.0.128
[INFO] [stderr] Compiling tinyvec_macros v0.1.1
[INFO] [stderr] Compiling new_debug_unreachable v1.0.6
[INFO] [stderr] Compiling tinyvec v1.8.0
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling itoa v1.0.11
[INFO] [stderr] Compiling ryu v1.0.18
[INFO] [stderr] Compiling percent-encoding v2.3.1
[INFO] [stderr] Compiling unicode-bidi v0.3.15
[INFO] [stderr] Compiling memchr v2.7.4
[INFO] [stderr] Compiling pin-project-lite v0.2.14
[INFO] [stderr] Compiling anyhow v1.0.87
[INFO] [stderr] Compiling phf_generator v0.11.2
[INFO] [stderr] Compiling quote v1.0.37
[INFO] [stderr] Compiling form_urlencoded v1.2.1
[INFO] [stderr] Compiling syn v2.0.77
[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 num-integer v0.1.46
[INFO] [stderr] Compiling ahash v0.7.8
[INFO] [stderr] Compiling idna v0.5.0
[INFO] [stderr] Compiling scoped-tls v1.0.1
[INFO] [stderr] Compiling bytecheck v0.6.12
[INFO] [stderr] Compiling either v1.13.0
[INFO] [stderr] Compiling smallvec v1.13.2
[INFO] [stderr] Compiling swc_visit v0.6.2
[INFO] [stderr] Compiling better_scoped_tls v0.1.1
[INFO] [stderr] Compiling getrandom v0.2.15
[INFO] [stderr] Compiling hashbrown v0.14.5
[INFO] [stderr] Compiling radium v0.7.0
[INFO] [stderr] Compiling url v2.5.2
[INFO] [stderr] Compiling unicode-id-start v1.2.0
[INFO] [stderr] Compiling rend v0.4.2
[INFO] [stderr] Compiling simdutf8 v0.1.4
[INFO] [stderr] Compiling lock_api v0.4.12
[INFO] [stderr] Compiling tracing-core v0.1.32
[INFO] [stderr] Compiling tap v1.0.1
[INFO] [stderr] Compiling parking_lot_core v0.9.10
[INFO] [stderr] Compiling outref v0.1.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 hashbrown v0.12.3
[INFO] [stderr] Compiling scopeguard v1.2.0
[INFO] [stderr] Compiling funty v2.0.0
[INFO] [stderr] Compiling uuid v1.10.0
[INFO] [stderr] Compiling seahash v4.1.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 bitvec v1.0.1
[INFO] [stderr] Compiling parking_lot v0.12.3
[INFO] [stderr] Compiling thiserror v1.0.63
[INFO] [stderr] Compiling shlex v1.3.0
[INFO] [stderr] Compiling regex-syntax v0.8.4
[INFO] [stderr] Compiling Inflector v0.11.4
[INFO] [stderr] Compiling termcolor v1.4.1
[INFO] [stderr] Compiling cc v1.1.18
[INFO] [stderr] Compiling semver v1.0.23
[INFO] [stderr] Compiling bitflags v2.6.0
[INFO] [stderr] Compiling camino v1.1.9
[INFO] [stderr] Compiling aho-corasick v1.1.3
[INFO] [stderr] Compiling typenum v1.17.0
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Compiling swc_macros_common v0.3.13
[INFO] [stderr] Compiling smartstring v1.0.1
[INFO] [stderr] Compiling psm v0.1.23
[INFO] [stderr] Compiling regex-automata v0.4.7
[INFO] [stderr] Compiling stacker v0.1.17
[INFO] [stderr] Compiling rustversion v1.0.17
[INFO] [stderr] Compiling smawk v0.3.2
[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 regex-syntax v0.6.29
[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 swc_eq_ignore_macros v0.1.4
[INFO] [stderr] Compiling phf v0.11.2
[INFO] [stderr] Compiling ast_node v0.9.9
[INFO] [stderr] Compiling from_variant v0.1.9
[INFO] [stderr] Compiling tracing v0.1.40
[INFO] [stderr] Compiling string_enum v0.4.4
[INFO] [stderr] Compiling is-macro v0.3.6
[INFO] [stderr] Compiling thiserror-impl v1.0.63
[INFO] [stderr] Compiling regex v1.10.6
[INFO] [stderr] Compiling unicode-linebreak v0.1.5
[INFO] [stderr] Compiling static_assertions v1.1.0
[INFO] [stderr] Compiling regex-automata v0.1.10
[INFO] [stderr] Compiling miette-derive v7.2.0
[INFO] [stderr] Compiling textwrap v0.16.1
[INFO] [stderr] Compiling typed-arena v2.0.2
[INFO] [stderr] Compiling overload v0.1.1
[INFO] [stderr] Compiling log v0.4.22
[INFO] [stderr] Compiling owo-colors v4.0.0
[INFO] [stderr] Compiling lazy_static v1.5.0
[INFO] [stderr] Compiling tracing-log v0.2.0
[INFO] [stderr] Compiling sharded-slab v0.1.7
[INFO] [stderr] Compiling vergen v8.3.2
[INFO] [stderr] Compiling nu-ansi-term v0.46.0
[INFO] [stderr] Compiling matchers v0.1.0
[INFO] [stderr] Compiling block-buffer v0.10.4
[INFO] [stderr] Compiling crypto-common v0.1.6
[INFO] [stderr] Compiling thread_local v1.1.8
[INFO] [stderr] Compiling glob v0.3.1
[INFO] [stderr] Compiling yansi v0.5.1
[INFO] [stderr] Compiling relative-path v1.9.3
[INFO] [stderr] Compiling equivalent v1.0.1
[INFO] [stderr] Compiling miette v7.2.0
[INFO] [stderr] Compiling rustix v0.38.36
[INFO] [stderr] Compiling diff v0.1.13
[INFO] [stderr] Compiling testing_macros v0.2.14
[INFO] [stderr] Compiling indexmap v2.5.0
[INFO] [stderr] Compiling pretty_assertions v1.4.0
[INFO] [stderr] Compiling digest v0.10.7
[INFO] [stderr] Compiling num_cpus v1.16.0
[INFO] [stderr] Compiling cpufeatures v0.2.14
[INFO] [stderr] Compiling tracing-subscriber v0.3.18
[INFO] [stderr] Compiling difference v2.0.0
[INFO] [stderr] Compiling linux-raw-sys v0.4.14
[INFO] [stderr] Compiling ansi_term v0.12.1
[INFO] [stderr] Compiling unicode-id v0.3.4
[INFO] [stderr] Compiling ryu-js v1.0.1
[INFO] [stderr] Compiling sha2 v0.10.8
[INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.7
[INFO] [stderr] Compiling hex v0.4.3
[INFO] [stderr] Compiling fastrand v2.1.1
[INFO] [stderr] Compiling swc_trace_macro v0.1.3
[INFO] [stderr] Compiling base64 v0.21.7
[INFO] [stderr] Compiling swc_plugin_macro v0.9.16
[INFO] [stderr] Compiling swc_plugin v0.90.2
[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 tempfile v3.12.0
[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 3m 20s
[INFO] running `Command { std: "docker" "inspect" "5fdfb21d089311ea6c03b72c4b9476ec7982b5aba27ca1264b43e3121b32d623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fdfb21d089311ea6c03b72c4b9476ec7982b5aba27ca1264b43e3121b32d623", kill_on_drop: false }`
[INFO] [stdout] 5fdfb21d089311ea6c03b72c4b9476ec7982b5aba27ca1264b43e3121b32d623
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 222becbaf2f0ae9aaf29aebac5f45272f909ee32456a8c794df9bf775e0b20de
[INFO] running `Command { std: "docker" "start" "-a" "222becbaf2f0ae9aaf29aebac5f45272f909ee32456a8c794df9bf775e0b20de", 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 10.70s
[INFO] running `Command { std: "docker" "inspect" "222becbaf2f0ae9aaf29aebac5f45272f909ee32456a8c794df9bf775e0b20de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "222becbaf2f0ae9aaf29aebac5f45272f909ee32456a8c794df9bf775e0b20de", kill_on_drop: false }`
[INFO] [stdout] 222becbaf2f0ae9aaf29aebac5f45272f909ee32456a8c794df9bf775e0b20de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f1273765adc3d6fbb74ee352426d9daa1427a188d557914b094781113e2d35b9
[INFO] running `Command { std: "docker" "start" "-a" "f1273765adc3d6fbb74ee352426d9daa1427a188d557914b094781113e2d35b9", 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.52s
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/react_magnetic_di_swc_plugin-89d063d02d40e8f7)
[INFO] [stdout]
[INFO] [stdout] running 3 tests
[INFO] [stdout] test test::test_should_work_in_class_components ... ok
[INFO] [stdout] test test::test_should_work_in_function_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 ;
[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' 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] [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 ;[0m
[INFO] [stdout] };
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] stack backtrace:
[INFO] [stdout] 0: 0x62fe11407b00 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout] 1: 0x62fe11407b00 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout] 2: 0x62fe11407b00 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout] 3: 0x62fe11407b00 - ::fmt::h6d42cc84fc840290
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout] 4: 0x62fe11430543 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout] 5: 0x62fe11430543 - core::fmt::write::h5af61a909e3ec64d
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21
[INFO] [stdout] 6: 0x62fe11404a33 - std::io::Write::write_fmt::h64baa9197d9a3b04
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15
[INFO] [stdout] 7: 0x62fe11407952 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout] 8: 0x62fe11408f2f - std::panicking::default_hook::{{closure}}::h9128866118196224
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22
[INFO] [stdout] 9: 0x62fe11408d48 - std::panicking::default_hook::h52e9e7314e0255f6
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:322:9
[INFO] [stdout] 10: 0x62fe10af6255 - as core::ops::function::Fn>::call::hb86f691850cc3c26
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9
[INFO] [stdout] 11: 0x62fe10af6255 - test::test_main::{{closure}}::h903d8079e3c94d93
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:135:21
[INFO] [stdout] 12: 0x62fe114099a3 - as core::ops::function::Fn>::call::h7c356b28a03897d7
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9
[INFO] [stdout] 13: 0x62fe114099a3 - std::panicking::rust_panic_with_hook::h541791bcc774ef34
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:839:13
[INFO] [stdout] 14: 0x62fe1140967a - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13
[INFO] [stdout] 15: 0x62fe11408019 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout] 16: 0x62fe1140930d - rust_begin_unwind
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
[INFO] [stdout] 17: 0x62fe10a863c0 - core::panicking::panic_fmt::h5764ee7030b7a73d
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
[INFO] [stdout] 18: 0x62fe10aa4fa2 - swc_ecma_transforms_testing::test_inline_input_output::ha354322ed506f73e
[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] 19: 0x62fe10ab5f1b - react_magnetic_di_swc_plugin::test::test_should_work_in_arrow_function_components::hdb9b0f7e7f5a5b0e
[INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:212:9
[INFO] [stdout] 20: 0x62fe10ab5e57 - react_magnetic_di_swc_plugin::test::test_should_work_in_arrow_function_components::{{closure}}::hddb7e049d33a425b
[INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:211:55
[INFO] [stdout] 21: 0x62fe10ab30d6 - core::ops::function::FnOnce::call_once::h7f16741805556d3c
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
[INFO] [stdout] 22: 0x62fe10afb9db - core::ops::function::FnOnce::call_once::h1dfa20b1ec1f6e08
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
[INFO] [stdout] 23: 0x62fe10afb9db - test::__rust_begin_short_backtrace::h7b10906492afc420
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:637:18
[INFO] [stdout] 24: 0x62fe10afa8c8 - test::run_test_in_process::{{closure}}::h51c1c0d319f72c0a
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:60
[INFO] [stdout] 25: 0x62fe10afa8c8 - as core::ops::function::FnOnce<()>>::call_once::h5fadb750f3dbe714
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout] 26: 0x62fe10afa8c8 - std::panicking::try::do_call::h1ca5071cef82bb40
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
[INFO] [stdout] 27: 0x62fe10afa8c8 - std::panicking::try::h6931de76fb9a61b1
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
[INFO] [stdout] 28: 0x62fe10afa8c8 - std::panic::catch_unwind::h67fc9dccf413f4e5
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
[INFO] [stdout] 29: 0x62fe10afa8c8 - test::run_test_in_process::ha966dfbb1d048be5
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:27
[INFO] [stdout] 30: 0x62fe10afa8c8 - test::run_test::{{closure}}::he209928ac5e8a3b8
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:581:43
[INFO] [stdout] 31: 0x62fe10abe855 - test::run_test::{{closure}}::h34c6289e0b5ed5a5
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:611:41
[INFO] [stdout] 32: 0x62fe10abe855 - std::sys::backtrace::__rust_begin_short_backtrace::h365aabf21799e6fc
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout] 33: 0x62fe10ac22ca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3d5e582cba74b1c3
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:559:17
[INFO] [stdout] 34: 0x62fe10ac22ca - as core::ops::function::FnOnce<()>>::call_once::h1214c75c3f73f94f
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout] 35: 0x62fe10ac22ca - std::panicking::try::do_call::h73540336a45c0cec
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40
[INFO] [stdout] 36: 0x62fe10ac22ca - std::panicking::try::h428956564307af63
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19
[INFO] [stdout] 37: 0x62fe10ac22ca - std::panic::catch_unwind::h1a53a6ea2f2041e3
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14
[INFO] [stdout] 38: 0x62fe10ac22ca - std::thread::Builder::spawn_unchecked_::{{closure}}::hac66cbb88d807e14
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:557:30
[INFO] [stdout] 39: 0x62fe10ac22ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::had7e2d02878d3212
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
[INFO] [stdout] 40: 0x62fe1140d88b - as core::ops::function::FnOnce>::call_once::h292d1663b0785fda
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
[INFO] [stdout] 41: 0x62fe1140d88b - as core::ops::function::FnOnce>::call_once::h9d4af7b531852d72
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9
[INFO] [stdout] 42: 0x62fe1140d88b - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327
[INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17
[INFO] [stdout] 43: 0x71caa993caa4 -
[INFO] [stdout] 44: 0x71caa99c9a34 - clone
[INFO] [stdout] 45: 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" "f1273765adc3d6fbb74ee352426d9daa1427a188d557914b094781113e2d35b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1273765adc3d6fbb74ee352426d9daa1427a188d557914b094781113e2d35b9", kill_on_drop: false }`
[INFO] [stdout] f1273765adc3d6fbb74ee352426d9daa1427a188d557914b094781113e2d35b9