[INFO] cloning repository https://github.com/sudo-self/swc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sudo-self/swc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo-self%2Fswc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo-self%2Fswc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22fb227819b45ccfadb5fc05411218bc574d85bd [INFO] testing sudo-self/swc against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudo-self%2Fswc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 11% (7487/66368) Updating files: 12% (7965/66368) Updating files: 13% (8628/66368) Updating files: 14% (9292/66368) Updating files: 15% (9956/66368) Updating files: 16% (10619/66368) Updating files: 17% (11283/66368) Updating files: 18% (11947/66368) Updating files: 19% (12610/66368) Updating files: 20% (13274/66368) Updating files: 21% (13938/66368) Updating files: 22% (14601/66368) Updating files: 23% (15265/66368) Updating files: 24% (15929/66368) Updating files: 24% (16321/66368) Updating files: 25% (16592/66368) Updating files: 26% (17256/66368) Updating files: 27% (17920/66368) Updating files: 28% (18584/66368) Updating files: 29% (19247/66368) Updating files: 30% (19911/66368) Updating files: 31% (20575/66368) Updating files: 32% (21238/66368) Updating files: 33% (21902/66368) Updating files: 34% (22566/66368) Updating files: 35% (23229/66368) Updating files: 36% (23893/66368) Updating files: 37% (24557/66368) Updating files: 37% (25013/66368) Updating files: 38% (25220/66368) Updating files: 39% (25884/66368) Updating files: 40% (26548/66368) Updating files: 41% (27211/66368) Updating files: 42% (27875/66368) Updating files: 43% (28539/66368) Updating files: 44% (29202/66368) Updating files: 44% (29493/66368) Updating files: 45% (29866/66368) Updating files: 46% (30530/66368) Updating files: 47% (31193/66368) Updating files: 48% (31857/66368) Updating files: 49% (32521/66368) Updating files: 50% (33184/66368) Updating files: 51% (33848/66368) Updating files: 52% (34512/66368) Updating files: 53% (35176/66368) Updating files: 54% (35839/66368) Updating files: 55% (36503/66368) Updating files: 56% (37167/66368) Updating files: 57% (37830/66368) Updating files: 58% (38494/66368) Updating files: 59% (39158/66368) Updating files: 59% (39199/66368) Updating files: 60% (39821/66368) Updating files: 61% (40485/66368) Updating files: 62% (41149/66368) Updating files: 63% (41812/66368) Updating files: 64% (42476/66368) Updating files: 65% (43140/66368) Updating files: 66% (43803/66368) Updating files: 66% (44125/66368) Updating files: 67% (44467/66368) Updating files: 68% (45131/66368) Updating files: 69% (45794/66368) Updating files: 70% (46458/66368) Updating files: 71% (47122/66368) Updating files: 72% (47785/66368) Updating files: 73% (48449/66368) Updating files: 73% (49067/66368) Updating files: 74% (49113/66368) Updating files: 75% (49776/66368) Updating files: 76% (50440/66368) Updating files: 77% (51104/66368) Updating files: 78% (51768/66368) Updating files: 79% (52431/66368) Updating files: 80% (53095/66368) Updating files: 81% (53759/66368) Updating files: 82% (54422/66368) Updating files: 83% (55086/66368) Updating files: 84% (55750/66368) Updating files: 85% (56413/66368) Updating files: 86% (57077/66368) Updating files: 87% (57741/66368) Updating files: 87% (58242/66368) Updating files: 88% (58404/66368) Updating files: 89% (59068/66368) Updating files: 90% (59732/66368) Updating files: 91% (60395/66368) Updating files: 92% (61059/66368) Updating files: 93% (61723/66368) Updating files: 94% (62386/66368) Updating files: 95% (63050/66368) Updating files: 96% (63714/66368) Updating files: 97% (64377/66368) Updating files: 98% (65041/66368) Updating files: 99% (65705/66368) Updating files: 100% (66368/66368) Updating files: 100% (66368/66368), done. [INFO] validating manifest of git repo https://github.com/sudo-self/swc on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/sudo-self/swc [INFO] finished tweaking git repo https://github.com/sudo-self/swc [INFO] tweaked toml for git repo https://github.com/sudo-self/swc written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sudo-self/swc 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-2025-02-18" "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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7920007a2052bce66fda48284c626bb317b24846db5c7844b790b4447a01dd74 [INFO] running `Command { std: "docker" "start" "-a" "7920007a2052bce66fda48284c626bb317b24846db5c7844b790b4447a01dd74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7920007a2052bce66fda48284c626bb317b24846db5c7844b790b4447a01dd74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7920007a2052bce66fda48284c626bb317b24846db5c7844b790b4447a01dd74", kill_on_drop: false }` [INFO] [stdout] 7920007a2052bce66fda48284c626bb317b24846db5c7844b790b4447a01dd74 [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e74e3498ee22340b1a7162ce579be8e39e66698f3cb1e9368910100a829ad2f9 [INFO] running `Command { std: "docker" "start" "-a" "e74e3498ee22340b1a7162ce579be8e39e66698f3cb1e9368910100a829ad2f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling smallvec v1.12.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling swc_macros_common v0.3.9 (/opt/rustwide/workdir/crates/swc_macros_common) [INFO] [stderr] Compiling pmutil v0.6.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> crates/swc_macros_common/src/lib.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(procmacro2_semver_exempt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> crates/swc_macros_common/src/lib.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(not(procmacro2_semver_exempt))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> crates/swc_macros_common/src/lib.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(procmacro2_semver_exempt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling const-random v0.1.17 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling unicode-id v0.3.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling better_scoped_tls v0.1.1 (/opt/rustwide/workdir/crates/better_scoped_tls) [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling winnow v0.5.34 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling bytecheck v0.6.11 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling simdutf8 v0.1.4 [INFO] [stderr] Compiling rend v0.4.1 [INFO] [stderr] Compiling cranelift-isle v0.91.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling ryu-js v1.0.0 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling rkyv v0.7.42 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling cranelift-codegen-shared v0.91.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.91.1 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Compiling wai-parser v0.2.3 [INFO] [stderr] Compiling supports-color v1.3.1 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling supports-hyperlinks v1.2.0 [INFO] [stderr] Compiling supports-unicode v1.0.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling corosensei v0.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cranelift-entity v0.91.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling cranelift-codegen v0.91.1 [INFO] [stderr] Compiling wai-bindgen-gen-core v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling swc_visit_macros v0.5.9 (/opt/rustwide/workdir/crates/swc_visit_macros) [INFO] [stderr] Compiling from_variant v0.1.7 (/opt/rustwide/workdir/crates/from_variant) [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.3 (/opt/rustwide/workdir/crates/swc_eq_ignore_macros) [INFO] [stderr] Compiling ast_node v0.9.6 (/opt/rustwide/workdir/crates/ast_node) [INFO] [stderr] Compiling string_enum v0.4.2 (/opt/rustwide/workdir/crates/string_enum) [INFO] [stderr] Compiling is-macro v0.3.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling hstr v0.2.7 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling swc_ecma_transforms_macros v0.5.4 (/opt/rustwide/workdir/crates/swc_ecma_transforms_macros) [INFO] [stderr] Compiling swc_trace_macro v0.1.3 (/opt/rustwide/workdir/crates/swc_trace_macro) [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling swc_config_macro v0.1.3 (/opt/rustwide/workdir/crates/swc_config_macro) [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.11 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.4 (/opt/rustwide/workdir/crates/swc_ecma_codegen_macros) [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> crates/swc_ecma_codegen_macros/src/fold.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(procmacro2_semver_exempt)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `procmacro2_semver_exempt` [INFO] [stdout] --> crates/swc_ecma_codegen_macros/src/fold.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(not(procmacro2_semver_exempt))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(procmacro2_semver_exempt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(procmacro2_semver_exempt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling miette-derive v4.7.1 [INFO] [stderr] Compiling swc_visit v0.5.8 (/opt/rustwide/workdir/crates/swc_visit) [INFO] [stderr] Compiling rkyv_derive v0.7.43 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling enumset_derive v0.8.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling sourcemap v6.4.1 [INFO] [stderr] Compiling swc_atoms v0.6.5 (/opt/rustwide/workdir/crates/swc_atoms) [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling swc_common v0.33.12 (/opt/rustwide/workdir/crates/swc_common) [INFO] [stderr] Compiling swc_config v0.1.9 (/opt/rustwide/workdir/crates/swc_config) [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling swc_ecma_ast v0.110.17 (/opt/rustwide/workdir/crates/swc_ecma_ast) [INFO] [stderr] Compiling swc_cached v0.3.18 (/opt/rustwide/workdir/crates/swc_cached) [INFO] [stderr] Compiling swc_fast_graph v0.21.13 (/opt/rustwide/workdir/crates/swc_fast_graph) [INFO] [stdout] warning: unexpected `cfg` condition name: `c` [INFO] [stdout] --> crates/swc_ecma_ast/src/class.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg_attr(c, serde(default))] [INFO] [stdout] | ^ help: found config with similar value: `target_feature = "c"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(c)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(c)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling swc_css_ast v0.140.14 (/opt/rustwide/workdir/crates/swc_css_ast) [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling browserslist-rs v0.13.0 [INFO] [stderr] Compiling lru v0.10.1 [INFO] [stderr] Compiling miette v4.7.1 [INFO] [stderr] Compiling enumset v1.1.3 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling enum-iterator v0.7.0 [INFO] [stderr] Compiling swc_timer v0.21.14 (/opt/rustwide/workdir/crates/swc_timer) [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling swc_ecma_visit v0.96.17 (/opt/rustwide/workdir/crates/swc_ecma_visit) [INFO] [stderr] Compiling swc_ecma_parser v0.141.37 (/opt/rustwide/workdir/crates/swc_ecma_parser) [INFO] [stderr] Compiling swc_ecma_codegen v0.146.55 (/opt/rustwide/workdir/crates/swc_ecma_codegen) [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-impl` [INFO] [stdout] --> crates/swc_ecma_parser/src/parser/expr.rs:1960:1 [INFO] [stdout] | [INFO] [stdout] 1960 | #[ast_node] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug`, `default`, `stacker`, `swc_ecma_visit`, `typescript`, and `verify` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ast_node` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ast_node` may come from an old version of the `ast_node` crate, try updating your dependency with `cargo update -p ast_node` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `ast_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rkyv-impl` [INFO] [stdout] --> crates/swc_ecma_parser/src/parser/expr.rs:1960:1 [INFO] [stdout] | [INFO] [stdout] 1960 | #[ast_node] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug`, `default`, `stacker`, `swc_ecma_visit`, `typescript`, and `verify` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ast_node` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ast_node` may come from an old version of the `ast_node` crate, try updating your dependency with `cargo update -p ast_node` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `ast_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__rkyv` [INFO] [stdout] --> crates/swc_ecma_parser/src/parser/expr.rs:1960:1 [INFO] [stdout] | [INFO] [stdout] 1960 | #[ast_node] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug`, `default`, `stacker`, `swc_ecma_visit`, `typescript`, and `verify` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ast_node` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ast_node` may come from an old version of the `ast_node` crate, try updating your dependency with `cargo update -p ast_node` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `ast_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-impl` [INFO] [stdout] --> crates/swc_ecma_parser/src/parser/expr.rs:1960:1 [INFO] [stdout] | [INFO] [stdout] 1960 | #[ast_node] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `debug`, `default`, `stacker`, `swc_ecma_visit`, `typescript`, and `verify` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `::swc_common::DeserializeEnum` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `::swc_common::DeserializeEnum` may come from an old version of the `ast_node` crate, try updating your dependency with `cargo update -p ast_node` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `::swc_common::DeserializeEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling path-clean v0.1.0 [INFO] [stderr] Compiling more-asserts v0.2.2 [INFO] [stderr] Compiling radix_fmt v1.0.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_program` [INFO] [stdout] 116 | pub fn emit_program(&mut self, node: &Program) -> Result { [INFO] [stdout] | ------- `Program` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_module` [INFO] [stdout] 126 | pub fn emit_module(&mut self, node: &Module) -> Result { [INFO] [stdout] | ------ `Module` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_script` [INFO] [stdout] 149 | pub fn emit_script(&mut self, node: &Script) -> Result { [INFO] [stdout] | ------ `Script` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_module_item` [INFO] [stdout] 172 | pub fn emit_module_item(&mut self, node: &ModuleItem) -> Result { [INFO] [stdout] | ---------- `ModuleItem` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_module_decl` [INFO] [stdout] 182 | fn emit_module_decl(&mut self, node: &ModuleDecl) -> Result { [INFO] [stdout] | ---------- `ModuleDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_export_decl` [INFO] [stdout] 205 | fn emit_export_decl(&mut self, n: &ExportDecl) -> Result { [INFO] [stdout] | ---------- `ExportDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_export_default_expr` [INFO] [stdout] 229 | fn emit_export_default_expr(&mut self, n: &ExportDefaultExpr) -> Result { [INFO] [stdout] | ----------------- `ExportDefaultExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_export_default_decl` [INFO] [stdout] 251 | fn emit_export_default_decl(&mut self, n: &ExportDefaultDecl) -> Result { [INFO] [stdout] | ----------------- `ExportDefaultDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_import` [INFO] [stdout] 269 | fn emit_import(&mut self, n: &ImportDecl) -> Result { [INFO] [stdout] | ---------- `ImportDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_import_specific` [INFO] [stdout] 366 | fn emit_import_specific(&mut self, node: &ImportNamedSpecifier) -> Result { [INFO] [stdout] | -------------------- `ImportNamedSpecifier` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_export_specifier` [INFO] [stdout] 387 | fn emit_export_specifier(&mut self, node: &ExportSpecifier) -> Result { [INFO] [stdout] | --------------- `ExportSpecifier` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_namespace_export_specifier` [INFO] [stdout] 398 | fn emit_namespace_export_specifier(&mut self, node: &ExportNamespaceSpecifier) -> Result { [INFO] [stdout] | ------------------------ `ExportNamespaceSpecifier` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_named_export_specifier` [INFO] [stdout] 413 | fn emit_named_export_specifier(&mut self, node: &ExportNamedSpecifier) -> Result { [INFO] [stdout] | -------------------- `ExportNamedSpecifier` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_named_export` [INFO] [stdout] 436 | fn emit_named_export(&mut self, node: &NamedExport) -> Result { [INFO] [stdout] | ----------- `NamedExport` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:527:5 [INFO] [stdout] | [INFO] [stdout] 527 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_export_all` [INFO] [stdout] 528 | fn emit_export_all(&mut self, node: &ExportAll) -> Result { [INFO] [stdout] | --------- `ExportAll` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:565:5 [INFO] [stdout] | [INFO] [stdout] 565 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] 566 | #[tracing::instrument(skip_all)] [INFO] [stdout] | -------------------------------- move the `impl` block outside of this method `emit_lit` [INFO] [stdout] 567 | fn emit_lit(&mut self, node: &Lit) -> Result { [INFO] [stdout] | --- `Lit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:600:5 [INFO] [stdout] | [INFO] [stdout] 600 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] 601 | #[tracing::instrument(skip_all)] [INFO] [stdout] | -------------------------------- move the `impl` block outside of this method `emit_str_lit` [INFO] [stdout] 602 | fn emit_str_lit(&mut self, node: &Str) -> Result { [INFO] [stdout] | --- `Str` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:645:5 [INFO] [stdout] | [INFO] [stdout] 645 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] 646 | #[tracing::instrument(skip_all)] [INFO] [stdout] | -------------------------------- move the `impl` block outside of this method `emit_num_lit` [INFO] [stdout] 647 | fn emit_num_lit(&mut self, num: &Number) -> Result { [INFO] [stdout] | ------ `Number` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 745 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_big_lit` [INFO] [stdout] 746 | fn emit_big_lit(&mut self, v: &BigInt) -> Result { [INFO] [stdout] | ------ `BigInt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 800 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_callee` [INFO] [stdout] 801 | fn emit_callee(&mut self, node: &Callee) -> Result { [INFO] [stdout] | ------ `Callee` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:815:5 [INFO] [stdout] | [INFO] [stdout] 815 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_super` [INFO] [stdout] 816 | fn emit_super(&mut self, node: &Super) -> Result { [INFO] [stdout] | ----- `Super` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:820:5 [INFO] [stdout] | [INFO] [stdout] 820 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_import_callee` [INFO] [stdout] 821 | fn emit_import_callee(&mut self, node: &Import) -> Result { [INFO] [stdout] | ------ `Import` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:825:5 [INFO] [stdout] | [INFO] [stdout] 825 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] 826 | #[tracing::instrument(skip_all)] [INFO] [stdout] | -------------------------------- move the `impl` block outside of this method `emit_expr` [INFO] [stdout] 827 | fn emit_expr(&mut self, node: &Expr) -> Result { [INFO] [stdout] | ---- `Expr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:878:5 [INFO] [stdout] | [INFO] [stdout] 878 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_opt_chain` [INFO] [stdout] 879 | fn emit_opt_chain(&mut self, n: &OptChainExpr) -> Result { [INFO] [stdout] | ------------ `OptChainExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:916:5 [INFO] [stdout] | [INFO] [stdout] 916 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_invalid` [INFO] [stdout] 917 | fn emit_invalid(&mut self, n: &Invalid) -> Result { [INFO] [stdout] | ------- `Invalid` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:923:5 [INFO] [stdout] | [INFO] [stdout] 923 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_call_expr` [INFO] [stdout] 924 | fn emit_call_expr(&mut self, node: &CallExpr) -> Result { [INFO] [stdout] | -------- `CallExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:985:5 [INFO] [stdout] | [INFO] [stdout] 985 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_new_expr` [INFO] [stdout] 986 | fn emit_new_expr(&mut self, node: &NewExpr) -> Result { [INFO] [stdout] | ------- `NewExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:990:5 [INFO] [stdout] | [INFO] [stdout] 990 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_member_expr` [INFO] [stdout] 991 | fn emit_member_expr(&mut self, node: &MemberExpr) -> Result { [INFO] [stdout] | ---------- `MemberExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1043:5 [INFO] [stdout] | [INFO] [stdout] 1043 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_super_expr` [INFO] [stdout] 1044 | fn emit_super_expr(&mut self, node: &SuperPropExpr) -> Result { [INFO] [stdout] | ------------- `SuperPropExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1063:5 [INFO] [stdout] | [INFO] [stdout] 1063 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_arrow_expr` [INFO] [stdout] 1064 | fn emit_arrow_expr(&mut self, node: &ArrowExpr) -> Result { [INFO] [stdout] | --------- `ArrowExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1115:5 [INFO] [stdout] | [INFO] [stdout] 1115 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_meta_prop_expr` [INFO] [stdout] 1116 | fn emit_meta_prop_expr(&mut self, node: &MetaPropExpr) -> Result { [INFO] [stdout] | ------------ `MetaPropExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1130:5 [INFO] [stdout] | [INFO] [stdout] 1130 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_seq_expr` [INFO] [stdout] 1131 | fn emit_seq_expr(&mut self, node: &SeqExpr) -> Result { [INFO] [stdout] | ------- `SeqExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1150:5 [INFO] [stdout] | [INFO] [stdout] 1150 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_assign_expr` [INFO] [stdout] 1151 | fn emit_assign_expr(&mut self, node: &AssignExpr) -> Result { [INFO] [stdout] | ---------- `AssignExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1223:5 [INFO] [stdout] | [INFO] [stdout] 1223 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_bin_expr` [INFO] [stdout] 1224 | fn emit_bin_expr(&mut self, node: &BinExpr) -> Result { [INFO] [stdout] | ------- `BinExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1259:5 [INFO] [stdout] | [INFO] [stdout] 1259 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_decorator` [INFO] [stdout] 1260 | fn emit_decorator(&mut self, node: &Decorator) -> Result { [INFO] [stdout] | --------- `Decorator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1272:5 [INFO] [stdout] | [INFO] [stdout] 1272 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_class_expr` [INFO] [stdout] 1273 | fn emit_class_expr(&mut self, node: &ClassExpr) -> Result { [INFO] [stdout] | --------- `ClassExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1293:5 [INFO] [stdout] | [INFO] [stdout] 1293 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_class_trailing` [INFO] [stdout] 1294 | fn emit_class_trailing(&mut self, node: &Class) -> Result { [INFO] [stdout] | ----- `Class` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1336:5 [INFO] [stdout] | [INFO] [stdout] 1336 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] 1337 | #[tracing::instrument(skip_all)] [INFO] [stdout] | -------------------------------- move the `impl` block outside of this method `emit_class_member` [INFO] [stdout] 1338 | fn emit_class_member(&mut self, node: &ClassMember) -> Result { [INFO] [stdout] | ----------- `ClassMember` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1352:5 [INFO] [stdout] | [INFO] [stdout] 1352 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_auto_accessor` [INFO] [stdout] 1353 | fn emit_auto_accessor(&mut self, n: &AutoAccessor) -> Result { [INFO] [stdout] | ------------ `AutoAccessor` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1376:5 [INFO] [stdout] | [INFO] [stdout] 1376 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_key` [INFO] [stdout] 1377 | fn emit_key(&mut self, n: &Key) -> Result { [INFO] [stdout] | --- `Key` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1384:5 [INFO] [stdout] | [INFO] [stdout] 1384 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_private_method` [INFO] [stdout] 1385 | fn emit_private_method(&mut self, n: &PrivateMethod) -> Result { [INFO] [stdout] | ------------- `PrivateMethod` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1423:5 [INFO] [stdout] | [INFO] [stdout] 1423 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_bool` [INFO] [stdout] 1424 | fn emit_bool(&mut self, n: &Bool) -> Result { [INFO] [stdout] | ---- `Bool` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1434:5 [INFO] [stdout] | [INFO] [stdout] 1434 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_class_method` [INFO] [stdout] 1435 | fn emit_class_method(&mut self, n: &ClassMethod) -> Result { [INFO] [stdout] | ----------- `ClassMethod` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1543:5 [INFO] [stdout] | [INFO] [stdout] 1543 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_private_prop` [INFO] [stdout] 1544 | fn emit_private_prop(&mut self, n: &PrivateProp) -> Result { [INFO] [stdout] | ----------- `PrivateProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1602:5 [INFO] [stdout] | [INFO] [stdout] 1602 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_class_prop` [INFO] [stdout] 1603 | fn emit_class_prop(&mut self, n: &ClassProp) -> Result { [INFO] [stdout] | --------- `ClassProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1687:5 [INFO] [stdout] | [INFO] [stdout] 1687 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] 1688 | #[tracing::instrument(skip_all)] [INFO] [stdout] | -------------------------------- move the `impl` block outside of this method `emit_class_constructor` [INFO] [stdout] 1689 | fn emit_class_constructor(&mut self, n: &Constructor) -> Result { [INFO] [stdout] | ----------- `Constructor` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1708:5 [INFO] [stdout] | [INFO] [stdout] 1708 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_static_block` [INFO] [stdout] 1709 | fn emit_static_block(&mut self, n: &StaticBlock) -> Result { [INFO] [stdout] | ----------- `StaticBlock` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1720:5 [INFO] [stdout] | [INFO] [stdout] 1720 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_prop_name` [INFO] [stdout] 1721 | fn emit_prop_name(&mut self, node: &PropName) -> Result { [INFO] [stdout] | -------- `PropName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1759:5 [INFO] [stdout] | [INFO] [stdout] 1759 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_computed_prop_name` [INFO] [stdout] 1760 | fn emit_computed_prop_name(&mut self, n: &ComputedPropName) -> Result { [INFO] [stdout] | ---------------- `ComputedPropName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1770:5 [INFO] [stdout] | [INFO] [stdout] 1770 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_cond_expr` [INFO] [stdout] 1771 | fn emit_cond_expr(&mut self, node: &CondExpr) -> Result { [INFO] [stdout] | -------- `CondExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1787:5 [INFO] [stdout] | [INFO] [stdout] 1787 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_fn_expr` [INFO] [stdout] 1788 | fn emit_fn_expr(&mut self, n: &FnExpr) -> Result { [INFO] [stdout] | ------ `FnExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1815:5 [INFO] [stdout] | [INFO] [stdout] 1815 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_fn_trailing` [INFO] [stdout] 1816 | fn emit_fn_trailing(&mut self, node: &Function) -> Result { [INFO] [stdout] | -------- `Function` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1841:5 [INFO] [stdout] | [INFO] [stdout] 1841 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_block_stmt_or_expr` [INFO] [stdout] 1842 | fn emit_block_stmt_or_expr(&mut self, node: &BlockStmtOrExpr) -> Result { [INFO] [stdout] | --------------- `BlockStmtOrExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1855:5 [INFO] [stdout] | [INFO] [stdout] 1855 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_this_expr` [INFO] [stdout] 1856 | fn emit_this_expr(&mut self, node: &ThisExpr) -> Result { [INFO] [stdout] | -------- `ThisExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1862:5 [INFO] [stdout] | [INFO] [stdout] 1862 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_tpl_lit` [INFO] [stdout] 1863 | fn emit_tpl_lit(&mut self, node: &Tpl) -> Result { [INFO] [stdout] | --- `Tpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1887:5 [INFO] [stdout] | [INFO] [stdout] 1887 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_quasi` [INFO] [stdout] 1888 | fn emit_quasi(&mut self, node: &TplElement) -> Result { [INFO] [stdout] | ---------- `TplElement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1901:5 [INFO] [stdout] | [INFO] [stdout] 1901 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_tagged_tpl_lit` [INFO] [stdout] 1902 | fn emit_tagged_tpl_lit(&mut self, node: &TaggedTpl) -> Result { [INFO] [stdout] | --------- `TaggedTpl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1955:5 [INFO] [stdout] | [INFO] [stdout] 1955 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_unary_expr` [INFO] [stdout] 1956 | fn emit_unary_expr(&mut self, n: &UnaryExpr) -> Result { [INFO] [stdout] | --------- `UnaryExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1982:5 [INFO] [stdout] | [INFO] [stdout] 1982 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_update_expr` [INFO] [stdout] 1983 | fn emit_update_expr(&mut self, node: &UpdateExpr) -> Result { [INFO] [stdout] | ---------- `UpdateExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:1998:5 [INFO] [stdout] | [INFO] [stdout] 1998 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_yield_expr` [INFO] [stdout] 1999 | fn emit_yield_expr(&mut self, node: &YieldExpr) -> Result { [INFO] [stdout] | --------- `YieldExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2039:5 [INFO] [stdout] | [INFO] [stdout] 2039 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_expr_or_spread` [INFO] [stdout] 2040 | fn emit_expr_or_spread(&mut self, node: &ExprOrSpread) -> Result { [INFO] [stdout] | ------------ `ExprOrSpread` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2052:5 [INFO] [stdout] | [INFO] [stdout] 2052 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_await_expr` [INFO] [stdout] 2053 | fn emit_await_expr(&mut self, n: &AwaitExpr) -> Result { [INFO] [stdout] | --------- `AwaitExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2064:5 [INFO] [stdout] | [INFO] [stdout] 2064 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_array_lit` [INFO] [stdout] 2065 | fn emit_array_lit(&mut self, node: &ArrayLit) -> Result { [INFO] [stdout] | -------- `ArrayLit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2082:5 [INFO] [stdout] | [INFO] [stdout] 2082 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_object_lit` [INFO] [stdout] 2083 | fn emit_object_lit(&mut self, node: &ObjectLit) -> Result { [INFO] [stdout] | --------- `ObjectLit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2114:5 [INFO] [stdout] | [INFO] [stdout] 2114 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_prop` [INFO] [stdout] 2115 | fn emit_prop(&mut self, node: &Prop) -> Result { [INFO] [stdout] | ---- `Prop` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2126:5 [INFO] [stdout] | [INFO] [stdout] 2126 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_kv_prop` [INFO] [stdout] 2127 | fn emit_kv_prop(&mut self, node: &KeyValueProp) -> Result { [INFO] [stdout] | ------------ `KeyValueProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2146:5 [INFO] [stdout] | [INFO] [stdout] 2146 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_assign_prop` [INFO] [stdout] 2147 | fn emit_assign_prop(&mut self, node: &AssignProp) -> Result { [INFO] [stdout] | ---------- `AssignProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2157:5 [INFO] [stdout] | [INFO] [stdout] 2157 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_getter_prop` [INFO] [stdout] 2158 | fn emit_getter_prop(&mut self, node: &GetterProp) -> Result { [INFO] [stdout] | ---------- `GetterProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2182:5 [INFO] [stdout] | [INFO] [stdout] 2182 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_setter_prop` [INFO] [stdout] 2183 | fn emit_setter_prop(&mut self, node: &SetterProp) -> Result { [INFO] [stdout] | ---------- `SetterProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2211:5 [INFO] [stdout] | [INFO] [stdout] 2211 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_method_prop` [INFO] [stdout] 2212 | fn emit_method_prop(&mut self, node: &MethodProp) -> Result { [INFO] [stdout] | ---------- `MethodProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2232:5 [INFO] [stdout] | [INFO] [stdout] 2232 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_paren_expr` [INFO] [stdout] 2233 | fn emit_paren_expr(&mut self, node: &ParenExpr) -> Result { [INFO] [stdout] | --------- `ParenExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2247:5 [INFO] [stdout] | [INFO] [stdout] 2247 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_private_name` [INFO] [stdout] 2248 | fn emit_private_name(&mut self, n: &PrivateName) -> Result { [INFO] [stdout] | ----------- `PrivateName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2259:5 [INFO] [stdout] | [INFO] [stdout] 2259 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_binding_ident` [INFO] [stdout] 2260 | fn emit_binding_ident(&mut self, ident: &BindingIdent) -> Result { [INFO] [stdout] | ------------ `BindingIdent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2275:5 [INFO] [stdout] | [INFO] [stdout] 2275 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ident` [INFO] [stdout] 2276 | fn emit_ident(&mut self, ident: &Ident) -> Result { [INFO] [stdout] | ----- `Ident` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2657:5 [INFO] [stdout] | [INFO] [stdout] 2657 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_param` [INFO] [stdout] 2658 | fn emit_param(&mut self, node: &Param) -> Result { [INFO] [stdout] | ----- `Param` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2670:5 [INFO] [stdout] | [INFO] [stdout] 2670 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_pat` [INFO] [stdout] 2671 | fn emit_pat(&mut self, node: &Pat) -> Result { [INFO] [stdout] | --- `Pat` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2687:5 [INFO] [stdout] | [INFO] [stdout] 2687 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_rest_pat` [INFO] [stdout] 2688 | fn emit_rest_pat(&mut self, node: &RestPat) -> Result { [INFO] [stdout] | ------- `RestPat` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2701:5 [INFO] [stdout] | [INFO] [stdout] 2701 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_prop_or_spread` [INFO] [stdout] 2702 | fn emit_prop_or_spread(&mut self, node: &PropOrSpread) -> Result { [INFO] [stdout] | ------------ `PropOrSpread` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2709:5 [INFO] [stdout] | [INFO] [stdout] 2709 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_spread_element` [INFO] [stdout] 2710 | fn emit_spread_element(&mut self, node: &SpreadElement) -> Result { [INFO] [stdout] | ------------- `SpreadElement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2723:5 [INFO] [stdout] | [INFO] [stdout] 2723 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_pat_or_expr` [INFO] [stdout] 2724 | fn emit_pat_or_expr(&mut self, node: &PatOrExpr) -> Result { [INFO] [stdout] | --------- `PatOrExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2731:5 [INFO] [stdout] | [INFO] [stdout] 2731 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_array_pat` [INFO] [stdout] 2732 | fn emit_array_pat(&mut self, node: &ArrayPat) -> Result { [INFO] [stdout] | -------- `ArrayPat` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2757:5 [INFO] [stdout] | [INFO] [stdout] 2757 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_assign_pat` [INFO] [stdout] 2758 | fn emit_assign_pat(&mut self, node: &AssignPat) -> Result { [INFO] [stdout] | --------- `AssignPat` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2772:5 [INFO] [stdout] | [INFO] [stdout] 2772 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_object_pat` [INFO] [stdout] 2773 | fn emit_object_pat(&mut self, node: &ObjectPat) -> Result { [INFO] [stdout] | --------- `ObjectPat` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2800:5 [INFO] [stdout] | [INFO] [stdout] 2800 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_object_pat_prop` [INFO] [stdout] 2801 | fn emit_object_pat_prop(&mut self, node: &ObjectPatProp) -> Result { [INFO] [stdout] | ------------- `ObjectPatProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2809:5 [INFO] [stdout] | [INFO] [stdout] 2809 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_object_kv_pat` [INFO] [stdout] 2810 | fn emit_object_kv_pat(&mut self, node: &KeyValuePatProp) -> Result { [INFO] [stdout] | --------------- `KeyValuePatProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2823:5 [INFO] [stdout] | [INFO] [stdout] 2823 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_object_assign_pat` [INFO] [stdout] 2824 | fn emit_object_assign_pat(&mut self, node: &AssignPatProp) -> Result { [INFO] [stdout] | ------------- `AssignPatProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2840:5 [INFO] [stdout] | [INFO] [stdout] 2840 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_for_head` [INFO] [stdout] 2841 | fn emit_for_head(&mut self, node: &ForHead) -> Result { [INFO] [stdout] | ------- `ForHead` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2856:5 [INFO] [stdout] | [INFO] [stdout] 2856 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_stmt` [INFO] [stdout] 2857 | fn emit_stmt(&mut self, node: &Stmt) -> Result { [INFO] [stdout] | ---- `Stmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2895:5 [INFO] [stdout] | [INFO] [stdout] 2895 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] 2896 | #[tracing::instrument(skip_all)] [INFO] [stdout] | -------------------------------- move the `impl` block outside of this method `emit_expr_stmt` [INFO] [stdout] 2897 | fn emit_expr_stmt(&mut self, e: &ExprStmt) -> Result { [INFO] [stdout] | -------- `ExprStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2905:5 [INFO] [stdout] | [INFO] [stdout] 2905 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] 2906 | #[tracing::instrument(skip_all)] [INFO] [stdout] | -------------------------------- move the `impl` block outside of this method `emit_block_stmt` [INFO] [stdout] 2907 | fn emit_block_stmt(&mut self, node: &BlockStmt) -> Result { [INFO] [stdout] | --------- `BlockStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2938:5 [INFO] [stdout] | [INFO] [stdout] 2938 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_empty_stmt` [INFO] [stdout] 2939 | fn emit_empty_stmt(&mut self, node: &EmptyStmt) -> Result { [INFO] [stdout] | --------- `EmptyStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2945:5 [INFO] [stdout] | [INFO] [stdout] 2945 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_debugger_stmt` [INFO] [stdout] 2946 | fn emit_debugger_stmt(&mut self, node: &DebuggerStmt) -> Result { [INFO] [stdout] | ------------ `DebuggerStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:2955:5 [INFO] [stdout] | [INFO] [stdout] 2955 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_with_stmt` [INFO] [stdout] 2956 | fn emit_with_stmt(&mut self, node: &WithStmt) -> Result { [INFO] [stdout] | -------- `WithStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3105:5 [INFO] [stdout] | [INFO] [stdout] 3105 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_return_stmt` [INFO] [stdout] 3106 | fn emit_return_stmt(&mut self, n: &ReturnStmt) -> Result { [INFO] [stdout] | ---------- `ReturnStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3138:5 [INFO] [stdout] | [INFO] [stdout] 3138 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_labeled_stmt` [INFO] [stdout] 3139 | fn emit_labeled_stmt(&mut self, node: &LabeledStmt) -> Result { [INFO] [stdout] | ----------- `LabeledStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3151:5 [INFO] [stdout] | [INFO] [stdout] 3151 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_break_stmt` [INFO] [stdout] 3152 | fn emit_break_stmt(&mut self, n: &BreakStmt) -> Result { [INFO] [stdout] | --------- `BreakStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3167:5 [INFO] [stdout] | [INFO] [stdout] 3167 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_continue_stmt` [INFO] [stdout] 3168 | fn emit_continue_stmt(&mut self, n: &ContinueStmt) -> Result { [INFO] [stdout] | ------------ `ContinueStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3183:5 [INFO] [stdout] | [INFO] [stdout] 3183 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_if_stmt` [INFO] [stdout] 3184 | fn emit_if_stmt(&mut self, n: &IfStmt) -> Result { [INFO] [stdout] | ------ `IfStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3220:5 [INFO] [stdout] | [INFO] [stdout] 3220 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_switch_stmt` [INFO] [stdout] 3221 | fn emit_switch_stmt(&mut self, n: &SwitchStmt) -> Result { [INFO] [stdout] | ---------- `SwitchStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3241:5 [INFO] [stdout] | [INFO] [stdout] 3241 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_catch_clause` [INFO] [stdout] 3242 | fn emit_catch_clause(&mut self, n: &CatchClause) -> Result { [INFO] [stdout] | ----------- `CatchClause` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3262:5 [INFO] [stdout] | [INFO] [stdout] 3262 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_switch_case` [INFO] [stdout] 3263 | fn emit_switch_case(&mut self, n: &SwitchCase) -> Result { [INFO] [stdout] | ---------- `SwitchCase` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3304:5 [INFO] [stdout] | [INFO] [stdout] 3304 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_throw_stmt` [INFO] [stdout] 3305 | fn emit_throw_stmt(&mut self, n: &ThrowStmt) -> Result { [INFO] [stdout] | --------- `ThrowStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3330:5 [INFO] [stdout] | [INFO] [stdout] 3330 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] 3331 | #[tracing::instrument(skip_all)] [INFO] [stdout] | -------------------------------- move the `impl` block outside of this method `emit_try_stmt` [INFO] [stdout] 3332 | fn emit_try_stmt(&mut self, n: &TryStmt) -> Result { [INFO] [stdout] | ------- `TryStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3357:5 [INFO] [stdout] | [INFO] [stdout] 3357 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_while_stmt` [INFO] [stdout] 3358 | fn emit_while_stmt(&mut self, node: &WhileStmt) -> Result { [INFO] [stdout] | --------- `WhileStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3374:5 [INFO] [stdout] | [INFO] [stdout] 3374 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_do_while_stmt` [INFO] [stdout] 3375 | fn emit_do_while_stmt(&mut self, node: &DoWhileStmt) -> Result { [INFO] [stdout] | ----------- `DoWhileStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3405:5 [INFO] [stdout] | [INFO] [stdout] 3405 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_for_stmt` [INFO] [stdout] 3406 | fn emit_for_stmt(&mut self, n: &ForStmt) -> Result { [INFO] [stdout] | ------- `ForStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3426:5 [INFO] [stdout] | [INFO] [stdout] 3426 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_for_in_stmt` [INFO] [stdout] 3427 | fn emit_for_in_stmt(&mut self, n: &ForInStmt) -> Result { [INFO] [stdout] | --------- `ForInStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3462:5 [INFO] [stdout] | [INFO] [stdout] 3462 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_for_of_stmt` [INFO] [stdout] 3463 | fn emit_for_of_stmt(&mut self, n: &ForOfStmt) -> Result { [INFO] [stdout] | --------- `ForOfStmt` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3500:5 [INFO] [stdout] | [INFO] [stdout] 3500 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_module_export_name` [INFO] [stdout] 3501 | pub fn emit_module_export_name(&mut self, node: &ModuleExportName) -> Result { [INFO] [stdout] | ---------------- `ModuleExportName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/lib.rs:3536:5 [INFO] [stdout] | [INFO] [stdout] 3536 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_var_decl_or_expr` [INFO] [stdout] 3537 | fn emit_var_decl_or_expr(&mut self, node: &VarDeclOrExpr) -> Result { [INFO] [stdout] | ------------- `VarDeclOrExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/decl.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_decl` [INFO] [stdout] 14 | fn emit_decl(&mut self, node: &Decl) -> Result { [INFO] [stdout] | ---- `Decl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/decl.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_class_decl` [INFO] [stdout] 33 | fn emit_class_decl(&mut self, node: &ClassDecl) -> Result { [INFO] [stdout] | --------- `ClassDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/decl.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_using_decl` [INFO] [stdout] 38 | fn emit_using_decl(&mut self, node: &UsingDecl) -> Result { [INFO] [stdout] | --------- `UsingDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/decl.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_fn_decl` [INFO] [stdout] 92 | fn emit_fn_decl(&mut self, node: &FnDecl) -> Result { [INFO] [stdout] | ------ `FnDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/decl.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_var_decl` [INFO] [stdout] 123 | fn emit_var_decl(&mut self, node: &VarDecl) -> Result { [INFO] [stdout] | ------- `VarDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/decl.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_var_declarator` [INFO] [stdout] 164 | fn emit_var_declarator(&mut self, node: &VarDeclarator) -> Result { [INFO] [stdout] | ------------- `VarDeclarator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_element` [INFO] [stdout] 14 | fn emit_jsx_element(&mut self, node: &JSXElement) -> Result { [INFO] [stdout] | ---------- `JSXElement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_opening_element` [INFO] [stdout] 27 | fn emit_jsx_opening_element(&mut self, node: &JSXOpeningElement) -> Result { [INFO] [stdout] | ----------------- `JSXOpeningElement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_element_name` [INFO] [stdout] 52 | fn emit_jsx_element_name(&mut self, node: &JSXElementName) -> Result { [INFO] [stdout] | -------------- `JSXElementName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_attr` [INFO] [stdout] 61 | fn emit_jsx_attr(&mut self, node: &JSXAttr) -> Result { [INFO] [stdout] | ------- `JSXAttr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_attr_value` [INFO] [stdout] 72 | fn emit_jsx_attr_value(&mut self, node: &JSXAttrValue) -> Result { [INFO] [stdout] | ------------ `JSXAttrValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_attr_name` [INFO] [stdout] 82 | fn emit_jsx_attr_name(&mut self, node: &JSXAttrName) -> Result { [INFO] [stdout] | ----------- `JSXAttrName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_attr_or_spread` [INFO] [stdout] 90 | fn emit_jsx_attr_or_spread(&mut self, node: &JSXAttrOrSpread) -> Result { [INFO] [stdout] | --------------- `JSXAttrOrSpread` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_element_child` [INFO] [stdout] 102 | fn emit_jsx_element_child(&mut self, node: &JSXElementChild) -> Result { [INFO] [stdout] | --------------- `JSXElementChild` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_spread_child` [INFO] [stdout] 113 | fn emit_jsx_spread_child(&mut self, node: &JSXSpreadChild) -> Result { [INFO] [stdout] | -------------- `JSXSpreadChild` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_expr_container` [INFO] [stdout] 121 | fn emit_jsx_expr_container(&mut self, node: &JSXExprContainer) -> Result { [INFO] [stdout] | ---------------- `JSXExprContainer` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_expr` [INFO] [stdout] 128 | fn emit_jsx_expr(&mut self, node: &JSXExpr) -> Result { [INFO] [stdout] | ------- `JSXExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_closing_element` [INFO] [stdout] 136 | fn emit_jsx_closing_element(&mut self, node: &JSXClosingElement) -> Result { [INFO] [stdout] | ----------------- `JSXClosingElement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_fragment` [INFO] [stdout] 143 | fn emit_jsx_fragment(&mut self, node: &JSXFragment) -> Result { [INFO] [stdout] | ----------- `JSXFragment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_opening_fragment` [INFO] [stdout] 156 | fn emit_jsx_opening_fragment(&mut self, _: &JSXOpeningFragment) -> Result { [INFO] [stdout] | ------------------ `JSXOpeningFragment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_closing_fragment` [INFO] [stdout] 161 | fn emit_jsx_closing_fragment(&mut self, _: &JSXClosingFragment) -> Result { [INFO] [stdout] | ------------------ `JSXClosingFragment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_namespaced_name` [INFO] [stdout] 166 | fn emit_jsx_namespaced_name(&mut self, node: &JSXNamespacedName) -> Result { [INFO] [stdout] | ----------------- `JSXNamespacedName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_empty_expr` [INFO] [stdout] 173 | fn emit_jsx_empty_expr(&mut self, _: &JSXEmptyExpr) -> Result {} [INFO] [stdout] | ------------ `JSXEmptyExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_text` [INFO] [stdout] 176 | fn emit_jsx_text(&mut self, node: &JSXText) -> Result { [INFO] [stdout] | ------- `JSXText` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_member_expr` [INFO] [stdout] 181 | fn emit_jsx_member_expr(&mut self, node: &JSXMemberExpr) -> Result { [INFO] [stdout] | ------------- `JSXMemberExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/jsx.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_jsx_object` [INFO] [stdout] 188 | fn emit_jsx_object(&mut self, node: &JSXObject) -> Result { [INFO] [stdout] | --------- `JSXObject` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_pat_or_ts_param_prop` [INFO] [stdout] 13 | fn emit_pat_or_ts_param_prop(&mut self, n: &ParamOrTsParamProp) -> Result { [INFO] [stdout] | ------------------ `ParamOrTsParamProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_array_type` [INFO] [stdout] 21 | fn emit_ts_array_type(&mut self, n: &TsArrayType) -> Result { [INFO] [stdout] | ----------- `TsArrayType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_as_expr` [INFO] [stdout] 30 | fn emit_ts_as_expr(&mut self, n: &TsAsExpr) -> Result { [INFO] [stdout] | -------- `TsAsExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_satisfies_expr` [INFO] [stdout] 43 | fn emit_ts_satisfies_expr(&mut self, n: &TsSatisfiesExpr) -> Result { [INFO] [stdout] | --------------- `TsSatisfiesExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_call_signature_decl` [INFO] [stdout] 56 | fn emit_ts_call_signature_decl(&mut self, n: &TsCallSignatureDecl) -> Result { [INFO] [stdout] | ------------------- `TsCallSignatureDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_cond_type` [INFO] [stdout] 75 | fn emit_ts_cond_type(&mut self, n: &TsConditionalType) -> Result { [INFO] [stdout] | ----------------- `TsConditionalType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_constructor_signature_decl` [INFO] [stdout] 99 | fn emit_ts_constructor_signature_decl(&mut self, n: &TsConstructSignatureDecl) -> Result { [INFO] [stdout] | ------------------------ `TsConstructSignatureDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_constructor_type` [INFO] [stdout] 120 | fn emit_ts_constructor_type(&mut self, n: &TsConstructorType) -> Result { [INFO] [stdout] | ----------------- `TsConstructorType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_entity_name` [INFO] [stdout] 146 | fn emit_ts_entity_name(&mut self, n: &TsEntityName) -> Result { [INFO] [stdout] | ------------ `TsEntityName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_enum_decl` [INFO] [stdout] 158 | fn emit_ts_enum_decl(&mut self, n: &TsEnumDecl) -> Result { [INFO] [stdout] | ---------- `TsEnumDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_enum_member` [INFO] [stdout] 185 | fn emit_ts_enum_member(&mut self, n: &TsEnumMember) -> Result { [INFO] [stdout] | ------------ `TsEnumMember` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_enum_member_id` [INFO] [stdout] 199 | fn emit_ts_enum_member_id(&mut self, n: &TsEnumMemberId) -> Result { [INFO] [stdout] | -------------- `TsEnumMemberId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_export_assignment` [INFO] [stdout] 207 | fn emit_ts_export_assignment(&mut self, n: &TsExportAssignment) -> Result { [INFO] [stdout] | ------------------ `TsExportAssignment` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_expr_with_type_args` [INFO] [stdout] 218 | fn emit_ts_expr_with_type_args(&mut self, n: &TsExprWithTypeArgs) -> Result { [INFO] [stdout] | ------------------ `TsExprWithTypeArgs` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_external_module_ref` [INFO] [stdout] 227 | fn emit_ts_external_module_ref(&mut self, n: &TsExternalModuleRef) -> Result { [INFO] [stdout] | ------------------- `TsExternalModuleRef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_fn_or_constructor_type` [INFO] [stdout] 237 | fn emit_ts_fn_or_constructor_type(&mut self, n: &TsFnOrConstructorType) -> Result { [INFO] [stdout] | --------------------- `TsFnOrConstructorType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_fn_param` [INFO] [stdout] 247 | fn emit_ts_fn_param(&mut self, n: &TsFnParam) -> Result { [INFO] [stdout] | --------- `TsFnParam` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_fn_type` [INFO] [stdout] 257 | fn emit_ts_fn_type(&mut self, n: &TsFnType) -> Result { [INFO] [stdout] | -------- `TsFnType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_import_equals_decl` [INFO] [stdout] 274 | fn emit_ts_import_equals_decl(&mut self, n: &TsImportEqualsDecl) -> Result { [INFO] [stdout] | ------------------ `TsImportEqualsDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_index_signature` [INFO] [stdout] 302 | fn emit_ts_index_signature(&mut self, n: &TsIndexSignature) -> Result { [INFO] [stdout] | ---------------- `TsIndexSignature` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_index_accessed_type` [INFO] [stdout] 322 | fn emit_ts_index_accessed_type(&mut self, n: &TsIndexedAccessType) -> Result { [INFO] [stdout] | ------------------- `TsIndexedAccessType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_infer_type` [INFO] [stdout] 333 | fn emit_ts_infer_type(&mut self, n: &TsInferType) -> Result { [INFO] [stdout] | ----------- `TsInferType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_interface_body` [INFO] [stdout] 342 | fn emit_ts_interface_body(&mut self, n: &TsInterfaceBody) -> Result { [INFO] [stdout] | --------------- `TsInterfaceBody` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_interface_decl` [INFO] [stdout] 353 | fn emit_ts_interface_decl(&mut self, n: &TsInterfaceDecl) -> Result { [INFO] [stdout] | --------------- `TsInterfaceDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_intersection_type` [INFO] [stdout] 386 | fn emit_ts_intersection_type(&mut self, n: &TsIntersectionType) -> Result { [INFO] [stdout] | ------------------ `TsIntersectionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_keyword_type` [INFO] [stdout] 397 | fn emit_ts_keyword_type(&mut self, n: &TsKeywordType) -> Result { [INFO] [stdout] | ------------- `TsKeywordType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_lit` [INFO] [stdout] 418 | fn emit_ts_lit(&mut self, n: &TsLit) -> Result { [INFO] [stdout] | ----- `TsLit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:428:5 [INFO] [stdout] | [INFO] [stdout] 428 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_tpl_lit` [INFO] [stdout] 429 | fn emit_ts_tpl_lit(&mut self, node: &TsTplLitType) -> Result { [INFO] [stdout] | ------------ `TsTplLitType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_lit_type` [INFO] [stdout] 450 | fn emit_ts_lit_type(&mut self, n: &TsLitType) -> Result { [INFO] [stdout] | --------- `TsLitType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_mapped_type` [INFO] [stdout] 457 | fn emit_ts_mapped_type(&mut self, n: &TsMappedType) -> Result { [INFO] [stdout] | ------------ `TsMappedType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 531 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_method_signature` [INFO] [stdout] 532 | fn emit_ts_method_signature(&mut self, n: &TsMethodSignature) -> Result { [INFO] [stdout] | ----------------- `TsMethodSignature` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 566 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_module_block` [INFO] [stdout] 567 | fn emit_ts_module_block(&mut self, n: &TsModuleBlock) -> Result { [INFO] [stdout] | ------------- `TsModuleBlock` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:572:5 [INFO] [stdout] | [INFO] [stdout] 572 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_module_decl` [INFO] [stdout] 573 | fn emit_ts_module_decl(&mut self, n: &TsModuleDecl) -> Result { [INFO] [stdout] | ------------ `TsModuleDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:600:5 [INFO] [stdout] | [INFO] [stdout] 600 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_module_name` [INFO] [stdout] 601 | fn emit_ts_module_name(&mut self, n: &TsModuleName) -> Result { [INFO] [stdout] | ------------ `TsModuleName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:608:5 [INFO] [stdout] | [INFO] [stdout] 608 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_module_ref` [INFO] [stdout] 609 | fn emit_ts_module_ref(&mut self, n: &TsModuleRef) -> Result { [INFO] [stdout] | ----------- `TsModuleRef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_ns_body` [INFO] [stdout] 619 | fn emit_ts_ns_body(&mut self, n: &TsNamespaceBody) -> Result { [INFO] [stdout] | --------------- `TsNamespaceBody` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:632:5 [INFO] [stdout] | [INFO] [stdout] 632 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_ns_decl` [INFO] [stdout] 633 | fn emit_ts_ns_decl(&mut self, n: &TsNamespaceDecl) -> Result { [INFO] [stdout] | --------------- `TsNamespaceDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:649:5 [INFO] [stdout] | [INFO] [stdout] 649 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_ns_export_decl` [INFO] [stdout] 650 | fn emit_ts_ns_export_decl(&mut self, n: &TsNamespaceExportDecl) -> Result { [INFO] [stdout] | --------------------- `TsNamespaceExportDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:660:5 [INFO] [stdout] | [INFO] [stdout] 660 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_non_null_expr` [INFO] [stdout] 661 | fn emit_ts_non_null_expr(&mut self, n: &TsNonNullExpr) -> Result { [INFO] [stdout] | ------------- `TsNonNullExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:668:5 [INFO] [stdout] | [INFO] [stdout] 668 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_optional_type` [INFO] [stdout] 669 | fn emit_ts_optional_type(&mut self, n: &TsOptionalType) -> Result { [INFO] [stdout] | -------------- `TsOptionalType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:676:5 [INFO] [stdout] | [INFO] [stdout] 676 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_param_prop` [INFO] [stdout] 677 | fn emit_ts_param_prop(&mut self, n: &TsParamProp) -> Result { [INFO] [stdout] | ----------- `TsParamProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_param_prop_param` [INFO] [stdout] 700 | fn emit_ts_param_prop_param(&mut self, n: &TsParamPropParam) -> Result { [INFO] [stdout] | ---------------- `TsParamPropParam` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 709 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_paren_type` [INFO] [stdout] 710 | fn emit_ts_paren_type(&mut self, n: &TsParenthesizedType) -> Result { [INFO] [stdout] | ------------------- `TsParenthesizedType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:718:5 [INFO] [stdout] | [INFO] [stdout] 718 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_property_signature` [INFO] [stdout] 719 | fn emit_ts_property_signature(&mut self, n: &TsPropertySignature) -> Result { [INFO] [stdout] | ------------------- `TsPropertySignature` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:759:5 [INFO] [stdout] | [INFO] [stdout] 759 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_qualified_name` [INFO] [stdout] 760 | fn emit_ts_qualified_name(&mut self, n: &TsQualifiedName) -> Result { [INFO] [stdout] | --------------- `TsQualifiedName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:768:5 [INFO] [stdout] | [INFO] [stdout] 768 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_rest_type` [INFO] [stdout] 769 | fn emit_ts_rest_type(&mut self, n: &TsRestType) -> Result { [INFO] [stdout] | ---------- `TsRestType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:776:5 [INFO] [stdout] | [INFO] [stdout] 776 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_this_type` [INFO] [stdout] 777 | fn emit_ts_this_type(&mut self, n: &TsThisType) -> Result { [INFO] [stdout] | ---------- `TsThisType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:783:5 [INFO] [stdout] | [INFO] [stdout] 783 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_this_type_or_ident` [INFO] [stdout] 784 | fn emit_ts_this_type_or_ident(&mut self, n: &TsThisTypeOrIdent) -> Result { [INFO] [stdout] | ----------------- `TsThisTypeOrIdent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:793:5 [INFO] [stdout] | [INFO] [stdout] 793 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_tuple_type` [INFO] [stdout] 794 | fn emit_ts_tuple_type(&mut self, n: &TsTupleType) -> Result { [INFO] [stdout] | ----------- `TsTupleType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:802:5 [INFO] [stdout] | [INFO] [stdout] 802 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_tuple_element` [INFO] [stdout] 803 | fn emit_ts_tuple_element(&mut self, n: &TsTupleElement) -> Result { [INFO] [stdout] | -------------- `TsTupleElement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:815:5 [INFO] [stdout] | [INFO] [stdout] 815 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type` [INFO] [stdout] 816 | fn emit_ts_type(&mut self, n: &TsType) -> Result { [INFO] [stdout] | ------ `TsType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:841:5 [INFO] [stdout] | [INFO] [stdout] 841 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_import_type` [INFO] [stdout] 842 | fn emit_ts_import_type(&mut self, n: &TsImportType) -> Result { [INFO] [stdout] | ------------ `TsImportType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:858:5 [INFO] [stdout] | [INFO] [stdout] 858 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_alias_decl` [INFO] [stdout] 859 | fn emit_ts_type_alias_decl(&mut self, n: &TsTypeAliasDecl) -> Result { [INFO] [stdout] | --------------- `TsTypeAliasDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:886:5 [INFO] [stdout] | [INFO] [stdout] 886 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_ann` [INFO] [stdout] 887 | fn emit_ts_type_ann(&mut self, n: &TsTypeAnn) -> Result { [INFO] [stdout] | --------- `TsTypeAnn` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:893:5 [INFO] [stdout] | [INFO] [stdout] 893 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_assertion` [INFO] [stdout] 894 | fn emit_ts_type_assertion(&mut self, n: &TsTypeAssertion) -> Result { [INFO] [stdout] | --------------- `TsTypeAssertion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:903:5 [INFO] [stdout] | [INFO] [stdout] 903 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_const_assertion` [INFO] [stdout] 904 | fn emit_ts_const_assertion(&mut self, n: &TsConstAssertion) -> Result { [INFO] [stdout] | ---------------- `TsConstAssertion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:915:5 [INFO] [stdout] | [INFO] [stdout] 915 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_element` [INFO] [stdout] 916 | fn emit_ts_type_element(&mut self, n: &TsTypeElement) -> Result { [INFO] [stdout] | ------------- `TsTypeElement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:933:5 [INFO] [stdout] | [INFO] [stdout] 933 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_getter_signature` [INFO] [stdout] 934 | fn emit_ts_getter_signature(&mut self, n: &TsGetterSignature) -> Result { [INFO] [stdout] | ----------------- `TsGetterSignature` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:951:5 [INFO] [stdout] | [INFO] [stdout] 951 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_setter_signature` [INFO] [stdout] 952 | fn emit_ts_setter_signature(&mut self, n: &TsSetterSignature) -> Result { [INFO] [stdout] | ----------------- `TsSetterSignature` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:963:5 [INFO] [stdout] | [INFO] [stdout] 963 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_lit` [INFO] [stdout] 964 | fn emit_ts_type_lit(&mut self, n: &TsTypeLit) -> Result { [INFO] [stdout] | --------- `TsTypeLit` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:976:5 [INFO] [stdout] | [INFO] [stdout] 976 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_operator` [INFO] [stdout] 977 | fn emit_ts_type_operator(&mut self, n: &TsTypeOperator) -> Result { [INFO] [stdout] | -------------- `TsTypeOperator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:989:5 [INFO] [stdout] | [INFO] [stdout] 989 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_param` [INFO] [stdout] 990 | fn emit_ts_type_param(&mut self, n: &TsTypeParam) -> Result { [INFO] [stdout] | ----------- `TsTypeParam` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:1025:5 [INFO] [stdout] | [INFO] [stdout] 1025 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_param_decl` [INFO] [stdout] 1026 | fn emit_ts_type_param_decl(&mut self, n: &TsTypeParamDecl) -> Result { [INFO] [stdout] | --------------- `TsTypeParamDecl` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:1036:5 [INFO] [stdout] | [INFO] [stdout] 1036 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_param_instantiation` [INFO] [stdout] 1037 | fn emit_ts_type_param_instantiation(&mut self, n: &TsTypeParamInstantiation) -> Result { [INFO] [stdout] | ------------------------ `TsTypeParamInstantiation` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:1046:5 [INFO] [stdout] | [INFO] [stdout] 1046 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_predicate` [INFO] [stdout] 1047 | fn emit_ts_type_predicate(&mut self, n: &TsTypePredicate) -> Result { [INFO] [stdout] | --------------- `TsTypePredicate` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:1065:5 [INFO] [stdout] | [INFO] [stdout] 1065 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_query` [INFO] [stdout] 1066 | fn emit_ts_type_query(&mut self, n: &TsTypeQuery) -> Result { [INFO] [stdout] | ----------- `TsTypeQuery` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:1075:5 [INFO] [stdout] | [INFO] [stdout] 1075 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_query_expr` [INFO] [stdout] 1076 | fn emit_ts_type_query_expr(&mut self, n: &TsTypeQueryExpr) -> Result { [INFO] [stdout] | --------------- `TsTypeQueryExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:1083:5 [INFO] [stdout] | [INFO] [stdout] 1083 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_type_ref` [INFO] [stdout] 1084 | fn emit_ts_type_ref(&mut self, n: &TsTypeRef) -> Result { [INFO] [stdout] | --------- `TsTypeRef` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:1096:5 [INFO] [stdout] | [INFO] [stdout] 1096 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_union_or_intersection_type` [INFO] [stdout] 1097 | fn emit_ts_union_or_intersection_type(&mut self, n: &TsUnionOrIntersectionType) -> Result { [INFO] [stdout] | ------------------------- `TsUnionOrIntersectionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:1104:5 [INFO] [stdout] | [INFO] [stdout] 1104 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_union_type` [INFO] [stdout] 1105 | fn emit_ts_union_type(&mut self, n: &TsUnionType) -> Result { [INFO] [stdout] | ----------- `TsUnionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/swc_ecma_codegen/src/typescript.rs:1111:5 [INFO] [stdout] | [INFO] [stdout] 1111 | #[emitter] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `Node` is not local [INFO] [stdout] | move the `impl` block outside of this method `emit_ts_instantiation` [INFO] [stdout] 1112 | fn emit_ts_instantiation(&mut self, n: &TsInstantiation) -> Result { [INFO] [stdout] | --------------- `TsInstantiation` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `emitter` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `emitter` may come from an old version of the `swc_ecma_codegen_macros` crate, try updating your dependency with `cargo update -p swc_ecma_codegen_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `emitter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling swc_ecma_loader v0.45.13 (/opt/rustwide/workdir/crates/swc_ecma_loader) [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling wasmer-types v4.0.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling regalloc2 v0.5.1 [INFO] [stderr] Compiling swc_css_visit v0.139.14 (/opt/rustwide/workdir/crates/swc_css_visit) [INFO] [stderr] error: could not compile `swc_ecma_parser` (lib); 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2025-02-18-x86_64-unknown-linux-gnu/bin/rustc --crate-name swc_ecma_parser --edition=2021 crates/swc_ecma_parser/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="stacker"' --cfg 'feature="typescript"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("debug", "default", "stacker", "swc_ecma_visit", "typescript", "verify"))' -C metadata=267bc243eac64a72 -C extra-filename=-60740c00628e9b63 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern either=/opt/rustwide/target/debug/deps/libeither-e7702c75d2b47310.rmeta --extern debug_unreachable=/opt/rustwide/target/debug/deps/libdebug_unreachable-a8b0a95a49f034d2.rmeta --extern num_bigint=/opt/rustwide/target/debug/deps/libnum_bigint-217ebe1d9723f9d3.rmeta --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-6ad35d36c0fd7ed3.rmeta --extern phf=/opt/rustwide/target/debug/deps/libphf-ffb07160be83f25b.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-0a4e21868151294e.rmeta --extern smallvec=/opt/rustwide/target/debug/deps/libsmallvec-c78c4b0ab0e06a5f.rmeta --extern smartstring=/opt/rustwide/target/debug/deps/libsmartstring-756163e782b7b5c8.rmeta --extern stacker=/opt/rustwide/target/debug/deps/libstacker-6fac44f9f28671bb.rmeta --extern swc_atoms=/opt/rustwide/target/debug/deps/libswc_atoms-a59615898876293c.rmeta --extern swc_common=/opt/rustwide/target/debug/deps/libswc_common-e4bb9ba44152f214.rmeta --extern swc_ecma_ast=/opt/rustwide/target/debug/deps/libswc_ecma_ast-38e15fb074e79bcb.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-08280eb165203fbd.rmeta --extern typed_arena=/opt/rustwide/target/debug/deps/libtyped_arena-5622a82cc6e52553.rmeta --cap-lints=warn -L native=/opt/rustwide/target/debug/build/psm-dd738ab2556a6103/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e74e3498ee22340b1a7162ce579be8e39e66698f3cb1e9368910100a829ad2f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74e3498ee22340b1a7162ce579be8e39e66698f3cb1e9368910100a829ad2f9", kill_on_drop: false }` [INFO] [stdout] e74e3498ee22340b1a7162ce579be8e39e66698f3cb1e9368910100a829ad2f9