[INFO] fetching crate swc_ecma_lints 0.36.2... [INFO] testing swc_ecma_lints-0.36.2 against try#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] extracting crate swc_ecma_lints 0.36.2 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate swc_ecma_lints 0.36.2 on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate swc_ecma_lints 0.36.2 [INFO] finished tweaking crates.io crate swc_ecma_lints 0.36.2 [INFO] tweaked toml for crates.io crate swc_ecma_lints 0.36.2 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate swc_ecma_lints 0.36.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce4f051a52c8ab9d926f4300008a959d440e6dd1a4db63ebd549eb56a4ba5699 [INFO] running `Command { std: "docker" "start" "-a" "ce4f051a52c8ab9d926f4300008a959d440e6dd1a4db63ebd549eb56a4ba5699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce4f051a52c8ab9d926f4300008a959d440e6dd1a4db63ebd549eb56a4ba5699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce4f051a52c8ab9d926f4300008a959d440e6dd1a4db63ebd549eb56a4ba5699", kill_on_drop: false }` [INFO] [stdout] ce4f051a52c8ab9d926f4300008a959d440e6dd1a4db63ebd549eb56a4ba5699 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0bdcdda99124c3f6542461077636113c0815b1f77cd346a15aff0f86cfc3c2e [INFO] running `Command { std: "docker" "start" "-a" "d0bdcdda99124c3f6542461077636113c0815b1f77cd346a15aff0f86cfc3c2e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-id v0.3.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling better_scoped_tls v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling debug_unreachable v0.1.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.12.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling dashmap v5.3.1 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling swc_atoms v0.2.11 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling swc_macros_common v0.3.4 [INFO] [stderr] Compiling swc_visit_macros v0.3.1 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling from_variant v0.1.3 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.0 [INFO] [stderr] Compiling string_enum v0.3.1 [INFO] [stderr] Compiling is-macro v0.2.0 [INFO] [stderr] Compiling auto_impl v0.5.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling ast_node v0.7.7 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling swc_visit v0.3.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling swc_common v0.17.25 [INFO] [stderr] Compiling swc_ecma_ast v0.76.2 [INFO] [stderr] Compiling swc_ecma_visit v0.62.0 [INFO] [stderr] Compiling swc_ecma_utils v0.82.0 [INFO] [stderr] Compiling swc_ecma_lints v0.36.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `lint_params` [INFO] [stdout] --> src/rules/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn all(lint_params: LintParams) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lint_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rules/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut rules = vec![ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rule_reaction` [INFO] [stdout] --> src/config.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn get_rule_reaction(&self) -> LintRuleReaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rule_config` [INFO] [stdout] --> src/config.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) fn get_rule_config(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_char` [INFO] [stdout] --> src/rules/utils.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `resolve_string_quote_type` [INFO] [stdout] --> src/rules/utils.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn resolve_string_quote_type(lit_str: &Str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Str` [INFO] [stdout] --> src/rules/utils.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Str(JsWord), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/rules/utils.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Number(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RegExp` [INFO] [stdout] --> src/rules/utils.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | RegExp { exp: JsWord, flags: JsWord }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ident` [INFO] [stdout] --> src/rules/utils.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/rules/utils.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_arg_val` [INFO] [stdout] --> src/rules/utils.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn extract_arg_val(unresolved_ctxt: SyntaxContext, expr: &Expr) -> ArgValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unwrap_seqs_and_parens` [INFO] [stdout] --> src/rules/utils.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn unwrap_seqs_and_parens(expr: &Expr) -> &Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.80s [INFO] running `Command { std: "docker" "inspect" "d0bdcdda99124c3f6542461077636113c0815b1f77cd346a15aff0f86cfc3c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0bdcdda99124c3f6542461077636113c0815b1f77cd346a15aff0f86cfc3c2e", kill_on_drop: false }` [INFO] [stdout] d0bdcdda99124c3f6542461077636113c0815b1f77cd346a15aff0f86cfc3c2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccd19052502dfda8eb3689bc5634b399cf562a2273f47d47acca4c745957c34c [INFO] running `Command { std: "docker" "start" "-a" "ccd19052502dfda8eb3689bc5634b399cf562a2273f47d47acca4c745957c34c", kill_on_drop: false }` [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling relative-path v1.7.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling miette-derive v4.6.0 [INFO] [stderr] Compiling enum_kind v0.2.1 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.0 [INFO] [stderr] Compiling lexical-util v0.8.3 [INFO] [stderr] Compiling supports-hyperlinks v1.2.0 [INFO] [stderr] Compiling supports-unicode v1.0.2 [INFO] [stderr] Compiling supports-color v1.3.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling pretty_assertions v1.2.1 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling lexical-parse-integer v0.8.3 [INFO] [stderr] Compiling lexical-write-integer v0.8.3 [INFO] [stderr] Compiling lexical-parse-float v0.8.3 [INFO] [stderr] Compiling swc_common v0.17.25 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling lexical-write-float v0.8.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling sourcemap v6.0.1 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling testing_macros v0.2.5 [INFO] [stderr] Compiling lexical-core v0.8.3 [INFO] [stderr] Compiling swc_ecma_ast v0.76.2 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling lexical v6.1.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling miette v4.6.0 [INFO] [stderr] Compiling swc_error_reporters v0.1.2 [INFO] [stderr] Compiling testing v0.19.1 [INFO] [stderr] Compiling swc_ecma_visit v0.62.0 [INFO] [stderr] Compiling swc_ecma_parser v0.102.10 [INFO] [stderr] Compiling swc_ecma_codegen v0.105.3 [INFO] [stderr] Compiling swc_ecma_utils v0.82.0 [INFO] [stderr] Compiling swc_ecma_transforms_base v0.80.2 [INFO] [stderr] Compiling swc_ecma_lints v0.36.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `lint_params` [INFO] [stdout] --> src/rules/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn all(lint_params: LintParams) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lint_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rules/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut rules = vec![ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rule_reaction` [INFO] [stdout] --> src/config.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn get_rule_reaction(&self) -> LintRuleReaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rule_config` [INFO] [stdout] --> src/config.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) fn get_rule_config(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_char` [INFO] [stdout] --> src/rules/utils.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `resolve_string_quote_type` [INFO] [stdout] --> src/rules/utils.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn resolve_string_quote_type(lit_str: &Str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Str` [INFO] [stdout] --> src/rules/utils.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Str(JsWord), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/rules/utils.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Number(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RegExp` [INFO] [stdout] --> src/rules/utils.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | RegExp { exp: JsWord, flags: JsWord }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ident` [INFO] [stdout] --> src/rules/utils.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/rules/utils.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_arg_val` [INFO] [stdout] --> src/rules/utils.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn extract_arg_val(unresolved_ctxt: SyntaxContext, expr: &Expr) -> ArgValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unwrap_seqs_and_parens` [INFO] [stdout] --> src/rules/utils.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn unwrap_seqs_and_parens(expr: &Expr) -> &Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lint_params` [INFO] [stdout] --> src/rules/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn all(lint_params: LintParams) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lint_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rules/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut rules = vec![ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rule_reaction` [INFO] [stdout] --> src/config.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn get_rule_reaction(&self) -> LintRuleReaction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rule_config` [INFO] [stdout] --> src/config.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) fn get_rule_config(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_char` [INFO] [stdout] --> src/rules/utils.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `resolve_string_quote_type` [INFO] [stdout] --> src/rules/utils.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn resolve_string_quote_type(lit_str: &Str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Str` [INFO] [stdout] --> src/rules/utils.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Str(JsWord), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/rules/utils.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Number(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RegExp` [INFO] [stdout] --> src/rules/utils.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | RegExp { exp: JsWord, flags: JsWord }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ident` [INFO] [stdout] --> src/rules/utils.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/rules/utils.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rules/utils.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_arg_val` [INFO] [stdout] --> src/rules/utils.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn extract_arg_val(unresolved_ctxt: SyntaxContext, expr: &Expr) -> ArgValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unwrap_seqs_and_parens` [INFO] [stdout] --> src/rules/utils.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn unwrap_seqs_and_parens(expr: &Expr) -> &Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 32.60s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/swc_ecma_lints-855ae317a005b144) [INFO] running `Command { std: "docker" "inspect" "ccd19052502dfda8eb3689bc5634b399cf562a2273f47d47acca4c745957c34c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd19052502dfda8eb3689bc5634b399cf562a2273f47d47acca4c745957c34c", kill_on_drop: false }` [INFO] [stdout] ccd19052502dfda8eb3689bc5634b399cf562a2273f47d47acca4c745957c34c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 53d61e0233566a96d0b1aa87a9c4a1008555bf5e0068a37ee67cdb04f8d57897 [INFO] running `Command { std: "docker" "start" "-a" "53d61e0233566a96d0b1aa87a9c4a1008555bf5e0068a37ee67cdb04f8d57897", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `lint_params` [INFO] [stderr] --> src/rules/mod.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn all(lint_params: LintParams) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lint_params` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rules/mod.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | let mut rules = vec![ [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_rule_reaction` [INFO] [stderr] --> src/config.rs:63:19 [INFO] [stderr] | [INFO] [stderr] 63 | pub(crate) fn get_rule_reaction(&self) -> LintRuleReaction { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_rule_config` [INFO] [stderr] --> src/config.rs:67:19 [INFO] [stderr] | [INFO] [stderr] 67 | pub(crate) fn get_rule_config(&self) -> &T { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_char` [INFO] [stderr] --> src/rules/utils.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn get_char(&self) -> char { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `resolve_string_quote_type` [INFO] [stderr] --> src/rules/utils.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn resolve_string_quote_type(lit_str: &Str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Str` [INFO] [stderr] --> src/rules/utils.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | Str(JsWord), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/rules/utils.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Number` [INFO] [stderr] --> src/rules/utils.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | Number(f64), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/rules/utils.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RegExp` [INFO] [stderr] --> src/rules/utils.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | RegExp { exp: JsWord, flags: JsWord }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/rules/utils.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ident` [INFO] [stderr] --> src/rules/utils.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | Ident, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/rules/utils.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Other` [INFO] [stderr] --> src/rules/utils.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | Other, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ArgValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/rules/utils.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `extract_arg_val` [INFO] [stderr] --> src/rules/utils.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn extract_arg_val(unresolved_ctxt: SyntaxContext, expr: &Expr) -> ArgValue { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `unwrap_seqs_and_parens` [INFO] [stderr] --> src/rules/utils.rs:101:8 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn unwrap_seqs_and_parens(expr: &Expr) -> &Expr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `swc_ecma_lints` (lib) generated 13 warnings [INFO] [stderr] warning: `swc_ecma_lints` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swc_ecma_lints-855ae317a005b144) [INFO] [stdout] [INFO] [stderr] Doc-tests swc_ecma_lints [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "53d61e0233566a96d0b1aa87a9c4a1008555bf5e0068a37ee67cdb04f8d57897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53d61e0233566a96d0b1aa87a9c4a1008555bf5e0068a37ee67cdb04f8d57897", kill_on_drop: false }` [INFO] [stdout] 53d61e0233566a96d0b1aa87a9c4a1008555bf5e0068a37ee67cdb04f8d57897