[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] dfe490f4c9eb8026385be4c7eaad3cb4b6b55e58 [INFO] testing antoniusnaumann/wtf-lang against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantoniusnaumann%2Fwtf-lang" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antoniusnaumann/wtf-lang on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "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-0-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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a24aaa6ae7a0840e2de9d9156bc449f658c90b87855765e930724384f28702c [INFO] running `Command { std: "docker" "start" "-a" "7a24aaa6ae7a0840e2de9d9156bc449f658c90b87855765e930724384f28702c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a24aaa6ae7a0840e2de9d9156bc449f658c90b87855765e930724384f28702c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a24aaa6ae7a0840e2de9d9156bc449f658c90b87855765e930724384f28702c", kill_on_drop: false }` [INFO] [stdout] 7a24aaa6ae7a0840e2de9d9156bc449f658c90b87855765e930724384f28702c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52b284a7334aed9795793d1d31631e933e793ebb66a1c1ab537cd004eb28fc6c [INFO] running `Command { std: "docker" "start" "-a" "52b284a7334aed9795793d1d31631e933e793ebb66a1c1ab537cd004eb28fc6c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling equivalent v1.0.1 [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 bitflags v2.6.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling cranelift-isle v0.115.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling cranelift-codegen-shared v0.115.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling wasm-encoder v0.222.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling cranelift-codegen-meta v0.115.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling wasmparser v0.221.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling rustc-hash v2.1.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling id-arena v2.2.1 [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 cc v1.2.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> wtf-ast/src/display.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | 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:162:54 [INFO] [stdout] | [INFO] [stdout] 162 | 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:162:69 [INFO] [stdout] | [INFO] [stdout] 162 | 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:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | 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:198:54 [INFO] [stdout] | [INFO] [stdout] 198 | 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:198:69 [INFO] [stdout] | [INFO] [stdout] 198 | 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:242:35 [INFO] [stdout] | [INFO] [stdout] 242 | TypeAnnotation::Tuple(members) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_members` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmtime-component-util v28.0.0 [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> wtf-ast/src/display.rs:339:42 [INFO] [stdout] | [INFO] [stdout] 339 | Expression::YeetExpression { expression } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling cranelift-control v0.115.0 [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 rustc-demangle v0.1.24 [INFO] [stderr] Compiling wasmparser v0.222.0 [INFO] [stderr] Compiling wasmtime-cache v28.0.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling wast v222.0.0 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling wtf-parser v0.0.0 (/opt/rustwide/workdir/wtf-parser) [INFO] [stderr] Compiling wasmtime-asm-macros v28.0.0 [INFO] [stderr] Compiling base64 v0.21.7 [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 rayon v1.10.0 [INFO] [stderr] Compiling wtf-hir v0.0.0 (/opt/rustwide/workdir/wtf-hir) [INFO] [stderr] Compiling wtf-wasm v0.0.0 (/opt/rustwide/workdir/wtf-wasm) [INFO] [stderr] Compiling cranelift-codegen v0.115.0 [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-hir/src/compiler.rs:383:33 [INFO] [stdout] | [INFO] [stdout] 383 | 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: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:836:40 [INFO] [stdout] | [INFO] [stdout] 836 | 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: unused variable: `local_id` [INFO] [stdout] --> wtf-hir/src/compiler.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | Instruction::Store(local_id) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wtf-hir/src/compiler.rs:441:40 [INFO] [stdout] | [INFO] [stdout] 441 | 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:463:31 [INFO] [stdout] | [INFO] [stdout] 463 | 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:463:37 [INFO] [stdout] | [INFO] [stdout] 463 | 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:471:34 [INFO] [stdout] | [INFO] [stdout] 471 | 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:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | 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: `name` [INFO] [stdout] --> wtf-hir/src/compiler.rs:741:39 [INFO] [stdout] | [INFO] [stdout] 741 | ast::Expression::Record { name, members } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v28.0.0 [INFO] [stdout] warning: variant `Block` is never constructed [INFO] [stdout] --> wtf-wasm/src/lib.rs:1238:5 [INFO] [stdout] | [INFO] [stdout] 1237 | enum BranchLabel { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 1238 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 `types` is never read [INFO] [stdout] --> wtf-hir/src/compiler.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 319 | struct FunctionCompiler<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 325 | types: &'a HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] [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 encoding_rs v0.8.35 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ittapi-sys v0.4.0 [INFO] [stderr] Compiling wasmtime-slab v28.0.0 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling memfd v0.6.4 [INFO] [stderr] Compiling ittapi v0.4.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] 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 wasmtime-wit-bindgen v28.0.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling cranelift-bitset v0.115.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [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 wasmprinter v0.221.2 [INFO] [stderr] Compiling wasmtime-jit-debug v28.0.0 [INFO] [stderr] Compiling wasmtime-environ v28.0.0 [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: `variant` [INFO] [stdout] --> wtf-encode/src/lib.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | variant, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `variant: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_payloads` [INFO] [stdout] --> wtf-encode/src/lib.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | num_payloads, [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:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | 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:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | 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:299:39 [INFO] [stdout] | [INFO] [stdout] 299 | hir::Instruction::Match { arms } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `arms: _` [INFO] [stdout] [INFO] [stdout] [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(()), [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(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s [INFO] running `Command { std: "docker" "inspect" "52b284a7334aed9795793d1d31631e933e793ebb66a1c1ab537cd004eb28fc6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52b284a7334aed9795793d1d31631e933e793ebb66a1c1ab537cd004eb28fc6c", kill_on_drop: false }` [INFO] [stdout] 52b284a7334aed9795793d1d31631e933e793ebb66a1c1ab537cd004eb28fc6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fff4627846f11129474cf9f85e6062765b23c3a0f3091baf90a64139f49ba035 [INFO] running `Command { std: "docker" "start" "-a" "fff4627846f11129474cf9f85e6062765b23c3a0f3091baf90a64139f49ba035", 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:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | 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:162:54 [INFO] [stdout] | [INFO] [stdout] 162 | 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:162:69 [INFO] [stdout] | [INFO] [stdout] 162 | 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:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | 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:198:54 [INFO] [stdout] | [INFO] [stdout] 198 | 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:198:69 [INFO] [stdout] | [INFO] [stdout] 198 | 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:242:35 [INFO] [stdout] | [INFO] [stdout] 242 | 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:339:42 [INFO] [stdout] | [INFO] [stdout] 339 | 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:836:40 [INFO] [stdout] | [INFO] [stdout] 836 | 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:1238:5 [INFO] [stdout] | [INFO] [stdout] 1237 | enum BranchLabel { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 1238 | 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:383:33 [INFO] [stdout] | [INFO] [stdout] 383 | 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: `local_id` [INFO] [stdout] --> wtf-hir/src/compiler.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | Instruction::Store(local_id) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wtf-hir/src/compiler.rs:441:40 [INFO] [stdout] | [INFO] [stdout] 441 | 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:463:31 [INFO] [stdout] | [INFO] [stdout] 463 | 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:463:37 [INFO] [stdout] | [INFO] [stdout] 463 | 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:471:34 [INFO] [stdout] | [INFO] [stdout] 471 | 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:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | 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: `name` [INFO] [stdout] --> wtf-hir/src/compiler.rs:741:39 [INFO] [stdout] | [INFO] [stdout] 741 | 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 `types` is never read [INFO] [stdout] --> wtf-hir/src/compiler.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 319 | struct FunctionCompiler<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 325 | types: &'a HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] [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: `variant` [INFO] [stdout] --> wtf-encode/src/lib.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | variant, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `variant: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_payloads` [INFO] [stdout] --> wtf-encode/src/lib.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | num_payloads, [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:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | 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:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | 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:299:39 [INFO] [stdout] | [INFO] [stdout] 299 | 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] [stderr] Compiling wtf-hir v0.0.0 (/opt/rustwide/workdir/wtf-hir) [INFO] [stderr] Compiling wtf-compiler v0.0.0 (/opt/rustwide/workdir/wtf-compiler) [INFO] [stderr] Compiling wtf-ast v0.0.0 (/opt/rustwide/workdir/wtf-ast) [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: `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: `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: `variant` [INFO] [stdout] --> wtf-encode/src/lib.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | variant, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `variant: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_payloads` [INFO] [stdout] --> wtf-encode/src/lib.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | num_payloads, [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:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | 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:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | 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:299:39 [INFO] [stdout] | [INFO] [stdout] 299 | hir::Instruction::Match { arms } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `arms: _` [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: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:836:40 [INFO] [stdout] | [INFO] [stdout] 836 | 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: unreachable call [INFO] [stdout] --> wtf-hir/src/compiler.rs:383:33 [INFO] [stdout] | [INFO] [stdout] 383 | 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: 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(()), [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(()), [INFO] [stdout] | ~~ [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: unused variable: `f` [INFO] [stdout] --> wtf-ast/src/display.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | 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:162:54 [INFO] [stdout] | [INFO] [stdout] 162 | 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:162:69 [INFO] [stdout] | [INFO] [stdout] 162 | 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:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | 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:198:54 [INFO] [stdout] | [INFO] [stdout] 198 | 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:198:69 [INFO] [stdout] | [INFO] [stdout] 198 | 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:242:35 [INFO] [stdout] | [INFO] [stdout] 242 | TypeAnnotation::Tuple(members) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_members` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Block` is never constructed [INFO] [stdout] --> wtf-wasm/src/lib.rs:1238:5 [INFO] [stdout] | [INFO] [stdout] 1237 | enum BranchLabel { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 1238 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_id` [INFO] [stdout] --> wtf-hir/src/compiler.rs:365:32 [INFO] [stdout] | [INFO] [stdout] 365 | Instruction::Store(local_id) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wtf-hir/src/compiler.rs:441:40 [INFO] [stdout] | [INFO] [stdout] 441 | 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:463:31 [INFO] [stdout] | [INFO] [stdout] 463 | 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:463:37 [INFO] [stdout] | [INFO] [stdout] 463 | 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:471:34 [INFO] [stdout] | [INFO] [stdout] 471 | 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:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | 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: `expression` [INFO] [stdout] --> wtf-ast/src/display.rs:339:42 [INFO] [stdout] | [INFO] [stdout] 339 | Expression::YeetExpression { expression } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wtf-hir/src/compiler.rs:741:39 [INFO] [stdout] | [INFO] [stdout] 741 | 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 `types` is never read [INFO] [stdout] --> wtf-hir/src/compiler.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 319 | struct FunctionCompiler<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 325 | types: &'a HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] [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: 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "fff4627846f11129474cf9f85e6062765b23c3a0f3091baf90a64139f49ba035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff4627846f11129474cf9f85e6062765b23c3a0f3091baf90a64139f49ba035", kill_on_drop: false }` [INFO] [stdout] fff4627846f11129474cf9f85e6062765b23c3a0f3091baf90a64139f49ba035 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 191d9ce15ab1c3f52cd484b0e9701933df819888b035397272b8617f644f9b37 [INFO] running `Command { std: "docker" "start" "-a" "191d9ce15ab1c3f52cd484b0e9701933df819888b035397272b8617f644f9b37", 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:162:21 [INFO] [stderr] | [INFO] [stderr] 162 | 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:162:54 [INFO] [stderr] | [INFO] [stderr] 162 | 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:162:69 [INFO] [stderr] | [INFO] [stderr] 162 | 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:198:21 [INFO] [stderr] | [INFO] [stderr] 198 | 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:198:54 [INFO] [stderr] | [INFO] [stderr] 198 | 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:198:69 [INFO] [stderr] | [INFO] [stderr] 198 | 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:242:35 [INFO] [stderr] | [INFO] [stderr] 242 | 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:339:42 [INFO] [stderr] | [INFO] [stderr] 339 | 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:836:40 [INFO] [stderr] | [INFO] [stderr] 836 | 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:1238:5 [INFO] [stderr] | [INFO] [stderr] 1237 | enum BranchLabel { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] 1238 | 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:383:33 [INFO] [stderr] | [INFO] [stderr] 383 | 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: `local_id` [INFO] [stderr] --> wtf-hir/src/compiler.rs:365:32 [INFO] [stderr] | [INFO] [stderr] 365 | Instruction::Store(local_id) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ty` [INFO] [stderr] --> wtf-hir/src/compiler.rs:441:40 [INFO] [stderr] | [INFO] [stderr] 441 | 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:463:31 [INFO] [stderr] | [INFO] [stderr] 463 | 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:463:37 [INFO] [stderr] | [INFO] [stderr] 463 | 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:471:34 [INFO] [stderr] | [INFO] [stderr] 471 | 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:472:21 [INFO] [stderr] | [INFO] [stderr] 472 | 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: `name` [INFO] [stderr] --> wtf-hir/src/compiler.rs:741:39 [INFO] [stderr] | [INFO] [stderr] 741 | 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 `types` is never read [INFO] [stderr] --> wtf-hir/src/compiler.rs:325:5 [INFO] [stderr] | [INFO] [stderr] 319 | struct FunctionCompiler<'a> { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 325 | types: &'a HashMap, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [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] 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 14 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: `variant` [INFO] [stderr] --> wtf-encode/src/lib.rs:235:17 [INFO] [stderr] | [INFO] [stderr] 235 | variant, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `variant: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_payloads` [INFO] [stderr] --> wtf-encode/src/lib.rs:236:17 [INFO] [stderr] | [INFO] [stderr] 236 | num_payloads, [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:245:17 [INFO] [stderr] | [INFO] [stderr] 245 | 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:283:43 [INFO] [stderr] | [INFO] [stderr] 283 | 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:299:39 [INFO] [stderr] | [INFO] [stderr] 299 | 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: `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-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 14 warnings (14 duplicates) [INFO] [stderr] warning: `wtf-parser` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `wtf-ast` (lib test) generated 9 warnings (9 duplicates) [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(()), [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(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: `wtf-compiler` (bin "wtf-compiler" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wtf_ast-9412bb1c861d74bf) [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-47aec3af44ead759) [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-14af06b61be816ac) [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-f36c387b3b658702) [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-81c9064b2ccee536) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test lexer::tests::test_arrow ... ok [INFO] [stdout] test lexer::tests::test_bang ... ok [INFO] [stdout] test lexer::tests::test_contains ... ok [INFO] [stdout] test lexer::tests::test_double_colon ... ok [INFO] [stdout] test lexer::tests::test_double_equal ... 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_if_statement_with_comparison ... ok [INFO] [stdout] test lexer::tests::test_immutable_variable_declaration ... ok [INFO] [stdout] test lexer::tests::test_invalid_identifier ... 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_number_literals ... ok [INFO] [stdout] test lexer::tests::test_package_header ... ok [INFO] [stdout] test lexer::tests::test_preserve_newline_after_comment ... ok [INFO] [stdout] test lexer::tests::test_record_declaration ... 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.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wtf_parser-0a59b655f6accd5b) [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-ca5867c836409a24) [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-053205b0750695ef) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_parse_if_statement ... ok [INFO] [stdout] test test_parse_return_statement ... ok [INFO] [stdout] test test_parse_throw_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-45dfa376ddb3bcfc) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_parse_empty_enum_declaration ... ok [INFO] [stdout] test test_parse_enum_declaration ... ok [INFO] [stdout] test test_parse_variant_declaration_with_associated_types ... ok [INFO] [stdout] test test_parse_variant_declaration_with_mixed_cases ... ok [INFO] [stdout] test test_parse_variant_declaration_without_associated_types ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/error_types_test.rs (/opt/rustwide/target/debug/deps/error_types_test-77f3d0c9069db185) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_parse_function_return_type_result_optional ... 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_record_field_with_result_optional_type ... 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-433be9939ecbb2cf) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_export_enum ... ok [INFO] [stdout] test tests::test_export_function ... ok [INFO] [stdout] test tests::test_export_record ... ok [INFO] [stdout] test tests::test_export_variant ... ok [INFO] [stdout] test tests::test_export_resource ... 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-273c6cbbc209407b) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_parse_null_coalescing_operator ... ok [INFO] [stdout] test test_parse_optional_assignment_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] [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] [stderr] Running tests/parser_test.rs (/opt/rustwide/target/debug/deps/parser_test-66ca3a65fb1e1fc1) [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_package_declaration_versioned ... ok [INFO] [stdout] test test_parse_plus_assign ... ok [INFO] [stdout] test test_parse_use_declaration ... ok [INFO] [stdout] test test_parse_resource_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.00s [INFO] [stdout] [INFO] [stderr] Running tests/record_test.rs (/opt/rustwide/target/debug/deps/record_test-930a5492a6ab02a3) [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_expressions ... ok [INFO] [stdout] test test_parse_record_literal_with_list_field ... ok [INFO] [stdout] test test_parse_record_literal_with_type ... ok [INFO] [stdout] test test_parse_record_literal_with_type_and_expressions ... ok [INFO] [stdout] test test_parse_record_literal_without_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 1 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_wasm-92da75e333eb058d) [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_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" "191d9ce15ab1c3f52cd484b0e9701933df819888b035397272b8617f644f9b37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191d9ce15ab1c3f52cd484b0e9701933df819888b035397272b8617f644f9b37", kill_on_drop: false }` [INFO] [stdout] 191d9ce15ab1c3f52cd484b0e9701933df819888b035397272b8617f644f9b37