[INFO] cloning repository https://github.com/KermanX/ecma_analyzer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KermanX/ecma_analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermanX%2Fecma_analyzer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermanX%2Fecma_analyzer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8a9a4c2af467a2e39b9af43fd74695b1185ba33 [INFO] testing KermanX/ecma_analyzer against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermanX%2Fecma_analyzer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KermanX/ecma_analyzer on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/KermanX/ecma_analyzer [INFO] finished tweaking git repo https://github.com/KermanX/ecma_analyzer [INFO] tweaked toml for git repo https://github.com/KermanX/ecma_analyzer written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KermanX/ecma_analyzer 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oxc-miette-derive v2.1.2 [INFO] [stderr] Downloaded oxc_ast_macros v0.64.0 [INFO] [stderr] Downloaded unicode-id-start v1.3.1 [INFO] [stderr] Downloaded cow-utils v0.1.3 [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded insta v1.42.2 [INFO] [stderr] Downloaded flame v0.2.2 [INFO] [stderr] Downloaded compact_str v0.9.0 [INFO] [stderr] Downloaded oxc-miette v2.2.1 [INFO] [stderr] Downloaded oxc_index v3.0.0 [INFO] [stderr] Downloaded owo-colors v4.2.0 [INFO] [stderr] Downloaded flamescope v0.1.3 [INFO] [stderr] Downloaded line-index v0.1.2 [INFO] [stderr] Downloaded oxc_sourcemap v3.0.0 [INFO] [stderr] Downloaded oxc_cfg v0.64.0 [INFO] [stderr] Downloaded self_cell v1.2.0 [INFO] [stderr] Downloaded oxc_ast_visit v0.64.0 [INFO] [stderr] Downloaded oxc_traverse v0.64.0 [INFO] [stderr] Downloaded oxc_diagnostics v0.64.0 [INFO] [stderr] Downloaded oxc_estree v0.64.0 [INFO] [stderr] Downloaded oxc_mangler v0.64.0 [INFO] [stderr] Downloaded oxc_syntax v0.64.0 [INFO] [stderr] Downloaded oxc_ecmascript v0.64.0 [INFO] [stderr] Downloaded oxc_parser v0.64.0 [INFO] [stderr] Downloaded oxc_minifier v0.64.0 [INFO] [stderr] Downloaded oxc_semantic v0.64.0 [INFO] [stderr] Downloaded oxc_ast v0.64.0 [INFO] [stderr] Downloaded oxc_data_structures v0.64.0 [INFO] [stderr] Downloaded oxc_allocator v0.64.0 [INFO] [stderr] Downloaded oxc v0.64.0 [INFO] [stderr] Downloaded oxc_codegen v0.64.0 [INFO] [stderr] Downloaded oxc_regular_expression v0.64.0 [INFO] [stderr] Downloaded oxc_span v0.64.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a8bce98c9ac7948c9cc35120838c87ee39688767569605605e0497cac941ba5 [INFO] running `Command { std: "docker" "start" "-a" "8a8bce98c9ac7948c9cc35120838c87ee39688767569605605e0497cac941ba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a8bce98c9ac7948c9cc35120838c87ee39688767569605605e0497cac941ba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a8bce98c9ac7948c9cc35120838c87ee39688767569605605e0497cac941ba5", kill_on_drop: false }` [INFO] [stdout] 8a8bce98c9ac7948c9cc35120838c87ee39688767569605605e0497cac941ba5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3e981fee4a42c638c705a7ef8e883765e808e33e9ec36268a30ef24d54c3f51 [INFO] running `Command { std: "docker" "start" "-a" "c3e981fee4a42c638c705a7ef8e883765e808e33e9ec36268a30ef24d54c3f51", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling owo-colors v4.2.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cow-utils v0.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling oxc_data_structures v0.64.0 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling oxc_allocator v0.64.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling oxc_estree v0.64.0 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling oxc_index v3.0.0 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling oxc_sourcemap v3.0.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling line-index v0.1.2 [INFO] [stderr] Compiling petgraph v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling oxc-miette-derive v2.1.2 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling oxc_ast_macros v0.64.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling oxc-miette v2.2.1 [INFO] [stderr] Compiling oxc_span v0.64.0 [INFO] [stderr] Compiling oxc_diagnostics v0.64.0 [INFO] [stderr] Compiling oxc_syntax v0.64.0 [INFO] [stderr] Compiling oxc_regular_expression v0.64.0 [INFO] [stderr] Compiling oxc_cfg v0.64.0 [INFO] [stderr] Compiling oxc_ast v0.64.0 [INFO] [stderr] Compiling oxc_ecmascript v0.64.0 [INFO] [stderr] Compiling oxc_ast_visit v0.64.0 [INFO] [stderr] Compiling oxc_semantic v0.64.0 [INFO] [stderr] Compiling oxc_parser v0.64.0 [INFO] [stderr] Compiling oxc_mangler v0.64.0 [INFO] [stderr] Compiling oxc_codegen v0.64.0 [INFO] [stderr] Compiling oxc_traverse v0.64.0 [INFO] [stderr] Compiling oxc_minifier v0.64.0 [INFO] [stderr] Compiling oxc v0.64.0 [INFO] [stderr] Compiling simple_ts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `intrinsics::IntrinsicType` [INFO] [stdout] --> src/nodes/ts/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | ty::{Ty, intrinsics::IntrinsicType}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r#enum::EnumMemberType` [INFO] [stdout] --> src/ty/match.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | Ty, callable::CallableType, r#enum::EnumMemberType, record::KeyedPropertyMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `namespace::Ns` [INFO] [stdout] --> src/ty/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use namespace::Ns; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let mut arguments = vec![todo!()]; [INFO] [stdout] | ^^^^^-------^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let value = self.exec_expression(expr, todo!()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ty/operations.rs:81:89 [INFO] [stdout] | [INFO] [stdout] 81 | Ty::Unresolved(_) => self.create_generic_instance(todo!("builtins::NonNullable"), vec![ty]), [INFO] [stdout] | ------------------------------ ^^^^^^^^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ty/record.rs:251:59 [INFO] [stdout] | [INFO] [stdout] 251 | members.push(self.serialize_keyed_property(todo!(), property)); [INFO] [stdout] | ------- ^^^^^^^^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `specifier` [INFO] [stdout] --> src/analyzer.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn resolve_module(&mut self, specifier: &'a str) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_specifier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/analyzer.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn resolve_global_variable(&mut self, id: &'a str) -> Ty<'a> { [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] --> src/analyzer.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn resolve_global_type(&mut self, id: &'a str) -> Ty<'a> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/expr/arrow_function_expression.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | node: &'a ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sat` [INFO] [stdout] --> src/nodes/expr/assignment_expression.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | sat: Option>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sat` [INFO] [stdout] --> src/nodes/expr/await_expression.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | self.exec_expression(&node.argument, sat.map(|sat| todo!("sat | PromiseLike"))); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/nodes/expr/import_expression.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let source = self.exec_expression(&node.source, Some(Ty::String)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/expr/meta_property.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn exec_meta_property(&mut self, node: &'a MetaProperty<'a>, _sat: Option>) -> Ty<'a> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let (indeterminate, tag, this) = self.exec_callee(&node.tag); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let (indeterminate, tag, this) = self.exec_callee(&node.tag); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut arguments = vec![todo!()]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | let value = self.exec_expression(expr, 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/expr/yield_expression.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | node: &'a YieldExpression<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sat` [INFO] [stdout] --> src/nodes/expr/yield_expression.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | sat: Option>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/nodes/jsx/jsx_element.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let attributes = self.exec_jsx_attributes(&node.opening_element, attr_sat); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `children` [INFO] [stdout] --> src/nodes/jsx/jsx_element.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let children = self.exec_jsx_children(&node.children); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_children` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/misc/class.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn exec_class(&mut self, node: &'a Class<'a>, _sat: Option>) -> Ty<'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/class.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn init_class(&mut self, node: &'a Class<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_async` [INFO] [stdout] --> src/nodes/misc/function_body.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | is_async: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `known` [INFO] [stdout] --> src/nodes/stmt/module_declaration.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | let value = if let Some(known) = known { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_known` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/stmt/module_declaration.rs:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | ModuleDeclaration::TSNamespaceExportDeclaration(node) => { [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/switch_statement.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn exec_switch_statement(&mut self, node: &'a SwitchStatement<'a>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/nodes/ts/ts_interface_declaration.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let params = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/ts/ts_literal.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | TSLiteral::UnaryExpression(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/ts/ts_literal.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | TSLiteral::TemplateLiteral(node) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/ty/callable.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(rest) = callable.rest_param {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/ty/callable.rs:380:33 [INFO] [stdout] | [INFO] [stdout] 380 | Argument::SpreadElement(node) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this_arg` [INFO] [stdout] --> src/ty/callable.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | this_arg: Ty<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_this_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_class` [INFO] [stdout] --> src/ty/enum.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn serialize_enum_class_type(&mut self, enum_class: &'a EnumClassType<'a>) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generic` [INFO] [stdout] --> src/ty/generic.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn serialize_generic_type(&mut self, generic: &GenericType<'a>) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ty/interface.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | Ty::Record(r) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interface` [INFO] [stdout] --> src/ty/interface.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn serialize_interface_type(&mut self, interface: &InterfaceType<'a>) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intrinsic` [INFO] [stdout] --> src/ty/intrinsics.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn serialize_intrinsic_type(&mut self, intrinsic: IntrinsicType) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intrinsic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/ty/lowest.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | Ty::Generic(g) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ty/lowest.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | Ty::Intrinsic(i) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/ty/lowest.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | UnresolvedType::GenericParam(symbol) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/match.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | (Ty::Interface(target), Ty::Interface(pattern)) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/ty/match.rs:237:45 [INFO] [stdout] | [INFO] [stdout] 237 | (Ty::Interface(target), Ty::Interface(pattern)) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/match.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | (Ty::Tuple(target), Ty::Tuple(pattern)) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/ty/match.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 242 | (Ty::Tuple(target), Ty::Tuple(pattern)) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/ty/namespace.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn serialize_namespace_type(&mut self, namespace: &Ns<'a>) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/ty/record.rs:125:33 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn init_spread(&mut self, analyzer: &mut Analyzer<'a>, value: Ty<'a>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ty/record.rs:125:62 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn init_spread(&mut self, analyzer: &mut Analyzer<'a>, value: Ty<'a>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/ty/record.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn remove_property(&mut self, analyzer: &mut Analyzer<'a>, key: PropertyKeyType<'a>) { [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/ty/record.rs:129:66 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn remove_property(&mut self, analyzer: &mut Analyzer<'a>, key: PropertyKeyType<'a>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/ty/record.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | for (key, property) in &record.symbol_keyed.0 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/ty/record.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 250 | for (key, property) in &record.symbol_keyed.0 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ty/tuple.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | PropertyKeyType::UniqueSymbol(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:182:42 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iterate_result_union(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | target: Ty<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ty/mod.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `need_rest` [INFO] [stdout] --> src/ty/mod.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | need_rest: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_need_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:195:36 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get_to_numeric(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn get_to_string(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:207:36 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn get_to_awaited(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/scope/type.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TypeScopeTree<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 21 | nodes: IndexVec>, [INFO] [stdout] 22 | root: TypeScopeId, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeScopeTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "c3e981fee4a42c638c705a7ef8e883765e808e33e9ec36268a30ef24d54c3f51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3e981fee4a42c638c705a7ef8e883765e808e33e9ec36268a30ef24d54c3f51", kill_on_drop: false }` [INFO] [stdout] c3e981fee4a42c638c705a7ef8e883765e808e33e9ec36268a30ef24d54c3f51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1292540b522934172bdb4b67867cec820b22f1d8239aa5834c135e3d4baa8e99 [INFO] running `Command { std: "docker" "start" "-a" "1292540b522934172bdb4b67867cec820b22f1d8239aa5834c135e3d4baa8e99", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling oxc-miette-derive v2.1.2 [INFO] [stderr] Compiling oxc_ast_macros v0.64.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling oxc-miette v2.2.1 [INFO] [stderr] Compiling insta v1.42.2 [INFO] [stderr] Compiling oxc_span v0.64.0 [INFO] [stderr] Compiling oxc_diagnostics v0.64.0 [INFO] [stderr] Compiling oxc_syntax v0.64.0 [INFO] [stderr] Compiling oxc_regular_expression v0.64.0 [INFO] [stderr] Compiling oxc_cfg v0.64.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling oxc_ast v0.64.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling oxc_sourcemap v3.0.0 [INFO] [stderr] Compiling oxc_ecmascript v0.64.0 [INFO] [stderr] Compiling oxc_ast_visit v0.64.0 [INFO] [stderr] Compiling oxc_parser v0.64.0 [INFO] [stderr] Compiling oxc_semantic v0.64.0 [INFO] [stderr] Compiling oxc_codegen v0.64.0 [INFO] [stderr] Compiling oxc_mangler v0.64.0 [INFO] [stderr] Compiling oxc_traverse v0.64.0 [INFO] [stderr] Compiling oxc_minifier v0.64.0 [INFO] [stderr] Compiling oxc v0.64.0 [INFO] [stderr] Compiling simple_ts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `intrinsics::IntrinsicType` [INFO] [stdout] --> src/nodes/ts/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | ty::{Ty, intrinsics::IntrinsicType}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r#enum::EnumMemberType` [INFO] [stdout] --> src/ty/match.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | Ty, callable::CallableType, r#enum::EnumMemberType, record::KeyedPropertyMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `namespace::Ns` [INFO] [stdout] --> src/ty/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use namespace::Ns; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let mut arguments = vec![todo!()]; [INFO] [stdout] | ^^^^^-------^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let value = self.exec_expression(expr, todo!()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ty/operations.rs:81:89 [INFO] [stdout] | [INFO] [stdout] 81 | Ty::Unresolved(_) => self.create_generic_instance(todo!("builtins::NonNullable"), vec![ty]), [INFO] [stdout] | ------------------------------ ^^^^^^^^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ty/record.rs:251:59 [INFO] [stdout] | [INFO] [stdout] 251 | members.push(self.serialize_keyed_property(todo!(), property)); [INFO] [stdout] | ------- ^^^^^^^^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `specifier` [INFO] [stdout] --> src/analyzer.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn resolve_module(&mut self, specifier: &'a str) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_specifier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/analyzer.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn resolve_global_variable(&mut self, id: &'a str) -> Ty<'a> { [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] --> src/analyzer.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn resolve_global_type(&mut self, id: &'a str) -> Ty<'a> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/expr/arrow_function_expression.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | node: &'a ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sat` [INFO] [stdout] --> src/nodes/expr/assignment_expression.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | sat: Option>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sat` [INFO] [stdout] --> src/nodes/expr/await_expression.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | self.exec_expression(&node.argument, sat.map(|sat| todo!("sat | PromiseLike"))); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/nodes/expr/import_expression.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let source = self.exec_expression(&node.source, Some(Ty::String)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/expr/meta_property.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn exec_meta_property(&mut self, node: &'a MetaProperty<'a>, _sat: Option>) -> Ty<'a> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let (indeterminate, tag, this) = self.exec_callee(&node.tag); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let (indeterminate, tag, this) = self.exec_callee(&node.tag); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut arguments = vec![todo!()]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | let value = self.exec_expression(expr, 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/expr/yield_expression.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | node: &'a YieldExpression<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sat` [INFO] [stdout] --> src/nodes/expr/yield_expression.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | sat: Option>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/nodes/jsx/jsx_element.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let attributes = self.exec_jsx_attributes(&node.opening_element, attr_sat); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `children` [INFO] [stdout] --> src/nodes/jsx/jsx_element.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let children = self.exec_jsx_children(&node.children); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_children` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/misc/class.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn exec_class(&mut self, node: &'a Class<'a>, _sat: Option>) -> Ty<'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/class.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn init_class(&mut self, node: &'a Class<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_async` [INFO] [stdout] --> src/nodes/misc/function_body.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | is_async: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `known` [INFO] [stdout] --> src/nodes/stmt/module_declaration.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | let value = if let Some(known) = known { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_known` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/stmt/module_declaration.rs:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | ModuleDeclaration::TSNamespaceExportDeclaration(node) => { [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/switch_statement.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn exec_switch_statement(&mut self, node: &'a SwitchStatement<'a>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/nodes/ts/ts_interface_declaration.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let params = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/ts/ts_literal.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | TSLiteral::UnaryExpression(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/ts/ts_literal.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | TSLiteral::TemplateLiteral(node) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/ty/callable.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(rest) = callable.rest_param {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/ty/callable.rs:380:33 [INFO] [stdout] | [INFO] [stdout] 380 | Argument::SpreadElement(node) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this_arg` [INFO] [stdout] --> src/ty/callable.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | this_arg: Ty<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_this_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_class` [INFO] [stdout] --> src/ty/enum.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn serialize_enum_class_type(&mut self, enum_class: &'a EnumClassType<'a>) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generic` [INFO] [stdout] --> src/ty/generic.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn serialize_generic_type(&mut self, generic: &GenericType<'a>) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ty/interface.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | Ty::Record(r) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interface` [INFO] [stdout] --> src/ty/interface.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn serialize_interface_type(&mut self, interface: &InterfaceType<'a>) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intrinsic` [INFO] [stdout] --> src/ty/intrinsics.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn serialize_intrinsic_type(&mut self, intrinsic: IntrinsicType) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intrinsic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/ty/lowest.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | Ty::Generic(g) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ty/lowest.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | Ty::Intrinsic(i) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/ty/lowest.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | UnresolvedType::GenericParam(symbol) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/match.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | (Ty::Interface(target), Ty::Interface(pattern)) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/ty/match.rs:237:45 [INFO] [stdout] | [INFO] [stdout] 237 | (Ty::Interface(target), Ty::Interface(pattern)) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/match.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | (Ty::Tuple(target), Ty::Tuple(pattern)) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/ty/match.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 242 | (Ty::Tuple(target), Ty::Tuple(pattern)) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/ty/namespace.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn serialize_namespace_type(&mut self, namespace: &Ns<'a>) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/ty/record.rs:125:33 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn init_spread(&mut self, analyzer: &mut Analyzer<'a>, value: Ty<'a>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ty/record.rs:125:62 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn init_spread(&mut self, analyzer: &mut Analyzer<'a>, value: Ty<'a>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/ty/record.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn remove_property(&mut self, analyzer: &mut Analyzer<'a>, key: PropertyKeyType<'a>) { [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/ty/record.rs:129:66 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn remove_property(&mut self, analyzer: &mut Analyzer<'a>, key: PropertyKeyType<'a>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/ty/record.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | for (key, property) in &record.symbol_keyed.0 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/ty/record.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 250 | for (key, property) in &record.symbol_keyed.0 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ty/tuple.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | PropertyKeyType::UniqueSymbol(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:182:42 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iterate_result_union(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | target: Ty<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ty/mod.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `need_rest` [INFO] [stdout] --> src/ty/mod.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | need_rest: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_need_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:195:36 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get_to_numeric(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn get_to_string(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:207:36 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn get_to_awaited(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/scope/type.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TypeScopeTree<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 21 | nodes: IndexVec>, [INFO] [stdout] 22 | root: TypeScopeId, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeScopeTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `intrinsics::IntrinsicType` [INFO] [stdout] --> src/nodes/ts/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | ty::{Ty, intrinsics::IntrinsicType}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `r#enum::EnumMemberType` [INFO] [stdout] --> src/ty/match.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | Ty, callable::CallableType, r#enum::EnumMemberType, record::KeyedPropertyMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `namespace::Ns` [INFO] [stdout] --> src/ty/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use namespace::Ns; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let mut arguments = vec![todo!()]; [INFO] [stdout] | ^^^^^-------^ [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let value = self.exec_expression(expr, todo!()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ty/operations.rs:81:89 [INFO] [stdout] | [INFO] [stdout] 81 | Ty::Unresolved(_) => self.create_generic_instance(todo!("builtins::NonNullable"), vec![ty]), [INFO] [stdout] | ------------------------------ ^^^^^^^^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/ty/record.rs:251:59 [INFO] [stdout] | [INFO] [stdout] 251 | members.push(self.serialize_keyed_property(todo!(), property)); [INFO] [stdout] | ------- ^^^^^^^^ unreachable expression [INFO] [stdout] | | [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `specifier` [INFO] [stdout] --> src/analyzer.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn resolve_module(&mut self, specifier: &'a str) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_specifier` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/analyzer.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn resolve_global_variable(&mut self, id: &'a str) -> Ty<'a> { [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] --> src/analyzer.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn resolve_global_type(&mut self, id: &'a str) -> Ty<'a> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/expr/arrow_function_expression.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | node: &'a ArrowFunctionExpression<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sat` [INFO] [stdout] --> src/nodes/expr/assignment_expression.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | sat: Option>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sat` [INFO] [stdout] --> src/nodes/expr/await_expression.rs:12:53 [INFO] [stdout] | [INFO] [stdout] 12 | self.exec_expression(&node.argument, sat.map(|sat| todo!("sat | PromiseLike"))); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/nodes/expr/import_expression.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let source = self.exec_expression(&node.source, Some(Ty::String)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/expr/meta_property.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn exec_meta_property(&mut self, node: &'a MetaProperty<'a>, _sat: Option>) -> Ty<'a> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let (indeterminate, tag, this) = self.exec_callee(&node.tag); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let (indeterminate, tag, this) = self.exec_callee(&node.tag); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut arguments = vec![todo!()]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/nodes/expr/tagged_template_expression.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | let value = self.exec_expression(expr, 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/expr/yield_expression.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | node: &'a YieldExpression<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sat` [INFO] [stdout] --> src/nodes/expr/yield_expression.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | sat: Option>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attributes` [INFO] [stdout] --> src/nodes/jsx/jsx_element.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let attributes = self.exec_jsx_attributes(&node.opening_element, attr_sat); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `children` [INFO] [stdout] --> src/nodes/jsx/jsx_element.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let children = self.exec_jsx_children(&node.children); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_children` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/misc/class.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn exec_class(&mut self, node: &'a Class<'a>, _sat: Option>) -> Ty<'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/class.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn init_class(&mut self, node: &'a Class<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_async` [INFO] [stdout] --> src/nodes/misc/function_body.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | is_async: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `known` [INFO] [stdout] --> src/nodes/stmt/module_declaration.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | let value = if let Some(known) = known { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_known` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/stmt/module_declaration.rs:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | ModuleDeclaration::TSNamespaceExportDeclaration(node) => { [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/switch_statement.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn exec_switch_statement(&mut self, node: &'a SwitchStatement<'a>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/nodes/ts/ts_interface_declaration.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let params = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/nodes/ts/ts_literal.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | TSLiteral::UnaryExpression(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/ts/ts_literal.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | TSLiteral::TemplateLiteral(node) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/ty/callable.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(rest) = callable.rest_param {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/ty/callable.rs:380:33 [INFO] [stdout] | [INFO] [stdout] 380 | Argument::SpreadElement(node) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this_arg` [INFO] [stdout] --> src/ty/callable.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | this_arg: Ty<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_this_arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_class` [INFO] [stdout] --> src/ty/enum.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn serialize_enum_class_type(&mut self, enum_class: &'a EnumClassType<'a>) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generic` [INFO] [stdout] --> src/ty/generic.rs:175:44 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn serialize_generic_type(&mut self, generic: &GenericType<'a>) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ty/interface.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | Ty::Record(r) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interface` [INFO] [stdout] --> src/ty/interface.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn serialize_interface_type(&mut self, interface: &InterfaceType<'a>) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intrinsic` [INFO] [stdout] --> src/ty/intrinsics.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn serialize_intrinsic_type(&mut self, intrinsic: IntrinsicType) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intrinsic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/ty/lowest.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | Ty::Generic(g) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ty/lowest.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | Ty::Intrinsic(i) => todo!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/ty/lowest.rs:20:38 [INFO] [stdout] | [INFO] [stdout] 20 | UnresolvedType::GenericParam(symbol) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/match.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | (Ty::Interface(target), Ty::Interface(pattern)) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/ty/match.rs:237:45 [INFO] [stdout] | [INFO] [stdout] 237 | (Ty::Interface(target), Ty::Interface(pattern)) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/match.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | (Ty::Tuple(target), Ty::Tuple(pattern)) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pattern` [INFO] [stdout] --> src/ty/match.rs:242:37 [INFO] [stdout] | [INFO] [stdout] 242 | (Ty::Tuple(target), Ty::Tuple(pattern)) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/ty/namespace.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn serialize_namespace_type(&mut self, namespace: &Ns<'a>) -> TSType<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/ty/record.rs:125:33 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn init_spread(&mut self, analyzer: &mut Analyzer<'a>, value: Ty<'a>) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ty/record.rs:125:62 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn init_spread(&mut self, analyzer: &mut Analyzer<'a>, value: Ty<'a>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `analyzer` [INFO] [stdout] --> src/ty/record.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn remove_property(&mut self, analyzer: &mut Analyzer<'a>, key: PropertyKeyType<'a>) { [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/ty/record.rs:129:66 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn remove_property(&mut self, analyzer: &mut Analyzer<'a>, key: PropertyKeyType<'a>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/ty/record.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | for (key, property) in &record.symbol_keyed.0 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/ty/record.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 250 | for (key, property) in &record.symbol_keyed.0 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ty/tuple.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | PropertyKeyType::UniqueSymbol(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:182:42 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn iterate_result_union(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | target: Ty<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/ty/mod.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | len: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `need_rest` [INFO] [stdout] --> src/ty/mod.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | need_rest: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_need_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:195:36 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get_to_numeric(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn get_to_string(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/ty/mod.rs:207:36 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn get_to_awaited(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/scope/type.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TypeScopeTree<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 21 | nodes: IndexVec>, [INFO] [stdout] 22 | root: TypeScopeId, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeScopeTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "1292540b522934172bdb4b67867cec820b22f1d8239aa5834c135e3d4baa8e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1292540b522934172bdb4b67867cec820b22f1d8239aa5834c135e3d4baa8e99", kill_on_drop: false }` [INFO] [stdout] 1292540b522934172bdb4b67867cec820b22f1d8239aa5834c135e3d4baa8e99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a2d0e8fc7a073628c764c53f4cb460a85a2e53d090d98fbda25185b482acec8f [INFO] running `Command { std: "docker" "start" "-a" "a2d0e8fc7a073628c764c53f4cb460a85a2e53d090d98fbda25185b482acec8f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `intrinsics::IntrinsicType` [INFO] [stderr] --> src/nodes/ts/mod.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | ty::{Ty, intrinsics::IntrinsicType}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `r#enum::EnumMemberType` [INFO] [stderr] --> src/ty/match.rs:7:31 [INFO] [stderr] | [INFO] [stderr] 7 | Ty, callable::CallableType, r#enum::EnumMemberType, record::KeyedPropertyMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `namespace::Ns` [INFO] [stderr] --> src/ty/mod.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use namespace::Ns; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/nodes/expr/tagged_template_expression.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | let mut arguments = vec![todo!()]; [INFO] [stderr] | ^^^^^-------^ [INFO] [stderr] | | | [INFO] [stderr] | | any code following this expression is unreachable [INFO] [stderr] | unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> src/nodes/expr/tagged_template_expression.rs:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | let value = self.exec_expression(expr, todo!()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stderr] | | [INFO] [stderr] | unreachable call [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/ty/operations.rs:81:89 [INFO] [stderr] | [INFO] [stderr] 81 | Ty::Unresolved(_) => self.create_generic_instance(todo!("builtins::NonNullable"), vec![ty]), [INFO] [stderr] | ------------------------------ ^^^^^^^^ unreachable expression [INFO] [stderr] | | [INFO] [stderr] | any code following this expression is unreachable [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/ty/record.rs:251:59 [INFO] [stderr] | [INFO] [stderr] 251 | members.push(self.serialize_keyed_property(todo!(), property)); [INFO] [stderr] | ------- ^^^^^^^^ unreachable expression [INFO] [stderr] | | [INFO] [stderr] | any code following this expression is unreachable [INFO] [stderr] [INFO] [stderr] warning: unused variable: `specifier` [INFO] [stderr] --> src/analyzer.rs:141:36 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn resolve_module(&mut self, specifier: &'a str) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_specifier` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/analyzer.rs:145:45 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn resolve_global_variable(&mut self, id: &'a str) -> Ty<'a> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/analyzer.rs:149:41 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn resolve_global_type(&mut self, id: &'a str) -> Ty<'a> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node` [INFO] [stderr] --> src/nodes/expr/arrow_function_expression.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | node: &'a ArrowFunctionExpression<'a>, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sat` [INFO] [stderr] --> src/nodes/expr/assignment_expression.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | sat: Option>, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sat` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sat` [INFO] [stderr] --> src/nodes/expr/await_expression.rs:12:53 [INFO] [stderr] | [INFO] [stderr] 12 | self.exec_expression(&node.argument, sat.map(|sat| todo!("sat | PromiseLike"))); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sat` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source` [INFO] [stderr] --> src/nodes/expr/import_expression.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let source = self.exec_expression(&node.source, Some(Ty::String)); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node` [INFO] [stderr] --> src/nodes/expr/meta_property.rs:6:40 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn exec_meta_property(&mut self, node: &'a MetaProperty<'a>, _sat: Option>) -> Ty<'a> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tag` [INFO] [stderr] --> src/nodes/expr/tagged_template_expression.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | let (indeterminate, tag, this) = self.exec_callee(&node.tag); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `this` [INFO] [stderr] --> src/nodes/expr/tagged_template_expression.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | let (indeterminate, tag, this) = self.exec_callee(&node.tag); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arguments` [INFO] [stderr] --> src/nodes/expr/tagged_template_expression.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let mut arguments = vec![todo!()]; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/nodes/expr/tagged_template_expression.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | let value = self.exec_expression(expr, todo!()); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node` [INFO] [stderr] --> src/nodes/expr/yield_expression.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | node: &'a YieldExpression<'a>, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sat` [INFO] [stderr] --> src/nodes/expr/yield_expression.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | sat: Option>, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sat` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `attributes` [INFO] [stderr] --> src/nodes/jsx/jsx_element.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | let attributes = self.exec_jsx_attributes(&node.opening_element, attr_sat); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attributes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `children` [INFO] [stderr] --> src/nodes/jsx/jsx_element.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let children = self.exec_jsx_children(&node.children); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_children` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node` [INFO] [stderr] --> src/nodes/misc/class.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn exec_class(&mut self, node: &'a Class<'a>, _sat: Option>) -> Ty<'a> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node` [INFO] [stderr] --> src/nodes/misc/class.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn init_class(&mut self, node: &'a Class<'a>) -> Ty<'a> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_async` [INFO] [stderr] --> src/nodes/misc/function_body.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | is_async: bool, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_async` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `known` [INFO] [stderr] --> src/nodes/stmt/module_declaration.rs:14:37 [INFO] [stderr] | [INFO] [stderr] 14 | let value = if let Some(known) = known { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_known` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node` [INFO] [stderr] --> src/nodes/stmt/module_declaration.rs:112:55 [INFO] [stderr] | [INFO] [stderr] 112 | ModuleDeclaration::TSNamespaceExportDeclaration(node) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node` [INFO] [stderr] --> src/nodes/stmt/switch_statement.rs:6:43 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn exec_switch_statement(&mut self, node: &'a SwitchStatement<'a>) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/nodes/ts/ts_interface_declaration.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let params = [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node` [INFO] [stderr] --> src/nodes/ts/ts_literal.rs:12:34 [INFO] [stderr] | [INFO] [stderr] 12 | TSLiteral::UnaryExpression(node) => todo!(), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node` [INFO] [stderr] --> src/nodes/ts/ts_literal.rs:13:34 [INFO] [stderr] | [INFO] [stderr] 13 | TSLiteral::TemplateLiteral(node) => todo!(), [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rest` [INFO] [stderr] --> src/ty/callable.rs:100:23 [INFO] [stderr] | [INFO] [stderr] 100 | if let Some(rest) = callable.rest_param {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node` [INFO] [stderr] --> src/ty/callable.rs:380:33 [INFO] [stderr] | [INFO] [stderr] 380 | Argument::SpreadElement(node) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `this_arg` [INFO] [stderr] --> src/ty/callable.rs:310:5 [INFO] [stderr] | [INFO] [stderr] 310 | this_arg: Ty<'a>, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_this_arg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `enum_class` [INFO] [stderr] --> src/ty/enum.rs:57:47 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn serialize_enum_class_type(&mut self, enum_class: &'a EnumClassType<'a>) -> TSType<'a> { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_class` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `generic` [INFO] [stderr] --> src/ty/generic.rs:175:44 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn serialize_generic_type(&mut self, generic: &GenericType<'a>) -> TSType<'a> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generic` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/ty/interface.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | Ty::Record(r) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `interface` [INFO] [stderr] --> src/ty/interface.rs:77:46 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn serialize_interface_type(&mut self, interface: &InterfaceType<'a>) -> TSType<'a> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interface` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `intrinsic` [INFO] [stderr] --> src/ty/intrinsics.rs:62:46 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn serialize_intrinsic_type(&mut self, intrinsic: IntrinsicType) -> TSType<'a> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intrinsic` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `g` [INFO] [stderr] --> src/ty/lowest.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | Ty::Generic(g) => todo!(), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/ty/lowest.rs:12:21 [INFO] [stderr] | [INFO] [stderr] 12 | Ty::Intrinsic(i) => todo!(), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `symbol` [INFO] [stderr] --> src/ty/lowest.rs:20:38 [INFO] [stderr] | [INFO] [stderr] 20 | UnresolvedType::GenericParam(symbol) => { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/ty/match.rs:237:22 [INFO] [stderr] | [INFO] [stderr] 237 | (Ty::Interface(target), Ty::Interface(pattern)) => todo!(), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pattern` [INFO] [stderr] --> src/ty/match.rs:237:45 [INFO] [stderr] | [INFO] [stderr] 237 | (Ty::Interface(target), Ty::Interface(pattern)) => todo!(), [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/ty/match.rs:242:18 [INFO] [stderr] | [INFO] [stderr] 242 | (Ty::Tuple(target), Ty::Tuple(pattern)) => todo!(), [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pattern` [INFO] [stderr] --> src/ty/match.rs:242:37 [INFO] [stderr] | [INFO] [stderr] 242 | (Ty::Tuple(target), Ty::Tuple(pattern)) => todo!(), [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `namespace` [INFO] [stderr] --> src/ty/namespace.rs:50:46 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn serialize_namespace_type(&mut self, namespace: &Ns<'a>) -> TSType<'a> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `analyzer` [INFO] [stderr] --> src/ty/record.rs:125:33 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn init_spread(&mut self, analyzer: &mut Analyzer<'a>, value: Ty<'a>) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/ty/record.rs:125:62 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn init_spread(&mut self, analyzer: &mut Analyzer<'a>, value: Ty<'a>) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `analyzer` [INFO] [stderr] --> src/ty/record.rs:129:37 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn remove_property(&mut self, analyzer: &mut Analyzer<'a>, key: PropertyKeyType<'a>) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_analyzer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/ty/record.rs:129:66 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn remove_property(&mut self, analyzer: &mut Analyzer<'a>, key: PropertyKeyType<'a>) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/ty/record.rs:250:10 [INFO] [stderr] | [INFO] [stderr] 250 | for (key, property) in &record.symbol_keyed.0 { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `property` [INFO] [stderr] --> src/ty/record.rs:250:15 [INFO] [stderr] | [INFO] [stderr] 250 | for (key, property) in &record.symbol_keyed.0 { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/ty/tuple.rs:56:37 [INFO] [stderr] | [INFO] [stderr] 56 | PropertyKeyType::UniqueSymbol(s) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/ty/mod.rs:182:42 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn iterate_result_union(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/ty/mod.rs:188:5 [INFO] [stderr] | [INFO] [stderr] 188 | target: Ty<'a>, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> src/ty/mod.rs:189:5 [INFO] [stderr] | [INFO] [stderr] 189 | len: usize, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `need_rest` [INFO] [stderr] --> src/ty/mod.rs:190:5 [INFO] [stderr] | [INFO] [stderr] 190 | need_rest: bool, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_need_rest` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/ty/mod.rs:195:36 [INFO] [stderr] | [INFO] [stderr] 195 | pub fn get_to_numeric(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/ty/mod.rs:199:35 [INFO] [stderr] | [INFO] [stderr] 199 | pub fn get_to_string(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/ty/mod.rs:207:36 [INFO] [stderr] | [INFO] [stderr] 207 | pub fn get_to_awaited(&mut self, target: Ty<'a>) -> Ty<'a> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: field `root` is never read [INFO] [stderr] --> src/scope/type.rs:22:3 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct TypeScopeTree<'a> { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 21 | nodes: IndexVec>, [INFO] [stderr] 22 | root: TypeScopeId, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TypeScopeTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `simple_ts` (lib) generated 63 warnings (run `cargo fix --lib -p simple_ts` to apply 3 suggestions) [INFO] [stderr] warning: `simple_ts` (lib test) generated 63 warnings (63 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_ts-9f1d84890352cba0) [INFO] [stderr] Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-e1bfb4b10e11cecd) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test stdout ---- [INFO] [stdout] Testing /opt/rustwide/workdir/tests/fixtures/basic.ts [INFO] [stdout] Testing /opt/rustwide/workdir/tests/fixtures/box.ts [INFO] [stdout] Testing /opt/rustwide/workdir/tests/fixtures/conditional.ts [INFO] [stdout] Testing /opt/rustwide/workdir/tests/fixtures/enum.ts [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot file: tests/snapshots/test@enum.ts.snap [INFO] [stdout] Snapshot: test@enum.ts [INFO] [stdout] Source: tests/mod.rs:62 [INFO] [stdout] Input file: tests/fixtures/enum.ts [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 0 │ type A2 = A; [INFO] [stdout] 1 │-type T1 = A.X | A.Y; [INFO] [stdout] 1 │+type T1 = A.Y | A.X; [INFO] [stdout] 2 2 │ type T2 = false; [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'test' panicked at tests/mod.rs:62:7: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: FileIo(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }, "/opt/rustwide/workdir/tests/snapshots/test@enum.ts.snap.new") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55896d60d582 - std::backtrace_rs::backtrace::libunwind::trace::h2a54ddf40adf8cf8 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x55896d60d582 - std::backtrace_rs::backtrace::trace_unsynchronized::h332dec2b3594a10b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x55896d60d582 - std::sys::backtrace::_print_fmt::hcb3dee91dccac105 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x55896d60d582 - ::fmt::h2f02338d4ae6d8b0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x55896d636823 - core::fmt::rt::Argument::fmt::h8705d664b1839d6c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x55896d636823 - core::fmt::write::h5e77c22335cabc7f [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x55896d609493 - std::io::default_write_fmt::h5c16109ce8878b06 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x55896d609493 - std::io::Write::write_fmt::h183cd11c08a12e04 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x55896d60d3d2 - std::sys::backtrace::BacktraceLock::print::hb22254026b13323e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x55896d60efac - std::panicking::default_hook::{{closure}}::h15ac4e3ee7801be5 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x55896d60ee02 - std::panicking::default_hook::h15db2a3343942a16 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x55896ce69d64 - as core::ops::function::Fn>::call::ha02114eecd5b8f69 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x55896ce69d64 - test::test_main_with_exit_callback::{{closure}}::hfb76c9b760818eb2 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x55896d60faa3 - as core::ops::function::Fn>::call::h325134fa51136753 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x55896d60faa3 - std::panicking::rust_panic_with_hook::h67f3fa85499b6cf9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x55896d60f75a - std::panicking::begin_panic_handler::{{closure}}::h40a30e994b26720e [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x55896d60da89 - std::sys::backtrace::__rust_end_short_backtrace::hb5bcb2f6ea295c8b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x55896d60f3ed - __rustc[bf3627c2b8b7eae9]::rust_begin_unwind [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x55896d633f00 - core::panicking::panic_fmt::h20722ae9d0312a90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x55896d6343c6 - core::result::unwrap_failed::h3a549f59308089dd [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/result.rs:1732:5 [INFO] [stdout] 20: 0x55896ce2fe5d - core::result::Result::unwrap::hb0448b583e653a10 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/result.rs:1137:23 [INFO] [stdout] 21: 0x55896ce2fe5d - mod::test::{{closure}}::{{closure}}::hba644dd3eddb0304 [INFO] [stdout] at /opt/rustwide/workdir/tests/mod.rs:62:7 [INFO] [stdout] 22: 0x55896ce2b174 - insta::settings::Settings::bind::h4ea4d76cb6fd083b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.42.2/src/settings.rs:509:9 [INFO] [stdout] 23: 0x55896ce2f9d2 - mod::test::{{closure}}::hc06235b25e924cc2 [INFO] [stdout] at /opt/rustwide/workdir/tests/mod.rs:61:5 [INFO] [stdout] 24: 0x55896ce2aebd - insta::glob::glob_exec::{{closure}}::hc641d29d8aa7b4ca [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.42.2/src/glob.rs:103:13 [INFO] [stdout] 25: 0x55896ce2b0be - insta::settings::Settings::bind::h0f9c1f2dade935cf [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.42.2/src/settings.rs:509:9 [INFO] [stdout] 26: 0x55896ce2ab8b - insta::glob::glob_exec::h3f8ed09cce57f3ed [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.42.2/src/glob.rs:102:9 [INFO] [stdout] 27: 0x55896ce2f6cc - mod::test::h530cb325a07c8a20 [INFO] [stdout] at /opt/rustwide/workdir/tests/mod.rs:55:3 [INFO] [stdout] 28: 0x55896ce2f1c7 - mod::test::{{closure}}::h695f5266106e5879 [INFO] [stdout] at /opt/rustwide/workdir/tests/mod.rs:54:10 [INFO] [stdout] 29: 0x55896ce22fe6 - core::ops::function::FnOnce::call_once::h32cd8c4476bb4496 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 30: 0x55896ce6f51b - core::ops::function::FnOnce::call_once::h57f6f31c364c320b [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 31: 0x55896ce6f51b - test::__rust_begin_short_backtrace::h517520f4c2bfc013 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:648:18 [INFO] [stdout] 32: 0x55896ce6e772 - test::run_test_in_process::{{closure}}::h0914ac5f2719bf90 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:60 [INFO] [stdout] 33: 0x55896ce6e772 - as core::ops::function::FnOnce<()>>::call_once::h6fe627a8560ee122 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 34: 0x55896ce6e772 - std::panicking::try::do_call::h8e4a522b2d07b5d9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 35: 0x55896ce6e772 - std::panicking::try::h254b443d279d1f8a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 36: 0x55896ce6e772 - std::panic::catch_unwind::he39107e495b94aed [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 37: 0x55896ce6e772 - test::run_test_in_process::hb9053e7102e6de40 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:671:27 [INFO] [stdout] 38: 0x55896ce6e772 - test::run_test::{{closure}}::hed53f683e9967fc9 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:592:43 [INFO] [stdout] 39: 0x55896ce31b64 - test::run_test::{{closure}}::h1b1395a97621c24c [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/test/src/lib.rs:622:41 [INFO] [stdout] 40: 0x55896ce31b64 - std::sys::backtrace::__rust_begin_short_backtrace::hd15d7342920b94e4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 41: 0x55896ce3558a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf7d3403d2a997ad4 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 42: 0x55896ce3558a - as core::ops::function::FnOnce<()>>::call_once::h804cb151403aed57 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 43: 0x55896ce3558a - std::panicking::try::do_call::h83a3328114f83651 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:589:40 [INFO] [stdout] 44: 0x55896ce3558a - std::panicking::try::h5371451a86d476d0 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panicking.rs:552:19 [INFO] [stdout] 45: 0x55896ce3558a - std::panic::catch_unwind::h2d1b89e7535ca74a [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/panic.rs:359:14 [INFO] [stdout] 46: 0x55896ce3558a - std::thread::Builder::spawn_unchecked_::{{closure}}::h169c242c7f876b92 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 47: 0x55896ce3558a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4115e0f997976371 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 48: 0x55896d6113db - as core::ops::function::FnOnce>::call_once::hbc3fa83432d7fd73 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 49: 0x55896d6113db - as core::ops::function::FnOnce>::call_once::heba5519d10f2c030 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 50: 0x55896d6113db - std::sys::pal::unix::thread::Thread::new::thread_start::h211a36f354245501 [INFO] [stdout] at /rustc/414482f6a0d4e7290f614300581a0b55442552a3/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 51: 0x702520e22aa4 - [INFO] [stdout] 52: 0x702520eafa34 - clone [INFO] [stdout] 53: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test mod` [INFO] running `Command { std: "docker" "inspect" "a2d0e8fc7a073628c764c53f4cb460a85a2e53d090d98fbda25185b482acec8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d0e8fc7a073628c764c53f4cb460a85a2e53d090d98fbda25185b482acec8f", kill_on_drop: false }` [INFO] [stdout] a2d0e8fc7a073628c764c53f4cb460a85a2e53d090d98fbda25185b482acec8f