[INFO] cloning repository https://github.com/portal-co/jsaw-core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/portal-co/jsaw-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fjsaw-core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fjsaw-core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00c2eb32e3182ddceff88723501a716a55959f09 [INFO] checking portal-co/jsaw-core against master#08cd08fbef8c6663b052d8d9e4930d5696cbb8a7 for 150662-leaf [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fjsaw-core" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/portal-co/jsaw-core [INFO] finished tweaking git repo https://github.com/portal-co/jsaw-core [INFO] tweaked toml for git repo https://github.com/portal-co/jsaw-core written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/portal-co/jsaw-core on toolchain 08cd08fbef8c6663b052d8d9e4930d5696cbb8a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/portal-co/jsaw-core 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" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/portal-co/codegen-utils.git` [INFO] [stderr] Updating git repository `https://github.com/portal-co/swibb.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-id-start v1.4.0 [INFO] [stderr] Downloaded swc_visit v2.0.1 [INFO] [stderr] Downloaded swc_ecma_ast v21.0.0 [INFO] [stderr] Downloaded portal-pc-asm-common v0.1.1 [INFO] [stderr] Downloaded ast_node v5.0.0 [INFO] [stderr] Downloaded better_scoped_tls v1.0.1 [INFO] [stderr] Downloaded swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Downloaded linearize-derive v0.2.1 [INFO] [stderr] Downloaded swc_atoms v9.0.0 [INFO] [stderr] Downloaded linearize-derive v0.1.0 [INFO] [stderr] Downloaded arena-traits v0.2.3 [INFO] [stderr] Downloaded portal-solutions-proxy-signs v0.1.0 [INFO] [stderr] Downloaded par-core v2.0.0 [INFO] [stderr] Downloaded linearize v0.1.6 [INFO] [stderr] Downloaded relooper v0.1.0 [INFO] [stderr] Downloaded dragonbox_ecma v0.1.12 [INFO] [stderr] Downloaded swc_ecma_utils v27.0.0 [INFO] [stderr] Downloaded ar_archive_writer v0.5.1 [INFO] [stderr] Downloaded swc_common v19.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_base v38.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_optimization v40.0.0 [INFO] [stderr] Downloaded hstr v3.0.4 [INFO] [stderr] Downloaded swc_ecma_parser v35.0.0 [INFO] [stderr] Downloaded swc_ecma_visit v21.0.0 [INFO] [stderr] Downloaded stacker v0.1.23 [INFO] [stderr] Downloaded psm v0.1.30 [INFO] [stderr] Downloaded string_enum v1.0.2 [INFO] [stderr] Downloaded bytes-str v0.2.7 [INFO] [stderr] Downloaded swc_macros_common v1.0.1 [INFO] [stderr] Downloaded from_variant v3.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4dc54fba90a8a89f0b699ecbc13be7f84d5fbf3b2e313cae8c40ed52662a6394 [INFO] running `Command { std: "docker" "start" "-a" "4dc54fba90a8a89f0b699ecbc13be7f84d5fbf3b2e313cae8c40ed52662a6394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dc54fba90a8a89f0b699ecbc13be7f84d5fbf3b2e313cae8c40ed52662a6394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dc54fba90a8a89f0b699ecbc13be7f84d5fbf3b2e313cae8c40ed52662a6394", kill_on_drop: false }` [INFO] [stdout] 4dc54fba90a8a89f0b699ecbc13be7f84d5fbf3b2e313cae8c40ed52662a6394 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+08cd08fbef8c6663b052d8d9e4930d5696cbb8a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 307ecd25ffa16d56dafb9b628938e49c41a206f96915cb7b806cf9da4c6836bf [INFO] running `Command { std: "docker" "start" "-a" "307ecd25ffa16d56dafb9b628938e49c41a206f96915cb7b806cf9da4c6836bf", kill_on_drop: false }` [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking better_scoped_tls v1.0.1 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking unicode-id-start v1.4.0 [INFO] [stderr] Compiling stacker v0.1.23 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling dragonbox_ecma v0.1.12 [INFO] [stderr] Checking no-error-type v0.1.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking par-core v2.0.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking petgraph v0.7.1 [INFO] [stderr] Checking keccak v0.1.6 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking arena-traits v0.2.3 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling linearize v0.1.6 [INFO] [stderr] Compiling linearize-derive v0.2.1 [INFO] [stderr] Compiling linearize-derive v0.1.0 [INFO] [stderr] Checking portal-solutions-proxy-signs v0.1.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling ast_node v5.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling from_variant v3.0.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking triomphe v0.1.15 [INFO] [stderr] Checking bytes-str v0.2.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking hstr v3.0.4 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking jiff v0.2.23 [INFO] [stderr] Checking swc_visit v2.0.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking cfg-traits v0.2.3 (https://github.com/portal-co/codegen-utils.git?branch=master#63b8b2ae) [INFO] [stderr] Checking ssa-traits v0.2.3 (https://github.com/portal-co/codegen-utils.git?branch=master#63b8b2ae) [INFO] [stderr] Checking swc_atoms v9.0.0 [INFO] [stderr] Checking relooper v0.1.0 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking swc_common v19.0.0 [INFO] [stderr] Checking portal-pc-asm-common v0.1.1 [INFO] [stderr] Checking ssa-impls v0.2.3 (https://github.com/portal-co/codegen-utils.git?branch=master#63b8b2ae) [INFO] [stderr] Checking ssa-reloop v0.2.3 (https://github.com/portal-co/codegen-utils.git?branch=master#63b8b2ae) [INFO] [stderr] Checking portal-jsc-common v0.8.0-pre.11 (/opt/rustwide/workdir/crates/portal-jsc-common) [INFO] [stdout] warning: variant `Reflect_get` should have an upper camel case name [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Reflect_get, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReflectGet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reflect_apply` should have an upper camel case name [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Reflect_apply, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReflectApply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reflect_set` should have an upper camel case name [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Reflect_set, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReflectSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Math_fround` should have an upper camel case name [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Math_fround, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `MathFround` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Math_imul` should have an upper camel case name [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Math_imul, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MathImul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reflect_get` should have an upper camel case name [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Reflect_get, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReflectGet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reflect_apply` should have an upper camel case name [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Reflect_apply, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReflectApply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reflect_set` should have an upper camel case name [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Reflect_set, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReflectSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Math_fround` should have an upper camel case name [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Math_fround, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `MathFround` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Math_imul` should have an upper camel case name [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Math_imul, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MathImul` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_filter v1.0.0 [INFO] [stderr] Compiling ar_archive_writer v0.5.1 [INFO] [stderr] Checking env_logger v0.11.9 [INFO] [stderr] Checking portal-jsc-generator v0.8.0-pre.10 (/opt/rustwide/workdir/crates/portal-jsc-generator) [INFO] [stderr] Checking swc_ecma_ast v21.0.0 [INFO] [stderr] Compiling psm v0.1.30 [INFO] [stderr] Checking swc_ecma_visit v21.0.0 [INFO] [stderr] Checking swc_ecma_parser v35.0.0 [INFO] [stderr] Checking swc_ecma_utils v27.0.0 [INFO] [stderr] Checking swc_ecma_transforms_base v38.0.0 [INFO] [stderr] Checking swc_ecma_transforms_optimization v40.0.0 [INFO] [stderr] Checking portal-solutions-swibb v0.6.0-alpha.1 (https://github.com/portal-co/swibb.git#13f407dc) [INFO] [stderr] Checking portal-jsc-swc-util v0.8.0-pre.11 (/opt/rustwide/workdir/crates/swc-util) [INFO] [stderr] Checking portal-jsc-swc-ll-common v0.8.0-pre.11 (/opt/rustwide/workdir/crates/swc-ll-common) [INFO] [stderr] Checking portal-jsc-simpl-js v0.8.0-pre.11 (/opt/rustwide/workdir/crates/simpl-js) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/simpl-js/src/lib.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/simpl-js/src/lib.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 237 | SimplExpr::Ident(i) => match i.extract_own() { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 247 | SimplExpr::Assign(a) => match a.value.target.extract_own() { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 281 | SimplExpr::Bin(b) => Expr::Bin(BinExpr { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 287 | SimplExpr::Lit(l) => Expr::Lit(l), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 427 | _ => todo!(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/simpl-js/src/lib.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/simpl-js/src/lib.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 455 | SimplStmt::Expr(e) => Stmt::Expr(ExprStmt { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 459 | SimplStmt::Block(b) => Stmt::Block(BlockStmt { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 464 | SimplStmt::Return(e) => Stmt::Return(ReturnStmt { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 468 | SimplStmt::If(i) => match i.value.kind { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 537 | _ => todo!(), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/simpl-js/src/lib.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/simpl-js/src/lib.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 237 | SimplExpr::Ident(i) => match i.extract_own() { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 247 | SimplExpr::Assign(a) => match a.value.target.extract_own() { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 281 | SimplExpr::Bin(b) => Expr::Bin(BinExpr { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 287 | SimplExpr::Lit(l) => Expr::Lit(l), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 427 | _ => todo!(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/simpl-js/src/lib.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/simpl-js/src/lib.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 455 | SimplStmt::Expr(e) => Stmt::Expr(ExprStmt { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 459 | SimplStmt::Block(b) => Stmt::Block(BlockStmt { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 464 | SimplStmt::Return(e) => Stmt::Return(ReturnStmt { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 468 | SimplStmt::If(i) => match i.value.kind { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 537 | _ => todo!(), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import` [INFO] [stdout] --> crates/swc-ll-common/src/fetch.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | Callee::Import(import) => TCallee::Import, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fetch!(p, self) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `import` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-ll-common/src/fetch.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | Callee::Import(import) => TCallee::Import, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fetch!(p, self) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `fetch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:405:33 [INFO] [stdout] | [INFO] [stdout] 405 | ... _ => break None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:405:33 [INFO] [stdout] | [INFO] [stdout] 393 | / ... PropKey::Lit(PropSym { [INFO] [stdout] 394 | | ... sym: l, [INFO] [stdout] 395 | | ... span: _s2, [INFO] [stdout] 396 | | ... ctx: _, [INFO] [stdout] 397 | | ... }) => Lit::Str(Str { [INFO] [stdout] | |________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 402 | ... PropKey::Computed(c) => k [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 405 | ... _ => break None, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import` [INFO] [stdout] --> crates/swc-ll-common/src/fetch.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | Callee::Import(import) => TCallee::Import, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fetch!(p, self) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `import` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-ll-common/src/fetch.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | Callee::Import(import) => TCallee::Import, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fetch!(p, self) [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `fetch` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking portal-jsc-swc-cfg v0.8.0-pre.11 (/opt/rustwide/workdir/crates/swc-cfg) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:405:33 [INFO] [stdout] | [INFO] [stdout] 405 | ... _ => break None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:405:33 [INFO] [stdout] | [INFO] [stdout] 393 | / ... PropKey::Lit(PropSym { [INFO] [stdout] 394 | | ... sym: l, [INFO] [stdout] 395 | | ... span: _s2, [INFO] [stdout] 396 | | ... ctx: _, [INFO] [stdout] 397 | | ... }) => Lit::Str(Str { [INFO] [stdout] | |________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 402 | ... PropKey::Computed(c) => k [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 405 | ... _ => break None, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | fn new_block(&mut self, sidecar: &mut T) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | cfg.throw(sidecar, current, &throw_stmt.arg, Some(throw_stmt.span())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = cfg.throw(sidecar, current, &throw_stmt.arg, Some(throw_stmt.span())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | / cfg.return_( [INFO] [stdout] 416 | | sidecar, [INFO] [stdout] 417 | | current, [INFO] [stdout] 418 | | return_stmt.arg.as_deref(), [INFO] [stdout] 419 | | Some(return_stmt.span()), [INFO] [stdout] 420 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 415 | let _ = cfg.return_( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | cfg.jump(sidecar, try_end_id, next, Some(span)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 463 | let _ = cfg.jump(sidecar, try_end_id, next, Some(span)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | cfg.jump(sidecar, k, next, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 575 | let _ = cfg.jump(sidecar, k, next, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking portal-jsc-swc-tac v0.8.0-pre.11 (/opt/rustwide/workdir/crates/swc-tac) [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | fn new_block(&mut self, sidecar: &mut T) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | sidecar: &mut T, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | cfg.throw(sidecar, current, &throw_stmt.arg, Some(throw_stmt.span())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 411 | let _ = cfg.throw(sidecar, current, &throw_stmt.arg, Some(throw_stmt.span())); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | / cfg.return_( [INFO] [stdout] 416 | | sidecar, [INFO] [stdout] 417 | | current, [INFO] [stdout] 418 | | return_stmt.arg.as_deref(), [INFO] [stdout] 419 | | Some(return_stmt.span()), [INFO] [stdout] 420 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 415 | let _ = cfg.return_( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | cfg.jump(sidecar, try_end_id, next, Some(span)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 463 | let _ = cfg.jump(sidecar, try_end_id, next, Some(span)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | cfg.jump(sidecar, k, next, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 575 | let _ = cfg.jump(sidecar, k, next, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModuleExportName` [INFO] [stdout] --> crates/swc-tac/src/module.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | use swc_ecma_ast::{Id as Ident, ImportDecl, ImportSpecifier, ModuleExportName}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-tac/src/splat.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 264 | ... 'a: loop { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-tac/src/splat.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | 'a: loop { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-tac/src/lib.rs:910:17 [INFO] [stdout] | [INFO] [stdout] 910 | 's: for mut s in take(&mut self.blocks[ki].stmts) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModuleExportName` [INFO] [stdout] --> crates/swc-tac/src/module.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | use swc_ecma_ast::{Id as Ident, ImportDecl, ImportSpecifier, ModuleExportName}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-tac/src/splat.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 264 | ... 'a: loop { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-tac/src/splat.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | 'a: loop { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-tac/src/lib.rs:910:17 [INFO] [stdout] | [INFO] [stdout] 910 | 's: for mut s in take(&mut self.blocks[ki].stmts) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/swc-tac/src/lib.rs:315:24 [INFO] [stdout] | [INFO] [stdout] 315 | import_mapper: static_map! {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::static_map_internal` which comes from the expansion of the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/swc-tac/src/lib.rs:326:28 [INFO] [stdout] | [INFO] [stdout] 326 | import_mapper: static_map! {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::static_map_internal` which comes from the expansion of the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/conv.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | _ => return Err(crate::Error::Unsupported { file: file!(), line: line!() }), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/swc-tac/src/conv.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 44 | Callee::Import(_) => TCallee::Import, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 45 | Callee::Super(_) => TCallee::Super, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 46 | Callee::Expr(e) => match e.as_ref() { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 73 | _ => return Err(crate::Error::Unsupported { file: file!(), line: line!() }), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/swc-tac/src/lib.rs:315:24 [INFO] [stdout] | [INFO] [stdout] 315 | import_mapper: static_map! {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::static_map_internal` which comes from the expansion of the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> crates/swc-tac/src/lib.rs:326:28 [INFO] [stdout] | [INFO] [stdout] 326 | import_mapper: static_map! {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::static_map_internal` which comes from the expansion of the macro `static_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:621:57 [INFO] [stdout] | [INFO] [stdout] 621 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 664 | | ... None => None, [INFO] [stdout] 665 | | ... Some(a) => Some({ [INFO] [stdout] 666 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 669 | | ... }), [INFO] [stdout] 670 | | ... }) => &p.key), [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `number` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:621:57 [INFO] [stdout] | [INFO] [stdout] 621 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 664 | | ... None => None, [INFO] [stdout] 665 | | ... Some(a) => Some({ [INFO] [stdout] 666 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 669 | | ... }), [INFO] [stdout] 670 | | ... }) => &p.key), [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:629:60 [INFO] [stdout] | [INFO] [stdout] 629 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 664 | | ... None => None, [INFO] [stdout] 665 | | ... Some(a) => Some({ [INFO] [stdout] 666 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 669 | | ... }), [INFO] [stdout] 670 | | ... }) => &p.key), [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `big_int` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:629:60 [INFO] [stdout] | [INFO] [stdout] 629 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 664 | | ... None => None, [INFO] [stdout] 665 | | ... Some(a) => Some({ [INFO] [stdout] 666 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 669 | | ... }), [INFO] [stdout] 670 | | ... }) => &p.key), [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:621:57 [INFO] [stdout] | [INFO] [stdout] 621 | swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 698 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 699 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 700 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 701 | | }=> &c.key)); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `number` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:621:57 [INFO] [stdout] | [INFO] [stdout] 621 | swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 698 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 699 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 700 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 701 | | }=> &c.key)); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:629:60 [INFO] [stdout] | [INFO] [stdout] 629 | swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 698 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 699 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 700 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 701 | | }=> &c.key)); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `big_int` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:629:60 [INFO] [stdout] | [INFO] [stdout] 629 | swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 698 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 699 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 700 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 701 | | }=> &c.key)); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1517 | ... prop_name!(v => &key_value_prop.key) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `number` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1517 | ... prop_name!(v => &key_value_prop.key) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1517 | ... prop_name!(v => &key_value_prop.key) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `big_int` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1517 | ... prop_name!(v => &key_value_prop.key) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1540 | ... prop_name!(v => &getter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `number` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1540 | ... prop_name!(v => &getter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1540 | ... prop_name!(v => &getter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `big_int` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1540 | ... prop_name!(v => &getter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1565 | ... prop_name!(v => &setter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `number` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1565 | ... prop_name!(v => &setter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1565 | ... prop_name!(v => &setter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `big_int` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1565 | ... prop_name!(v => &setter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1572 | ... prop_name!(v => &method_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `number` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1572 | ... prop_name!(v => &method_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1572 | ... prop_name!(v => &method_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `big_int` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1572 | ... prop_name!(v => &method_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `o2` is assigned to, but never used [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1236:25 [INFO] [stdout] | [INFO] [stdout] 1236 | let o2; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_o2` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `o2` is never read [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1237:22 [INFO] [stdout] | [INFO] [stdout] 1237 | (o2, t) = self.expr(o, t, obj)?; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/conv.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | _ => return Err(crate::Error::Unsupported { file: file!(), line: line!() }), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/swc-tac/src/conv.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 44 | Callee::Import(_) => TCallee::Import, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 45 | Callee::Super(_) => TCallee::Super, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 46 | Callee::Expr(e) => match e.as_ref() { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 73 | _ => return Err(crate::Error::Unsupported { file: file!(), line: line!() }), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-tac/src/conv/live.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn new_block(&mut self, sidecar: &mut LiveConverter<'a>) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-tac/src/conv/live.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | sidecar: &mut LiveConverter<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-tac/src/conv/live.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | sidecar: &mut LiveConverter<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exit` [INFO] [stdout] --> crates/swc-tac/src/conv/live.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let exit = ToCfgConversionCtx::default().transform_all( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> crates/swc-tac/src/conv/main.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | t = t2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> crates/swc-tac/src/conv/main.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | (c, t) = self.core.expr(o, t, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> crates/swc-tac/src/conv/main.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | (c, t) = self.core.expr(o, t, expr)?; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> crates/swc-tac/src/conv/main.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | (c, t) = self.core.expr(o, t, cond)?; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:621:57 [INFO] [stdout] | [INFO] [stdout] 621 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 664 | | ... None => None, [INFO] [stdout] 665 | | ... Some(a) => Some({ [INFO] [stdout] 666 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 669 | | ... }), [INFO] [stdout] 670 | | ... }) => &p.key), [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `number` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:621:57 [INFO] [stdout] | [INFO] [stdout] 621 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 664 | | ... None => None, [INFO] [stdout] 665 | | ... Some(a) => Some({ [INFO] [stdout] 666 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 669 | | ... }), [INFO] [stdout] 670 | | ... }) => &p.key), [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:629:60 [INFO] [stdout] | [INFO] [stdout] 629 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 664 | | ... None => None, [INFO] [stdout] 665 | | ... Some(a) => Some({ [INFO] [stdout] 666 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 669 | | ... }), [INFO] [stdout] 670 | | ... }) => &p.key), [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `big_int` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:629:60 [INFO] [stdout] | [INFO] [stdout] 629 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 663 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 664 | | ... None => None, [INFO] [stdout] 665 | | ... Some(a) => Some({ [INFO] [stdout] 666 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 669 | | ... }), [INFO] [stdout] 670 | | ... }) => &p.key), [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:621:57 [INFO] [stdout] | [INFO] [stdout] 621 | swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 698 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 699 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 700 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 701 | | }=> &c.key)); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `number` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:621:57 [INFO] [stdout] | [INFO] [stdout] 621 | swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 698 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 699 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 700 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 701 | | }=> &c.key)); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:629:60 [INFO] [stdout] | [INFO] [stdout] 629 | swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 698 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 699 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 700 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 701 | | }=> &c.key)); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `big_int` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:629:60 [INFO] [stdout] | [INFO] [stdout] 629 | swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 697 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 698 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 699 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 700 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 701 | | }=> &c.key)); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1517 | ... prop_name!(v => &key_value_prop.key) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `number` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1517 | ... prop_name!(v => &key_value_prop.key) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1517 | ... prop_name!(v => &key_value_prop.key) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `big_int` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1517 | ... prop_name!(v => &key_value_prop.key) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1540 | ... prop_name!(v => &getter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `number` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1540 | ... prop_name!(v => &getter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1540 | ... prop_name!(v => &getter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `big_int` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1540 | ... prop_name!(v => &getter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1565 | ... prop_name!(v => &setter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `number` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1565 | ... prop_name!(v => &setter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1565 | ... prop_name!(v => &setter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `big_int` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1565 | ... prop_name!(v => &setter_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1572 | ... prop_name!(v => &method_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `number` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1485:69 [INFO] [stdout] | [INFO] [stdout] 1485 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1572 | ... prop_name!(v => &method_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1572 | ... prop_name!(v => &method_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `big_int` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1493:72 [INFO] [stdout] | [INFO] [stdout] 1493 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1572 | ... prop_name!(v => &method_prop.key) [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `prop_name` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `o2` is assigned to, but never used [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1236:25 [INFO] [stdout] | [INFO] [stdout] 1236 | let o2; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_o2` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `o2` is never read [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1237:22 [INFO] [stdout] | [INFO] [stdout] 1237 | (o2, t) = self.expr(o, t, obj)?; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:275:37 [INFO] [stdout] | [INFO] [stdout] 275 | Expr::Seq(SeqExpr { span, mut exprs }) if exprs.len() == 1 => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-tac/src/conv/live.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn new_block(&mut self, sidecar: &mut LiveConverter<'a>) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-tac/src/conv/live.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | sidecar: &mut LiveConverter<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sidecar` [INFO] [stdout] --> crates/swc-tac/src/conv/live.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | sidecar: &mut LiveConverter<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sidecar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exit` [INFO] [stdout] --> crates/swc-tac/src/conv/live.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let exit = ToCfgConversionCtx::default().transform_all( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_exit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> crates/swc-tac/src/conv/main.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | t = t2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> crates/swc-tac/src/conv/main.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | (c, t) = self.core.expr(o, t, a)?; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> crates/swc-tac/src/conv/main.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | (c, t) = self.core.expr(o, t, expr)?; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> crates/swc-tac/src/conv/main.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | (c, t) = self.core.expr(o, t, cond)?; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/rew.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 982 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/swc-tac/src/rew.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 935 | crate::LId::Id { id } => swc_ecma_ast::AssignTarget::Simple( [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 941 | crate::LId::Member { obj, mem } => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 954 | LId::Private { obj, id } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 982 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:275:37 [INFO] [stdout] | [INFO] [stdout] 275 | Expr::Seq(SeqExpr { span, mut exprs }) if exprs.len() == 1 => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> crates/swc-tac/src/splat.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 320 | ... arrow => match method.value.as_str().unwrap_or("nope") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | ... func!(value, g, false) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `arrow` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/splat.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 320 | ... arrow => match method.value.as_str().unwrap_or("nope") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | ... func!(value, g, false) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> crates/swc-tac/src/splat.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 320 | ... arrow => match method.value.as_str().unwrap_or("nope") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | ... func!(value, func, arrow); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `arrow` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/splat.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 320 | ... arrow => match method.value.as_str().unwrap_or("nope") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | ... func!(value, func, arrow); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/lib.rs:520:21 [INFO] [stdout] | [INFO] [stdout] 520 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/swc-tac/src/lib.rs:520:21 [INFO] [stdout] | [INFO] [stdout] 512 | LId::Id { id: _ } => {} [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 513 | LId::Member { obj, mem } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 517 | LId::Private { obj, id: _ } => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 520 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/rew.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 982 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/swc-tac/src/rew.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 935 | crate::LId::Id { id } => swc_ecma_ast::AssignTarget::Simple( [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 941 | crate::LId::Member { obj, mem } => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 954 | LId::Private { obj, id } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 982 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> crates/swc-tac/src/splat.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 320 | ... arrow => match method.value.as_str().unwrap_or("nope") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | ... func!(value, g, false) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `arrow` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/splat.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 320 | ... arrow => match method.value.as_str().unwrap_or("nope") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | ... func!(value, g, false) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> crates/swc-tac/src/splat.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 320 | ... arrow => match method.value.as_str().unwrap_or("nope") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | ... func!(value, func, arrow); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `arrow` is captured in macro and introduced a unused variable [INFO] [stdout] --> crates/swc-tac/src/splat.rs:320:37 [INFO] [stdout] | [INFO] [stdout] 320 | ... arrow => match method.value.as_str().unwrap_or("nope") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | ... func!(value, func, arrow); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/lib.rs:520:21 [INFO] [stdout] | [INFO] [stdout] 520 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> crates/swc-tac/src/lib.rs:520:21 [INFO] [stdout] | [INFO] [stdout] 512 | LId::Id { id: _ } => {} [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 513 | LId::Member { obj, mem } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 517 | LId::Private { obj, id: _ } => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 520 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking portal-jsc-swc-ssa v0.8.0-pre.11 (/opt/rustwide/workdir/crates/swc-ssa) [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | 'a: { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SBlockId` [INFO] [stdout] --> crates/swc-ssa/src/eval.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | use crate::{SCfg, SBlockId, SValueId, SValue}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TCallee` [INFO] [stdout] --> crates/swc-ssa/src/eval.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | use swc_tac::{Item, SpreadOr, TCallee}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TFunc` [INFO] [stdout] --> crates/swc-ssa/src/module.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use swc_tac::{TFunc, module::CfgModuleImportMapper, module::TModule}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SValGetter as _` [INFO] [stdout] --> crates/swc-ssa/src/clean.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | simplify::{SSACtx, SValGetter as _}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | 'a: { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SBlockId` [INFO] [stdout] --> crates/swc-ssa/src/eval.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | use crate::{SCfg, SBlockId, SValueId, SValue}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TCallee` [INFO] [stdout] --> crates/swc-ssa/src/eval.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | use swc_tac::{Item, SpreadOr, TCallee}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TFunc` [INFO] [stdout] --> crates/swc-ssa/src/module.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use swc_tac::{TFunc, module::CfgModuleImportMapper, module::TModule}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> crates/swc-ssa/src/module.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / /// Pipeline test: `Module → CfgModule → TModule → SModule`. [INFO] [stdout] 77 | | /// [INFO] [stdout] 78 | | /// Verifies that import/export metadata is preserved through all three [INFO] [stdout] 79 | | /// layers and that an `ImportMapper` built from `SModule::import_mapper()` [INFO] [stdout] 80 | | /// correctly identifies imported bindings. [INFO] [stdout] | |_____------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:928:5 [INFO] [stdout] | [INFO] [stdout] 928 | / /// Regression test: function parameters must be represented by their SSA block-param [INFO] [stdout] 929 | | /// values, not by raw `SValue::LoadId` nodes. [INFO] [stdout] 930 | | /// [INFO] [stdout] 931 | | /// Before the fix, `ToSSAConverter::load()` would fall through to emitting [INFO] [stdout] ... | [INFO] [stdout] 934 | | /// every parameter reference silently became a by-name load instead of the [INFO] [stdout] 935 | | /// `SValue::Param` that was already allocated in the entry block. [INFO] [stdout] | |_____-----------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SValGetter` [INFO] [stdout] --> crates/swc-ssa/src/clean.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | simplify::{SSACtx, SValGetter as _}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestVisitor` is never constructed [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:905:8 [INFO] [stdout] | [INFO] [stdout] 905 | struct TestVisitor; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> crates/swc-ssa/src/opt_stub.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct OptStub { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 31 | /// Mapping from input blocks to output blocks [INFO] [stdout] 32 | map: BTreeMap, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `go` is never used [INFO] [stdout] --> crates/swc-ssa/src/opt_stub.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl OptStub { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 35 | fn go( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sm` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:923:12 [INFO] [stdout] | [INFO] [stdout] 923 | "] => |sm,module|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `map` is never read [INFO] [stdout] --> crates/swc-ssa/src/opt_stub.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct OptStub { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 31 | /// Mapping from input blocks to output blocks [INFO] [stdout] 32 | map: BTreeMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `go` is never used [INFO] [stdout] --> crates/swc-ssa/src/opt_stub.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl OptStub { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 35 | fn go( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | / callee.as_ref().map(&mut |a| { [INFO] [stdout] 287 | | v.push(*a); [INFO] [stdout] 288 | | Ok::<_, Infallible>(()) [INFO] [stdout] 289 | | }); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 286 | let _ = callee.as_ref().map(&mut |a| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | / callee.as_mut().map(&mut |a| { [INFO] [stdout] 333 | | v.push(a); [INFO] [stdout] 334 | | Ok::<_, Infallible>(()) [INFO] [stdout] 335 | | }); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 332 | let _ = callee.as_mut().map(&mut |a| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | / callee.as_ref().map(&mut |a| { [INFO] [stdout] 287 | | v.push(*a); [INFO] [stdout] 288 | | Ok::<_, Infallible>(()) [INFO] [stdout] 289 | | }); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 286 | let _ = callee.as_ref().map(&mut |a| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | / callee.as_mut().map(&mut |a| { [INFO] [stdout] 333 | | v.push(a); [INFO] [stdout] 334 | | Ok::<_, Infallible>(()) [INFO] [stdout] 335 | | }); [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 332 | let _ = callee.as_mut().map(&mut |a| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking portal-jsc-swc-opt-ssa v0.8.0-pre.11 (/opt/rustwide/workdir/crates/swc-opt-ssa) [INFO] [stdout] warning: unused import: `Func` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use ssa_traits::{Func, HasChainableValues, HasValues}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Func` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use ssa_traits::{Func, HasChainableValues, HasValues}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.53s [INFO] running `Command { std: "docker" "inspect" "307ecd25ffa16d56dafb9b628938e49c41a206f96915cb7b806cf9da4c6836bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "307ecd25ffa16d56dafb9b628938e49c41a206f96915cb7b806cf9da4c6836bf", kill_on_drop: false }` [INFO] [stdout] 307ecd25ffa16d56dafb9b628938e49c41a206f96915cb7b806cf9da4c6836bf