[INFO] cloning repository https://github.com/zhuguibiao/swc-plugin-remove-node-protocol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhuguibiao/swc-plugin-remove-node-protocol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuguibiao%2Fswc-plugin-remove-node-protocol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuguibiao%2Fswc-plugin-remove-node-protocol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31b531a0d5c271e01e8d1c5e60df196278f18185 [INFO] testing zhuguibiao/swc-plugin-remove-node-protocol against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhuguibiao%2Fswc-plugin-remove-node-protocol" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zhuguibiao/swc-plugin-remove-node-protocol [INFO] finished tweaking git repo https://github.com/zhuguibiao/swc-plugin-remove-node-protocol [INFO] tweaked toml for git repo https://github.com/zhuguibiao/swc-plugin-remove-node-protocol written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zhuguibiao/swc-plugin-remove-node-protocol on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zhuguibiao/swc-plugin-remove-node-protocol 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d3f68522a0eb07a818497f91b4aefefcc8ac39a306e71785d6c57d2a47e9ed8 [INFO] running `Command { std: "docker" "start" "-a" "6d3f68522a0eb07a818497f91b4aefefcc8ac39a306e71785d6c57d2a47e9ed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d3f68522a0eb07a818497f91b4aefefcc8ac39a306e71785d6c57d2a47e9ed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d3f68522a0eb07a818497f91b4aefefcc8ac39a306e71785d6c57d2a47e9ed8", kill_on_drop: false }` [INFO] [stdout] 6d3f68522a0eb07a818497f91b4aefefcc8ac39a306e71785d6c57d2a47e9ed8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0494ba476d49a276bd53d680eb49cc0e78d84a8216e6da77d4d9016e6aaf1ee [INFO] running `Command { std: "docker" "start" "-a" "a0494ba476d49a276bd53d680eb49cc0e78d84a8216e6da77d4d9016e6aaf1ee", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling outref v0.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling simd-abstraction v0.7.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling swc_visit v2.0.0 [INFO] [stderr] Compiling better_scoped_tls v1.0.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling base64-simd v0.7.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling owo-colors v4.2.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling vergen-lib v0.1.6 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling vergen v9.0.4 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rustix v1.0.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling swc_parallel v1.2.0 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling swc_plugin v1.0.0 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.19 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tempfile v3.18.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling swc_macros_common v1.0.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling bytecheck_derive v0.8.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling munge_macro v0.4.3 [INFO] [stderr] Compiling rkyv_derive v0.8.10 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.0 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling miette-derive v7.5.0 [INFO] [stderr] Compiling ast_node v3.0.0 [INFO] [stderr] Compiling rancor v0.1.0 [INFO] [stderr] Compiling from_variant v2.0.0 [INFO] [stderr] Compiling munge v0.4.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling bytecheck v0.8.1 [INFO] [stderr] Compiling string_enum v1.0.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling rend v0.5.2 [INFO] [stderr] Compiling testing_macros v1.0.0 [INFO] [stderr] Compiling swc_ecma_codegen_macros v1.0.1 [INFO] [stderr] Compiling swc_trace_macro v2.0.0 [INFO] [stderr] Compiling swc_plugin_macro v1.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling miette v7.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rkyv v0.8.10 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling hstr v1.0.0 [INFO] [stderr] Compiling swc_allocator v4.0.0 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling swc_atoms v5.0.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling swc_core v16.4.1 [INFO] [stderr] Compiling sourcemap v9.1.2 [INFO] [stderr] Compiling swc_common v8.0.0 [INFO] [stderr] Compiling swc_ecma_ast v8.0.0 [INFO] [stderr] Compiling swc_error_reporters v9.1.0 [INFO] [stderr] Compiling testing v8.0.0 [INFO] [stderr] Compiling swc_ecma_testing v8.0.0 [INFO] [stderr] Compiling swc_ecma_visit v8.0.0 [INFO] [stderr] Compiling swc_ecma_parser v10.0.1 [INFO] [stderr] Compiling swc_ecma_codegen v8.0.2 [INFO] [stderr] Compiling swc_plugin_proxy v8.0.0 [INFO] [stderr] Compiling swc_ecma_utils v11.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_base v11.2.0 [INFO] [stderr] Compiling swc_ecma_transforms_testing v11.0.1 [INFO] [stderr] Compiling swc_plugin_remove_node_protocol v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "a0494ba476d49a276bd53d680eb49cc0e78d84a8216e6da77d4d9016e6aaf1ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0494ba476d49a276bd53d680eb49cc0e78d84a8216e6da77d4d9016e6aaf1ee", kill_on_drop: false }` [INFO] [stdout] a0494ba476d49a276bd53d680eb49cc0e78d84a8216e6da77d4d9016e6aaf1ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de398401068b2ae5a4ceb2691308182b69d49b425ca24d1d9e078c2b22c95434 [INFO] running `Command { std: "docker" "start" "-a" "de398401068b2ae5a4ceb2691308182b69d49b425ca24d1d9e078c2b22c95434", kill_on_drop: false }` [INFO] [stderr] Compiling swc_plugin_remove_node_protocol v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.60s [INFO] running `Command { std: "docker" "inspect" "de398401068b2ae5a4ceb2691308182b69d49b425ca24d1d9e078c2b22c95434", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de398401068b2ae5a4ceb2691308182b69d49b425ca24d1d9e078c2b22c95434", kill_on_drop: false }` [INFO] [stdout] de398401068b2ae5a4ceb2691308182b69d49b425ca24d1d9e078c2b22c95434 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 42ac27aa61df43871e545254a259419dd815394b6804a4e27d2e3a9482154823 [INFO] running `Command { std: "docker" "start" "-a" "42ac27aa61df43871e545254a259419dd815394b6804a4e27d2e3a9482154823", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swc_plugin_remove_node_protocol-182aad5c2fd4ee6f) [INFO] [stdout] running 1 test [INFO] [stdout] test tests::remove_node_protocol ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::remove_node_protocol 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-8.0.0/src/errors/stderr.rs:17 [INFO] [stdout] [INFO] [stdout] ----- Expected ----- [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-8.0.0/src/errors/stderr.rs:17 [INFO] [stdout] [INFO] [stdout] ----- Input ----- [INFO] [stdout] [INFO] [stdout] import fs from 'node:fs'; [INFO] [stdout] import path from 'node:path'; [INFO] [stdout] [INFO] [stdout] const dynamic = import('node:url'); [INFO] [stdout] const fs = require('node:fs'); [INFO] [stdout] const path = require.resolve('node:path'); [INFO] [stdout] [INFO] [stdout] export * as fs from 'node:fs'; [INFO] [stdout] export * from 'node:crypto'; [INFO] [stdout] export { readFile } from 'node:fs'; [INFO] [stdout] [INFO] [stdout] module.exports = { fs: require('node:fs') }; [INFO] [stdout] module.exports.fs = require('node:fs'); [INFO] [stdout] [INFO] [stdout] console.log('node:fs'); [INFO] [stdout] fn('node:fs') [INFO] [stdout] [INFO] [stdout] ----- Actual ----- [INFO] [stdout] ----- Comments ----- [INFO] [stdout] SingleThreadedComments { leading: RefCell { value: {} }, trailing: RefCell { value: {} } } [INFO] [stdout] DEBUG Renaming `fs#0` to `fs` [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_base-11.2.0/src/rename/analyzer/scope.rs:173 [INFO] [stdout] [INFO] [stdout] DEBUG Renaming `path#0` to `path` [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_base-11.2.0/src/rename/analyzer/scope.rs:173 [INFO] [stdout] [INFO] [stdout] DEBUG Renaming `dynamic#0` to `dynamic` [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_base-11.2.0/src/rename/analyzer/scope.rs:173 [INFO] [stdout] [INFO] [stdout] import fs from 'fs'; [INFO] [stdout] import path from 'path'; [INFO] [stdout] const dynamic = import('url'); [INFO] [stdout] const fs = require('fs'); [INFO] [stdout] const path = require.resolve('path'); [INFO] [stdout] export * as fs from 'fs'; [INFO] [stdout] export * from 'crypto'; [INFO] [stdout] export { readFile } from 'fs'; [INFO] [stdout] module.exports = { [INFO] [stdout] fs: require('fs') [INFO] [stdout] }; [INFO] [stdout] module.exports.fs = require('fs'); [INFO] [stdout] console.log('node:fs'); [INFO] [stdout] fn('node:fs'); [INFO] [stdout] [INFO] [stdout] DEBUG compare_to_file: failed to canonicalize outfile path `/opt/rustwide/workdir/tests/__swc_snapshots__/src/lib.rs/remove_node_protocol.js`: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/testing-8.0.0/src/output.rs:137 [INFO] [stdout] [INFO] [stdout] DEBUG Comparing output to /opt/rustwide/workdir/tests/__swc_snapshots__/src/lib.rs/remove_node_protocol.js [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/testing-8.0.0/src/output.rs:163 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::remove_node_protocol' (25) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/testing-8.0.0/src/output.rs:164:48: [INFO] [stdout] failed to run `mkdir -p`: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x644b16df34c2 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x644b16df34c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x644b16df34c2 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x644b16df34c2 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x644b16e0519f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x644b16e0519f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x644b16dc01b3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x644b16dc01b3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x644b16dcc3b2 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x644b16dd14af - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x644b16dd1341 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x644b1639bc2e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x644b1639bc2e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x644b16dd1b6f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x644b16dd1b6f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x644b16dd191a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x644b16dcc4e9 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x644b16db3e0d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x644b16e0f210 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x644b16e0e596 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x644b1655346c - core::result::Result::expect::h0745eedc8699dec8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x644b163c9a54 - testing::output::NormalizedOutput::compare_to_file::h907c1675f4bd80fc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/testing-8.0.0/src/output.rs:164:48 [INFO] [stdout] 22: 0x644b163c257b - swc_ecma_transforms_testing::test_fixture_inner::he52bb99b69e779f7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_testing-11.0.1/src/lib.rs:995:18 [INFO] [stdout] 23: 0x644b163763b5 - swc_ecma_transforms_testing::test_inlined_transform::h9d7ff1079c2b11c5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_testing-11.0.1/src/lib.rs:418:5 [INFO] [stdout] 24: 0x644b1637a682 - swc_plugin_remove_node_protocol::tests::remove_node_protocol::h929fdd2d4c0f498a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_testing-11.0.1/src/lib.rs:499:13 [INFO] [stdout] 25: 0x644b1637a6a7 - swc_plugin_remove_node_protocol::tests::remove_node_protocol::{{closure}}::h0653fe4894a92ce5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_transforms_testing-11.0.1/src/lib.rs:498:24 [INFO] [stdout] 26: 0x644b163799a6 - core::ops::function::FnOnce::call_once::h89940f0ebc323c7f [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x644b1639ba7b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x644b1639ba7b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: 0x644b163afa8d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: 0x644b163afa8d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 31: 0x644b163afa8d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 32: 0x644b163afa8d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 33: 0x644b163afa8d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x644b163afa8d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: 0x644b163afa8d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: 0x644b16388fd4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: 0x644b16388fd4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 38: 0x644b1638c90a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 39: 0x644b1638c90a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 40: 0x644b1638c90a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 41: 0x644b1638c90a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 42: 0x644b1638c90a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x644b1638c90a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 44: 0x644b1638c90a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x644b16dc773f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 46: 0x644b16dc773f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 47: 0x7da442045aa4 - [INFO] [stdout] 48: 0x7da4420d2a64 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::remove_node_protocol [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 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" "42ac27aa61df43871e545254a259419dd815394b6804a4e27d2e3a9482154823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ac27aa61df43871e545254a259419dd815394b6804a4e27d2e3a9482154823", kill_on_drop: false }` [INFO] [stdout] 42ac27aa61df43871e545254a259419dd815394b6804a4e27d2e3a9482154823