[INFO] cloning repository https://github.com/VKCOM/swc-plugin-transform-remove-imports [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VKCOM/swc-plugin-transform-remove-imports" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVKCOM%2Fswc-plugin-transform-remove-imports", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVKCOM%2Fswc-plugin-transform-remove-imports'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0e74519960c84e959befd3018f514f783c5b0c6 [INFO] testing VKCOM/swc-plugin-transform-remove-imports against beta-2026-04-21 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVKCOM%2Fswc-plugin-transform-remove-imports" "/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.toml [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/VKCOM/swc-plugin-transform-remove-imports [INFO] finished tweaking git repo https://github.com/VKCOM/swc-plugin-transform-remove-imports [INFO] tweaked toml for git repo https://github.com/VKCOM/swc-plugin-transform-remove-imports written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VKCOM/swc-plugin-transform-remove-imports on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VKCOM/swc-plugin-transform-remove-imports 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19eb7ac9acc680dc95784156c5064563d9ccf0ffe82b5d439cb18892309d06ae [INFO] running `Command { std: "docker" "start" "-a" "19eb7ac9acc680dc95784156c5064563d9ccf0ffe82b5d439cb18892309d06ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19eb7ac9acc680dc95784156c5064563d9ccf0ffe82b5d439cb18892309d06ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19eb7ac9acc680dc95784156c5064563d9ccf0ffe82b5d439cb18892309d06ae", kill_on_drop: false }` [INFO] [stdout] 19eb7ac9acc680dc95784156c5064563d9ccf0ffe82b5d439cb18892309d06ae [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3090d2bf631b487446f597ffee00d82e1fc53d4594c2f10ee6ba9fca98689c44 [INFO] running `Command { std: "docker" "start" "-a" "3090d2bf631b487446f597ffee00d82e1fc53d4594c2f10ee6ba9fca98689c44", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling ptr_meta_derive v0.3.1 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling bytecheck_derive v0.8.2 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling munge_macro v0.4.7 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling rkyv_derive v0.8.15 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling ptr_meta v0.3.1 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling rancor v0.1.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling unicode-id-start v1.4.0 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling cbor4ii v1.2.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling munge v0.4.7 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling from_variant v3.0.0 [INFO] [stderr] Compiling bytecheck v0.8.2 [INFO] [stderr] Compiling ast_node v5.0.0 [INFO] [stderr] Compiling better_scoped_tls v1.0.1 [INFO] [stderr] Compiling rend v0.5.3 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling swc_visit v2.0.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling owo-colors v4.3.0 [INFO] [stderr] Compiling dragonbox_ecma v0.1.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling stacker v0.1.23 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling vergen-lib v9.1.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling triomphe v0.1.15 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling cargo-platform v0.3.3 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling vergen v9.1.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling hstr v3.0.4 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling cargo_metadata v0.23.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling bumpalo v3.20.2 [INFO] [stderr] Compiling rkyv v0.8.15 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling ar_archive_writer v0.5.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling par-core v2.0.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling swc_allocator v4.0.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling swc_ecma_codegen_macros v2.0.2 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling swc_trace_macro v2.0.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling swc_plugin v1.0.1 [INFO] [stderr] Compiling swc_plugin_macro v1.1.0 [INFO] [stderr] Compiling swc_cached v2.0.0 [INFO] [stderr] Compiling testing_macros v1.0.1 [INFO] [stderr] Compiling psm v0.1.30 [INFO] [stderr] Compiling swc_core v58.0.4 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling bytes-str v0.2.7 [INFO] [stderr] Compiling swc_atoms v9.0.0 [INFO] [stderr] Compiling swc_sourcemap v10.0.2 [INFO] [stderr] Compiling swc_common v19.0.0 [INFO] [stderr] Compiling swc_ecma_ast v21.0.0 [INFO] [stderr] Compiling swc_error_reporters v21.0.0 [INFO] [stderr] Compiling swc_transform_common v13.0.0 [INFO] [stderr] Compiling testing v20.0.0 [INFO] [stderr] Compiling swc_ecma_testing v20.0.0 [INFO] [stderr] Compiling swc_ecma_visit v21.0.0 [INFO] [stderr] Compiling swc_ecma_parser v35.0.0 [INFO] [stderr] Compiling swc_ecma_codegen v24.0.0 [INFO] [stderr] Compiling swc_plugin_proxy v21.0.0 [INFO] [stderr] Compiling swc_ecma_utils v27.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_base v38.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_testing v42.0.0 [INFO] [stderr] Compiling swc-plugin-transform-remove-imports v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "3090d2bf631b487446f597ffee00d82e1fc53d4594c2f10ee6ba9fca98689c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3090d2bf631b487446f597ffee00d82e1fc53d4594c2f10ee6ba9fca98689c44", kill_on_drop: false }` [INFO] [stdout] 3090d2bf631b487446f597ffee00d82e1fc53d4594c2f10ee6ba9fca98689c44 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12d6d069c2d8b4bab6fc815ea1db9f6551d2a5de585f46cec612c453af475790 [INFO] running `Command { std: "docker" "start" "-a" "12d6d069c2d8b4bab6fc815ea1db9f6551d2a5de585f46cec612c453af475790", kill_on_drop: false }` [INFO] [stderr] Compiling swc-plugin-transform-remove-imports v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.46s [INFO] running `Command { std: "docker" "inspect" "12d6d069c2d8b4bab6fc815ea1db9f6551d2a5de585f46cec612c453af475790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d6d069c2d8b4bab6fc815ea1db9f6551d2a5de585f46cec612c453af475790", kill_on_drop: false }` [INFO] [stdout] 12d6d069c2d8b4bab6fc815ea1db9f6551d2a5de585f46cec612c453af475790 [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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aad14959b5875f92fa44776168a7745d8bc896e876b56639367dcbf70c75ba98 [INFO] running `Command { std: "docker" "start" "-a" "aad14959b5875f92fa44776168a7745d8bc896e876b56639367dcbf70c75ba98", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swc_plugin_transform_remove_imports-c3c49cb1d44f0fb1) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test transform::effects ... ok [INFO] [stderr] Doc-tests swc_plugin_transform_remove_imports [INFO] [stdout] test transform::require_effects ... ok [INFO] [stdout] test transform::require_remove_all ... ok [INFO] [stdout] test transform::remove_all ... ok [INFO] [stdout] test transform::example ... ok [INFO] [stdout] test transform::require_example ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "aad14959b5875f92fa44776168a7745d8bc896e876b56639367dcbf70c75ba98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad14959b5875f92fa44776168a7745d8bc896e876b56639367dcbf70c75ba98", kill_on_drop: false }` [INFO] [stdout] aad14959b5875f92fa44776168a7745d8bc896e876b56639367dcbf70c75ba98