[INFO] cloning repository https://github.com/antoniusnaumann/wtf-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antoniusnaumann/wtf-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantoniusnaumann%2Fwtf-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantoniusnaumann%2Fwtf-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a53966ae7b98bd424730f93244e85d62e6a166d [INFO] testing antoniusnaumann/wtf-lang against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantoniusnaumann%2Fwtf-lang" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antoniusnaumann/wtf-lang on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/antoniusnaumann/wtf-lang [INFO] finished tweaking git repo https://github.com/antoniusnaumann/wtf-lang [INFO] tweaked toml for git repo https://github.com/antoniusnaumann/wtf-lang written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/antoniusnaumann/wtf-lang 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9ca31637ecf3c131558d7b23801ff0ded54885abfccdd9f3006ee1c774a8c95 [INFO] running `Command { std: "docker" "start" "-a" "d9ca31637ecf3c131558d7b23801ff0ded54885abfccdd9f3006ee1c774a8c95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9ca31637ecf3c131558d7b23801ff0ded54885abfccdd9f3006ee1c774a8c95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ca31637ecf3c131558d7b23801ff0ded54885abfccdd9f3006ee1c774a8c95", kill_on_drop: false }` [INFO] [stdout] d9ca31637ecf3c131558d7b23801ff0ded54885abfccdd9f3006ee1c774a8c95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0554d30a39cfafc8f3aad6f218f6849e1142e00b2d0bb6b65037ee009c770575 [INFO] running `Command { std: "docker" "start" "-a" "0554d30a39cfafc8f3aad6f218f6849e1142e00b2d0bb6b65037ee009c770575", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cranelift-isle v0.115.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling cranelift-codegen-shared v0.115.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling cranelift-codegen-meta v0.115.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling wasm-encoder v0.222.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling wasmparser v0.221.2 [INFO] [stderr] Compiling rustc-hash v2.1.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling wtf-ast v0.0.0 (/opt/rustwide/workdir/wtf-ast) [INFO] [stdout] warning: unused import: `display::*` [INFO] [stdout] --> wtf-ast/src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use display::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> wtf-ast/src/display.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> wtf-ast/src/display.rs:169:54 [INFO] [stdout] | [INFO] [stdout] 169 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wtf-ast/src/display.rs:169:69 [INFO] [stdout] | [INFO] [stdout] 169 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> wtf-ast/src/display.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> wtf-ast/src/display.rs:205:54 [INFO] [stdout] | [INFO] [stdout] 205 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wtf-ast/src/display.rs:205:69 [INFO] [stdout] | [INFO] [stdout] 205 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `members` [INFO] [stdout] --> wtf-ast/src/display.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | TypeAnnotation::Tuple(members) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_members` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> wtf-ast/src/display.rs:347:42 [INFO] [stdout] | [INFO] [stdout] 347 | Expression::YeetExpression { expression } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling wtf-parser v0.0.0 (/opt/rustwide/workdir/wtf-parser) [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling cranelift-control v0.115.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stdout] warning: fields `found` and `expected` are never read [INFO] [stdout] --> wtf-parser/src/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ParserError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | found: SpannedToken, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | expected: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling wasmtime-component-util v28.0.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling wasm-encoder v0.221.2 [INFO] [stderr] Compiling wasmtime-component-macro v28.0.0 [INFO] [stderr] Compiling wasmparser v0.222.0 [INFO] [stderr] Compiling wasmtime-cache v28.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling wast v222.0.0 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling wasmtime-asm-macros v28.0.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling cranelift-codegen v0.115.0 [INFO] [stderr] Compiling wtf-wasm v0.0.0 (/opt/rustwide/workdir/wtf-wasm) [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:850:40 [INFO] [stdout] | [INFO] [stdout] 850 | Instruction::Block => vec![WasmInstruction::Block(todo!())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wtf-wasm/src/lib.rs:426:14 [INFO] [stdout] | [INFO] [stdout] 426 | for (idx, ty) in self.type_declarations.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wtf-wasm/src/lib.rs:426:19 [INFO] [stdout] | [INFO] [stdout] 426 | for (idx, ty) in self.type_declarations.iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> wtf-wasm/src/lib.rs:652:36 [INFO] [stdout] | [INFO] [stdout] 652 | let Type::Record { fields } = &ty else { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wtf-hir v0.0.0 (/opt/rustwide/workdir/wtf-hir) [INFO] [stdout] warning: variant `Block` is never constructed [INFO] [stdout] --> wtf-wasm/src/lib.rs:1258:5 [INFO] [stdout] | [INFO] [stdout] 1257 | enum BranchLabel { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 1258 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-hir/src/compiler.rs:385:33 [INFO] [stdout] | [INFO] [stdout] 385 | self.stack.push(Type::Variant(todo!())); [INFO] [stdout] | ^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overload` [INFO] [stdout] --> wtf-hir/src/compiler.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | ast::Declaration::Overload(overload) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v28.0.0 [INFO] [stdout] warning: unused variable: `local_id` [INFO] [stdout] --> wtf-hir/src/compiler.rs:369:32 [INFO] [stdout] | [INFO] [stdout] 369 | Instruction::Store(local_id) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `case` [INFO] [stdout] --> wtf-hir/src/compiler.rs:377:33 [INFO] [stdout] | [INFO] [stdout] 377 | ... Instruction::Enum { case, ty } => self.stack.push(ty.clone().into()), // TODO: Introduce ref type that holds an RC or something ins... [INFO] [stdout] | ^^^^ help: try ignoring the field: `case: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_some` [INFO] [stdout] --> wtf-hir/src/compiler.rs:394:35 [INFO] [stdout] | [INFO] [stdout] 394 | Instruction::Option { is_some, ty } => self.stack.push(Type::Option(ty.clone().into())), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `is_some: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wtf-hir/src/compiler.rs:444:40 [INFO] [stdout] | [INFO] [stdout] 444 | Instruction::IndexAccess { ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then` [INFO] [stdout] --> wtf-hir/src/compiler.rs:466:31 [INFO] [stdout] | [INFO] [stdout] 466 | Instruction::If { then, else_ } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `then: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_` [INFO] [stdout] --> wtf-hir/src/compiler.rs:466:37 [INFO] [stdout] | [INFO] [stdout] 466 | Instruction::If { then, else_ } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `else_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arms` [INFO] [stdout] --> wtf-hir/src/compiler.rs:474:34 [INFO] [stdout] | [INFO] [stdout] 474 | Instruction::Match { arms } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `arms: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> wtf-hir/src/compiler.rs:475:21 [INFO] [stdout] | [INFO] [stdout] 475 | let condition = self.stack.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cases` [INFO] [stdout] --> wtf-hir/src/compiler.rs:754:55 [INFO] [stdout] | [INFO] [stdout] 754 | ... Type::Variant(cases) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wtf-hir/src/compiler.rs:783:39 [INFO] [stdout] | [INFO] [stdout] 783 | ast::Expression::Record { name, members } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stdout] warning: type `visible::Scope` is more private than the item `Visible::snapshot` [INFO] [stdout] --> wtf-hir/src/visible.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn snapshot(&self) -> Scope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Visible::snapshot` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `visible::Scope` is only usable at visibility `pub(self)` [INFO] [stdout] --> wtf-hir/src/visible.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Scope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmtime-slab v28.0.0 [INFO] [stdout] warning: type `visible::Scope` is more private than the item `Visible::restore` [INFO] [stdout] --> wtf-hir/src/visible.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn restore(&mut self, scope: Scope) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Visible::restore` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `visible::Scope` is only usable at visibility `pub(self)` [INFO] [stdout] --> wtf-hir/src/visible.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Scope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mutable` is never read [INFO] [stdout] --> wtf-hir/src/visible.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Binding { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | mutable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> wtf-hir/src/visible.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `snapshot` and `restore` are never used [INFO] [stdout] --> wtf-hir/src/visible.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Visible { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn snapshot(&self) -> Scope { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn restore(&mut self, scope: Scope) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wtf-format v0.0.0 (/opt/rustwide/workdir/wtf-format) [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> wtf-format/src/lib.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | fn format_print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_statement` [INFO] [stdout] --> wtf-format/src/lib.rs:307:39 [INFO] [stdout] | [INFO] [stdout] 307 | Statement::MatchStatement(match_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_statement` [INFO] [stdout] --> wtf-format/src/lib.rs:309:37 [INFO] [stdout] | [INFO] [stdout] 309 | Statement::ForStatement(for_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ittapi-sys v0.4.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling ittapi v0.4.0 [INFO] [stderr] Compiling memfd v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling wasmtime-versioned-export-macros v28.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling wasmtime-fiber v28.0.0 [INFO] [stderr] Compiling wasmtime v28.0.0 [INFO] [stderr] Compiling wat v1.222.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling wit-parser v0.221.2 [INFO] [stderr] Compiling cranelift-bitset v0.115.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling wasmtime-wit-bindgen v28.0.0 [INFO] [stderr] Compiling cranelift-entity v0.115.0 [INFO] [stderr] Compiling cranelift-bforest v0.115.0 [INFO] [stderr] Compiling regalloc2 v0.11.1 [INFO] [stderr] Compiling fxprof-processed-profile v0.6.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling wasmtime-jit-debug v28.0.0 [INFO] [stderr] Compiling wasmprinter v0.221.2 [INFO] [stderr] Compiling wtf-encode v0.0.0 (/opt/rustwide/workdir/wtf-encode) [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> wtf-encode/src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, fmt::Debug, iter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> wtf-encode/src/lib.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | hir::Type::Result { ok, err } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ok: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> wtf-encode/src/lib.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | hir::Type::Result { ok, err } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `err: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `case` [INFO] [stdout] --> wtf-encode/src/lib.rs:235:41 [INFO] [stdout] | [INFO] [stdout] 235 | hir::Instruction::Variant { case, num_payloads } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `case: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_payloads` [INFO] [stdout] --> wtf-encode/src/lib.rs:235:47 [INFO] [stdout] | [INFO] [stdout] 235 | hir::Instruction::Variant { case, num_payloads } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `num_payloads: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_arguments` [INFO] [stdout] --> wtf-encode/src/lib.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | num_arguments, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `num_arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> wtf-encode/src/lib.rs:287:43 [INFO] [stdout] | [INFO] [stdout] 287 | hir::Instruction::FieldAccess(field) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arms` [INFO] [stdout] --> wtf-encode/src/lib.rs:303:39 [INFO] [stdout] | [INFO] [stdout] 303 | hir::Instruction::Match { arms } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `arms: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmtime-environ v28.0.0 [INFO] [stderr] Compiling cranelift-frontend v0.115.0 [INFO] [stderr] Compiling cranelift-native v0.115.0 [INFO] [stderr] Compiling wasmtime-cranelift v28.0.0 [INFO] [stderr] Compiling wtf-compiler v0.0.0 (/opt/rustwide/workdir/wtf-compiler) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> wtf-compiler/src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | WasmRuntime(wasmtime::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TestError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 - WasmRuntime(wasmtime::Error), [INFO] [stdout] 48 + WasmRuntime(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> wtf-compiler/src/main.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | TestFail(NonZeroUsize), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TestError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - TestFail(NonZeroUsize), [INFO] [stdout] 49 + TestFail(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "0554d30a39cfafc8f3aad6f218f6849e1142e00b2d0bb6b65037ee009c770575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0554d30a39cfafc8f3aad6f218f6849e1142e00b2d0bb6b65037ee009c770575", kill_on_drop: false }` [INFO] [stdout] 0554d30a39cfafc8f3aad6f218f6849e1142e00b2d0bb6b65037ee009c770575 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a74ce1d6e9abc0c2b3875a4ca5ce03f79d559a769cadf8a92d0e085f61232b3b [INFO] running `Command { std: "docker" "start" "-a" "a74ce1d6e9abc0c2b3875a4ca5ce03f79d559a769cadf8a92d0e085f61232b3b", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `display::*` [INFO] [stdout] --> wtf-ast/src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use display::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> wtf-ast/src/display.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> wtf-ast/src/display.rs:169:54 [INFO] [stdout] | [INFO] [stdout] 169 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wtf-ast/src/display.rs:169:69 [INFO] [stdout] | [INFO] [stdout] 169 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> wtf-ast/src/display.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> wtf-ast/src/display.rs:205:54 [INFO] [stdout] | [INFO] [stdout] 205 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wtf-ast/src/display.rs:205:69 [INFO] [stdout] | [INFO] [stdout] 205 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `members` [INFO] [stdout] --> wtf-ast/src/display.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | TypeAnnotation::Tuple(members) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_members` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> wtf-ast/src/display.rs:347:42 [INFO] [stdout] | [INFO] [stdout] 347 | Expression::YeetExpression { expression } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `found` and `expected` are never read [INFO] [stdout] --> wtf-parser/src/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ParserError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | found: SpannedToken, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | expected: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:850:40 [INFO] [stdout] | [INFO] [stdout] 850 | Instruction::Block => vec![WasmInstruction::Block(todo!())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wtf-wasm/src/lib.rs:426:14 [INFO] [stdout] | [INFO] [stdout] 426 | for (idx, ty) in self.type_declarations.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wtf-wasm/src/lib.rs:426:19 [INFO] [stdout] | [INFO] [stdout] 426 | for (idx, ty) in self.type_declarations.iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> wtf-wasm/src/lib.rs:652:36 [INFO] [stdout] | [INFO] [stdout] 652 | let Type::Record { fields } = &ty else { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Block` is never constructed [INFO] [stdout] --> wtf-wasm/src/lib.rs:1258:5 [INFO] [stdout] | [INFO] [stdout] 1257 | enum BranchLabel { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 1258 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-hir/src/compiler.rs:385:33 [INFO] [stdout] | [INFO] [stdout] 385 | self.stack.push(Type::Variant(todo!())); [INFO] [stdout] | ^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overload` [INFO] [stdout] --> wtf-hir/src/compiler.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | ast::Declaration::Overload(overload) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_id` [INFO] [stdout] --> wtf-hir/src/compiler.rs:369:32 [INFO] [stdout] | [INFO] [stdout] 369 | Instruction::Store(local_id) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `case` [INFO] [stdout] --> wtf-hir/src/compiler.rs:377:33 [INFO] [stdout] | [INFO] [stdout] 377 | ... Instruction::Enum { case, ty } => self.stack.push(ty.clone().into()), // TODO: Introduce ref type that holds an RC or something ins... [INFO] [stdout] | ^^^^ help: try ignoring the field: `case: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_some` [INFO] [stdout] --> wtf-hir/src/compiler.rs:394:35 [INFO] [stdout] | [INFO] [stdout] 394 | Instruction::Option { is_some, ty } => self.stack.push(Type::Option(ty.clone().into())), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `is_some: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wtf-hir/src/compiler.rs:444:40 [INFO] [stdout] | [INFO] [stdout] 444 | Instruction::IndexAccess { ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then` [INFO] [stdout] --> wtf-hir/src/compiler.rs:466:31 [INFO] [stdout] | [INFO] [stdout] 466 | Instruction::If { then, else_ } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `then: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_` [INFO] [stdout] --> wtf-hir/src/compiler.rs:466:37 [INFO] [stdout] | [INFO] [stdout] 466 | Instruction::If { then, else_ } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `else_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arms` [INFO] [stdout] --> wtf-hir/src/compiler.rs:474:34 [INFO] [stdout] | [INFO] [stdout] 474 | Instruction::Match { arms } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `arms: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> wtf-hir/src/compiler.rs:475:21 [INFO] [stdout] | [INFO] [stdout] 475 | let condition = self.stack.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cases` [INFO] [stdout] --> wtf-hir/src/compiler.rs:754:55 [INFO] [stdout] | [INFO] [stdout] 754 | ... Type::Variant(cases) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wtf-hir/src/compiler.rs:783:39 [INFO] [stdout] | [INFO] [stdout] 783 | ast::Expression::Record { name, members } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `visible::Scope` is more private than the item `Visible::snapshot` [INFO] [stdout] --> wtf-hir/src/visible.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn snapshot(&self) -> Scope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Visible::snapshot` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `visible::Scope` is only usable at visibility `pub(self)` [INFO] [stdout] --> wtf-hir/src/visible.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Scope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `visible::Scope` is more private than the item `Visible::restore` [INFO] [stdout] --> wtf-hir/src/visible.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn restore(&mut self, scope: Scope) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Visible::restore` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `visible::Scope` is only usable at visibility `pub(self)` [INFO] [stdout] --> wtf-hir/src/visible.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Scope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mutable` is never read [INFO] [stdout] --> wtf-hir/src/visible.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Binding { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | mutable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> wtf-hir/src/visible.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `snapshot` and `restore` are never used [INFO] [stdout] --> wtf-hir/src/visible.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Visible { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn snapshot(&self) -> Scope { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn restore(&mut self, scope: Scope) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> wtf-encode/src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, fmt::Debug, iter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> wtf-encode/src/lib.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | hir::Type::Result { ok, err } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ok: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> wtf-encode/src/lib.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | hir::Type::Result { ok, err } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `err: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `case` [INFO] [stdout] --> wtf-encode/src/lib.rs:235:41 [INFO] [stdout] | [INFO] [stdout] 235 | hir::Instruction::Variant { case, num_payloads } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `case: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_payloads` [INFO] [stdout] --> wtf-encode/src/lib.rs:235:47 [INFO] [stdout] | [INFO] [stdout] 235 | hir::Instruction::Variant { case, num_payloads } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `num_payloads: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_arguments` [INFO] [stdout] --> wtf-encode/src/lib.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | num_arguments, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `num_arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> wtf-encode/src/lib.rs:287:43 [INFO] [stdout] | [INFO] [stdout] 287 | hir::Instruction::FieldAccess(field) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arms` [INFO] [stdout] --> wtf-encode/src/lib.rs:303:39 [INFO] [stdout] | [INFO] [stdout] 303 | hir::Instruction::Match { arms } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `arms: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wtf-encode v0.0.0 (/opt/rustwide/workdir/wtf-encode) [INFO] [stderr] Compiling wtf-wasm v0.0.0 (/opt/rustwide/workdir/wtf-wasm) [INFO] [stderr] Compiling wtf-parser v0.0.0 (/opt/rustwide/workdir/wtf-parser) [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> wtf-format/src/lib.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | fn format_print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_statement` [INFO] [stdout] --> wtf-format/src/lib.rs:307:39 [INFO] [stdout] | [INFO] [stdout] 307 | Statement::MatchStatement(match_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_statement` [INFO] [stdout] --> wtf-format/src/lib.rs:309:37 [INFO] [stdout] | [INFO] [stdout] 309 | Statement::ForStatement(for_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wtf-format v0.0.0 (/opt/rustwide/workdir/wtf-format) [INFO] [stderr] Compiling wtf-compiler v0.0.0 (/opt/rustwide/workdir/wtf-compiler) [INFO] [stderr] Compiling wtf-hir v0.0.0 (/opt/rustwide/workdir/wtf-hir) [INFO] [stdout] warning: unused import: `wtf_ast::*` [INFO] [stdout] --> wtf-parser/tests/collection_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wtf_ast::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wtf_parser::lexer::Lexer` [INFO] [stdout] --> wtf-parser/tests/collection_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wtf_parser::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parser` and `Result` [INFO] [stdout] --> wtf-parser/tests/collection_test.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use wtf_parser::parser::{Parser, Result}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> wtf-encode/src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, fmt::Debug, iter}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> wtf-encode/src/lib.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | hir::Type::Result { ok, err } => todo!(), [INFO] [stdout] | ^^ help: try ignoring the field: `ok: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> wtf-encode/src/lib.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | hir::Type::Result { ok, err } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `err: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `case` [INFO] [stdout] --> wtf-encode/src/lib.rs:235:41 [INFO] [stdout] | [INFO] [stdout] 235 | hir::Instruction::Variant { case, num_payloads } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `case: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_payloads` [INFO] [stdout] --> wtf-encode/src/lib.rs:235:47 [INFO] [stdout] | [INFO] [stdout] 235 | hir::Instruction::Variant { case, num_payloads } => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `num_payloads: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_arguments` [INFO] [stdout] --> wtf-encode/src/lib.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | num_arguments, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `num_arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> wtf-encode/src/lib.rs:287:43 [INFO] [stdout] | [INFO] [stdout] 287 | hir::Instruction::FieldAccess(field) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arms` [INFO] [stdout] --> wtf-encode/src/lib.rs:303:39 [INFO] [stdout] | [INFO] [stdout] 303 | hir::Instruction::Match { arms } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `arms: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:850:40 [INFO] [stdout] | [INFO] [stdout] 850 | Instruction::Block => vec![WasmInstruction::Block(todo!())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wtf-wasm/src/lib.rs:426:14 [INFO] [stdout] | [INFO] [stdout] 426 | for (idx, ty) in self.type_declarations.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wtf-wasm/src/lib.rs:426:19 [INFO] [stdout] | [INFO] [stdout] 426 | for (idx, ty) in self.type_declarations.iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-hir/src/compiler.rs:385:33 [INFO] [stdout] | [INFO] [stdout] 385 | self.stack.push(Type::Variant(todo!())); [INFO] [stdout] | ^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> wtf-wasm/src/lib.rs:652:36 [INFO] [stdout] | [INFO] [stdout] 652 | let Type::Record { fields } = &ty else { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Block` is never constructed [INFO] [stdout] --> wtf-wasm/src/lib.rs:1258:5 [INFO] [stdout] | [INFO] [stdout] 1257 | enum BranchLabel { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 1258 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wtf-ast v0.0.0 (/opt/rustwide/workdir/wtf-ast) [INFO] [stdout] warning: unused variable: `overload` [INFO] [stdout] --> wtf-hir/src/compiler.rs:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | ast::Declaration::Overload(overload) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overload` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_id` [INFO] [stdout] --> wtf-hir/src/compiler.rs:369:32 [INFO] [stdout] | [INFO] [stdout] 369 | Instruction::Store(local_id) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `case` [INFO] [stdout] --> wtf-hir/src/compiler.rs:377:33 [INFO] [stdout] | [INFO] [stdout] 377 | ... Instruction::Enum { case, ty } => self.stack.push(ty.clone().into()), // TODO: Introduce ref type that holds an RC or something ins... [INFO] [stdout] | ^^^^ help: try ignoring the field: `case: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_some` [INFO] [stdout] --> wtf-hir/src/compiler.rs:394:35 [INFO] [stdout] | [INFO] [stdout] 394 | Instruction::Option { is_some, ty } => self.stack.push(Type::Option(ty.clone().into())), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `is_some: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wtf-hir/src/compiler.rs:444:40 [INFO] [stdout] | [INFO] [stdout] 444 | Instruction::IndexAccess { ty } => { [INFO] [stdout] | ^^ help: try ignoring the field: `ty: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then` [INFO] [stdout] --> wtf-hir/src/compiler.rs:466:31 [INFO] [stdout] | [INFO] [stdout] 466 | Instruction::If { then, else_ } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `then: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_` [INFO] [stdout] --> wtf-hir/src/compiler.rs:466:37 [INFO] [stdout] | [INFO] [stdout] 466 | Instruction::If { then, else_ } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `else_: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arms` [INFO] [stdout] --> wtf-hir/src/compiler.rs:474:34 [INFO] [stdout] | [INFO] [stdout] 474 | Instruction::Match { arms } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `arms: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> wtf-hir/src/compiler.rs:475:21 [INFO] [stdout] | [INFO] [stdout] 475 | let condition = self.stack.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> wtf-format/src/lib.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | fn format_print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cases` [INFO] [stdout] --> wtf-hir/src/compiler.rs:754:55 [INFO] [stdout] | [INFO] [stdout] 754 | ... Type::Variant(cases) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cases` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wtf-hir/src/compiler.rs:783:39 [INFO] [stdout] | [INFO] [stdout] 783 | ast::Expression::Record { name, members } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_statement` [INFO] [stdout] --> wtf-format/src/lib.rs:307:39 [INFO] [stdout] | [INFO] [stdout] 307 | Statement::MatchStatement(match_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_statement` [INFO] [stdout] --> wtf-format/src/lib.rs:309:37 [INFO] [stdout] | [INFO] [stdout] 309 | Statement::ForStatement(for_statement) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `display::*` [INFO] [stdout] --> wtf-ast/src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use display::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `visible::Scope` is more private than the item `Visible::snapshot` [INFO] [stdout] --> wtf-hir/src/visible.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn snapshot(&self) -> Scope { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Visible::snapshot` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `visible::Scope` is only usable at visibility `pub(self)` [INFO] [stdout] --> wtf-hir/src/visible.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Scope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `visible::Scope` is more private than the item `Visible::restore` [INFO] [stdout] --> wtf-hir/src/visible.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn restore(&mut self, scope: Scope) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Visible::restore` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `visible::Scope` is only usable at visibility `pub(self)` [INFO] [stdout] --> wtf-hir/src/visible.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Scope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mutable` is never read [INFO] [stdout] --> wtf-hir/src/visible.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Binding { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | mutable: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> wtf-hir/src/visible.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `snapshot` and `restore` are never used [INFO] [stdout] --> wtf-hir/src/visible.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Visible { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn snapshot(&self) -> Scope { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn restore(&mut self, scope: Scope) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> wtf-compiler/src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | WasmRuntime(wasmtime::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TestError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 - WasmRuntime(wasmtime::Error), [INFO] [stdout] 48 + WasmRuntime(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> wtf-compiler/src/main.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | TestFail(NonZeroUsize), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TestError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - TestFail(NonZeroUsize), [INFO] [stdout] 49 + TestFail(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> wtf-ast/src/display.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> wtf-ast/src/display.rs:169:54 [INFO] [stdout] | [INFO] [stdout] 169 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wtf-ast/src/display.rs:169:69 [INFO] [stdout] | [INFO] [stdout] 169 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> wtf-ast/src/display.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent` [INFO] [stdout] --> wtf-ast/src/display.rs:205:54 [INFO] [stdout] | [INFO] [stdout] 205 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> wtf-ast/src/display.rs:205:69 [INFO] [stdout] | [INFO] [stdout] 205 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `members` [INFO] [stdout] --> wtf-ast/src/display.rs:249:35 [INFO] [stdout] | [INFO] [stdout] 249 | TypeAnnotation::Tuple(members) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_members` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `found` and `expected` are never read [INFO] [stdout] --> wtf-parser/src/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ParserError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | found: SpannedToken, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | expected: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> wtf-ast/src/display.rs:347:42 [INFO] [stdout] | [INFO] [stdout] 347 | Expression::YeetExpression { expression } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.25s [INFO] running `Command { std: "docker" "inspect" "a74ce1d6e9abc0c2b3875a4ca5ce03f79d559a769cadf8a92d0e085f61232b3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a74ce1d6e9abc0c2b3875a4ca5ce03f79d559a769cadf8a92d0e085f61232b3b", kill_on_drop: false }` [INFO] [stdout] a74ce1d6e9abc0c2b3875a4ca5ce03f79d559a769cadf8a92d0e085f61232b3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d9aba218d1760af0ccacb21b6171bebe46ce399e0e0c2da159a33b5f284ae4c6 [INFO] running `Command { std: "docker" "start" "-a" "d9aba218d1760af0ccacb21b6171bebe46ce399e0e0c2da159a33b5f284ae4c6", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `display::*` [INFO] [stderr] --> wtf-ast/src/lib.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use display::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> wtf-ast/src/display.rs:169:21 [INFO] [stderr] | [INFO] [stderr] 169 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `indent` [INFO] [stderr] --> wtf-ast/src/display.rs:169:54 [INFO] [stderr] | [INFO] [stderr] 169 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> wtf-ast/src/display.rs:169:69 [INFO] [stderr] | [INFO] [stderr] 169 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> wtf-ast/src/display.rs:205:21 [INFO] [stderr] | [INFO] [stderr] 205 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `indent` [INFO] [stderr] --> wtf-ast/src/display.rs:205:54 [INFO] [stderr] | [INFO] [stderr] 205 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> wtf-ast/src/display.rs:205:69 [INFO] [stderr] | [INFO] [stderr] 205 | fn print(&self, f: &mut std::fmt::Formatter<'_>, indent: usize, c: char) -> std::fmt::Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `members` [INFO] [stderr] --> wtf-ast/src/display.rs:249:35 [INFO] [stderr] | [INFO] [stderr] 249 | TypeAnnotation::Tuple(members) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_members` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expression` [INFO] [stderr] --> wtf-ast/src/display.rs:347:42 [INFO] [stderr] | [INFO] [stderr] 347 | Expression::YeetExpression { expression } => todo!(), [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stderr] [INFO] [stderr] warning: `wtf-ast` (lib) generated 9 warnings (run `cargo fix --lib -p wtf-ast` to apply 1 suggestion) [INFO] [stderr] warning: fields `found` and `expected` are never read [INFO] [stderr] --> wtf-parser/src/parser.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct ParserError { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 9 | found: SpannedToken, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 10 | expected: Vec, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ParserError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `wtf-parser` (lib) generated 1 warning [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> wtf-wasm/src/lib.rs:850:40 [INFO] [stderr] | [INFO] [stderr] 850 | Instruction::Block => vec![WasmInstruction::Block(todo!())], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stderr] | | [INFO] [stderr] | unreachable call [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> wtf-wasm/src/lib.rs:426:14 [INFO] [stderr] | [INFO] [stderr] 426 | for (idx, ty) in self.type_declarations.iter().enumerate() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ty` [INFO] [stderr] --> wtf-wasm/src/lib.rs:426:19 [INFO] [stderr] | [INFO] [stderr] 426 | for (idx, ty) in self.type_declarations.iter().enumerate() { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fields` [INFO] [stderr] --> wtf-wasm/src/lib.rs:652:36 [INFO] [stderr] | [INFO] [stderr] 652 | let Type::Record { fields } = &ty else { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stderr] [INFO] [stderr] warning: variant `Block` is never constructed [INFO] [stderr] --> wtf-wasm/src/lib.rs:1258:5 [INFO] [stderr] | [INFO] [stderr] 1257 | enum BranchLabel { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] 1258 | Block, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `wtf-wasm` (lib) generated 5 warnings [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> wtf-hir/src/compiler.rs:385:33 [INFO] [stderr] | [INFO] [stderr] 385 | self.stack.push(Type::Variant(todo!())); [INFO] [stderr] | ^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stderr] | | [INFO] [stderr] | unreachable call [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `overload` [INFO] [stderr] --> wtf-hir/src/compiler.rs:37:40 [INFO] [stderr] | [INFO] [stderr] 37 | ast::Declaration::Overload(overload) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overload` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `local_id` [INFO] [stderr] --> wtf-hir/src/compiler.rs:369:32 [INFO] [stderr] | [INFO] [stderr] 369 | Instruction::Store(local_id) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `case` [INFO] [stderr] --> wtf-hir/src/compiler.rs:377:33 [INFO] [stderr] | [INFO] [stderr] 377 | ... Instruction::Enum { case, ty } => self.stack.push(ty.clone().into()), // TODO: Introduce ref type that holds an RC or something ins... [INFO] [stderr] | ^^^^ help: try ignoring the field: `case: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_some` [INFO] [stderr] --> wtf-hir/src/compiler.rs:394:35 [INFO] [stderr] | [INFO] [stderr] 394 | Instruction::Option { is_some, ty } => self.stack.push(Type::Option(ty.clone().into())), [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `is_some: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ty` [INFO] [stderr] --> wtf-hir/src/compiler.rs:444:40 [INFO] [stderr] | [INFO] [stderr] 444 | Instruction::IndexAccess { ty } => { [INFO] [stderr] | ^^ help: try ignoring the field: `ty: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `then` [INFO] [stderr] --> wtf-hir/src/compiler.rs:466:31 [INFO] [stderr] | [INFO] [stderr] 466 | Instruction::If { then, else_ } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `then: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `else_` [INFO] [stderr] --> wtf-hir/src/compiler.rs:466:37 [INFO] [stderr] | [INFO] [stderr] 466 | Instruction::If { then, else_ } => { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `else_: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arms` [INFO] [stderr] --> wtf-hir/src/compiler.rs:474:34 [INFO] [stderr] | [INFO] [stderr] 474 | Instruction::Match { arms } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `arms: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `condition` [INFO] [stderr] --> wtf-hir/src/compiler.rs:475:21 [INFO] [stderr] | [INFO] [stderr] 475 | let condition = self.stack.pop().unwrap(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cases` [INFO] [stderr] --> wtf-hir/src/compiler.rs:754:55 [INFO] [stderr] | [INFO] [stderr] 754 | ... Type::Variant(cases) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cases` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> wtf-hir/src/compiler.rs:783:39 [INFO] [stderr] | [INFO] [stderr] 783 | ast::Expression::Record { name, members } => { [INFO] [stderr] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stderr] [INFO] [stderr] warning: type `visible::Scope` is more private than the item `Visible::snapshot` [INFO] [stderr] --> wtf-hir/src/visible.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn snapshot(&self) -> Scope { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Visible::snapshot` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `visible::Scope` is only usable at visibility `pub(self)` [INFO] [stderr] --> wtf-hir/src/visible.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | struct Scope { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `visible::Scope` is more private than the item `Visible::restore` [INFO] [stderr] --> wtf-hir/src/visible.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn restore(&mut self, scope: Scope) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Visible::restore` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `visible::Scope` is only usable at visibility `pub(self)` [INFO] [stderr] --> wtf-hir/src/visible.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | struct Scope { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `mutable` is never read [INFO] [stderr] --> wtf-hir/src/visible.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | struct Binding { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 9 | mutable: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Scope` is never constructed [INFO] [stderr] --> wtf-hir/src/visible.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | struct Scope { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `snapshot` and `restore` are never used [INFO] [stderr] --> wtf-hir/src/visible.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl Visible { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 32 | pub fn snapshot(&self) -> Scope { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn restore(&mut self, scope: Scope) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wtf-hir` (lib) generated 17 warnings [INFO] [stderr] warning: unused import: `collections::HashSet` [INFO] [stderr] --> wtf-encode/src/lib.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::HashSet, fmt::Debug, iter}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ok` [INFO] [stderr] --> wtf-encode/src/lib.rs:105:33 [INFO] [stderr] | [INFO] [stderr] 105 | hir::Type::Result { ok, err } => todo!(), [INFO] [stderr] | ^^ help: try ignoring the field: `ok: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> wtf-encode/src/lib.rs:105:37 [INFO] [stderr] | [INFO] [stderr] 105 | hir::Type::Result { ok, err } => todo!(), [INFO] [stderr] | ^^^ help: try ignoring the field: `err: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `case` [INFO] [stderr] --> wtf-encode/src/lib.rs:235:41 [INFO] [stderr] | [INFO] [stderr] 235 | hir::Instruction::Variant { case, num_payloads } => todo!(), [INFO] [stderr] | ^^^^ help: try ignoring the field: `case: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_payloads` [INFO] [stderr] --> wtf-encode/src/lib.rs:235:47 [INFO] [stderr] | [INFO] [stderr] 235 | hir::Instruction::Variant { case, num_payloads } => todo!(), [INFO] [stderr] | ^^^^^^^^^^^^ help: try ignoring the field: `num_payloads: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_arguments` [INFO] [stderr] --> wtf-encode/src/lib.rs:249:17 [INFO] [stderr] | [INFO] [stderr] 249 | num_arguments, [INFO] [stderr] | ^^^^^^^^^^^^^ help: try ignoring the field: `num_arguments: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `field` [INFO] [stderr] --> wtf-encode/src/lib.rs:287:43 [INFO] [stderr] | [INFO] [stderr] 287 | hir::Instruction::FieldAccess(field) => { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arms` [INFO] [stderr] --> wtf-encode/src/lib.rs:303:39 [INFO] [stderr] | [INFO] [stderr] 303 | hir::Instruction::Match { arms } => todo!(), [INFO] [stderr] | ^^^^ help: try ignoring the field: `arms: _` [INFO] [stderr] [INFO] [stderr] warning: `wtf-encode` (lib) generated 8 warnings (run `cargo fix --lib -p wtf-encode` to apply 1 suggestion) [INFO] [stderr] warning: unused variable: `indent` [INFO] [stderr] --> wtf-format/src/lib.rs:172:28 [INFO] [stderr] | [INFO] [stderr] 172 | fn format_print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `match_statement` [INFO] [stderr] --> wtf-format/src/lib.rs:307:39 [INFO] [stderr] | [INFO] [stderr] 307 | Statement::MatchStatement(match_statement) => todo!(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_statement` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `for_statement` [INFO] [stderr] --> wtf-format/src/lib.rs:309:37 [INFO] [stderr] | [INFO] [stderr] 309 | Statement::ForStatement(for_statement) => todo!(), [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_statement` [INFO] [stderr] [INFO] [stderr] warning: `wtf-format` (lib) generated 3 warnings [INFO] [stderr] warning: `wtf-encode` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: `wtf-wasm` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: unused import: `wtf_ast::*` [INFO] [stderr] --> wtf-parser/tests/collection_test.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use wtf_ast::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `wtf_parser::lexer::Lexer` [INFO] [stderr] --> wtf-parser/tests/collection_test.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use wtf_parser::lexer::Lexer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Parser` and `Result` [INFO] [stderr] --> wtf-parser/tests/collection_test.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use wtf_parser::parser::{Parser, Result}; [INFO] [stderr] | ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wtf-format` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `wtf-parser` (test "collection_test") generated 3 warnings (run `cargo fix --test "collection_test"` to apply 3 suggestions) [INFO] [stderr] warning: `wtf-hir` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] warning: `wtf-parser` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> wtf-compiler/src/main.rs:48:17 [INFO] [stderr] | [INFO] [stderr] 48 | WasmRuntime(wasmtime::Error), [INFO] [stderr] | ----------- ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `TestError` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 48 - WasmRuntime(wasmtime::Error), [INFO] [stderr] 48 + WasmRuntime(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> wtf-compiler/src/main.rs:49:14 [INFO] [stderr] | [INFO] [stderr] 49 | TestFail(NonZeroUsize), [INFO] [stderr] | -------- ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `TestError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 49 - TestFail(NonZeroUsize), [INFO] [stderr] 49 + TestFail(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `wtf-compiler` (bin "wtf-compiler" test) generated 2 warnings [INFO] [stderr] warning: `wtf-ast` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wtf_ast-63dbf59c7d974b45) [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 unittests src/main.rs (/opt/rustwide/target/debug/deps/wtf_compiler-1d0be9c252b48113) [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 unittests src/lib.rs (/opt/rustwide/target/debug/deps/wtf_encode-a11c75a50f97307f) [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 unittests src/lib.rs (/opt/rustwide/target/debug/deps/wtf_format-7f526a6a47b2b42b) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wtf_format-9dda3ca8377cc3ac) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wtf_hir-1886b33795aa0857) [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 unittests src/lib.rs (/opt/rustwide/target/debug/deps/wtf_parser-521b5e172679efb4) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test lexer::tests::test_bang ... ok [INFO] [stdout] test lexer::tests::test_contains ... ok [INFO] [stdout] test lexer::tests::test_field_assignment ... ok [INFO] [stdout] test lexer::tests::test_function_declaration ... ok [INFO] [stdout] test lexer::tests::test_double_colon ... ok [INFO] [stdout] test lexer::tests::test_if_statement_with_comparison ... ok [INFO] [stdout] test lexer::tests::test_arrow ... ok [INFO] [stdout] test lexer::tests::test_immutable_variable_declaration ... ok [INFO] [stdout] test lexer::tests::test_double_equal ... ok [INFO] [stdout] test lexer::tests::test_mutable_variable_declaration ... ok [INFO] [stdout] test lexer::tests::test_not_equal ... ok [INFO] [stdout] test lexer::tests::test_invalid_identifier ... ok [INFO] [stdout] test lexer::tests::test_number_literals ... ok [INFO] [stdout] test lexer::tests::test_package_header ... ok [INFO] [stdout] test lexer::tests::test_record_declaration ... ok [INFO] [stdout] test lexer::tests::test_preserve_newline_after_comment ... ok [INFO] [stdout] test lexer::tests::test_safe_call ... ok [INFO] [stdout] test lexer::tests::test_string_literal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wtf_parser-506ac45686085ae1) [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/collection_test.rs (/opt/rustwide/target/debug/deps/collection_test-c46c35c821b35929) [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/control_flow_test.rs (/opt/rustwide/target/debug/deps/control_flow_test-4145a5e2c51b3749) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_parse_if_statement ... ok [INFO] [stdout] test test_parse_throw_statement ... ok [INFO] [stdout] test test_parse_return_statement ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/enum_test.rs (/opt/rustwide/target/debug/deps/enum_test-5d2450003c1ee8d7) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_parse_enum_declaration ... ok [INFO] [stdout] test test_parse_variant_declaration_with_mixed_cases ... ok [INFO] [stdout] test test_parse_variant_declaration_with_associated_types ... ok [INFO] [stdout] test test_parse_variant_declaration_without_associated_types ... ok [INFO] [stdout] test test_parse_empty_enum_declaration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/error_types_test.rs (/opt/rustwide/target/debug/deps/error_types_test-af07116df6376768) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_parse_record_field_with_result_optional_type ... ok [INFO] [stdout] test test_parse_function_return_type_with_result ... ok [INFO] [stdout] test test_parse_function_return_type_with_result_default_error ... ok [INFO] [stdout] test test_parse_function_return_type_result_optional ... ok [INFO] [stdout] test test_parse_record_field_with_result_type ... ok [INFO] [stdout] test test_parse_record_field_with_result_type_default_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/export_test.rs (/opt/rustwide/target/debug/deps/export_test-4b954848a6e9a91d) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_export_enum ... ok [INFO] [stdout] test tests::test_export_record ... ok [INFO] [stdout] test tests::test_export_function ... ok [INFO] [stdout] test tests::test_export_resource ... ok [INFO] [stdout] test tests::test_export_variant ... ok [INFO] [stdout] test tests::test_export_with_package_and_use ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/optionals_test.rs (/opt/rustwide/target/debug/deps/optionals_test-adeeda17db5a0b99) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_parse_optional_assignment_operator ... ok [INFO] [stdout] test test_parse_null_coalescing_operator ... ok [INFO] [stdout] test test_parse_optional_chaining ... ok [INFO] [stdout] test test_parse_optional_type ... ok [INFO] [stdout] test test_parse_optional_type_shorthand ... ok [INFO] [stdout] test test_parse_optional_type_with_init_shorthand ... ok [INFO] [stderr] Running tests/parser_test.rs (/opt/rustwide/target/debug/deps/parser_test-dd81a9b559920799) [INFO] [stdout] test test_parse_optional_type_with_init ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_parse_package_declaration ... ok [INFO] [stdout] test test_parse_function_declaration ... ok [INFO] [stdout] test test_parse_plus_assign ... ok [INFO] [stdout] test test_parse_resource_declaration ... ok [INFO] [stdout] test test_parse_package_declaration_versioned ... ok [INFO] [stdout] test test_parse_use_declaration ... ok [INFO] [stdout] test test_parse_use_declaration_two_imports ... ok [INFO] [stdout] test test_parse_variable_declaration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/record_test.rs (/opt/rustwide/target/debug/deps/record_test-d38892c34718888d) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_parse_empty_record_literal ... ok [INFO] [stdout] test test_parse_record_literal_with_spread ... ignored, TODO: Implement spreading and update this test [INFO] [stdout] test test_parse_nested_record_literal ... ok [INFO] [stdout] test test_parse_record_literal_with_type ... ok [INFO] [stdout] test test_parse_record_literal_without_type ... ok [INFO] [stdout] test test_parse_record_literal_with_type_and_expressions ... ok [INFO] [stdout] test test_parse_record_literal_with_expressions ... ok [INFO] [stdout] test test_parse_record_literal_with_list_field ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wtf_wasm-74e856901b1a96ac) [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] Doc-tests wtf_ast [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] Doc-tests wtf_encode [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] Doc-tests wtf_format [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] Doc-tests wtf_hir [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] Doc-tests wtf_parser [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] Doc-tests wtf_wasm [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d9aba218d1760af0ccacb21b6171bebe46ce399e0e0c2da159a33b5f284ae4c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9aba218d1760af0ccacb21b6171bebe46ce399e0e0c2da159a33b5f284ae4c6", kill_on_drop: false }` [INFO] [stdout] d9aba218d1760af0ccacb21b6171bebe46ce399e0e0c2da159a33b5f284ae4c6