[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] 073c2639bd57997b7ebad2004e4b8faf41bf0b79 [INFO] checking antoniusnaumann/wtf-lang against try#6cbf54b1453b438241487f195740266bb9d8c8ba for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantoniusnaumann%2Fwtf-lang" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antoniusnaumann/wtf-lang on toolchain 6cbf54b1453b438241487f195740266bb9d8c8ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "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-5-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" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65e99a03d81b3a142f1ede0ebcd174c9b34d63ba0b17e84bb393ace09c2a68f6 [INFO] running `Command { std: "docker" "start" "-a" "65e99a03d81b3a142f1ede0ebcd174c9b34d63ba0b17e84bb393ace09c2a68f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65e99a03d81b3a142f1ede0ebcd174c9b34d63ba0b17e84bb393ace09c2a68f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e99a03d81b3a142f1ede0ebcd174c9b34d63ba0b17e84bb393ace09c2a68f6", kill_on_drop: false }` [INFO] [stdout] 65e99a03d81b3a142f1ede0ebcd174c9b34d63ba0b17e84bb393ace09c2a68f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90679c25764f5e2ca9132367c402ee7b8cf3d56be250e22536026d143e305966 [INFO] running `Command { std: "docker" "start" "-a" "90679c25764f5e2ca9132367c402ee7b8cf3d56be250e22536026d143e305966", 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] Checking wtf-ast v0.0.0 (/opt/rustwide/workdir/wtf-ast) [INFO] [stderr] Checking wtf-tokens v0.0.0 (/opt/rustwide/workdir/wtf-tokens) [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Checking bitflags v2.6.0 [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 anyhow v1.0.95 [INFO] [stderr] Checking wtf-error v0.0.0 (/opt/rustwide/workdir/wtf-error) [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Checking log v0.4.22 [INFO] [stdout] warning: unused variable: `found` [INFO] [stdout] --> wtf-error/src/lib.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | ErrorKind::UnexpectedKeyword { found, expected } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `found: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> wtf-error/src/lib.rs:53:51 [INFO] [stdout] | [INFO] [stdout] 53 | ErrorKind::UnexpectedKeyword { found, expected } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `expected: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling typenum v1.17.0 [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] [stderr] Checking memchr v2.7.4 [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 wasm-encoder v0.222.0 [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 cranelift-isle v0.115.0 [INFO] [stderr] Checking wtf-parser v0.0.0 (/opt/rustwide/workdir/wtf-parser) [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stdout] warning: variants `Paren` and `Bracket` are never constructed [INFO] [stdout] --> wtf-parser/src/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum BraceType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Bracket, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling cranelift-codegen-shared v0.115.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.115.0 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling wasmparser v0.221.2 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking rustc-hash v2.1.0 [INFO] [stderr] Checking cranelift-control v0.115.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling cranelift-codegen v0.115.0 [INFO] [stderr] Compiling ittapi-sys v0.4.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling wasmparser v0.222.0 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking wasm-encoder v0.221.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking wasmtime-component-util v28.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Compiling wasmtime-cache v28.0.0 [INFO] [stderr] Compiling wasmtime-component-macro v28.0.0 [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] Checking wast v222.0.0 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Compiling wasmtime-fiber v28.0.0 [INFO] [stderr] Compiling wasmtime v28.0.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking wtf-wasm v0.0.0 (/opt/rustwide/workdir/wtf-wasm) [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] [stderr] Checking wtf-hir v0.0.0 (/opt/rustwide/workdir/wtf-hir) [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] [stderr] Checking wasmtime-asm-macros v28.0.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking ittapi v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking memfd v0.6.4 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v28.0.0 [INFO] [stderr] Checking wasmtime-slab v28.0.0 [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Checking 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] [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: 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] [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 variable: `found` [INFO] [stdout] --> wtf-error/src/lib.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | ErrorKind::UnexpectedKeyword { found, expected } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `found: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> wtf-error/src/lib.rs:53:51 [INFO] [stdout] | [INFO] [stdout] 53 | ErrorKind::UnexpectedKeyword { found, expected } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `expected: _` [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 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: `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: variants `Paren` and `Bracket` are never constructed [INFO] [stdout] --> wtf-parser/src/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum BraceType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | Paren, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Bracket, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: 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] [stderr] Compiling wit-parser v0.221.2 [INFO] [stderr] Checking wat v1.222.0 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking cranelift-bitset v0.115.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking postcard v1.1.1 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking cranelift-entity v0.115.0 [INFO] [stderr] Compiling wasmtime-wit-bindgen v28.0.0 [INFO] [stderr] Checking cranelift-bforest v0.115.0 [INFO] [stderr] Checking regalloc2 v0.11.1 [INFO] [stderr] Checking fxprof-processed-profile v0.6.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking wasmtime-jit-debug v28.0.0 [INFO] [stderr] Checking wasmprinter v0.221.2 [INFO] [stderr] Checking 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 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: `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: `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: 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] Checking wasmtime-environ v28.0.0 [INFO] [stderr] Checking cranelift-frontend v0.115.0 [INFO] [stderr] Checking cranelift-native v0.115.0 [INFO] [stderr] Checking wasmtime-cranelift v28.0.0 [INFO] [stderr] Checking 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] [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 39.55s [INFO] running `Command { std: "docker" "inspect" "90679c25764f5e2ca9132367c402ee7b8cf3d56be250e22536026d143e305966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90679c25764f5e2ca9132367c402ee7b8cf3d56be250e22536026d143e305966", kill_on_drop: false }` [INFO] [stdout] 90679c25764f5e2ca9132367c402ee7b8cf3d56be250e22536026d143e305966