[INFO] fetching crate swc_ecma_quote 23.0.0... [INFO] testing swc_ecma_quote-23.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate swc_ecma_quote 23.0.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate swc_ecma_quote 23.0.0 [INFO] finished tweaking crates.io crate swc_ecma_quote 23.0.0 [INFO] tweaked toml for crates.io crate swc_ecma_quote 23.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_ecma_quote 23.0.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swc_ecma_quote 23.0.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hstr v2.0.1 [INFO] [stderr] Downloaded bytes-str v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6e70674af3931a7f61c4eea962e3787e49ccb230437caa0f6d2b1e11e887da8 [INFO] running `Command { std: "docker" "start" "-a" "a6e70674af3931a7f61c4eea962e3787e49ccb230437caa0f6d2b1e11e887da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6e70674af3931a7f61c4eea962e3787e49ccb230437caa0f6d2b1e11e887da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6e70674af3931a7f61c4eea962e3787e49ccb230437caa0f6d2b1e11e887da8", kill_on_drop: false }` [INFO] [stdout] a6e70674af3931a7f61c4eea962e3787e49ccb230437caa0f6d2b1e11e887da8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8157ffe4e74e299b8c1d042562bbfa583ebedea3b2ff100e1bdf444bfb2ed59 [INFO] running `Command { std: "docker" "start" "-a" "e8157ffe4e74e299b8c1d042562bbfa583ebedea3b2ff100e1bdf444bfb2ed59", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling better_scoped_tls v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling swc_visit v2.0.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling from_variant v2.0.2 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling ast_node v3.0.3 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [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 serde v1.0.219 [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 triomphe v0.1.14 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bytes-str v0.2.5 [INFO] [stderr] Compiling hstr v2.0.1 [INFO] [stderr] Compiling swc_atoms v7.0.0 [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 url v2.5.4 [INFO] [stderr] Compiling swc_common v14.0.3 [INFO] [stderr] Compiling swc_ecma_ast v15.0.0 [INFO] [stderr] Compiling swc_ecma_lexer v23.0.0 [INFO] [stderr] Compiling swc_ecma_parser v23.0.0 [INFO] [stderr] Compiling swc_ecma_quote_macros v23.0.0 [INFO] [stderr] Compiling swc_ecma_quote v23.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.50s [INFO] running `Command { std: "docker" "inspect" "e8157ffe4e74e299b8c1d042562bbfa583ebedea3b2ff100e1bdf444bfb2ed59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8157ffe4e74e299b8c1d042562bbfa583ebedea3b2ff100e1bdf444bfb2ed59", kill_on_drop: false }` [INFO] [stdout] e8157ffe4e74e299b8c1d042562bbfa583ebedea3b2ff100e1bdf444bfb2ed59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28943afff3626768371c1e5d61ba19e9b28b93bd70de74b856c4ed68a7114632 [INFO] running `Command { std: "docker" "start" "-a" "28943afff3626768371c1e5d61ba19e9b28b93bd70de74b856c4ed68a7114632", kill_on_drop: false }` [INFO] [stderr] Compiling swc_ecma_quote v23.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "28943afff3626768371c1e5d61ba19e9b28b93bd70de74b856c4ed68a7114632", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28943afff3626768371c1e5d61ba19e9b28b93bd70de74b856c4ed68a7114632", kill_on_drop: false }` [INFO] [stdout] 28943afff3626768371c1e5d61ba19e9b28b93bd70de74b856c4ed68a7114632 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 114f33cf2d7bb888c4e116d98378454b9511680ac406a298cec245494bb034a3 [INFO] running `Command { std: "docker" "start" "-a" "114f33cf2d7bb888c4e116d98378454b9511680ac406a298cec245494bb034a3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swc_ecma_quote-45130410a9fc7f74) [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] [stderr] Doc-tests swc_ecma_quote [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - quote (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - quote (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - quote (line 76) ... FAILED [INFO] [stdout] test src/lib.rs - quote (line 60) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - quote (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "import thing from \"$thing\";" as ModuleItem, [INFO] [stdout] 12 | | thing: Str = "foo".into(), [INFO] [stdout] 13 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "import thing from \"$thing\";" as ModuleItem, [INFO] [stdout] 12 | | thing: Str = "foo".into(), [INFO] [stdout] 13 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "import thing from \"$thing\";" as ModuleItem, [INFO] [stdout] 12 | | thing: Str = "foo".into(), [INFO] [stdout] 13 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::ModuleItem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "import thing from \"$thing\";" as ModuleItem, [INFO] [stdout] 12 | | thing: Str = "foo".into(), [INFO] [stdout] 13 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::ModuleDecl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "import thing from \"$thing\";" as ModuleItem, [INFO] [stdout] 12 | | thing: Str = "foo".into(), [INFO] [stdout] 13 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::ImportSpecifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "import thing from \"$thing\";" as ModuleItem, [INFO] [stdout] 12 | | thing: Str = "foo".into(), [INFO] [stdout] 13 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Ident; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "import thing from \"$thing\";" as ModuleItem, [INFO] [stdout] 12 | | thing: Str = "foo".into(), [INFO] [stdout] 13 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::ImportPhase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - quote (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Decl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use swc_common::SyntaxContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::VarDeclKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Pat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Lit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^^^------------------------ argument #3 of type `SyntaxContext` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_ast-15.0.0/src/ident.rs:589:18 [INFO] [stdout] | [INFO] [stdout] 589 | pub const fn new(sym: Atom, span: Span, ctxt: SyntaxContext) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = Ident::new("ref".into(), DUMMY_SP, /* SyntaxContext */)); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - quote (line 76) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | |___________________________________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | |___________________________________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | |___________________________________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | |___________________________________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Decl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | |___________________________________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use swc_common::SyntaxContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | |___________________________________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::VarDeclKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | |___________________________________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Pat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | |___________________________________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!("const $name = 4;" as Stmt, name = [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | |___________________________________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Lit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 11 | Ident::new("ref".into(), DUMMY_SP)); [INFO] [stdout] | ^^^^^^^^^^------------------------ argument #3 of type `SyntaxContext` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_ast-15.0.0/src/ident.rs:589:18 [INFO] [stdout] | [INFO] [stdout] 589 | pub const fn new(sym: Atom, span: Span, ctxt: SyntaxContext) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 11 | Ident::new("ref".into(), DUMMY_SP, /* SyntaxContext */)); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - quote (line 60) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "const $name = $val;" as Stmt, [INFO] [stdout] 12 | | name = Ident::new("ref".into(), DUMMY_SP), [INFO] [stdout] 13 | | val: Expr = 4.into(), [INFO] [stdout] 14 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "const $name = $val;" as Stmt, [INFO] [stdout] 12 | | name = Ident::new("ref".into(), DUMMY_SP), [INFO] [stdout] 13 | | val: Expr = 4.into(), [INFO] [stdout] 14 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Stmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "const $name = $val;" as Stmt, [INFO] [stdout] 12 | | name = Ident::new("ref".into(), DUMMY_SP), [INFO] [stdout] 13 | | val: Expr = 4.into(), [INFO] [stdout] 14 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Decl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "const $name = $val;" as Stmt, [INFO] [stdout] 12 | | name = Ident::new("ref".into(), DUMMY_SP), [INFO] [stdout] 13 | | val: Expr = 4.into(), [INFO] [stdout] 14 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use swc_common::SyntaxContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "const $name = $val;" as Stmt, [INFO] [stdout] 12 | | name = Ident::new("ref".into(), DUMMY_SP), [INFO] [stdout] 13 | | val: Expr = 4.into(), [INFO] [stdout] 14 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::VarDeclKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] --> src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 10 | let _stmt = quote!( [INFO] [stdout] | _____________^ [INFO] [stdout] 11 | | "const $name = $val;" as Stmt, [INFO] [stdout] 12 | | name = Ident::new("ref".into(), DUMMY_SP), [INFO] [stdout] 13 | | val: Expr = 4.into(), [INFO] [stdout] 14 | | ); [INFO] [stdout] | |_____________^ use of unresolved module or unlinked crate `swc_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `swc_core`, use `cargo add swc_core` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `$crate::swc_ecma_quote_macros::internal_quote` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use swc_ecma_ast::Pat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 12 | name = Ident::new("ref".into(), DUMMY_SP), [INFO] [stdout] | ^^^^^^^^^^------------------------ argument #3 of type `SyntaxContext` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/swc_ecma_ast-15.0.0/src/ident.rs:589:18 [INFO] [stdout] | [INFO] [stdout] 589 | pub const fn new(sym: Atom, span: Span, ctxt: SyntaxContext) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 12 | name = Ident::new("ref".into(), DUMMY_SP, /* SyntaxContext */), [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - quote (line 36) [INFO] [stdout] src/lib.rs - quote (line 60) [INFO] [stdout] src/lib.rs - quote (line 76) [INFO] [stdout] src/lib.rs - quote (line 92) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "114f33cf2d7bb888c4e116d98378454b9511680ac406a298cec245494bb034a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "114f33cf2d7bb888c4e116d98378454b9511680ac406a298cec245494bb034a3", kill_on_drop: false }` [INFO] [stdout] 114f33cf2d7bb888c4e116d98378454b9511680ac406a298cec245494bb034a3