[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] 34d4842e0cd5cffb84164a773d8473b379d1e3c4 [INFO] checking portal-co/jsaw-core against master#035b01b794602d5861daa43ac792f372f8981ed7 for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fjsaw-core" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/portal-co/jsaw-core on toolchain 035b01b794602d5861daa43ac792f372f8981ed7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "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" "+035b01b794602d5861daa43ac792f372f8981ed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ptr_meta v0.3.1 [INFO] [stderr] Downloaded munge v0.4.7 [INFO] [stderr] Downloaded bytecheck_derive v0.8.2 [INFO] [stderr] Downloaded rend v0.5.3 [INFO] [stderr] Downloaded rancor v0.1.1 [INFO] [stderr] Downloaded rkyv_derive v0.8.14 [INFO] [stderr] Downloaded arena-traits v0.2.3 [INFO] [stderr] Downloaded string_enum v1.0.2 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.1 [INFO] [stderr] Downloaded is-macro v0.3.7 [INFO] [stderr] Downloaded bytecheck v0.8.2 [INFO] [stderr] Downloaded swc_macros_common v1.0.1 [INFO] [stderr] Downloaded array-init v2.1.0 [INFO] [stderr] Downloaded linearize-derive v0.2.1 [INFO] [stderr] Downloaded psm v0.1.29 [INFO] [stderr] Downloaded portal-solutions-proxy-signs v0.1.0 [INFO] [stderr] Downloaded par-core v2.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 v0.1.5 [INFO] [stderr] Downloaded relooper v0.1.0 [INFO] [stderr] Downloaded zmij v1.0.19 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded ast_node v4.0.0 [INFO] [stderr] Downloaded linearize-derive v0.1.0 [INFO] [stderr] Downloaded swc_ecma_transforms_optimization v31.0.0 [INFO] [stderr] Downloaded ar_archive_writer v0.5.1 [INFO] [stderr] Downloaded swc_common v16.0.0 [INFO] [stderr] Downloaded swc_ecma_parser v26.0.1 [INFO] [stderr] Downloaded swc_ecma_transforms_base v29.0.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.38 [INFO] [stderr] Downloaded zerocopy v0.8.38 [INFO] [stderr] Downloaded hstr v3.0.4 [INFO] [stderr] Downloaded swc_ecma_visit v17.0.0 [INFO] [stderr] Downloaded ryu-js v1.0.2 [INFO] [stderr] Downloaded swc_ecma_utils v23.0.0 [INFO] [stderr] Downloaded unicode-id-start v1.4.0 [INFO] [stderr] Downloaded swc_ecma_ast v17.0.0 [INFO] [stderr] Downloaded swc_atoms v8.0.2 [INFO] [stderr] Downloaded swc_visit v2.0.1 [INFO] [stderr] Downloaded triomphe v0.1.15 [INFO] [stderr] Downloaded from_variant v2.0.2 [INFO] [stderr] Downloaded portal-pc-asm-common v0.1.1 [INFO] [stderr] Downloaded rkyv v0.8.14 [INFO] [stderr] Downloaded bytes-str v0.2.7 [INFO] [stderr] Downloaded no-error-type v0.1.2 [INFO] [stderr] Downloaded munge_macro v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d370a8096220503d3d10cadb035bb7e1e059008f8893a23fd15690db868d1e29 [INFO] running `Command { std: "docker" "start" "-a" "d370a8096220503d3d10cadb035bb7e1e059008f8893a23fd15690db868d1e29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d370a8096220503d3d10cadb035bb7e1e059008f8893a23fd15690db868d1e29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d370a8096220503d3d10cadb035bb7e1e059008f8893a23fd15690db868d1e29", kill_on_drop: false }` [INFO] [stdout] d370a8096220503d3d10cadb035bb7e1e059008f8893a23fd15690db868d1e29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 838c1a7f671e717ad3f72a295b220184e93f9113584d827963898d254b81debd [INFO] running `Command { std: "docker" "start" "-a" "838c1a7f671e717ad3f72a295b220184e93f9113584d827963898d254b81debd", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Compiling zerocopy v0.8.38 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking better_scoped_tls v1.0.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking unicode-id-start v1.4.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking no-error-type v0.1.2 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking par-core v2.0.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking ryu-js v1.0.2 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking petgraph v0.7.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking arena-traits v0.2.3 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling linearize v0.1.5 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking portal-solutions-proxy-signs v0.1.0 [INFO] [stderr] Checking relooper v0.1.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling ar_archive_writer v0.5.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling psm v0.1.29 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling from_variant v2.0.2 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling ast_node v4.0.0 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling linearize-derive v0.2.1 [INFO] [stderr] Compiling linearize-derive v0.1.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking triomphe v0.1.15 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking bytes-str v0.2.7 [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#9d983e93) [INFO] [stderr] Checking hstr v3.0.4 [INFO] [stderr] Checking ssa-traits v0.2.3 (https://github.com/portal-co/codegen-utils.git?branch=master#9d983e93) [INFO] [stderr] Checking swc_atoms v8.0.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking swc_common v16.0.0 [INFO] [stderr] Checking portal-pc-asm-common v0.1.1 [INFO] [stderr] Checking portal-jsc-common v0.8.0-pre.10 (/opt/rustwide/workdir/crates/portal-jsc-common) [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> crates/portal-jsc-common/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use either::Either; [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: `crate::*` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [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:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | 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:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | 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:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 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:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Math_imul, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MathImul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> crates/portal-jsc-common/src/semantic.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> crates/portal-jsc-common/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use either::Either; [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: `crate::*` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [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:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | 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:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | 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:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | 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:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Math_imul, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MathImul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> crates/portal-jsc-common/src/semantic.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:260:36 [INFO] [stdout] | [INFO] [stdout] 260 | Native::AssertString { value, comptime } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:267:36 [INFO] [stdout] | [INFO] [stdout] 267 | Native::AssertNumber { value, comptime } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:274:38 [INFO] [stdout] | [INFO] [stdout] 274 | Native::AssertStaticFn { value, comptime } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:281:31 [INFO] [stdout] | [INFO] [stdout] 281 | Native::FastAdd { lhs, rhs } => "fast_add", [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:281:36 [INFO] [stdout] | [INFO] [stdout] 281 | Native::FastAdd { lhs, rhs } => "fast_add", [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:282:31 [INFO] [stdout] | [INFO] [stdout] 282 | Native::FastAnd { lhs, rhs } => "fast_and", [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:282:36 [INFO] [stdout] | [INFO] [stdout] 282 | Native::FastAnd { lhs, rhs } => "fast_and", [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 283 | Native::FastOr { lhs, rhs } => "fast_or", [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:283:35 [INFO] [stdout] | [INFO] [stdout] 283 | Native::FastOr { lhs, rhs } => "fast_or", [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:284:30 [INFO] [stdout] | [INFO] [stdout] 284 | Native::FastEq { lhs, rhs } => "fast_eq", [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:284:35 [INFO] [stdout] | [INFO] [stdout] 284 | Native::FastEq { lhs, rhs } => "fast_eq", [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:285:31 [INFO] [stdout] | [INFO] [stdout] 285 | Native::FastSub { lhs, rhs } => "fast_sub", [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:285:36 [INFO] [stdout] | [INFO] [stdout] 285 | Native::FastSub { lhs, rhs } => "fast_sub", [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:286:31 [INFO] [stdout] | [INFO] [stdout] 286 | Native::FastMul { lhs, rhs, imul } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:286:36 [INFO] [stdout] | [INFO] [stdout] 286 | Native::FastMul { lhs, rhs, imul } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | Native::FastShl { lhs, rhs } => "fast_shl", [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:293:36 [INFO] [stdout] | [INFO] [stdout] 293 | Native::FastShl { lhs, rhs } => "fast_shl", [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:260:36 [INFO] [stdout] | [INFO] [stdout] 260 | Native::AssertString { value, comptime } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:267:36 [INFO] [stdout] | [INFO] [stdout] 267 | Native::AssertNumber { value, comptime } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:274:38 [INFO] [stdout] | [INFO] [stdout] 274 | Native::AssertStaticFn { value, comptime } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:281:31 [INFO] [stdout] | [INFO] [stdout] 281 | Native::FastAdd { lhs, rhs } => "fast_add", [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:281:36 [INFO] [stdout] | [INFO] [stdout] 281 | Native::FastAdd { lhs, rhs } => "fast_add", [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:282:31 [INFO] [stdout] | [INFO] [stdout] 282 | Native::FastAnd { lhs, rhs } => "fast_and", [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:282:36 [INFO] [stdout] | [INFO] [stdout] 282 | Native::FastAnd { lhs, rhs } => "fast_and", [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 283 | Native::FastOr { lhs, rhs } => "fast_or", [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:283:35 [INFO] [stdout] | [INFO] [stdout] 283 | Native::FastOr { lhs, rhs } => "fast_or", [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:284:30 [INFO] [stdout] | [INFO] [stdout] 284 | Native::FastEq { lhs, rhs } => "fast_eq", [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:284:35 [INFO] [stdout] | [INFO] [stdout] 284 | Native::FastEq { lhs, rhs } => "fast_eq", [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:285:31 [INFO] [stdout] | [INFO] [stdout] 285 | Native::FastSub { lhs, rhs } => "fast_sub", [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:285:36 [INFO] [stdout] | [INFO] [stdout] 285 | Native::FastSub { lhs, rhs } => "fast_sub", [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:286:31 [INFO] [stdout] | [INFO] [stdout] 286 | Native::FastMul { lhs, rhs, imul } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:286:36 [INFO] [stdout] | [INFO] [stdout] 286 | Native::FastMul { lhs, rhs, imul } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:293:31 [INFO] [stdout] | [INFO] [stdout] 293 | Native::FastShl { lhs, rhs } => "fast_shl", [INFO] [stdout] | ^^^ help: try ignoring the field: `lhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> crates/portal-jsc-common/src/natives.rs:293:36 [INFO] [stdout] | [INFO] [stdout] 293 | Native::FastShl { lhs, rhs } => "fast_shl", [INFO] [stdout] | ^^^ help: try ignoring the field: `rhs: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking portal-jsc-generator v0.8.0-pre.10 (/opt/rustwide/workdir/crates/portal-jsc-generator) [INFO] [stderr] Checking swc_ecma_ast v17.0.0 [INFO] [stderr] Checking swc_ecma_visit v17.0.0 [INFO] [stderr] Checking swc_ecma_parser v26.0.1 [INFO] [stderr] Checking swc_ecma_utils v23.0.0 [INFO] [stderr] Checking swc_ecma_transforms_base v29.0.0 [INFO] [stderr] Checking swc_ecma_transforms_optimization v31.0.0 [INFO] [stderr] Checking portal-solutions-swibb v0.5.0 (https://github.com/portal-co/swibb.git#65e1f180) [INFO] [stderr] Checking portal-jsc-swc-util v0.8.0-pre.10 (/opt/rustwide/workdir/crates/swc-util) [INFO] [stdout] warning: unused import: `bitflags::bitflags` [INFO] [stdout] --> crates/swc-util/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use bitflags::bitflags; [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: `bitflags::bitflags` [INFO] [stdout] --> crates/swc-util/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use bitflags::bitflags; [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 variable: `cfg` [INFO] [stdout] --> crates/swc-util/src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | cfg: &SemanticCfg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> crates/swc-util/src/lib.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | module, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `module: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> crates/swc-util/src/lib.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> crates/swc-util/src/lib.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | module, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `module: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> crates/swc-util/src/lib.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> crates/swc-util/src/lib.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | module, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `module: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> crates/swc-util/src/lib.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> crates/swc-util/src/lib.rs:276:25 [INFO] [stdout] | [INFO] [stdout] 276 | fn import_of(&self, cx: &Id) -> Option<(Wtf8Atom, ImportMap)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> crates/swc-util/src/lib.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | cfg: &SemanticCfg, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> crates/swc-util/src/lib.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | module, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `module: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> crates/swc-util/src/lib.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> crates/swc-util/src/lib.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | module, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `module: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> crates/swc-util/src/lib.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> crates/swc-util/src/lib.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | module, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `module: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> crates/swc-util/src/lib.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> crates/swc-util/src/lib.rs:276:25 [INFO] [stdout] | [INFO] [stdout] 276 | fn import_of(&self, cx: &Id) -> Option<(Wtf8Atom, ImportMap)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking portal-jsc-simpl-js v0.8.0-pre.10 (/opt/rustwide/workdir/crates/simpl-js) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::collections::HashMap; [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: `std::env::Args` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::env::Args; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::collections::HashMap; [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: `std::env::Args` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::env::Args; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `make_spanned` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | SimplStmt::Expr(make_spanned) | SimplStmt::Return(make_spanned) => {} [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 211 | SimplStmt::Expr(_make_spanned) | SimplStmt::Return(_make_spanned) => {} [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/simpl-js/src/lib.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | _ => 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:429:13 [INFO] [stdout] | [INFO] [stdout] 239 | SimplExpr::Ident(i) => match i.extract_own() { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 249 | SimplExpr::Assign(a) => match a.value.target.extract_own() { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 283 | SimplExpr::Bin(b) => Expr::Bin(BinExpr { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 289 | SimplExpr::Lit(l) => Expr::Lit(l), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 429 | _ => 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: unused variable: `args` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:364:43 [INFO] [stdout] | [INFO] [stdout] 364 | SimplCallExpr::Tag { tag, args } => match tag {}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/simpl-js/src/lib.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 539 | _ => 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:539:13 [INFO] [stdout] | [INFO] [stdout] 457 | SimplStmt::Expr(e) => Stmt::Expr(ExprStmt { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 461 | SimplStmt::Block(b) => Stmt::Block(BlockStmt { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 466 | SimplStmt::Return(e) => Stmt::Return(ReturnStmt { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 470 | SimplStmt::If(i) => match i.value.kind { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 539 | _ => todo!(), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `make_spanned` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | SimplStmt::Expr(make_spanned) | SimplStmt::Return(make_spanned) => {} [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 211 | SimplStmt::Expr(_make_spanned) | SimplStmt::Return(_make_spanned) => {} [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/simpl-js/src/lib.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | _ => 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:429:13 [INFO] [stdout] | [INFO] [stdout] 239 | SimplExpr::Ident(i) => match i.extract_own() { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 249 | SimplExpr::Assign(a) => match a.value.target.extract_own() { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 283 | SimplExpr::Bin(b) => Expr::Bin(BinExpr { [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 289 | SimplExpr::Lit(l) => Expr::Lit(l), [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 429 | _ => 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: variable does not need to be mutable [INFO] [stdout] --> crates/simpl-js/src/lib.rs:692:21 [INFO] [stdout] | [INFO] [stdout] 692 | let mut path = match e { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/simpl-js/src/lib.rs:764:45 [INFO] [stdout] | [INFO] [stdout] 764 | ... let mut path = match &a { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:632:25 [INFO] [stdout] | [INFO] [stdout] 632 | module, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `module: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:663:41 [INFO] [stdout] | [INFO] [stdout] 663 | ... module, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `module: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:664:41 [INFO] [stdout] | [INFO] [stdout] 664 | ... name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `super_prop_expr` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:671:73 [INFO] [stdout] | [INFO] [stdout] 671 | ... swc_ecma_ast::SimpleAssignTarget::SuperProp(super_prop_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_super_prop_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paren_expr` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:672:69 [INFO] [stdout] | [INFO] [stdout] 672 | ... swc_ecma_ast::SimpleAssignTarget::Paren(paren_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paren_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_chain_expr` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:673:72 [INFO] [stdout] | [INFO] [stdout] 673 | ... swc_ecma_ast::SimpleAssignTarget::OptChain(opt_chain_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_chain_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_as_expr` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:674:68 [INFO] [stdout] | [INFO] [stdout] 674 | ... swc_ecma_ast::SimpleAssignTarget::TsAs(ts_as_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_as_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_satisfies_expr` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:675:75 [INFO] [stdout] | [INFO] [stdout] 675 | ... swc_ecma_ast::SimpleAssignTarget::TsSatisfies(ts_satisfies_expr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_satisfies_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_non_null_expr` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:678:73 [INFO] [stdout] | [INFO] [stdout] 678 | ... swc_ecma_ast::SimpleAssignTarget::TsNonNull(ts_non_null_expr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_non_null_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_type_assertion` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:682:33 [INFO] [stdout] | [INFO] [stdout] 682 | ... ts_type_assertion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_type_assertion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_instantiation` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:684:79 [INFO] [stdout] | [INFO] [stdout] 684 | ... swc_ecma_ast::SimpleAssignTarget::TsInstantiation(ts_instantiation) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_instantiation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invalid` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:687:71 [INFO] [stdout] | [INFO] [stdout] 687 | ... swc_ecma_ast::SimpleAssignTarget::Invalid(invalid) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assign_target_pat` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:690:53 [INFO] [stdout] | [INFO] [stdout] 690 | swc_ecma_ast::AssignTarget::Pat(assign_target_pat) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assign_target_pat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:717:50 [INFO] [stdout] | [INFO] [stdout] 717 | swc_ecma_ast::Callee::Import(import) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_import` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:1020:62 [INFO] [stdout] | [INFO] [stdout] 1020 | ... Some(Stmt::Break(BreakStmt { span, label: None })) => ( [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:364:43 [INFO] [stdout] | [INFO] [stdout] 364 | SimplCallExpr::Tag { tag, args } => match tag {}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/simpl-js/src/lib.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 539 | _ => 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:539:13 [INFO] [stdout] | [INFO] [stdout] 457 | SimplStmt::Expr(e) => Stmt::Expr(ExprStmt { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 461 | SimplStmt::Block(b) => Stmt::Block(BlockStmt { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 466 | SimplStmt::Return(e) => Stmt::Return(ReturnStmt { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 470 | SimplStmt::If(i) => match i.value.kind { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 539 | _ => todo!(), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/simpl-js/src/lib.rs:692:21 [INFO] [stdout] | [INFO] [stdout] 692 | let mut path = match e { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/simpl-js/src/lib.rs:764:45 [INFO] [stdout] | [INFO] [stdout] 764 | ... let mut path = match &a { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:632:25 [INFO] [stdout] | [INFO] [stdout] 632 | module, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `module: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:633:25 [INFO] [stdout] | [INFO] [stdout] 633 | name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:663:41 [INFO] [stdout] | [INFO] [stdout] 663 | ... module, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `module: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:664:41 [INFO] [stdout] | [INFO] [stdout] 664 | ... name, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `super_prop_expr` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:671:73 [INFO] [stdout] | [INFO] [stdout] 671 | ... swc_ecma_ast::SimpleAssignTarget::SuperProp(super_prop_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_super_prop_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paren_expr` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:672:69 [INFO] [stdout] | [INFO] [stdout] 672 | ... swc_ecma_ast::SimpleAssignTarget::Paren(paren_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paren_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt_chain_expr` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:673:72 [INFO] [stdout] | [INFO] [stdout] 673 | ... swc_ecma_ast::SimpleAssignTarget::OptChain(opt_chain_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opt_chain_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_as_expr` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:674:68 [INFO] [stdout] | [INFO] [stdout] 674 | ... swc_ecma_ast::SimpleAssignTarget::TsAs(ts_as_expr) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_as_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_satisfies_expr` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:675:75 [INFO] [stdout] | [INFO] [stdout] 675 | ... swc_ecma_ast::SimpleAssignTarget::TsSatisfies(ts_satisfies_expr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_satisfies_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_non_null_expr` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:678:73 [INFO] [stdout] | [INFO] [stdout] 678 | ... swc_ecma_ast::SimpleAssignTarget::TsNonNull(ts_non_null_expr) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_non_null_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_type_assertion` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:682:33 [INFO] [stdout] | [INFO] [stdout] 682 | ... ts_type_assertion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_type_assertion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_instantiation` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:684:79 [INFO] [stdout] | [INFO] [stdout] 684 | ... swc_ecma_ast::SimpleAssignTarget::TsInstantiation(ts_instantiation) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_instantiation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `invalid` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:687:71 [INFO] [stdout] | [INFO] [stdout] 687 | ... swc_ecma_ast::SimpleAssignTarget::Invalid(invalid) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_invalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assign_target_pat` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:690:53 [INFO] [stdout] | [INFO] [stdout] 690 | swc_ecma_ast::AssignTarget::Pat(assign_target_pat) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assign_target_pat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:717:50 [INFO] [stdout] | [INFO] [stdout] 717 | swc_ecma_ast::Callee::Import(import) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_import` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/simpl-js/src/lib.rs:1020:62 [INFO] [stdout] | [INFO] [stdout] 1020 | ... Some(Stmt::Break(BreakStmt { span, label: None })) => ( [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ssa-impls v0.2.3 (https://github.com/portal-co/codegen-utils.git?branch=master#9d983e93) [INFO] [stderr] Checking ssa-reloop v0.2.3 (https://github.com/portal-co/codegen-utils.git?branch=master#9d983e93) [INFO] [stderr] Checking portal-jsc-swc-ll-common v0.8.0-pre.10 (/opt/rustwide/workdir/crates/swc-ll-common) [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | use anyhow::Context; [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: `arena_traits::IndexAlloc` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | use arena_traits::IndexAlloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, and `HashMap` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | use std::collections::{BTreeMap, BTreeSet, HashMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::take` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | use std::mem::take; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StaticMap` and `static_map` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | use linearize::{StaticMap, static_map}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `portal_jsc_swc_util::brighten::Purity` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | use portal_jsc_swc_util::brighten::Purity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImportMapper` and `ResolveNatives` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | use portal_jsc_swc_util::{ImportMapper, ResolveNatives, SemanticCfg, SemanticFlags, ses_method}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `portal_solutions_swibb::ConstCollector` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | use portal_solutions_swibb::ConstCollector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dominates` and `domtree` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | use ssa_impls::dom::{dominates, domtree}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mark` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | use swc_common::{EqIgnoreSpan, Mark, Span, Spanned, SyntaxContext}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssignExpr`, `AssignOp`, `AssignTarget`, `ClassMember`, `Class`, `ComputedPropName`, `CondExpr`, `MemberExpr`, `Param`, `Pat`, `SimpleAssignTarget`, `Stmt`, `TsTypeAnn`, `TsTypeParamDecl`, and `TsType` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | AssignExpr, AssignOp, AssignTarget, BinaryOp, Bool, Callee, Class, ClassMember, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 191 | ComputedPropName, CondExpr, Expr, Function, Lit, MemberExpr, MemberProp, MetaPropKind, Number, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 192 | Param, Pat, SimpleAssignTarget, Stmt, Str, TsType, TsTypeAnn, TsTypeParamDecl, UnaryOp, [INFO] [stdout] | ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdentName` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | use swc_ecma_ast::{Id as Ident, IdentName}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | use anyhow::Context; [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: `arena_traits::IndexAlloc` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | use arena_traits::IndexAlloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, and `HashMap` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | use std::collections::{BTreeMap, BTreeSet, HashMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::take` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | use std::mem::take; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StaticMap` and `static_map` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | use linearize::{StaticMap, static_map}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `portal_jsc_swc_util::brighten::Purity` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | use portal_jsc_swc_util::brighten::Purity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImportMapper` and `ResolveNatives` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:183:27 [INFO] [stdout] | [INFO] [stdout] 183 | use portal_jsc_swc_util::{ImportMapper, ResolveNatives, SemanticCfg, SemanticFlags, ses_method}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `portal_solutions_swibb::ConstCollector` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | use portal_solutions_swibb::ConstCollector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dominates` and `domtree` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:185:22 [INFO] [stdout] | [INFO] [stdout] 185 | use ssa_impls::dom::{dominates, domtree}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mark` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | use swc_common::{EqIgnoreSpan, Mark, Span, Spanned, SyntaxContext}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssignExpr`, `AssignOp`, `AssignTarget`, `ClassMember`, `Class`, `ComputedPropName`, `CondExpr`, `MemberExpr`, `Param`, `Pat`, `SimpleAssignTarget`, `Stmt`, `TsTypeAnn`, `TsTypeParamDecl`, and `TsType` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | AssignExpr, AssignOp, AssignTarget, BinaryOp, Bool, Callee, Class, ClassMember, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 191 | ComputedPropName, CondExpr, Expr, Function, Lit, MemberExpr, MemberProp, MetaPropKind, Number, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 192 | Param, Pat, SimpleAssignTarget, Stmt, Str, TsType, TsTypeAnn, TsTypeParamDecl, UnaryOp, [INFO] [stdout] | ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdentName` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | use swc_ecma_ast::{Id as Ident, IdentName}; [INFO] [stdout] | ^^^^^^^^^ [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 | return 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 | return 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: unused variable: `i` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:266:39 [INFO] [stdout] | [INFO] [stdout] 266 | fn get_mut_item<'b>(&'b mut self, i: I, ctx: Ctx) -> Option<&'b mut Item> [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:266:45 [INFO] [stdout] | [INFO] [stdout] 266 | fn get_mut_item<'b>(&'b mut self, i: I, ctx: Ctx) -> Option<&'b mut Item> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lit` [INFO] [stdout] --> crates/swc-ll-common/src/ext.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | Item::Lit { lit } => true, [INFO] [stdout] | ^^^ help: try ignoring the field: `lit: _` [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 | return 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 | return 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: unused variable: `span` [INFO] [stdout] --> crates/swc-ll-common/src/ext.rs:322:73 [INFO] [stdout] | [INFO] [stdout] 322 | ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span, value: true }))) [INFO] [stdout] | ^^^^ [INFO] [stdout] 323 | | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span, value: false }))), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span, value: false }))) [INFO] [stdout] | ^^^^ [INFO] [stdout] 332 | | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span, value: true }))), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 322 ~ ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: true }))) [INFO] [stdout] 323 ~ | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: false }))), [INFO] [stdout] 324 | ) [INFO] [stdout] ... [INFO] [stdout] 330 | }, [INFO] [stdout] 331 ~ ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: false }))) [INFO] [stdout] 332 ~ | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: true }))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ll-common/src/ext.rs:363:73 [INFO] [stdout] | [INFO] [stdout] 363 | ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span, value: false }))) [INFO] [stdout] | ^^^^ [INFO] [stdout] 364 | | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span, value: true }))), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span, value: true }))) [INFO] [stdout] | ^^^^ [INFO] [stdout] 373 | | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span, value: false }))), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 363 ~ ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: false }))) [INFO] [stdout] 364 ~ | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: true }))), [INFO] [stdout] 365 | ) [INFO] [stdout] ... [INFO] [stdout] 371 | }, [INFO] [stdout] 372 ~ ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: true }))) [INFO] [stdout] 373 ~ | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: false }))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-ll-common/src/ext.rs:398:25 [INFO] [stdout] | [INFO] [stdout] 398 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:266:39 [INFO] [stdout] | [INFO] [stdout] 266 | fn get_mut_item<'b>(&'b mut self, i: I, ctx: Ctx) -> Option<&'b mut Item> [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:266:45 [INFO] [stdout] | [INFO] [stdout] 266 | fn get_mut_item<'b>(&'b mut self, i: I, ctx: Ctx) -> Option<&'b mut Item> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lit` [INFO] [stdout] --> crates/swc-ll-common/src/ext.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | Item::Lit { lit } => true, [INFO] [stdout] | ^^^ help: try ignoring the field: `lit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | ... _ => 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:410:33 [INFO] [stdout] | [INFO] [stdout] 392 | / ... PropKey::Lit(PropSym { [INFO] [stdout] 393 | | ... sym: l, [INFO] [stdout] 394 | | ... span: s2, [INFO] [stdout] 395 | | ... ctx: _, [INFO] [stdout] 396 | | ... }) => Lit::Str(Str { [INFO] [stdout] | |________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 401 | ... PropKey::Computed(c) => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 410 | ... _ => 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: `span` [INFO] [stdout] --> crates/swc-ll-common/src/ext.rs:322:73 [INFO] [stdout] | [INFO] [stdout] 322 | ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span, value: true }))) [INFO] [stdout] | ^^^^ [INFO] [stdout] 323 | | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span, value: false }))), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span, value: false }))) [INFO] [stdout] | ^^^^ [INFO] [stdout] 332 | | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span, value: true }))), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 322 ~ ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: true }))) [INFO] [stdout] 323 ~ | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: false }))), [INFO] [stdout] 324 | ) [INFO] [stdout] ... [INFO] [stdout] 330 | }, [INFO] [stdout] 331 ~ ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: false }))) [INFO] [stdout] 332 ~ | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: true }))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ll-common/src/ext.rs:363:73 [INFO] [stdout] | [INFO] [stdout] 363 | ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span, value: false }))) [INFO] [stdout] | ^^^^ [INFO] [stdout] 364 | | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span, value: true }))), [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 372 | ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span, value: true }))) [INFO] [stdout] | ^^^^ [INFO] [stdout] 373 | | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span, value: false }))), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 363 ~ ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: false }))) [INFO] [stdout] 364 ~ | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: true }))), [INFO] [stdout] 365 | ) [INFO] [stdout] ... [INFO] [stdout] 371 | }, [INFO] [stdout] 372 ~ ForceTarget::Eq(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: true }))) [INFO] [stdout] 373 ~ | ForceTarget::Ne(ForceEquality::Lit(Lit::Bool(Bool { span: _, value: false }))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-ll-common/src/ext.rs:398:25 [INFO] [stdout] | [INFO] [stdout] 398 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | ... _ => 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:410:33 [INFO] [stdout] | [INFO] [stdout] 392 | / ... PropKey::Lit(PropSym { [INFO] [stdout] 393 | | ... sym: l, [INFO] [stdout] 394 | | ... span: s2, [INFO] [stdout] 395 | | ... ctx: _, [INFO] [stdout] 396 | | ... }) => Lit::Str(Str { [INFO] [stdout] | |________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 401 | ... PropKey::Computed(c) => { [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 410 | ... _ => 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: `s` [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:521:64 [INFO] [stdout] | [INFO] [stdout] 521 | ... is_spread: s, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | Item::Just { id } => None, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:140:41 [INFO] [stdout] | [INFO] [stdout] 140 | ... (_, _, Some(v), Some(v2)) => (left?, right?), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:140:50 [INFO] [stdout] | [INFO] [stdout] 140 | ... (_, _, Some(v), Some(v2)) => (left?, right?), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:394:43 [INFO] [stdout] | [INFO] [stdout] 394 | ... span: s2, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:521:64 [INFO] [stdout] | [INFO] [stdout] 521 | ... is_spread: s, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | Item::Just { id } => None, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:140:41 [INFO] [stdout] | [INFO] [stdout] 140 | ... (_, _, Some(v), Some(v2)) => (left?, right?), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:140:50 [INFO] [stdout] | [INFO] [stdout] 140 | ... (_, _, Some(v), Some(v2)) => (left?, right?), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> crates/swc-ll-common/src/ext/consts.rs:394:43 [INFO] [stdout] | [INFO] [stdout] 394 | ... span: s2, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:478:25 [INFO] [stdout] | [INFO] [stdout] 478 | Item::Mem { obj, mem } => mem == i, [INFO] [stdout] | ^^^ help: try ignoring the field: `obj: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:481:17 [INFO] [stdout] | [INFO] [stdout] 481 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:503:30 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn will_store(&self, i: &Ident) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:507:17 [INFO] [stdout] | [INFO] [stdout] 507 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:478:25 [INFO] [stdout] | [INFO] [stdout] 478 | Item::Mem { obj, mem } => mem == i, [INFO] [stdout] | ^^^ help: try ignoring the field: `obj: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:481:17 [INFO] [stdout] | [INFO] [stdout] 481 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:503:30 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn will_store(&self, i: &Ident) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:507:17 [INFO] [stdout] | [INFO] [stdout] 507 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:730:43 [INFO] [stdout] | [INFO] [stdout] 730 | ... &mut |cx, b| Ok(b), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:729:43 [INFO] [stdout] | [INFO] [stdout] 729 | ... &mut |cx, a: &Option| Ok::<_, Infallible>(a.as_ref()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:862:43 [INFO] [stdout] | [INFO] [stdout] 862 | ... &mut |cx, b| Ok(b), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:861:43 [INFO] [stdout] | [INFO] [stdout] 861 | ... &mut |cx, a| Ok::<_, Infallible>(a.as_mut()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:730:43 [INFO] [stdout] | [INFO] [stdout] 730 | ... &mut |cx, b| Ok(b), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:729:43 [INFO] [stdout] | [INFO] [stdout] 729 | ... &mut |cx, a: &Option| Ok::<_, Infallible>(a.as_ref()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:862:43 [INFO] [stdout] | [INFO] [stdout] 862 | ... &mut |cx, b| Ok(b), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:861:43 [INFO] [stdout] | [INFO] [stdout] 861 | ... &mut |cx, a| Ok::<_, Infallible>(a.as_mut()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1047:32 [INFO] [stdout] | [INFO] [stdout] 1047 | Item::Func { func, arrow } => Box::new(once(func)), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `arrow: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `superclass` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1053:17 [INFO] [stdout] | [INFO] [stdout] 1053 | superclass, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `superclass: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1126:37 [INFO] [stdout] | [INFO] [stdout] 1126 | PropVal::Getter(a) | PropVal::Setter(a) | PropVal::Method(a) => { [INFO] [stdout] | ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1126 | PropVal::Getter(_a) | PropVal::Setter(_a) | PropVal::Method(_a) => { [INFO] [stdout] | + + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1097:37 [INFO] [stdout] | [INFO] [stdout] 1097 | PropVal::Getter(a) | PropVal::Setter(a) | PropVal::Method(a) => { [INFO] [stdout] | ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1097 | PropVal::Getter(_a) | PropVal::Setter(_a) | PropVal::Method(_a) => { [INFO] [stdout] | + + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1047:32 [INFO] [stdout] | [INFO] [stdout] 1047 | Item::Func { func, arrow } => Box::new(once(func)), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `arrow: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `superclass` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1053:17 [INFO] [stdout] | [INFO] [stdout] 1053 | superclass, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `superclass: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1072:47 [INFO] [stdout] | [INFO] [stdout] 1072 | swc_tac::Item::Bin { left, right, op } => Box::new([left, right].into_iter()), [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1073:38 [INFO] [stdout] | [INFO] [stdout] 1073 | swc_tac::Item::Un { arg, op } => Box::new(once(arg)), [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1075:37 [INFO] [stdout] | [INFO] [stdout] 1075 | Item::PrivateMem { obj, mem } | Item::HasPrivateMem { obj, mem } => Box::new(once(obj)), [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 1075 | Item::PrivateMem { obj, mem: _ } | Item::HasPrivateMem { obj, mem: _ } => Box::new(once(obj)), [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1076:35 [INFO] [stdout] | [INFO] [stdout] 1076 | swc_tac::Item::Func { func, arrow } => Box::new(empty()), [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1076:41 [INFO] [stdout] | [INFO] [stdout] 1076 | swc_tac::Item::Func { func, arrow } => Box::new(empty()), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `arrow: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lit` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1077:34 [INFO] [stdout] | [INFO] [stdout] 1077 | swc_tac::Item::Lit { lit } => Box::new(empty()), [INFO] [stdout] | ^^^ help: try ignoring the field: `lit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delegate` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1114:43 [INFO] [stdout] | [INFO] [stdout] 1114 | swc_tac::Item::Yield { value, delegate } => Box::new(value.iter()), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `delegate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constructor` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1123:17 [INFO] [stdout] | [INFO] [stdout] 1123 | constructor, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `constructor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begin` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1143:17 [INFO] [stdout] | [INFO] [stdout] 1143 | begin, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `begin: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1144:17 [INFO] [stdout] | [INFO] [stdout] 1144 | end, [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1126:37 [INFO] [stdout] | [INFO] [stdout] 1126 | PropVal::Getter(a) | PropVal::Setter(a) | PropVal::Method(a) => { [INFO] [stdout] | ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1126 | PropVal::Getter(_a) | PropVal::Setter(_a) | PropVal::Method(_a) => { [INFO] [stdout] | + + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1097:37 [INFO] [stdout] | [INFO] [stdout] 1097 | PropVal::Getter(a) | PropVal::Setter(a) | PropVal::Method(a) => { [INFO] [stdout] | ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1097 | PropVal::Getter(_a) | PropVal::Setter(_a) | PropVal::Method(_a) => { [INFO] [stdout] | + + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1072:47 [INFO] [stdout] | [INFO] [stdout] 1072 | swc_tac::Item::Bin { left, right, op } => Box::new([left, right].into_iter()), [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1073:38 [INFO] [stdout] | [INFO] [stdout] 1073 | swc_tac::Item::Un { arg, op } => Box::new(once(arg)), [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1075:37 [INFO] [stdout] | [INFO] [stdout] 1075 | Item::PrivateMem { obj, mem } | Item::HasPrivateMem { obj, mem } => Box::new(once(obj)), [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 1075 | Item::PrivateMem { obj, mem: _ } | Item::HasPrivateMem { obj, mem: _ } => Box::new(once(obj)), [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1228:45 [INFO] [stdout] | [INFO] [stdout] 1228 | ... PropVal::Getter(a) | PropVal::Setter(a) | PropVal::Method(a) => { [INFO] [stdout] | ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1228 | PropVal::Getter(_a) | PropVal::Setter(_a) | PropVal::Method(_a) => { [INFO] [stdout] | + + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1196:37 [INFO] [stdout] | [INFO] [stdout] 1196 | PropVal::Getter(a) | PropVal::Setter(a) | PropVal::Method(a) => { [INFO] [stdout] | ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1196 | PropVal::Getter(_a) | PropVal::Setter(_a) | PropVal::Method(_a) => { [INFO] [stdout] | + + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1171:47 [INFO] [stdout] | [INFO] [stdout] 1171 | swc_tac::Item::Bin { left, right, op } => Box::new([left, right].into_iter()), [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1172:38 [INFO] [stdout] | [INFO] [stdout] 1172 | swc_tac::Item::Un { arg, op } => Box::new(once(arg)), [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1076:35 [INFO] [stdout] | [INFO] [stdout] 1076 | swc_tac::Item::Func { func, arrow } => Box::new(empty()), [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1076:41 [INFO] [stdout] | [INFO] [stdout] 1076 | swc_tac::Item::Func { func, arrow } => Box::new(empty()), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `arrow: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1174:37 [INFO] [stdout] | [INFO] [stdout] 1174 | Item::PrivateMem { obj, mem } | Item::HasPrivateMem { obj, mem } => Box::new(once(obj)), [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 1174 | Item::PrivateMem { obj, mem: _ } | Item::HasPrivateMem { obj, mem: _ } => Box::new(once(obj)), [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lit` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1077:34 [INFO] [stdout] | [INFO] [stdout] 1077 | swc_tac::Item::Lit { lit } => Box::new(empty()), [INFO] [stdout] | ^^^ help: try ignoring the field: `lit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delegate` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1114:43 [INFO] [stdout] | [INFO] [stdout] 1114 | swc_tac::Item::Yield { value, delegate } => Box::new(value.iter()), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `delegate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constructor` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1123:17 [INFO] [stdout] | [INFO] [stdout] 1123 | constructor, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `constructor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begin` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1143:17 [INFO] [stdout] | [INFO] [stdout] 1143 | begin, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `begin: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1144:17 [INFO] [stdout] | [INFO] [stdout] 1144 | end, [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1175:35 [INFO] [stdout] | [INFO] [stdout] 1175 | swc_tac::Item::Func { func, arrow } => Box::new(empty()), [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1175:41 [INFO] [stdout] | [INFO] [stdout] 1175 | swc_tac::Item::Func { func, arrow } => Box::new(empty()), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `arrow: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lit` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1176:34 [INFO] [stdout] | [INFO] [stdout] 1176 | swc_tac::Item::Lit { lit } => Box::new(empty()), [INFO] [stdout] | ^^^ help: try ignoring the field: `lit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delegate` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1213:43 [INFO] [stdout] | [INFO] [stdout] 1213 | swc_tac::Item::Yield { value, delegate } => Box::new(value.iter_mut()), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `delegate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constructor` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1222:17 [INFO] [stdout] | [INFO] [stdout] 1222 | constructor, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `constructor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begin` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1241:17 [INFO] [stdout] | [INFO] [stdout] 1241 | begin, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `begin: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1242:17 [INFO] [stdout] | [INFO] [stdout] 1242 | end, [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1228:45 [INFO] [stdout] | [INFO] [stdout] 1228 | ... PropVal::Getter(a) | PropVal::Setter(a) | PropVal::Method(a) => { [INFO] [stdout] | ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1228 | PropVal::Getter(_a) | PropVal::Setter(_a) | PropVal::Method(_a) => { [INFO] [stdout] | + + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1196:37 [INFO] [stdout] | [INFO] [stdout] 1196 | PropVal::Getter(a) | PropVal::Setter(a) | PropVal::Method(a) => { [INFO] [stdout] | ^ ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1196 | PropVal::Getter(_a) | PropVal::Setter(_a) | PropVal::Method(_a) => { [INFO] [stdout] | + + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1171:47 [INFO] [stdout] | [INFO] [stdout] 1171 | swc_tac::Item::Bin { left, right, op } => Box::new([left, right].into_iter()), [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1172:38 [INFO] [stdout] | [INFO] [stdout] 1172 | swc_tac::Item::Un { arg, op } => Box::new(once(arg)), [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mem` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1174:37 [INFO] [stdout] | [INFO] [stdout] 1174 | Item::PrivateMem { obj, mem } | Item::HasPrivateMem { obj, mem } => Box::new(once(obj)), [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] help: try ignoring the field [INFO] [stdout] | [INFO] [stdout] 1174 | Item::PrivateMem { obj, mem: _ } | Item::HasPrivateMem { obj, mem: _ } => Box::new(once(obj)), [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1175:35 [INFO] [stdout] | [INFO] [stdout] 1175 | swc_tac::Item::Func { func, arrow } => Box::new(empty()), [INFO] [stdout] | ^^^^ help: try ignoring the field: `func: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1175:41 [INFO] [stdout] | [INFO] [stdout] 1175 | swc_tac::Item::Func { func, arrow } => Box::new(empty()), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `arrow: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lit` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1176:34 [INFO] [stdout] | [INFO] [stdout] 1176 | swc_tac::Item::Lit { lit } => Box::new(empty()), [INFO] [stdout] | ^^^ help: try ignoring the field: `lit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delegate` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1213:43 [INFO] [stdout] | [INFO] [stdout] 1213 | swc_tac::Item::Yield { value, delegate } => Box::new(value.iter_mut()), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `delegate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constructor` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1222:17 [INFO] [stdout] | [INFO] [stdout] 1222 | constructor, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `constructor: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begin` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1241:17 [INFO] [stdout] | [INFO] [stdout] 1241 | begin, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `begin: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> crates/swc-ll-common/src/lib.rs:1242:17 [INFO] [stdout] | [INFO] [stdout] 1242 | end, [INFO] [stdout] | ^^^ help: try ignoring the field: `end: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking portal-jsc-swc-cfg v0.8.0-pre.10 (/opt/rustwide/workdir/crates/swc-cfg) [INFO] [stdout] warning: unused imports: `DoWhileStmt` and `WhileStmt` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | ContinueStmt, Decl, DoWhileStmt, Expr, ExprOrSpread, ExprStmt, ForStmt, Function, Ident, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 46 | IdentName, IfStmt, LabeledStmt, Lit, MemberExpr, Param, Pat, ReturnStmt, Stmt, Str, SwitchCase, [INFO] [stdout] 47 | SwitchStmt, ThrowStmt, TryStmt, TsTypeAnn, TsTypeParamDecl, WhileStmt, [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: `Block` [INFO] [stdout] --> crates/swc-cfg/src/recfg.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Block, Catch, Cfg, Term, to_cfg::ToCfgConversionCtx}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DoWhileStmt` and `WhileStmt` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | ContinueStmt, Decl, DoWhileStmt, Expr, ExprOrSpread, ExprStmt, ForStmt, Function, Ident, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 46 | IdentName, IfStmt, LabeledStmt, Lit, MemberExpr, Param, Pat, ReturnStmt, Stmt, Str, SwitchCase, [INFO] [stdout] 47 | SwitchStmt, ThrowStmt, TryStmt, TsTypeAnn, TsTypeParamDecl, WhileStmt, [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: `Block` [INFO] [stdout] --> crates/swc-cfg/src/recfg.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Block, Catch, Cfg, Term, to_cfg::ToCfgConversionCtx}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:482:31 [INFO] [stdout] | [INFO] [stdout] 482 | Catch::Jump { pat, k } => Some(k), [INFO] [stdout] | ^^^ help: try ignoring the field: `pat: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:487:34 [INFO] [stdout] | [INFO] [stdout] 487 | Term::Return(expr) => vec![], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:488:33 [INFO] [stdout] | [INFO] [stdout] 488 | Term::Throw(expr) => vec![], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:491:25 [INFO] [stdout] | [INFO] [stdout] 491 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:495:36 [INFO] [stdout] | [INFO] [stdout] 495 | Term::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:511:31 [INFO] [stdout] | [INFO] [stdout] 511 | Catch::Jump { pat, k } => Some(k), [INFO] [stdout] | ^^^ help: try ignoring the field: `pat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:516:34 [INFO] [stdout] | [INFO] [stdout] 516 | Term::Return(expr) => vec![], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:517:33 [INFO] [stdout] | [INFO] [stdout] 517 | Term::Throw(expr) => vec![], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:520:25 [INFO] [stdout] | [INFO] [stdout] 520 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:524:36 [INFO] [stdout] | [INFO] [stdout] 524 | Term::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | mut current: BlockId, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | mut current: BlockId, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:482:31 [INFO] [stdout] | [INFO] [stdout] 482 | Catch::Jump { pat, k } => Some(k), [INFO] [stdout] | ^^^ help: try ignoring the field: `pat: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:487:34 [INFO] [stdout] | [INFO] [stdout] 487 | Term::Return(expr) => vec![], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:488:33 [INFO] [stdout] | [INFO] [stdout] 488 | Term::Throw(expr) => vec![], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:491:25 [INFO] [stdout] | [INFO] [stdout] 491 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking portal-jsc-swc-tac v0.8.0-pre.10 (/opt/rustwide/workdir/crates/swc-tac) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:495:36 [INFO] [stdout] | [INFO] [stdout] 495 | Term::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:511:31 [INFO] [stdout] | [INFO] [stdout] 511 | Catch::Jump { pat, k } => Some(k), [INFO] [stdout] | ^^^ help: try ignoring the field: `pat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:516:34 [INFO] [stdout] | [INFO] [stdout] 516 | Term::Return(expr) => vec![], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:517:33 [INFO] [stdout] | [INFO] [stdout] 517 | Term::Throw(expr) => vec![], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:520:25 [INFO] [stdout] | [INFO] [stdout] 520 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-cfg/src/lib.rs:524:36 [INFO] [stdout] | [INFO] [stdout] 524 | Term::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | mut current: BlockId, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-cfg/src/to_cfg.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | mut current: BlockId, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `portal_jsc_common::semantic` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | use portal_jsc_common::semantic; [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: `natives::Native` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | use portal_jsc_common::{natives::Native, syntax::Asm}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResolveNatives` and `ses_method` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | use portal_jsc_swc_util::{ImportMapper, ResolveNatives, SemanticCfg, SemanticFlags, ses_method}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Block` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | use swc_cfg::{Block, Catch, Cfg, Func}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssignExpr`, `ComputedPropName`, `CondExpr`, and `MetaPropKind` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | AssignExpr, AssignOp, AssignTarget, BinaryOp, Bool, Callee, Class, ClassMember, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | ComputedPropName, CondExpr, Expr, Function, Lit, MemberExpr, MemberProp, MetaPropKind, Number, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::OnceCell` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{cell::OnceCell, mem::replace}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> crates/swc-tac/src/lam.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | fn iter<'a>(&'a self) -> Box<(dyn Iterator + 'a)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - fn iter<'a>(&'a self) -> Box<(dyn Iterator + 'a)> { [INFO] [stdout] 115 + fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `portal_solutions_proxy_signs::PROXY_SIGNS` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use portal_solutions_proxy_signs::PROXY_SIGNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CallExpr`, `ExprOrSpread`, and `IdentName` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | AssignExpr, BinExpr, CallExpr, CondExpr, Decl, ExprOrSpread, ExprStmt, IdentName, ModuleItem, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TBlock` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{Item, LId, MemberFlags, PropKey, SpreadOr, TBlock, TBlockId, TCallee, TCfg, TFunc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::take` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::mem::take; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Block` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | use swc_cfg::{Block, Cfg}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockStmt` and `ReturnStmt` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | use swc_ecma_ast::{BlockStmt, FnExpr, GetterProp, ReturnStmt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Str` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | use swc_ecma_ast::{ExprStmt, Str}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> crates/swc-tac/src/splat.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | this_val: if (!func.cfg.has_this()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - this_val: if (!func.cfg.has_this()) { [INFO] [stdout] 99 + this_val: if !func.cfg.has_this() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> crates/swc-tac/src/splat.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | ) -> (TBlockId) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - ) -> (TBlockId) { [INFO] [stdout] 121 + ) -> TBlockId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-tac/src/splat.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | ... '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:384:29 [INFO] [stdout] | [INFO] [stdout] 384 | ... 'a: loop { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-tac/src/lib.rs:902:17 [INFO] [stdout] | [INFO] [stdout] 902 | 's: for mut s in take(&mut self.blocks[ki].stmts) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> crates/swc-tac/src/lib.rs:1052:73 [INFO] [stdout] | [INFO] [stdout] 1052 | ... (match a { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1058 | ... }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1052 ~ match a { [INFO] [stdout] 1053 | Lit::Str(s) => PropKey::Lit(PropSym { sym: (&*s.value [INFO] [stdout] ... [INFO] [stdout] 1057 | _ => todo!(), [INFO] [stdout] 1058 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `portal_jsc_common::semantic` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | use portal_jsc_common::semantic; [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: `natives::Native` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | use portal_jsc_common::{natives::Native, syntax::Asm}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResolveNatives` and `ses_method` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | use portal_jsc_swc_util::{ImportMapper, ResolveNatives, SemanticCfg, SemanticFlags, ses_method}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Block` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:59:15 [INFO] [stdout] | [INFO] [stdout] 59 | use swc_cfg::{Block, Catch, Cfg, Func}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssignExpr`, `ComputedPropName`, `CondExpr`, and `MetaPropKind` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | AssignExpr, AssignOp, AssignTarget, BinaryOp, Bool, Callee, Class, ClassMember, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | ComputedPropName, CondExpr, Expr, Function, Lit, MemberExpr, MemberProp, MetaPropKind, Number, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::OnceCell` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{cell::OnceCell, mem::replace}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> crates/swc-tac/src/lam.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | fn iter<'a>(&'a self) -> Box<(dyn Iterator + 'a)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - fn iter<'a>(&'a self) -> Box<(dyn Iterator + 'a)> { [INFO] [stdout] 115 + fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `portal_solutions_proxy_signs::PROXY_SIGNS` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use portal_solutions_proxy_signs::PROXY_SIGNS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CallExpr`, `ExprOrSpread`, and `IdentName` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | AssignExpr, BinExpr, CallExpr, CondExpr, Decl, ExprOrSpread, ExprStmt, IdentName, ModuleItem, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TBlock` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:19:56 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{Item, LId, MemberFlags, PropKey, SpreadOr, TBlock, TBlockId, TCallee, TCfg, TFunc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::take` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::mem::take; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Block` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | use swc_cfg::{Block, Cfg}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockStmt` and `ReturnStmt` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | use swc_ecma_ast::{BlockStmt, FnExpr, GetterProp, ReturnStmt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Str` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | use swc_ecma_ast::{ExprStmt, Str}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> crates/swc-tac/src/splat.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | this_val: if (!func.cfg.has_this()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - this_val: if (!func.cfg.has_this()) { [INFO] [stdout] 99 + this_val: if !func.cfg.has_this() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> crates/swc-tac/src/splat.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | ) -> (TBlockId) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - ) -> (TBlockId) { [INFO] [stdout] 121 + ) -> TBlockId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-tac/src/splat.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | ... '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:384:29 [INFO] [stdout] | [INFO] [stdout] 384 | ... 'a: loop { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-tac/src/lib.rs:902:17 [INFO] [stdout] | [INFO] [stdout] 902 | 's: for mut s in take(&mut self.blocks[ki].stmts) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> crates/swc-tac/src/lib.rs:1052:73 [INFO] [stdout] | [INFO] [stdout] 1052 | ... (match a { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1058 | ... }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1052 ~ match a { [INFO] [stdout] 1053 | Lit::Str(s) => PropKey::Lit(PropSym { sym: (&*s.value [INFO] [stdout] ... [INFO] [stdout] 1057 | _ => todo!(), [INFO] [stdout] 1058 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/consts.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ctx: Ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/consts.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | ctx: Ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/consts.rs:36:58 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_ident<'a>(&'a self, i: (Atom, SyntaxContext), ctx: Ctx) -> Option [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/conv.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | _ => anyhow::bail!("todo: {}:{}", file!(), 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:92:13 [INFO] [stdout] | [INFO] [stdout] 63 | Callee::Import(_) => TCallee::Import, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 64 | Callee::Super(_) => TCallee::Super, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 65 | Callee::Expr(e) => match e.as_ref() { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 92 | _ => anyhow::bail!("todo: {}:{}", file!(), 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: `using_decl` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:162:43 [INFO] [stdout] | [INFO] [stdout] 162 | swc_ecma_ast::Decl::Using(using_decl) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_using_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_interface_decl` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:163:49 [INFO] [stdout] | [INFO] [stdout] 163 | swc_ecma_ast::Decl::TsInterface(ts_interface_decl) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_interface_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_type_alias_decl` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 164 | swc_ecma_ast::Decl::TsTypeAlias(ts_type_alias_decl) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_type_alias_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_enum_decl` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:165:44 [INFO] [stdout] | [INFO] [stdout] 165 | swc_ecma_ast::Decl::TsEnum(ts_enum_decl) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_enum_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_module_decl` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | swc_ecma_ast::Decl::TsModule(ts_module_decl) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_module_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | mut t: TBlockId, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | mut t: TBlockId, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let mut ps = p.elems.iter().map(|a| a.as_ref()).collect::>(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest_pat` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:510:51 [INFO] [stdout] | [INFO] [stdout] 510 | swc_ecma_ast::ObjectPatProp::Rest(rest_pat) => {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rest_pat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | mut t: TBlockId, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | i: &Cfg, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | b: swc_cfg::BlockId, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:685:13 [INFO] [stdout] | [INFO] [stdout] 685 | let mut mapper = self.mapper.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:650:57 [INFO] [stdout] | [INFO] [stdout] 650 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 692 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 693 | | ... None => None, [INFO] [stdout] 694 | | ... Some(a) => Some({ [INFO] [stdout] 695 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 698 | | ... }), [INFO] [stdout] 699 | | ... }) => &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:650:57 [INFO] [stdout] | [INFO] [stdout] 650 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 692 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 693 | | ... None => None, [INFO] [stdout] 694 | | ... Some(a) => Some({ [INFO] [stdout] 695 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 698 | | ... }), [INFO] [stdout] 699 | | ... }) => &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: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:658:60 [INFO] [stdout] | [INFO] [stdout] 658 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 692 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 693 | | ... None => None, [INFO] [stdout] 694 | | ... Some(a) => Some({ [INFO] [stdout] 695 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 698 | | ... }), [INFO] [stdout] 699 | | ... }) => &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:658:60 [INFO] [stdout] | [INFO] [stdout] 658 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 692 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 693 | | ... None => None, [INFO] [stdout] 694 | | ... Some(a) => Some({ [INFO] [stdout] 695 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 698 | | ... }), [INFO] [stdout] 699 | | ... }) => &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:650:57 [INFO] [stdout] | [INFO] [stdout] 650 | swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 727 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 728 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 729 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 730 | | }=> &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:650:57 [INFO] [stdout] | [INFO] [stdout] 650 | swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 727 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 728 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 729 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 730 | | }=> &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:658:60 [INFO] [stdout] | [INFO] [stdout] 658 | swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 727 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 728 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 729 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 730 | | }=> &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:658:60 [INFO] [stdout] | [INFO] [stdout] 658 | swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 727 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 728 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 729 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 730 | | }=> &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: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | mut right: Ident, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1138:21 [INFO] [stdout] | [INFO] [stdout] 1138 | let mut tmp = o.regs.alloc(()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1239:21 [INFO] [stdout] | [INFO] [stdout] 1239 | let mut right; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1481:21 [INFO] [stdout] | [INFO] [stdout] 1481 | let mut k = swc_cfg::to_cfg::ToCfgConversionCtx::default(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spread_element` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1575:64 [INFO] [stdout] | [INFO] [stdout] 1575 | ... swc_ecma_ast::PropOrSpread::Spread(spread_element) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spread_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1591 | ... 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:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1591 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1591 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1591 | ... 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: `assign_prop` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1593:60 [INFO] [stdout] | [INFO] [stdout] 1593 | ... swc_ecma_ast::Prop::Assign(assign_prop) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assign_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1600:45 [INFO] [stdout] | [INFO] [stdout] 1600 | ... let k = k.transform_all( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1613 | ... 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:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1613 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1613 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1613 | ... 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: `k` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1624:45 [INFO] [stdout] | [INFO] [stdout] 1624 | ... let k = k.transform_all( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1637 | ... 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:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1637 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1637 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1637 | ... 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:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | ... 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:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | ... 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:1312:25 [INFO] [stdout] | [INFO] [stdout] 1312 | 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:1313:22 [INFO] [stdout] | [INFO] [stdout] 1313 | (o2, t) = self.expr(i, o, b, 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: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1727:9 [INFO] [stdout] | [INFO] [stdout] 1727 | mut t: TBlockId, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1755:21 [INFO] [stdout] | [INFO] [stdout] 1755 | let mut tmp = o.regs.alloc(()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `private_name` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:2004:37 [INFO] [stdout] | [INFO] [stdout] 2004 | MemberProp::PrivateName(private_name) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> crates/swc-tac/src/conv.rs:2068:25 [INFO] [stdout] | [INFO] [stdout] 2068 | 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.rs:2073:29 [INFO] [stdout] | [INFO] [stdout] 2073 | (c, t) = self.core.expr(i, o, b, 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.rs:2080:21 [INFO] [stdout] | [INFO] [stdout] 2080 | (c, t) = self.core.expr(i, o, b, 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.rs:2090:21 [INFO] [stdout] | [INFO] [stdout] 2090 | (c, t) = self.core.expr(i, o, b, 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: `b` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | (Expr::Assign(a), b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | (b, Expr::Assign(a)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:194:51 [INFO] [stdout] | [INFO] [stdout] 194 | fn visit_mut_class(&mut self, node: &mut Class) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:245:41 [INFO] [stdout] | [INFO] [stdout] 245 | Expr::Seq(SeqExpr { span, exprs }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | 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: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/rew.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:508:75 [INFO] [stdout] | [INFO] [stdout] 508 | ... ctx: PrivateKind::Private(ctx), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:564:71 [INFO] [stdout] | [INFO] [stdout] 564 | ... ctx: PrivateKind::Private(ctx), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:604:71 [INFO] [stdout] | [INFO] [stdout] 604 | ... ctx: PrivateKind::Private(ctx), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:644:71 [INFO] [stdout] | [INFO] [stdout] 644 | ... ctx: PrivateKind::Private(ctx), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let mut i = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/rew.rs:987:13 [INFO] [stdout] | [INFO] [stdout] 987 | _ => 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:987:13 [INFO] [stdout] | [INFO] [stdout] 940 | crate::LId::Id { id } => swc_ecma_ast::AssignTarget::Simple( [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 946 | crate::LId::Member { obj, mem } => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 959 | LId::Private { obj, id } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 987 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sf` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | sf: &mut (dyn FnMut(&mut Cx, &F) -> Result + '_), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/splat.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let mut d = output.blocks.alloc(Default::default()); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> crates/swc-tac/src/splat.rs:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | ... arrow => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | ... 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:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | ... arrow => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | ... 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:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | ... arrow => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | ... 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:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | ... arrow => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | ... 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: unused variable: `id` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | LId::Private { id, obj } => Either::Left(once(obj)), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `private_name` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:199:47 [INFO] [stdout] | [INFO] [stdout] 199 | swc_ecma_ast::MemberProp::PrivateName(private_name) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/lib.rs:308:37 [INFO] [stdout] | [INFO] [stdout] 308 | import_mapper: static_map! {_ => None}, [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | matches no values because `ImportMapperReq` is uninhabited [INFO] [stdout] | help: remove the match arm [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/lib.rs:319:41 [INFO] [stdout] | [INFO] [stdout] 319 | import_mapper: static_map! {a =>self.import_mapper[a].as_deref()}, [INFO] [stdout] | ^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | matches no values because `ImportMapperReq` is uninhabited [INFO] [stdout] | help: remove the match arm [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/lib.rs:508:21 [INFO] [stdout] | [INFO] [stdout] 508 | _ => {} [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:508:21 [INFO] [stdout] | [INFO] [stdout] 500 | LId::Id { id } => {} [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 501 | LId::Member { obj, mem } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 505 | LId::Private { obj, id } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 508 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:500:31 [INFO] [stdout] | [INFO] [stdout] 500 | LId::Id { id } => {} [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:505:41 [INFO] [stdout] | [INFO] [stdout] 505 | LId::Private { obj, id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:562:28 [INFO] [stdout] | [INFO] [stdout] 562 | TTerm::Jmp(id) => Box::new(std::iter::empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_true` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:565:21 [INFO] [stdout] | [INFO] [stdout] 565 | if_true, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `if_true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_false` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:566:21 [INFO] [stdout] | [INFO] [stdout] 566 | if_false, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `if_false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:568:44 [INFO] [stdout] | [INFO] [stdout] 568 | TTerm::Switch { x, blocks, default } => Box::new( [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:707:31 [INFO] [stdout] | [INFO] [stdout] 707 | &mut |a, b| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:678:14 [INFO] [stdout] | [INFO] [stdout] 678 | for (k, l) in self.blocks.iter_mut() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setter` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:834:66 [INFO] [stdout] | [INFO] [stdout] 834 | ... let PropKind::Prop { getter, setter } = [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `setter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `getter` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:850:58 [INFO] [stdout] | [INFO] [stdout] 850 | ... let PropKind::Prop { getter, setter } = [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `getter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `getter` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:915:54 [INFO] [stdout] | [INFO] [stdout] 915 | ... PropKind::Prop { getter, setter } => {} [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `getter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setter` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:915:62 [INFO] [stdout] | [INFO] [stdout] 915 | ... PropKind::Prop { getter, setter } => {} [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `setter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `getter` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:933:62 [INFO] [stdout] | [INFO] [stdout] 933 | ... PropKind::Prop { getter, setter } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `getter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setter` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:1038:70 [INFO] [stdout] | [INFO] [stdout] 1038 | ... PropKind::Prop { getter, setter } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `setter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:1197:23 [INFO] [stdout] | [INFO] [stdout] 1197 | LId::Id { id } => true, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> crates/swc-tac/src/impls.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | TCatch::Jump { pat, k } => Some(k), [INFO] [stdout] | ^^^ help: try ignoring the field: `pat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-tac/src/impls.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-tac/src/impls.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | TTerm::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> crates/swc-tac/src/impls.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | TCatch::Jump { pat, k } => Some(k), [INFO] [stdout] | ^^^ help: try ignoring the field: `pat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-tac/src/impls.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-tac/src/impls.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | TTerm::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:1403:33 [INFO] [stdout] | [INFO] [stdout] 1403 | pub fn taints_object(&self, a: &I) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/consts.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | ctx: Ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/consts.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | ctx: Ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/consts.rs:36:58 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_ident<'a>(&'a self, i: (Atom, SyntaxContext), ctx: Ctx) -> Option [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/conv.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | _ => anyhow::bail!("todo: {}:{}", file!(), 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:92:13 [INFO] [stdout] | [INFO] [stdout] 63 | Callee::Import(_) => TCallee::Import, [INFO] [stdout] | ----------------- matches some of the same values [INFO] [stdout] 64 | Callee::Super(_) => TCallee::Super, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 65 | Callee::Expr(e) => match e.as_ref() { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 92 | _ => anyhow::bail!("todo: {}:{}", file!(), 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: `using_decl` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:162:43 [INFO] [stdout] | [INFO] [stdout] 162 | swc_ecma_ast::Decl::Using(using_decl) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_using_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_interface_decl` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:163:49 [INFO] [stdout] | [INFO] [stdout] 163 | swc_ecma_ast::Decl::TsInterface(ts_interface_decl) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_interface_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_type_alias_decl` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:164:49 [INFO] [stdout] | [INFO] [stdout] 164 | swc_ecma_ast::Decl::TsTypeAlias(ts_type_alias_decl) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_type_alias_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_enum_decl` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:165:44 [INFO] [stdout] | [INFO] [stdout] 165 | swc_ecma_ast::Decl::TsEnum(ts_enum_decl) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_enum_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ts_module_decl` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | swc_ecma_ast::Decl::TsModule(ts_module_decl) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ts_module_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | mut t: TBlockId, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | mut t: TBlockId, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let mut ps = p.elems.iter().map(|a| a.as_ref()).collect::>(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest_pat` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:510:51 [INFO] [stdout] | [INFO] [stdout] 510 | swc_ecma_ast::ObjectPatProp::Rest(rest_pat) => {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rest_pat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | mut t: TBlockId, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:533:9 [INFO] [stdout] | [INFO] [stdout] 533 | i: &Cfg, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:535:9 [INFO] [stdout] | [INFO] [stdout] 535 | b: swc_cfg::BlockId, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:685:13 [INFO] [stdout] | [INFO] [stdout] 685 | let mut mapper = self.mapper.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:650:57 [INFO] [stdout] | [INFO] [stdout] 650 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 692 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 693 | | ... None => None, [INFO] [stdout] 694 | | ... Some(a) => Some({ [INFO] [stdout] 695 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 698 | | ... }), [INFO] [stdout] 699 | | ... }) => &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:650:57 [INFO] [stdout] | [INFO] [stdout] 650 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 692 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 693 | | ... None => None, [INFO] [stdout] 694 | | ... Some(a) => Some({ [INFO] [stdout] 695 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 698 | | ... }), [INFO] [stdout] 699 | | ... }) => &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: `big_int` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:658:60 [INFO] [stdout] | [INFO] [stdout] 658 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 692 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 693 | | ... None => None, [INFO] [stdout] 694 | | ... Some(a) => Some({ [INFO] [stdout] 695 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 698 | | ... }), [INFO] [stdout] 699 | | ... }) => &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:658:60 [INFO] [stdout] | [INFO] [stdout] 658 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 692 | / ... prop_name!(if p.is_static{MemberFlags::STATIC}else{MemberFlags::empty()},PropVal::Item( match p.value.as_ref(){ [INFO] [stdout] 693 | | ... None => None, [INFO] [stdout] 694 | | ... Some(a) => Some({ [INFO] [stdout] 695 | | ... let b2; [INFO] [stdout] ... | [INFO] [stdout] 698 | | ... }), [INFO] [stdout] 699 | | ... }) => &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:650:57 [INFO] [stdout] | [INFO] [stdout] 650 | swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 727 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 728 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 729 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 730 | | }=> &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:650:57 [INFO] [stdout] | [INFO] [stdout] 650 | swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 727 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 728 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 729 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 730 | | }=> &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:658:60 [INFO] [stdout] | [INFO] [stdout] 658 | swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 727 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 728 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 729 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 730 | | }=> &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:658:60 [INFO] [stdout] | [INFO] [stdout] 658 | swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 726 | members.push(prop_name!(if c.is_static{MemberFlags::STATIC}else{MemberFlags::empty()}, match &c.kind{ [INFO] [stdout] | __________________________________- [INFO] [stdout] 727 | | swc_ecma_ast::MethodKind::Method => PropVal::Method(f), [INFO] [stdout] 728 | | swc_ecma_ast::MethodKind::Getter => PropVal::Getter(f), [INFO] [stdout] 729 | | swc_ecma_ast::MethodKind::Setter => PropVal::Setter(f), [INFO] [stdout] 730 | | }=> &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: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | mut right: Ident, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1138:21 [INFO] [stdout] | [INFO] [stdout] 1138 | let mut tmp = o.regs.alloc(()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1239:21 [INFO] [stdout] | [INFO] [stdout] 1239 | let mut right; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1481:21 [INFO] [stdout] | [INFO] [stdout] 1481 | let mut k = swc_cfg::to_cfg::ToCfgConversionCtx::default(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spread_element` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1575:64 [INFO] [stdout] | [INFO] [stdout] 1575 | ... swc_ecma_ast::PropOrSpread::Spread(spread_element) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spread_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1591 | ... 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:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1591 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1591 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1591 | ... 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: `assign_prop` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1593:60 [INFO] [stdout] | [INFO] [stdout] 1593 | ... swc_ecma_ast::Prop::Assign(assign_prop) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assign_prop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1600:45 [INFO] [stdout] | [INFO] [stdout] 1600 | ... let k = k.transform_all( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1613 | ... 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:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1613 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1613 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1613 | ... 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: `k` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1624:45 [INFO] [stdout] | [INFO] [stdout] 1624 | ... let k = k.transform_all( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1637 | ... 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:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1637 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1637 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1637 | ... 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:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | ... 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:1558:69 [INFO] [stdout] | [INFO] [stdout] 1558 | ... swc_ecma_ast::PropName::Num(number) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | ... 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:1567:72 [INFO] [stdout] | [INFO] [stdout] 1567 | ... swc_ecma_ast::PropName::BigInt(big_int) => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1644 | ... 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:1312:25 [INFO] [stdout] | [INFO] [stdout] 1312 | 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:1313:22 [INFO] [stdout] | [INFO] [stdout] 1313 | (o2, t) = self.expr(i, o, b, 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: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1727:9 [INFO] [stdout] | [INFO] [stdout] 1727 | mut t: TBlockId, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/conv.rs:1755:21 [INFO] [stdout] | [INFO] [stdout] 1755 | let mut tmp = o.regs.alloc(()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `private_name` [INFO] [stdout] --> crates/swc-tac/src/conv.rs:2004:37 [INFO] [stdout] | [INFO] [stdout] 2004 | MemberProp::PrivateName(private_name) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> crates/swc-tac/src/conv.rs:2068:25 [INFO] [stdout] | [INFO] [stdout] 2068 | 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.rs:2073:29 [INFO] [stdout] | [INFO] [stdout] 2073 | (c, t) = self.core.expr(i, o, b, 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.rs:2080:21 [INFO] [stdout] | [INFO] [stdout] 2080 | (c, t) = self.core.expr(i, o, b, 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.rs:2090:21 [INFO] [stdout] | [INFO] [stdout] 2090 | (c, t) = self.core.expr(i, o, b, 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: `b` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | (Expr::Assign(a), b) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | (b, Expr::Assign(a)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:194:51 [INFO] [stdout] | [INFO] [stdout] 194 | fn visit_mut_class(&mut self, node: &mut Class) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:245:41 [INFO] [stdout] | [INFO] [stdout] 245 | Expr::Seq(SeqExpr { span, exprs }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-tac/src/prepa.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | 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: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/rew.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:508:75 [INFO] [stdout] | [INFO] [stdout] 508 | ... ctx: PrivateKind::Private(ctx), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:564:71 [INFO] [stdout] | [INFO] [stdout] 564 | ... ctx: PrivateKind::Private(ctx), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:604:71 [INFO] [stdout] | [INFO] [stdout] 604 | ... ctx: PrivateKind::Private(ctx), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:644:71 [INFO] [stdout] | [INFO] [stdout] 644 | ... ctx: PrivateKind::Private(ctx), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let mut i = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/rew.rs:987:13 [INFO] [stdout] | [INFO] [stdout] 987 | _ => 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:987:13 [INFO] [stdout] | [INFO] [stdout] 940 | crate::LId::Id { id } => swc_ecma_ast::AssignTarget::Simple( [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 946 | crate::LId::Member { obj, mem } => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 959 | LId::Private { obj, id } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 987 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sf` [INFO] [stdout] --> crates/swc-tac/src/rew.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | sf: &mut (dyn FnMut(&mut Cx, &F) -> Result + '_), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-tac/src/splat.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let mut d = output.blocks.alloc(Default::default()); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> crates/swc-tac/src/splat.rs:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | ... arrow => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | ... 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:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | ... arrow => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | ... 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:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | ... arrow => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | ... 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:327:45 [INFO] [stdout] | [INFO] [stdout] 327 | ... arrow => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | ... 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: unused variable: `id` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | LId::Private { id, obj } => Either::Left(once(obj)), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `private_name` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:199:47 [INFO] [stdout] | [INFO] [stdout] 199 | swc_ecma_ast::MemberProp::PrivateName(private_name) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/lib.rs:308:37 [INFO] [stdout] | [INFO] [stdout] 308 | import_mapper: static_map! {_ => None}, [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | matches no values because `ImportMapperReq` is uninhabited [INFO] [stdout] | help: remove the match arm [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/lib.rs:319:41 [INFO] [stdout] | [INFO] [stdout] 319 | import_mapper: static_map! {a =>self.import_mapper[a].as_deref()}, [INFO] [stdout] | ^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | matches no values because `ImportMapperReq` is uninhabited [INFO] [stdout] | help: remove the match arm [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> crates/swc-tac/src/lib.rs:508:21 [INFO] [stdout] | [INFO] [stdout] 508 | _ => {} [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:508:21 [INFO] [stdout] | [INFO] [stdout] 500 | LId::Id { id } => {} [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 501 | LId::Member { obj, mem } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 505 | LId::Private { obj, id } => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 508 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:500:31 [INFO] [stdout] | [INFO] [stdout] 500 | LId::Id { id } => {} [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:505:41 [INFO] [stdout] | [INFO] [stdout] 505 | LId::Private { obj, id } => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:562:28 [INFO] [stdout] | [INFO] [stdout] 562 | TTerm::Jmp(id) => Box::new(std::iter::empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_true` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:565:21 [INFO] [stdout] | [INFO] [stdout] 565 | if_true, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `if_true: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_false` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:566:21 [INFO] [stdout] | [INFO] [stdout] 566 | if_false, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `if_false: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:568:44 [INFO] [stdout] | [INFO] [stdout] 568 | TTerm::Switch { x, blocks, default } => Box::new( [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `default: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:707:31 [INFO] [stdout] | [INFO] [stdout] 707 | &mut |a, b| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:678:14 [INFO] [stdout] | [INFO] [stdout] 678 | for (k, l) in self.blocks.iter_mut() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setter` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:834:66 [INFO] [stdout] | [INFO] [stdout] 834 | ... let PropKind::Prop { getter, setter } = [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `setter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `getter` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:850:58 [INFO] [stdout] | [INFO] [stdout] 850 | ... let PropKind::Prop { getter, setter } = [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `getter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `getter` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:915:54 [INFO] [stdout] | [INFO] [stdout] 915 | ... PropKind::Prop { getter, setter } => {} [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `getter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setter` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:915:62 [INFO] [stdout] | [INFO] [stdout] 915 | ... PropKind::Prop { getter, setter } => {} [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `setter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `getter` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:933:62 [INFO] [stdout] | [INFO] [stdout] 933 | ... PropKind::Prop { getter, setter } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `getter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `setter` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:1038:70 [INFO] [stdout] | [INFO] [stdout] 1038 | ... PropKind::Prop { getter, setter } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `setter: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:1197:23 [INFO] [stdout] | [INFO] [stdout] 1197 | LId::Id { id } => true, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> crates/swc-tac/src/impls.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | TCatch::Jump { pat, k } => Some(k), [INFO] [stdout] | ^^^ help: try ignoring the field: `pat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-tac/src/impls.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-tac/src/impls.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | TTerm::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pat` [INFO] [stdout] --> crates/swc-tac/src/impls.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | TCatch::Jump { pat, k } => Some(k), [INFO] [stdout] | ^^^ help: try ignoring the field: `pat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-tac/src/impls.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-tac/src/impls.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | TTerm::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> crates/swc-tac/src/lib.rs:1403:33 [INFO] [stdout] | [INFO] [stdout] 1403 | pub fn taints_object(&self, a: &I) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking portal-jsc-swc-ssa v0.8.0-pre.10 (/opt/rustwide/workdir/crates/swc-ssa) [INFO] [stdout] warning: unused import: `portal_jsc_common::syntax::Asm` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use portal_jsc_common::syntax::Asm; [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: `UnaryOp` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:83:74 [INFO] [stdout] | [INFO] [stdout] 83 | use swc_ecma_ast::{Id as Ident, Lit, TsType, TsTypeAnn, TsTypeParamDecl, UnaryOp}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TBlock`, `TCallee`, and `mapped` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | Item, TBlock, TCallee, TCfg, TFunc, TStmt, TTerm, ValFlags, [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] 86 | lam::{AtomResolver, DefaultAtomResolver}, mapped, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | '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: `ssa_impls::dom::dominates` [INFO] [stdout] --> crates/swc-ssa/src/conv.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use ssa_impls::dom::dominates; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SBlockId` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{SBlock, SBlockId, SValueId, SCatch, SFunc, SPostcedent, STarget, STerm, SValueW}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> crates/swc-ssa/src/opt_stub.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | &mut |_, a| (baseline.get(a).cloned().context("in getting the value")), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - &mut |_, a| (baseline.get(a).cloned().context("in getting the value")), [INFO] [stdout] 106 + &mut |_, a| baseline.get(a).cloned().context("in getting the value"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SBlockId`, `SBlock`, `STerm`, and `SValueW` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::{SBlock, SBlockId, SValueId, SFunc, STarget, STerm, SValue, SValueW}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::Infallible` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | use std::{collections::BTreeMap, convert::Infallible, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TBlock` and `TTerm` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | use swc_tac::{Item, LId, TBlock, TCatch, TCfg, TFunc, TStmt, TTerm, ValFlags}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SemanticFlags` and `ses_method` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | use portal_jsc_swc_util::{SemanticCfg, SemanticFlags, ses_method}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swc_atoms::Atom` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use swc_atoms::Atom; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EqIgnoreSpan`, `Spanned`, and `SyntaxContext` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use swc_common::{EqIgnoreSpan, Spanned, SyntaxContext}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryOp`, `Bool`, `Expr`, `Number`, `Str`, `UnaryOp`, and `op` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use swc_ecma_ast::{BinaryOp, Bool, Expr, Number, Str, UnaryOp, op}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^ ^^^^^^ ^^^ ^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExprCtx`, `ExprExt`, and `Value` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | use swc_ecma_utils::{ExprCtx, ExprExt, Value}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PropKey`, `PropSym`, `PropVal`, and `SpreadOr` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | use swc_tac::{ItemGetterExt, PropKey, PropSym, PropVal, SpreadOr}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `portal_jsc_common::syntax::Asm` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use portal_jsc_common::syntax::Asm; [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: `UnaryOp` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:83:74 [INFO] [stdout] | [INFO] [stdout] 83 | use swc_ecma_ast::{Id as Ident, Lit, TsType, TsTypeAnn, TsTypeParamDecl, UnaryOp}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TBlock`, `TCallee`, and `mapped` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | Item, TBlock, TCallee, TCfg, TFunc, TStmt, TTerm, ValFlags, [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] 86 | lam::{AtomResolver, DefaultAtomResolver}, mapped, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:188:25 [INFO] [stdout] | [INFO] [stdout] 188 | '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: `ssa_impls::dom::dominates` [INFO] [stdout] --> crates/swc-ssa/src/conv.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use ssa_impls::dom::dominates; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SBlockId` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{SBlock, SBlockId, SValueId, SCatch, SFunc, SPostcedent, STarget, STerm, SValueW}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> crates/swc-ssa/src/opt_stub.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | &mut |_, a| (baseline.get(a).cloned().context("in getting the value")), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - &mut |_, a| (baseline.get(a).cloned().context("in getting the value")), [INFO] [stdout] 106 + &mut |_, a| baseline.get(a).cloned().context("in getting the value"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SBlockId`, `SBlock`, `STerm`, and `SValueW` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::{SBlock, SBlockId, SValueId, SFunc, STarget, STerm, SValue, SValueW}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::Infallible` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | use std::{collections::BTreeMap, convert::Infallible, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TBlock` and `TTerm` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | use swc_tac::{Item, LId, TBlock, TCatch, TCfg, TFunc, TStmt, TTerm, ValFlags}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SemanticFlags` and `ses_method` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:23:40 [INFO] [stdout] | [INFO] [stdout] 23 | use portal_jsc_swc_util::{SemanticCfg, SemanticFlags, ses_method}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swc_atoms::Atom` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use swc_atoms::Atom; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EqIgnoreSpan`, `Spanned`, and `SyntaxContext` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | use swc_common::{EqIgnoreSpan, Spanned, SyntaxContext}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryOp`, `Bool`, `Expr`, `Number`, `Str`, `UnaryOp`, and `op` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use swc_ecma_ast::{BinaryOp, Bool, Expr, Number, Str, UnaryOp, op}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^ ^^^^^^ ^^^ ^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExprCtx`, `ExprExt`, and `Value` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | use swc_ecma_utils::{ExprCtx, ExprExt, Value}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PropKey`, `PropSym`, `PropVal`, and `SpreadOr` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | use swc_tac::{ItemGetterExt, PropKey, PropSym, PropVal, SpreadOr}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | ... span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | ... span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:112:49 [INFO] [stdout] | [INFO] [stdout] 112 | SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:272:29 [INFO] [stdout] | [INFO] [stdout] 272 | ... span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/conv.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn safe_to_carry(&self, target: swc_tac::TBlockId, src: swc_tac::TBlockId) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> crates/swc-ssa/src/conv.rs:52:56 [INFO] [stdout] | [INFO] [stdout] 52 | fn safe_to_carry(&self, target: swc_tac::TBlockId, src: swc_tac::TBlockId) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k2` [INFO] [stdout] --> crates/swc-ssa/src/conv.rs:299:40 [INFO] [stdout] | [INFO] [stdout] 299 | let params = |this: &Self, k2: swc_tac::TBlockId| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_k2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> crates/swc-ssa/src/conv.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | let ok = k; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> crates/swc-ssa/src/conv.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let d = self.safe_to_carry(b, k); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | STerm::Throw(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | STerm::Return(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | STerm::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | STerm::Throw(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | STerm::Return(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | STerm::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | f: &'a SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | g: &'a mut SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | f: &'a SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | g: &'a mut SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:276:41 [INFO] [stdout] | [INFO] [stdout] 276 | ... is_spread: b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:323:41 [INFO] [stdout] | [INFO] [stdout] 323 | ... is_spread: b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | f: &'a SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | g: &'a mut SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | f: &'a SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | g: &'a mut SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | f: &'a SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | g: &'a mut SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-ssa/src/opt_stub.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | ... &mut |_, f| todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | ... SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:131:52 [INFO] [stdout] | [INFO] [stdout] 131 | ... SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:131:57 [INFO] [stdout] | [INFO] [stdout] 131 | ... SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | ... Item::Just { id } => {} [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:219:58 [INFO] [stdout] | [INFO] [stdout] 219 | ... SValue::EdgeBlocker { value: v, span } => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:219:61 [INFO] [stdout] | [INFO] [stdout] 219 | ... SValue::EdgeBlocker { value: v, span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | SValue::Param { block, idx, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | SValue::EdgeBlocker { value, span } => mangle_value(prefix, ctxt, func, *value), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | for (k, kd) in self.blocks.iter_mut() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | for (k, kd) in self.blocks.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | fn inputs<'a>(&'a self, block: &B, param: usize, ctx: Ctx) -> Box + 'a> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | fn inputs<'a>(&'a self, block: &B, param: usize, ctx: Ctx) -> Box + 'a> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:108:54 [INFO] [stdout] | [INFO] [stdout] 108 | fn inputs<'a>(&'a self, block: &B, param: usize, ctx: Ctx) -> Box + 'a> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | fn taints_object(&self, id: I, ctx: Ctx) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | fn taints_object(&self, id: I, ctx: Ctx) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:141:41 [INFO] [stdout] | [INFO] [stdout] 141 | SValue::Param { block, idx, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | SValue::Item { item, span } => return Some(item), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | SValue::Assign { target, val } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | SValue::StoreId { target, val } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | SValue::EdgeBlocker { value, span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:173:41 [INFO] [stdout] | [INFO] [stdout] 173 | SValue::Param { block, idx, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | SValue::Item { item, span } => match item { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:188:30 [INFO] [stdout] | [INFO] [stdout] 188 | SValue::Assign { target, val } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | SValue::EdgeBlocker { value, span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:212:41 [INFO] [stdout] | [INFO] [stdout] 212 | SValue::Param { block, idx, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | SValue::Item { item, span } => return Some(item), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | SValue::Assign { target, val } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:226:31 [INFO] [stdout] | [INFO] [stdout] 226 | SValue::StoreId { target, val } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:229:42 [INFO] [stdout] | [INFO] [stdout] 229 | SValue::EdgeBlocker { value, span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:252:40 [INFO] [stdout] | [INFO] [stdout] 252 | fn val(&self, id: crate::SValueId, ctx: Ctx) -> Option<&SValue> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | ctx: Ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | ctx: Ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:274:50 [INFO] [stdout] | [INFO] [stdout] 274 | fn taints_object(&self, id: crate::SValueId, ctx: Ctx) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:993:41 [INFO] [stdout] | [INFO] [stdout] 993 | SValue::Param { block, idx, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:1016:30 [INFO] [stdout] | [INFO] [stdout] 1016 | SValue::Assign { target, val } => k [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:1019:31 [INFO] [stdout] | [INFO] [stdout] 1019 | SValue::StoreId { target, val } => k [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:1022:42 [INFO] [stdout] | [INFO] [stdout] 1022 | SValue::EdgeBlocker { value, span } => k [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | SValue::Item { item, span } => match item { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:344:50 [INFO] [stdout] | [INFO] [stdout] 344 | SValue::Assign { target, val } => target.taints_object(value_id), [INFO] [stdout] | ^^^ help: try ignoring the field: `val: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:345:46 [INFO] [stdout] | [INFO] [stdout] 345 | SValue::Item { item, span } => item.taints_object(value_id), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:346:53 [INFO] [stdout] | [INFO] [stdout] 346 | SValue::Param { block, idx, ty } => match self.input(*block, *idx) { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:367:38 [INFO] [stdout] | [INFO] [stdout] 367 | SValue::Item { item, span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:518:29 [INFO] [stdout] | [INFO] [stdout] 518 | SValue::Param { block, idx, ty } => true, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:518:36 [INFO] [stdout] | [INFO] [stdout] 518 | SValue::Param { block, idx, ty } => true, [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:518:41 [INFO] [stdout] | [INFO] [stdout] 518 | SValue::Param { block, idx, ty } => true, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:519:34 [INFO] [stdout] | [INFO] [stdout] 519 | SValue::Item { item, span } => item.nothrow(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:520:38 [INFO] [stdout] | [INFO] [stdout] 520 | SValue::Assign { target, val } => target.nothrow(), [INFO] [stdout] | ^^^ help: try ignoring the field: `val: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:522:31 [INFO] [stdout] | [INFO] [stdout] 522 | SValue::StoreId { target, val } => true, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:522:39 [INFO] [stdout] | [INFO] [stdout] 522 | SValue::StoreId { target, val } => true, [INFO] [stdout] | ^^^ help: try ignoring the field: `val: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:523:35 [INFO] [stdout] | [INFO] [stdout] 523 | SValue::EdgeBlocker { value, span } => true, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:523:42 [INFO] [stdout] | [INFO] [stdout] 523 | SValue::EdgeBlocker { value, span } => true, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:537:29 [INFO] [stdout] | [INFO] [stdout] 537 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:537:36 [INFO] [stdout] | [INFO] [stdout] 537 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:537:41 [INFO] [stdout] | [INFO] [stdout] 537 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:538:34 [INFO] [stdout] | [INFO] [stdout] 538 | SValue::Item { item, span } => Box::new(item.refs().map(|a| *a)), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:542:31 [INFO] [stdout] | [INFO] [stdout] 542 | LId::Id { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:549:31 [INFO] [stdout] | [INFO] [stdout] 549 | SValue::StoreId { target, val } => Box::new(once(*val)), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:550:45 [INFO] [stdout] | [INFO] [stdout] 550 | SValue::EdgeBlocker { value: a, span } => Box::new(once(*a)), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:651:36 [INFO] [stdout] | [INFO] [stdout] 651 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:651:41 [INFO] [stdout] | [INFO] [stdout] 651 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:652:34 [INFO] [stdout] | [INFO] [stdout] 652 | SValue::Item { item, span } => Box::new(item.refs()), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:656:31 [INFO] [stdout] | [INFO] [stdout] 656 | LId::Id { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:663:31 [INFO] [stdout] | [INFO] [stdout] 663 | SValue::StoreId { target, val } => Box::new(once(val)), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:664:45 [INFO] [stdout] | [INFO] [stdout] 664 | SValue::EdgeBlocker { value: a, span } => Box::new(once(a)), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:669:29 [INFO] [stdout] | [INFO] [stdout] 669 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:669:36 [INFO] [stdout] | [INFO] [stdout] 669 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:669:41 [INFO] [stdout] | [INFO] [stdout] 669 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:670:34 [INFO] [stdout] | [INFO] [stdout] 670 | SValue::Item { item, span } => item.refs_mut(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:674:31 [INFO] [stdout] | [INFO] [stdout] 674 | LId::Id { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:681:31 [INFO] [stdout] | [INFO] [stdout] 681 | SValue::StoreId { target, val } => Box::new(once(val)), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:682:45 [INFO] [stdout] | [INFO] [stdout] 682 | SValue::EdgeBlocker { value: a, span } => Box::new(once(a)), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:830:48 [INFO] [stdout] | [INFO] [stdout] 830 | if let SValue::Param { block, idx, ty } = &v.value { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:842:17 [INFO] [stdout] | [INFO] [stdout] 842 | span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestVisitor` is never constructed [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:865:8 [INFO] [stdout] | [INFO] [stdout] 865 | 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 `Result` that must be used [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | / callee.as_ref().map(&mut |a| { [INFO] [stdout] 283 | | v.push(*a); [INFO] [stdout] 284 | | Ok::<_, Infallible>(()) [INFO] [stdout] 285 | | }); [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] 282 | 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:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | / callee.as_mut().map(&mut |a| { [INFO] [stdout] 329 | | v.push(a); [INFO] [stdout] 330 | | Ok::<_, Infallible>(()) [INFO] [stdout] 331 | | }); [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] 328 | 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.10 (/opt/rustwide/workdir/crates/swc-opt-ssa) [INFO] [stdout] warning: unused import: `OptBlock` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{OptBlock, OptBlockId, OptValueId, OptCfg, OptFunc, OptType, OptValue, OptValueW}; [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: `SBlock` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use swc_ssa::{SBlock, SCatch, SCfg, SFunc, STarget, STerm, SValue, simplify::SValGetter}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | ... span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | ... span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:112:49 [INFO] [stdout] | [INFO] [stdout] 112 | SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/consts.rs:272:29 [INFO] [stdout] | [INFO] [stdout] 272 | ... span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/conv.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | fn safe_to_carry(&self, target: swc_tac::TBlockId, src: swc_tac::TBlockId) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> crates/swc-ssa/src/conv.rs:52:56 [INFO] [stdout] | [INFO] [stdout] 52 | fn safe_to_carry(&self, target: swc_tac::TBlockId, src: swc_tac::TBlockId) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k2` [INFO] [stdout] --> crates/swc-ssa/src/conv.rs:299:40 [INFO] [stdout] | [INFO] [stdout] 299 | let params = |this: &Self, k2: swc_tac::TBlockId| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_k2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> crates/swc-ssa/src/conv.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | let ok = k; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> crates/swc-ssa/src/conv.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let d = self.safe_to_carry(b, k); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | STerm::Throw(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | STerm::Return(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | STerm::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | STerm::Throw(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | STerm::Return(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | STerm::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | f: &'a SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | g: &'a mut SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | f: &'a SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | g: &'a mut SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OptBlock` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{OptBlock, OptBlockId, OptValueId, OptCfg, OptFunc, OptType, OptValue, OptValueW}; [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: `SBlock` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use swc_ssa::{SBlock, SCatch, SCfg, SFunc, STarget, STerm, SValue, simplify::SValGetter}; [INFO] [stdout] | ^^^^^^ [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] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:276:41 [INFO] [stdout] | [INFO] [stdout] 276 | ... is_spread: b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:323:41 [INFO] [stdout] | [INFO] [stdout] 323 | ... is_spread: b, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | f: &'a SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | g: &'a mut SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | f: &'a SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | g: &'a mut SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 415 | f: &'a SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-ssa/src/impls.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | g: &'a mut SFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | OptTerm::Throw(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | OptTerm::Return(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | OptTerm::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | OptTerm::Throw(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | OptTerm::Return(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | OptTerm::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | OptValue::Emit { val, ty } => val.vals(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | OptValue::Assert { val, ty } => Box::new(once(*val)), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | OptValue::Emit { val, ty } => val.vals_mut(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:167:37 [INFO] [stdout] | [INFO] [stdout] 167 | OptValue::Assert { val, ty } => Box::new(once(val)), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | f: &'a OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | g: &'a mut OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | f: &'a OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | g: &'a mut OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-ssa/src/opt_stub.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | ... &mut |_, f| todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | f: &'a OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | g: &'a mut OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | f: &'a OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | g: &'a mut OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | f: &'a OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | g: &'a mut OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:126:44 [INFO] [stdout] | [INFO] [stdout] 126 | SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:126:49 [INFO] [stdout] | [INFO] [stdout] 126 | SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:195:45 [INFO] [stdout] | [INFO] [stdout] 195 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:221:45 [INFO] [stdout] | [INFO] [stdout] 221 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:251:53 [INFO] [stdout] | [INFO] [stdout] 251 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | ... SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:131:52 [INFO] [stdout] | [INFO] [stdout] 131 | ... SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:131:57 [INFO] [stdout] | [INFO] [stdout] 131 | ... SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | ... Item::Just { id } => {} [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:219:58 [INFO] [stdout] | [INFO] [stdout] 219 | ... SValue::EdgeBlocker { value: v, span } => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:219:61 [INFO] [stdout] | [INFO] [stdout] 219 | ... SValue::EdgeBlocker { value: v, span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:299:37 [INFO] [stdout] | [INFO] [stdout] 299 | SValue::Param { block, idx, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/rew.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | SValue::EdgeBlocker { value, span } => mangle_value(prefix, ctxt, func, *value), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:283:53 [INFO] [stdout] | [INFO] [stdout] 283 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:304:53 [INFO] [stdout] | [INFO] [stdout] 304 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:325:38 [INFO] [stdout] | [INFO] [stdout] 325 | ... Some(k) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:379:45 [INFO] [stdout] | [INFO] [stdout] 379 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:415:45 [INFO] [stdout] | [INFO] [stdout] 415 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:442:37 [INFO] [stdout] | [INFO] [stdout] 442 | ... let (x, ty) = state.get(v0).cloned().context("in getting the var")?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nest` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:489:33 [INFO] [stdout] | [INFO] [stdout] 489 | ... nest, [INFO] [stdout] | ^^^^ help: try ignoring the field: `nest: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extensible` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:490:43 [INFO] [stdout] | [INFO] [stdout] 490 | ... extended: extensible, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extensible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem_tys` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:491:33 [INFO] [stdout] | [INFO] [stdout] 491 | ... elem_tys, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `elem_tys: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:721:17 [INFO] [stdout] | [INFO] [stdout] 721 | fn try_from(mut value: &'a SFunc) -> Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | for (k, kd) in self.blocks.iter_mut() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | for (k, kd) in self.blocks.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | fn inputs<'a>(&'a self, block: &B, param: usize, ctx: Ctx) -> Box + 'a> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | fn inputs<'a>(&'a self, block: &B, param: usize, ctx: Ctx) -> Box + 'a> [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:108:54 [INFO] [stdout] | [INFO] [stdout] 108 | fn inputs<'a>(&'a self, block: &B, param: usize, ctx: Ctx) -> Box + 'a> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | fn taints_object(&self, id: I, ctx: Ctx) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:129:36 [INFO] [stdout] | [INFO] [stdout] 129 | fn taints_object(&self, id: I, ctx: Ctx) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | OptValue::Assert { val, ty } => ty.clone(), [INFO] [stdout] | ^^^ help: try ignoring the field: `val: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | OptValue::Emit { val, ty } => ty.clone(), [INFO] [stdout] | ^^^ help: try ignoring the field: `val: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | OptValue::Assert { val, ty } => cfg.values[*val].constant(cfg), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | OptValue::Emit { val, ty } => match val { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:172:41 [INFO] [stdout] | [INFO] [stdout] 172 | SValue::Item { item: i, span } => match i { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:141:41 [INFO] [stdout] | [INFO] [stdout] 141 | SValue::Param { block, idx, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | OptValue::Assert { val, ty } => self.val(*val, ctx), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:190:35 [INFO] [stdout] | [INFO] [stdout] 190 | OptValue::Emit { val, ty } => Some(val), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | SValue::Item { item, span } => return Some(item), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:205:37 [INFO] [stdout] | [INFO] [stdout] 205 | OptValue::Assert { val, ty } => self.val_mut(*val, ctx), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | OptValue::Emit { val, ty } => Some(val), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | SValue::Assign { target, val } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | SValue::StoreId { target, val } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | SValue::EdgeBlocker { value, span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:173:41 [INFO] [stdout] | [INFO] [stdout] 173 | SValue::Param { block, idx, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:182:34 [INFO] [stdout] | [INFO] [stdout] 182 | SValue::Item { item, span } => match item { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:188:30 [INFO] [stdout] | [INFO] [stdout] 188 | SValue::Assign { target, val } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:196:42 [INFO] [stdout] | [INFO] [stdout] 196 | SValue::EdgeBlocker { value, span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:212:41 [INFO] [stdout] | [INFO] [stdout] 212 | SValue::Param { block, idx, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | SValue::Item { item, span } => return Some(item), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | SValue::Assign { target, val } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:226:31 [INFO] [stdout] | [INFO] [stdout] 226 | SValue::StoreId { target, val } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:229:42 [INFO] [stdout] | [INFO] [stdout] 229 | SValue::EdgeBlocker { value, span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:252:40 [INFO] [stdout] | [INFO] [stdout] 252 | fn val(&self, id: crate::SValueId, ctx: Ctx) -> Option<&SValue> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | ctx: Ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | ctx: Ctx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:274:50 [INFO] [stdout] | [INFO] [stdout] 274 | fn taints_object(&self, id: crate::SValueId, ctx: Ctx) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:993:41 [INFO] [stdout] | [INFO] [stdout] 993 | SValue::Param { block, idx, ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:1016:30 [INFO] [stdout] | [INFO] [stdout] 1016 | SValue::Assign { target, val } => k [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:1019:31 [INFO] [stdout] | [INFO] [stdout] 1019 | SValue::StoreId { target, val } => k [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/simplify.rs:1022:42 [INFO] [stdout] | [INFO] [stdout] 1022 | SValue::EdgeBlocker { value, span } => k [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:171:38 [INFO] [stdout] | [INFO] [stdout] 171 | SValue::Item { item, span } => match item { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:344:50 [INFO] [stdout] | [INFO] [stdout] 344 | SValue::Assign { target, val } => target.taints_object(value_id), [INFO] [stdout] | ^^^ help: try ignoring the field: `val: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:345:46 [INFO] [stdout] | [INFO] [stdout] 345 | SValue::Item { item, span } => item.taints_object(value_id), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:346:53 [INFO] [stdout] | [INFO] [stdout] 346 | SValue::Param { block, idx, ty } => match self.input(*block, *idx) { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:367:38 [INFO] [stdout] | [INFO] [stdout] 367 | SValue::Item { item, span } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:518:29 [INFO] [stdout] | [INFO] [stdout] 518 | SValue::Param { block, idx, ty } => true, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:518:36 [INFO] [stdout] | [INFO] [stdout] 518 | SValue::Param { block, idx, ty } => true, [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:518:41 [INFO] [stdout] | [INFO] [stdout] 518 | SValue::Param { block, idx, ty } => true, [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:519:34 [INFO] [stdout] | [INFO] [stdout] 519 | SValue::Item { item, span } => item.nothrow(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:520:38 [INFO] [stdout] | [INFO] [stdout] 520 | SValue::Assign { target, val } => target.nothrow(), [INFO] [stdout] | ^^^ help: try ignoring the field: `val: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:522:31 [INFO] [stdout] | [INFO] [stdout] 522 | SValue::StoreId { target, val } => true, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:522:39 [INFO] [stdout] | [INFO] [stdout] 522 | SValue::StoreId { target, val } => true, [INFO] [stdout] | ^^^ help: try ignoring the field: `val: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:523:35 [INFO] [stdout] | [INFO] [stdout] 523 | SValue::EdgeBlocker { value, span } => true, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:523:42 [INFO] [stdout] | [INFO] [stdout] 523 | SValue::EdgeBlocker { value, span } => true, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:537:29 [INFO] [stdout] | [INFO] [stdout] 537 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:537:36 [INFO] [stdout] | [INFO] [stdout] 537 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:537:41 [INFO] [stdout] | [INFO] [stdout] 537 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:538:34 [INFO] [stdout] | [INFO] [stdout] 538 | SValue::Item { item, span } => Box::new(item.refs().map(|a| *a)), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:542:31 [INFO] [stdout] | [INFO] [stdout] 542 | LId::Id { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:549:31 [INFO] [stdout] | [INFO] [stdout] 549 | SValue::StoreId { target, val } => Box::new(once(*val)), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:550:45 [INFO] [stdout] | [INFO] [stdout] 550 | SValue::EdgeBlocker { value: a, span } => Box::new(once(*a)), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:651:36 [INFO] [stdout] | [INFO] [stdout] 651 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:651:41 [INFO] [stdout] | [INFO] [stdout] 651 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:652:34 [INFO] [stdout] | [INFO] [stdout] 652 | SValue::Item { item, span } => Box::new(item.refs()), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:656:31 [INFO] [stdout] | [INFO] [stdout] 656 | LId::Id { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:663:31 [INFO] [stdout] | [INFO] [stdout] 663 | SValue::StoreId { target, val } => Box::new(once(val)), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:664:45 [INFO] [stdout] | [INFO] [stdout] 664 | SValue::EdgeBlocker { value: a, span } => Box::new(once(a)), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:669:29 [INFO] [stdout] | [INFO] [stdout] 669 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:669:36 [INFO] [stdout] | [INFO] [stdout] 669 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:669:41 [INFO] [stdout] | [INFO] [stdout] 669 | SValue::Param { block, idx, ty } => Box::new(empty()), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:670:34 [INFO] [stdout] | [INFO] [stdout] 670 | SValue::Item { item, span } => item.refs_mut(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:674:31 [INFO] [stdout] | [INFO] [stdout] 674 | LId::Id { id } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:681:31 [INFO] [stdout] | [INFO] [stdout] 681 | SValue::StoreId { target, val } => Box::new(once(val)), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `target: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:682:45 [INFO] [stdout] | [INFO] [stdout] 682 | SValue::EdgeBlocker { value: a, span } => Box::new(once(a)), [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:830:48 [INFO] [stdout] | [INFO] [stdout] 830 | if let SValue::Param { block, idx, ty } = &v.value { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:842:17 [INFO] [stdout] | [INFO] [stdout] 842 | span, [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sm` [INFO] [stdout] --> crates/swc-ssa/src/lib.rs:884:12 [INFO] [stdout] | [INFO] [stdout] 884 | "] => |sm,module|{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sm` [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:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | / callee.as_ref().map(&mut |a| { [INFO] [stdout] 283 | | v.push(*a); [INFO] [stdout] 284 | | Ok::<_, Infallible>(()) [INFO] [stdout] 285 | | }); [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] 282 | 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:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | / callee.as_mut().map(&mut |a| { [INFO] [stdout] 329 | | v.push(a); [INFO] [stdout] 330 | | Ok::<_, Infallible>(()) [INFO] [stdout] 331 | | }); [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] 328 | let _ = callee.as_mut().map(&mut |a| { [INFO] [stdout] | +++++++ [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] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | OptTerm::Throw(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | OptTerm::Return(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | OptTerm::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | OptTerm::Throw(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | OptTerm::Return(id) => Box::new(empty()), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cond` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | cond, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cond: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | OptTerm::Switch { x, blocks, default } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | OptValue::Emit { val, ty } => val.vals(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:154:37 [INFO] [stdout] | [INFO] [stdout] 154 | OptValue::Assert { val, ty } => Box::new(once(*val)), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | OptValue::Emit { val, ty } => val.vals_mut(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:167:37 [INFO] [stdout] | [INFO] [stdout] 167 | OptValue::Assert { val, ty } => Box::new(once(val)), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | f: &'a OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | g: &'a mut OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | f: &'a OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | g: &'a mut OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | f: &'a OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | g: &'a mut OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | f: &'a OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | g: &'a mut OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | f: &'a OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> crates/swc-opt-ssa/src/impls.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | g: &'a mut OptFunc, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:126:44 [INFO] [stdout] | [INFO] [stdout] 126 | SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `idx: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:126:49 [INFO] [stdout] | [INFO] [stdout] 126 | SValue::Param { block, idx, ty } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:195:45 [INFO] [stdout] | [INFO] [stdout] 195 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:221:45 [INFO] [stdout] | [INFO] [stdout] 221 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:251:53 [INFO] [stdout] | [INFO] [stdout] 251 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:283:53 [INFO] [stdout] | [INFO] [stdout] 283 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:304:53 [INFO] [stdout] | [INFO] [stdout] 304 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:325:38 [INFO] [stdout] | [INFO] [stdout] 325 | ... Some(k) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:379:45 [INFO] [stdout] | [INFO] [stdout] 379 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:415:45 [INFO] [stdout] | [INFO] [stdout] 415 | ... op => ( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:442:37 [INFO] [stdout] | [INFO] [stdout] 442 | ... let (x, ty) = state.get(v0).cloned().context("in getting the var")?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nest` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:489:33 [INFO] [stdout] | [INFO] [stdout] 489 | ... nest, [INFO] [stdout] | ^^^^ help: try ignoring the field: `nest: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extensible` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:490:43 [INFO] [stdout] | [INFO] [stdout] 490 | ... extended: extensible, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extensible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem_tys` [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:491:33 [INFO] [stdout] | [INFO] [stdout] 491 | ... elem_tys, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `elem_tys: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/swc-opt-ssa/src/into.rs:721:17 [INFO] [stdout] | [INFO] [stdout] 721 | fn try_from(mut value: &'a SFunc) -> Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | OptValue::Assert { val, ty } => ty.clone(), [INFO] [stdout] | ^^^ help: try ignoring the field: `val: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | OptValue::Emit { val, ty } => ty.clone(), [INFO] [stdout] | ^^^ help: try ignoring the field: `val: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:170:37 [INFO] [stdout] | [INFO] [stdout] 170 | OptValue::Assert { val, ty } => cfg.values[*val].constant(cfg), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | OptValue::Emit { val, ty } => match val { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:172:41 [INFO] [stdout] | [INFO] [stdout] 172 | SValue::Item { item: i, span } => match i { [INFO] [stdout] | ^^^^ help: try ignoring the field: `span: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | OptValue::Assert { val, ty } => self.val(*val, ctx), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:190:35 [INFO] [stdout] | [INFO] [stdout] 190 | OptValue::Emit { val, ty } => Some(val), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:205:37 [INFO] [stdout] | [INFO] [stdout] 205 | OptValue::Assert { val, ty } => self.val_mut(*val, ctx), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> crates/swc-opt-ssa/src/lib.rs:206:35 [INFO] [stdout] | [INFO] [stdout] 206 | OptValue::Emit { val, ty } => Some(val), [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "838c1a7f671e717ad3f72a295b220184e93f9113584d827963898d254b81debd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "838c1a7f671e717ad3f72a295b220184e93f9113584d827963898d254b81debd", kill_on_drop: false }` [INFO] [stdout] 838c1a7f671e717ad3f72a295b220184e93f9113584d827963898d254b81debd