[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#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKermanX%2Fecma_analyzer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KermanX/ecma_analyzer on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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 phf_generator v0.11.3 [INFO] [stderr] Downloaded phf_shared v0.11.3 [INFO] [stderr] Downloaded siphasher v1.0.1 [INFO] [stderr] Downloaded rustc-hash v2.1.1 [INFO] [stderr] Downloaded phf v0.11.3 [INFO] [stderr] Downloaded oxc_syntax v0.64.0 [INFO] [stderr] Downloaded phf_macros v0.11.3 [INFO] [stderr] Downloaded ryu-js v1.0.2 [INFO] [stderr] Downloaded unicode-id-start v1.3.1 [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded castaway v0.2.3 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded oxc_codegen v0.64.0 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded redox_syscall v0.1.57 [INFO] [stderr] Downloaded globset v0.4.16 [INFO] [stderr] Downloaded flamescope v0.1.3 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded nohash-hasher v0.2.0 [INFO] [stderr] Downloaded oxc_ecmascript v0.64.0 [INFO] [stderr] Downloaded encode_unicode v1.0.0 [INFO] [stderr] Downloaded flame v0.2.2 [INFO] [stderr] Downloaded oxc_parser v0.64.0 [INFO] [stderr] Downloaded oxc_ast v0.64.0 [INFO] [stderr] Downloaded compact_str v0.9.0 [INFO] [stderr] Downloaded unicode-width v0.2.0 [INFO] [stderr] Downloaded bstr v1.12.0 [INFO] [stderr] Downloaded insta v1.42.2 [INFO] [stderr] Downloaded oxc-miette v2.2.1 [INFO] [stderr] Downloaded oxc_traverse v0.64.0 [INFO] [stderr] Downloaded itertools v0.14.0 [INFO] [stderr] Downloaded indexmap v2.9.0 [INFO] [stderr] Downloaded oxc_ast_visit v0.64.0 [INFO] [stderr] Downloaded oxc_regular_expression v0.64.0 [INFO] [stderr] Downloaded oxc_data_structures v0.64.0 [INFO] [stderr] Downloaded oxc-miette-derive v2.1.2 [INFO] [stderr] Downloaded text-size v1.1.1 [INFO] [stderr] Downloaded owo-colors v4.2.0 [INFO] [stderr] Downloaded unicode-linebreak v0.1.5 [INFO] [stderr] Downloaded simdutf8 v0.1.5 [INFO] [stderr] Downloaded oxc_allocator v0.64.0 [INFO] [stderr] Downloaded petgraph v0.8.1 [INFO] [stderr] Downloaded oxc_mangler v0.64.0 [INFO] [stderr] Downloaded fixedbitset v0.5.7 [INFO] [stderr] Downloaded oxc_cfg v0.64.0 [INFO] [stderr] Downloaded oxc_diagnostics v0.64.0 [INFO] [stderr] Downloaded cow-utils v0.1.3 [INFO] [stderr] Downloaded nonmax v0.5.5 [INFO] [stderr] Downloaded smawk v0.3.2 [INFO] [stderr] Downloaded foldhash v0.1.5 [INFO] [stderr] Downloaded oxc_ast_macros v0.64.0 [INFO] [stderr] Downloaded oxc_estree v0.64.0 [INFO] [stderr] Downloaded linked-hash-map v0.5.6 [INFO] [stderr] Downloaded line-index v0.1.2 [INFO] [stderr] Downloaded outref v0.5.2 [INFO] [stderr] Downloaded vsimd v0.8.0 [INFO] [stderr] Downloaded base64-simd v0.8.0 [INFO] [stderr] Downloaded oxc_sourcemap v3.0.0 [INFO] [stderr] Downloaded oxc_semantic v0.64.0 [INFO] [stderr] Downloaded oxc v0.64.0 [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded allocator-api2 v0.2.21 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded self_cell v1.2.0 [INFO] [stderr] Downloaded oxc_index v3.0.0 [INFO] [stderr] Downloaded oxc_span v0.64.0 [INFO] [stderr] Downloaded oxc_minifier v0.64.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 249de514e0a2c367375cf7a51219ae9f924c7af87bd93adb7adf91195a60ac31 [INFO] running `Command { std: "docker" "start" "-a" "249de514e0a2c367375cf7a51219ae9f924c7af87bd93adb7adf91195a60ac31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "249de514e0a2c367375cf7a51219ae9f924c7af87bd93adb7adf91195a60ac31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "249de514e0a2c367375cf7a51219ae9f924c7af87bd93adb7adf91195a60ac31", kill_on_drop: false }` [INFO] [stdout] 249de514e0a2c367375cf7a51219ae9f924c7af87bd93adb7adf91195a60ac31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b585572f11b014d9b60d7f84c313fabf0a036bbbf0c111b257eee7970d2c9479 [INFO] running `Command { std: "docker" "start" "-a" "b585572f11b014d9b60d7f84c313fabf0a036bbbf0c111b257eee7970d2c9479", 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 owo-colors v4.2.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling oxc_data_structures v0.64.0 [INFO] [stderr] Compiling cow-utils v0.1.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling oxc_estree v0.64.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling textwrap v0.16.2 [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 fixedbitset v0.5.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling oxc_sourcemap v3.0.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling line-index v0.1.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling oxc_allocator v0.64.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling petgraph v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.46 [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 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 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_parser v0.64.0 [INFO] [stderr] Compiling oxc_semantic 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] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scope/type.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn entry_on_top(&mut self, symbol: SymbolId) -> Entry> { [INFO] [stdout] | ^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn entry_on_top(&mut self, symbol: SymbolId) -> Entry<'_, SymbolId, Ty<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.36s [INFO] running `Command { std: "docker" "inspect" "b585572f11b014d9b60d7f84c313fabf0a036bbbf0c111b257eee7970d2c9479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b585572f11b014d9b60d7f84c313fabf0a036bbbf0c111b257eee7970d2c9479", kill_on_drop: false }` [INFO] [stdout] b585572f11b014d9b60d7f84c313fabf0a036bbbf0c111b257eee7970d2c9479 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1ee7ea259b1b95bafeac52213048a262bb277bfbb1113782d6d003dcacf7469 [INFO] running `Command { std: "docker" "start" "-a" "a1ee7ea259b1b95bafeac52213048a262bb277bfbb1113782d6d003dcacf7469", 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 same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling walkdir v2.5.0 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scope/type.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn entry_on_top(&mut self, symbol: SymbolId) -> Entry> { [INFO] [stdout] | ^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn entry_on_top(&mut self, symbol: SymbolId) -> Entry<'_, SymbolId, Ty<'a>> { [INFO] [stdout] | +++ [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] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scope/type.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn entry_on_top(&mut self, symbol: SymbolId) -> Entry> { [INFO] [stdout] | ^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn entry_on_top(&mut self, symbol: SymbolId) -> Entry<'_, SymbolId, Ty<'a>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.54s [INFO] running `Command { std: "docker" "inspect" "a1ee7ea259b1b95bafeac52213048a262bb277bfbb1113782d6d003dcacf7469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1ee7ea259b1b95bafeac52213048a262bb277bfbb1113782d6d003dcacf7469", kill_on_drop: false }` [INFO] [stdout] a1ee7ea259b1b95bafeac52213048a262bb277bfbb1113782d6d003dcacf7469 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e15cb2b51cd70c1c318f5c862efcae5971c39a7e455b7f82712f7d8b99b7a91 [INFO] running `Command { std: "docker" "start" "-a" "7e15cb2b51cd70c1c318f5c862efcae5971c39a7e455b7f82712f7d8b99b7a91", 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scope/type.rs:95:23 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn entry_on_top(&mut self, symbol: SymbolId) -> Entry> { [INFO] [stderr] | ^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 95 | pub fn entry_on_top(&mut self, symbol: SymbolId) -> Entry<'_, SymbolId, Ty<'a>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `simple_ts` (lib) generated 64 warnings (run `cargo fix --lib -p simple_ts` to apply 3 suggestions) [INFO] [stderr] warning: `simple_ts` (lib test) generated 64 warnings (64 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_ts-655db3789a2f36a3) [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] [stderr] Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-b7341a4854bc3083) [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: 0x5f70aa4d8bd2 - std::backtrace_rs::backtrace::libunwind::trace::hf6dd235ae0786829 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f70aa4d8bd2 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a5b54e78104e8b2 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f70aa4d8bd2 - std::sys::backtrace::_print_fmt::hca7a5c1644e21919 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f70aa4d8bd2 - ::fmt::h38110959524b373c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f70aa503223 - core::fmt::rt::Argument::fmt::h391eb3fdbf3d4042 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f70aa503223 - core::fmt::write::h5b87140645224122 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x5f70aa4d4b93 - std::io::default_write_fmt::h3039811ce7aea84b [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f70aa4d4b93 - std::io::Write::write_fmt::h2eef262cf4840ab4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f70aa4d8a22 - std::sys::backtrace::BacktraceLock::print::hcd755c38f62e4492 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f70aa4da5dc - std::panicking::default_hook::{{closure}}::h351f33591b26e6e7 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5f70aa4da432 - std::panicking::default_hook::he5bba7bf0a373c6e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5f70a9d12ae4 - as core::ops::function::Fn>::call::he967d9fa26b9957c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x5f70a9d12ae4 - test::test_main_with_exit_callback::{{closure}}::h80e1694b81a05381 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f70aa4db0bb - as core::ops::function::Fn>::call::h4e924fcf5bc64d70 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x5f70aa4db0bb - std::panicking::rust_panic_with_hook::hdf456b43e6535023 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5f70aa4dad8a - std::panicking::begin_panic_handler::{{closure}}::he1c1ab0b84006a97 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5f70aa4d90c9 - std::sys::backtrace::__rust_end_short_backtrace::h2a71da996e10b8a0 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5f70aa4daa1d - __rustc[92197b79f0fe8095]::rust_begin_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5f70aa5008d0 - core::panicking::panic_fmt::h723bf1d52f6dad29 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5f70aa500d76 - core::result::unwrap_failed::hee42034aaecc2a24 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x5f70a9cd66ed - core::result::Result::unwrap::he29c23bc4d9c3bca [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x5f70a9cd66ed - mod::test::{{closure}}::{{closure}}::h30d90fe3915ca5d4 [INFO] [stdout] at /opt/rustwide/workdir/tests/mod.rs:62:7 [INFO] [stdout] 22: 0x5f70a9cd0614 - insta::settings::Settings::bind::haef91e7890dfe74d [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: 0x5f70a9cd6262 - mod::test::{{closure}}::h5543205b6aaa2694 [INFO] [stdout] at /opt/rustwide/workdir/tests/mod.rs:61:14 [INFO] [stdout] 24: 0x5f70a9cd038d - insta::glob::glob_exec::{{closure}}::hbc1865ce3e8fd633 [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: 0x5f70a9cd055e - insta::settings::Settings::bind::h7eb7b15360422234 [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: 0x5f70a9cd0031 - insta::glob::glob_exec::hfcf4978a0c4ec0a4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.42.2/src/glob.rs:102:18 [INFO] [stdout] 27: 0x5f70a9cd5f5c - mod::test::he24efd740bfb1c62 [INFO] [stdout] at /opt/rustwide/workdir/tests/mod.rs:55:3 [INFO] [stdout] 28: 0x5f70a9cd5a57 - mod::test::{{closure}}::h4916e46775832773 [INFO] [stdout] at /opt/rustwide/workdir/tests/mod.rs:54:10 [INFO] [stdout] 29: 0x5f70a9ccbf96 - core::ops::function::FnOnce::call_once::haa9fb3ab92779bed [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 30: 0x5f70a9d1828b - core::ops::function::FnOnce::call_once::h0669c8b9c48a7d8a [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 31: 0x5f70a9d1828b - test::__rust_begin_short_backtrace::h7b085d6d90a7575c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:648:18 [INFO] [stdout] 32: 0x5f70a9d1745e - test::run_test_in_process::{{closure}}::ha304053f1e1d1fbe [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:74 [INFO] [stdout] 33: 0x5f70a9d1745e - as core::ops::function::FnOnce<()>>::call_once::h8e30650eb6723f86 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 34: 0x5f70a9d1745e - std::panicking::catch_unwind::do_call::hfe563e330be3fd9d [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 35: 0x5f70a9d1745e - std::panicking::catch_unwind::hed40f568f7f44546 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 36: 0x5f70a9d1745e - std::panic::catch_unwind::h3bb9c46c11d39dfb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 37: 0x5f70a9d1745e - test::run_test_in_process::hd65f1a6e6622ae42 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:27 [INFO] [stdout] 38: 0x5f70a9d1745e - test::run_test::{{closure}}::h9e896de936f245ea [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:592:43 [INFO] [stdout] 39: 0x5f70a9cdb054 - test::run_test::{{closure}}::hbb18881f56552c10 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:622:41 [INFO] [stdout] 40: 0x5f70a9cdb054 - std::sys::backtrace::__rust_begin_short_backtrace::hca2387d32733b689 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 41: 0x5f70a9cde94a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9601175bf02a7fb8 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 42: 0x5f70a9cde94a - as core::ops::function::FnOnce<()>>::call_once::had8286ad0e1f2528 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 43: 0x5f70a9cde94a - std::panicking::catch_unwind::do_call::he4164e9e75841fd6 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 44: 0x5f70a9cde94a - std::panicking::catch_unwind::h48ccc52a84ae7300 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 45: 0x5f70a9cde94a - std::panic::catch_unwind::h3d97eb787aa35ee4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 46: 0x5f70a9cde94a - std::thread::Builder::spawn_unchecked_::{{closure}}::h1019329d11de31fb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 47: 0x5f70a9cde94a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h050615be551c6447 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 48: 0x5f70aa4de0a7 - as core::ops::function::FnOnce>::call_once::h23e83c3768c28e74 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 49: 0x5f70aa4de0a7 - as core::ops::function::FnOnce>::call_once::he67b41932d2c126e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 50: 0x5f70aa4de0a7 - std::sys::pal::unix::thread::Thread::new::thread_start::hc05bf0eaa2386caa [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 51: 0x766e9f43daa4 - [INFO] [stdout] 52: 0x766e9f4caa34 - 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.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test mod` [INFO] running `Command { std: "docker" "inspect" "7e15cb2b51cd70c1c318f5c862efcae5971c39a7e455b7f82712f7d8b99b7a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e15cb2b51cd70c1c318f5c862efcae5971c39a7e455b7f82712f7d8b99b7a91", kill_on_drop: false }` [INFO] [stdout] 7e15cb2b51cd70c1c318f5c862efcae5971c39a7e455b7f82712f7d8b99b7a91