[INFO] cloning repository https://github.com/KermanX/tree-shaker-prototype [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KermanX/tree-shaker-prototype" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermanX%2Ftree-shaker-prototype", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermanX%2Ftree-shaker-prototype'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2f3cb85c95d97a1901ae3132849ca541e2f2e18 [INFO] checking KermanX/tree-shaker-prototype/f2f3cb85c95d97a1901ae3132849ca541e2f2e18 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermanX%2Ftree-shaker-prototype" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KermanX/tree-shaker-prototype on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/KermanX/tree-shaker-prototype [INFO] finished tweaking git repo https://github.com/KermanX/tree-shaker-prototype [INFO] tweaked toml for git repo https://github.com/KermanX/tree-shaker-prototype written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KermanX/tree-shaker-prototype 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oxc_allocator v0.25.0 [INFO] [stderr] Downloaded oxc_ast_macros v0.25.0 [INFO] [stderr] Downloaded oxc v0.25.0 [INFO] [stderr] Downloaded oxc_index v0.25.0 [INFO] [stderr] Downloaded oxc_diagnostics v0.25.0 [INFO] [stderr] Downloaded oxc_span v0.25.0 [INFO] [stderr] Downloaded assert-unchecked v0.1.2 [INFO] [stderr] Downloaded oxc_mangler v0.25.0 [INFO] [stderr] Downloaded oxc_semantic v0.25.0 [INFO] [stderr] Downloaded oxc_sourcemap v0.25.0 [INFO] [stderr] Downloaded oxc_codegen v0.25.0 [INFO] [stderr] Downloaded daachorse v1.0.0 [INFO] [stderr] Downloaded oxc_minifier v0.25.0 [INFO] [stderr] Downloaded oxc_traverse v0.25.0 [INFO] [stderr] Downloaded oxc_parser v0.25.0 [INFO] [stderr] Downloaded oxc_regular_expression v0.25.0 [INFO] [stderr] Downloaded oxc_ast v0.25.0 [INFO] [stderr] Downloaded oxc_cfg v0.25.0 [INFO] [stderr] Downloaded oxc_syntax v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef050f64c88cfc76d5d24aba527f3a46b2f81e7856280f65794adaecdfc33a8d [INFO] running `Command { std: "docker" "start" "-a" "ef050f64c88cfc76d5d24aba527f3a46b2f81e7856280f65794adaecdfc33a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef050f64c88cfc76d5d24aba527f3a46b2f81e7856280f65794adaecdfc33a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef050f64c88cfc76d5d24aba527f3a46b2f81e7856280f65794adaecdfc33a8d", kill_on_drop: false }` [INFO] [stdout] ef050f64c88cfc76d5d24aba527f3a46b2f81e7856280f65794adaecdfc33a8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daf0fb541edfa4d302c2ef3e8313adceb199f892e5de0952a0198ec2bc5a6f71 [INFO] running `Command { std: "docker" "start" "-a" "daf0fb541edfa4d302c2ef3e8313adceb199f892e5de0952a0198ec2bc5a6f71", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.157 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking unicode-id-start v1.2.0 [INFO] [stderr] Checking oxc_index v0.25.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking ryu-js v1.0.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking oxc_allocator v0.25.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking assert-unchecked v0.1.2 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking daachorse v1.0.0 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling oxc_ast_macros v0.25.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking oxc_span v0.25.0 [INFO] [stderr] Checking oxc_diagnostics v0.25.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking oxc_syntax v0.25.0 [INFO] [stderr] Checking oxc_regular_expression v0.25.0 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking oxc_ast v0.25.0 [INFO] [stderr] Checking oxc_cfg v0.25.0 [INFO] [stderr] Checking serde_json v1.0.125 [INFO] [stderr] Checking oxc_sourcemap v0.25.0 [INFO] [stderr] Checking oxc_semantic v0.25.0 [INFO] [stderr] Checking oxc_parser v0.25.0 [INFO] [stderr] Checking oxc_mangler v0.25.0 [INFO] [stderr] Checking oxc_traverse v0.25.0 [INFO] [stderr] Checking oxc_codegen v0.25.0 [INFO] [stderr] Checking oxc_minifier v0.25.0 [INFO] [stderr] Checking oxc v0.25.0 [INFO] [stderr] Checking tree-shake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/entity/function.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_property(&self, analyzer: &mut Analyzer<'a>, _key: &Entity<'a>) -> (bool, Entity<'a>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/entity/function.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | analyzer: &mut Analyzer<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/entity/literal.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_property(&self, analyzer: &mut Analyzer<'a>, _key: &Entity<'a>) -> (bool, Entity<'a>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/entity/literal.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | fn delete_property(&self, analyzer: &mut Analyzer<'a>, key: &Entity<'a>) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/entity/literal.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | fn delete_property(&self, analyzer: &mut Analyzer<'a>, key: &Entity<'a>) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/entity/literal.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | LiteralEntity::Symbol(value) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/entity/literal.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | LiteralEntity::Symbol(value) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/entity/literal.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | LiteralEntity::Symbol(value) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/entity/object.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | fn get_to_array(&self, length: usize) -> (Vec>, Entity<'a>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/entity/object.rs:330:33 [INFO] [stdout] | [INFO] [stdout] 330 | LiteralEntity::Symbol(key) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/entity/function.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_property(&self, analyzer: &mut Analyzer<'a>, _key: &Entity<'a>) -> (bool, Entity<'a>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/entity/function.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | analyzer: &mut Analyzer<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/entity/literal.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_property(&self, analyzer: &mut Analyzer<'a>, _key: &Entity<'a>) -> (bool, Entity<'a>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/entity/literal.rs:62:29 [INFO] [stdout] | [INFO] [stdout] 62 | fn delete_property(&self, analyzer: &mut Analyzer<'a>, key: &Entity<'a>) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/entity/literal.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | fn delete_property(&self, analyzer: &mut Analyzer<'a>, key: &Entity<'a>) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/entity/literal.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | LiteralEntity::Symbol(value) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/entity/literal.rs:238:29 [INFO] [stdout] | [INFO] [stdout] 238 | LiteralEntity::Symbol(value) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/entity/literal.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 268 | LiteralEntity::Symbol(value) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/misc/assignment_target_pattern.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | node: &'a AssignmentTargetPattern<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/nodes/misc/assignment_target_pattern.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | value: Entity<'a>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/misc/assignment_target_pattern.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | node: AssignmentTargetPattern<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/entity/object.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | fn get_to_array(&self, length: usize) -> (Vec>, Entity<'a>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/entity/object.rs:330:33 [INFO] [stdout] | [INFO] [stdout] 330 | LiteralEntity::Symbol(key) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/misc/binding_rest_element.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | node: &'a BindingRestElement<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init` [INFO] [stdout] --> src/nodes/misc/binding_rest_element.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | init: Entity<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exporting` [INFO] [stdout] --> src/nodes/misc/binding_rest_element.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | exporting: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exporting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/nodes/misc/formal_parameters.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let data = self.get_data::(AST_TYPE, &node); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/stmt/module_declaration.rs:39:58 [INFO] [stdout] | [INFO] [stdout] 39 | ExportDefaultDeclarationKind::ClassDeclaration(node) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/stmt/module_declaration.rs:153:58 [INFO] [stdout] | [INFO] [stdout] 153 | ExportDefaultDeclarationKind::ClassDeclaration(node) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Symbol` is never constructed [INFO] [stdout] --> src/entity/literal.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) enum LiteralEntity<'a> { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | Symbol(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiteralEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_big_int` and `new_null` are never used [INFO] [stdout] --> src/entity/literal.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 195 | impl<'a> LiteralEntity<'a> { [INFO] [stdout] | -------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | pub(crate) fn new_big_int(value: &'a str) -> Entity<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub(crate) fn new_null() -> Entity<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Symbol` and `Array` are never constructed [INFO] [stdout] --> src/entity/unknown.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) enum UnknownEntityKind { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Array, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnknownEntityKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `variable_scope` is never used [INFO] [stdout] --> src/scope/mod.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> Analyzer<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub(crate) fn variable_scope(&self) -> &VariableScope<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has` is never used [INFO] [stdout] --> src/scope/variable_scope.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> VariableScope<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn has(&self, symbol: &SymbolId) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_unused_iterable` is never used [INFO] [stdout] --> src/transformer.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a> Transformer<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn build_unused_iterable(&self, span: Span, length: usize) -> Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NUMERIC_REGEX` is never used [INFO] [stdout] --> src/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static NUMERIC_REGEX: LazyLock = LazyLock::new(|| Regex::new(r"^[0-9]+$").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_numeric_string` is never used [INFO] [stdout] --> src/utils.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn is_numeric_string(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/misc/assignment_target_pattern.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | node: &'a AssignmentTargetPattern<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/nodes/misc/assignment_target_pattern.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | value: Entity<'a>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/misc/assignment_target_pattern.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | node: AssignmentTargetPattern<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/misc/binding_rest_element.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | node: &'a BindingRestElement<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init` [INFO] [stdout] --> src/nodes/misc/binding_rest_element.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | init: Entity<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exporting` [INFO] [stdout] --> src/nodes/misc/binding_rest_element.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | exporting: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exporting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/nodes/misc/formal_parameters.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let data = self.get_data::(AST_TYPE, &node); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/stmt/module_declaration.rs:39:58 [INFO] [stdout] | [INFO] [stdout] 39 | ExportDefaultDeclarationKind::ClassDeclaration(node) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/stmt/module_declaration.rs:153:58 [INFO] [stdout] | [INFO] [stdout] 153 | ExportDefaultDeclarationKind::ClassDeclaration(node) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Symbol` is never constructed [INFO] [stdout] --> src/entity/literal.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) enum LiteralEntity<'a> { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | Symbol(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LiteralEntity` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_big_int` and `new_null` are never used [INFO] [stdout] --> src/entity/literal.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 195 | impl<'a> LiteralEntity<'a> { [INFO] [stdout] | -------------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | pub(crate) fn new_big_int(value: &'a str) -> Entity<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub(crate) fn new_null() -> Entity<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Symbol` and `Array` are never constructed [INFO] [stdout] --> src/entity/unknown.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) enum UnknownEntityKind { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | Symbol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Array, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnknownEntityKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `variable_scope` is never used [INFO] [stdout] --> src/scope/mod.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> Analyzer<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub(crate) fn variable_scope(&self) -> &VariableScope<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has` is never used [INFO] [stdout] --> src/scope/variable_scope.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> VariableScope<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn has(&self, symbol: &SymbolId) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_unused_iterable` is never used [INFO] [stdout] --> src/transformer.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a> Transformer<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn build_unused_iterable(&self, span: Span, length: usize) -> Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `NUMERIC_REGEX` is never used [INFO] [stdout] --> src/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static NUMERIC_REGEX: LazyLock = LazyLock::new(|| Regex::new(r"^[0-9]+$").unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_numeric_string` is never used [INFO] [stdout] --> src/utils.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn is_numeric_string(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.24s [INFO] running `Command { std: "docker" "inspect" "daf0fb541edfa4d302c2ef3e8313adceb199f892e5de0952a0198ec2bc5a6f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daf0fb541edfa4d302c2ef3e8313adceb199f892e5de0952a0198ec2bc5a6f71", kill_on_drop: false }` [INFO] [stdout] daf0fb541edfa4d302c2ef3e8313adceb199f892e5de0952a0198ec2bc5a6f71