[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] cf9105202597cd9f407cc9c6ac997ab7699464f0 [INFO] testing antoniusnaumann/wtf-lang against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantoniusnaumann%2Fwtf-lang" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antoniusnaumann/wtf-lang on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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-1-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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07f66061522714eaf59283ed0028c02632051d1b9143adffb7e4c4ea92bed105 [INFO] running `Command { std: "docker" "start" "-a" "07f66061522714eaf59283ed0028c02632051d1b9143adffb7e4c4ea92bed105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07f66061522714eaf59283ed0028c02632051d1b9143adffb7e4c4ea92bed105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f66061522714eaf59283ed0028c02632051d1b9143adffb7e4c4ea92bed105", kill_on_drop: false }` [INFO] [stdout] 07f66061522714eaf59283ed0028c02632051d1b9143adffb7e4c4ea92bed105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93a96a43b14381515c59442bf01553ad837c008fa12f8f9ef673c45adff9686a [INFO] running `Command { std: "docker" "start" "-a" "93a96a43b14381515c59442bf01553ad837c008fa12f8f9ef673c45adff9686a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cranelift-isle v0.113.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.113.1 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling cranelift-codegen-meta v0.113.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rustix v0.38.40 [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 jobserver v0.1.32 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling wasmtime-component-util v26.0.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wtf-ast v0.0.0 (/opt/rustwide/workdir/wtf-ast) [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling termcolor v1.4.1 [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 dirs-sys-next v0.1.2 [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> wtf-ast/src/display.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | 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:155:54 [INFO] [stdout] | [INFO] [stdout] 155 | 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:155:69 [INFO] [stdout] | [INFO] [stdout] 155 | 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:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | 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:161:54 [INFO] [stdout] | [INFO] [stdout] 161 | 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:161:69 [INFO] [stdout] | [INFO] [stdout] 161 | 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:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | 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:167:54 [INFO] [stdout] | [INFO] [stdout] 167 | 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:167:69 [INFO] [stdout] | [INFO] [stdout] 167 | 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:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | 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:289:42 [INFO] [stdout] | [INFO] [stdout] 289 | Expression::YeetExpression { expression } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> wtf-ast/src/display.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | receiver, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `receiver: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> wtf-ast/src/display.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | method, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `method: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> wtf-ast/src/display.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `safe` [INFO] [stdout] --> wtf-ast/src/display.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | safe, [INFO] [stdout] | ^^^^ help: try ignoring the field: `safe: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> wtf-ast/src/display.rs:313:39 [INFO] [stdout] | [INFO] [stdout] 313 | Expression::IndexAccess { collection, index } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `collection: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> wtf-ast/src/display.rs:313:51 [INFO] [stdout] | [INFO] [stdout] 313 | Expression::IndexAccess { collection, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling wasm-encoder v0.220.0 [INFO] [stderr] Compiling cranelift-control v0.113.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling wasm-encoder v0.218.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling wasmtime-component-macro v26.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling wasmtime-cache v26.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.15 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling wtf-parser v0.0.0 (/opt/rustwide/workdir/wtf-parser) [INFO] [stderr] Compiling fxhash v0.2.1 [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 directories-next v2.0.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling wasm-encoder v0.217.0 [INFO] [stderr] Compiling wasmtime-asm-macros v26.0.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling wast v220.0.0 [INFO] [stderr] Compiling wtf-hir v0.0.0 (/opt/rustwide/workdir/wtf-hir) [INFO] [stdout] warning: unused import: `any::Any` [INFO] [stdout] --> wtf-hir/src/compiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | any::Any, [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-hir/src/compiler.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | 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] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stdout] warning: unused variable: `ex` [INFO] [stdout] --> wtf-hir/src/compiler.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | ast::Declaration::Export(ex) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ex` [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:302:32 [INFO] [stdout] | [INFO] [stdout] 302 | 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: `then` [INFO] [stdout] --> wtf-hir/src/compiler.rs:391:31 [INFO] [stdout] | [INFO] [stdout] 391 | 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:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | 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:399:34 [INFO] [stdout] | [INFO] [stdout] 399 | 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:400:21 [INFO] [stdout] | [INFO] [stdout] 400 | 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: `block` [INFO] [stdout] --> wtf-hir/src/compiler.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 402 | Instruction::Loop(block) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ittapi-sys v0.4.0 [INFO] [stdout] warning: unused variable: `safe` [INFO] [stdout] --> wtf-hir/src/compiler.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | safe, [INFO] [stdout] | ^^^^ help: try ignoring the field: `safe: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wtf-hir/src/compiler.rs:598:39 [INFO] [stdout] | [INFO] [stdout] 598 | ast::Expression::Record { name, members } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wtf-wasm v0.0.0 (/opt/rustwide/workdir/wtf-wasm) [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v26.0.1 [INFO] [stdout] warning: unused import: `crate::Type` [INFO] [stdout] --> wtf-wasm/src/instruction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Type; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> wtf-wasm/src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 306 | continue; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 307 | // TODO: This does not work currently [INFO] [stdout] 308 | / if ty.export { [INFO] [stdout] 309 | | exports.push((&ty.name, idx, ComponentExportKind::Type)); [INFO] [stdout] 310 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stdout] warning: type `visible::Scope` is more private than the item `Visible::snapshot` [INFO] [stdout] --> wtf-hir/src/visible.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | 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:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | 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:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Scope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mutable` is never read [INFO] [stdout] --> wtf-hir/src/visible.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Binding { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | mutable: bool, [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-wasm/src/lib.rs:456:39 [INFO] [stdout] | [INFO] [stdout] 456 | Instruction::Loop => vec![WasmInstruction::Loop(todo!())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:457:40 [INFO] [stdout] | [INFO] [stdout] 457 | 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] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:458:41 [INFO] [stdout] | [INFO] [stdout] 458 | Instruction::Branch => vec![WasmInstruction::Br(todo!())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:459:43 [INFO] [stdout] | [INFO] [stdout] 459 | Instruction::BranchIf => vec![WasmInstruction::BrIf(todo!())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> wtf-hir/src/visible.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | 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:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Visible { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn snapshot(&self) -> Scope { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn restore(&mut self, scope: Scope) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constants` [INFO] [stdout] --> wtf-wasm/src/lib.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn new(constants: HashSet>) -> ComponentBuilder { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constants` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wtf-wasm/src/lib.rs:305:14 [INFO] [stdout] | [INFO] [stdout] 305 | 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] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wtf-wasm/src/lib.rs:305:19 [INFO] [stdout] | [INFO] [stdout] 305 | 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:421:36 [INFO] [stdout] | [INFO] [stdout] 421 | let Type::Record { fields } = &ty.ty else { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmparser v0.218.0 [INFO] [stderr] Compiling wasmtime-slab v26.0.1 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling cranelift-codegen v0.113.1 [INFO] [stderr] Compiling ittapi v0.4.0 [INFO] [stderr] Compiling memfd v0.6.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling wasmtime-versioned-export-macros v26.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling wasmtime-fiber v26.0.1 [INFO] [stderr] Compiling wasmtime v26.0.1 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling wat v1.220.0 [INFO] [stderr] Compiling wit-parser v0.218.0 [INFO] [stderr] Compiling cranelift-bitset v0.113.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling postcard v1.0.10 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling cranelift-entity v0.113.1 [INFO] [stderr] Compiling cranelift-bforest v0.113.1 [INFO] [stderr] Compiling regalloc2 v0.10.2 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling wasmparser v0.217.0 [INFO] [stderr] Compiling wasmparser v0.219.1 [INFO] [stderr] Compiling fxprof-processed-profile v0.6.0 [INFO] [stderr] Compiling wasmtime-wit-bindgen v26.0.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling wasmtime-jit-debug v26.0.1 [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:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | 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:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | 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:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | 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:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | 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:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | 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:235:43 [INFO] [stdout] | [INFO] [stdout] 235 | 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:247:39 [INFO] [stdout] | [INFO] [stdout] 247 | hir::Instruction::Match { arms } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `arms: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmprinter v0.218.0 [INFO] [stderr] Compiling wasmtime-environ v26.0.1 [INFO] [stderr] Compiling cranelift-frontend v0.113.1 [INFO] [stderr] Compiling cranelift-native v0.113.1 [INFO] [stderr] Compiling wasmtime-cranelift v26.0.1 [INFO] [stderr] Compiling wtf-compiler v0.0.0 (/opt/rustwide/workdir/wtf-compiler) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 26s [INFO] running `Command { std: "docker" "inspect" "93a96a43b14381515c59442bf01553ad837c008fa12f8f9ef673c45adff9686a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a96a43b14381515c59442bf01553ad837c008fa12f8f9ef673c45adff9686a", kill_on_drop: false }` [INFO] [stdout] 93a96a43b14381515c59442bf01553ad837c008fa12f8f9ef673c45adff9686a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d47ad410f2266a30ec444d8530c25e0f049d1d28d5a1bc77595483c755264889 [INFO] running `Command { std: "docker" "start" "-a" "d47ad410f2266a30ec444d8530c25e0f049d1d28d5a1bc77595483c755264889", 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:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | 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:155:54 [INFO] [stdout] | [INFO] [stdout] 155 | 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:155:69 [INFO] [stdout] | [INFO] [stdout] 155 | 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:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | 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:161:54 [INFO] [stdout] | [INFO] [stdout] 161 | 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:161:69 [INFO] [stdout] | [INFO] [stdout] 161 | 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:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | 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:167:54 [INFO] [stdout] | [INFO] [stdout] 167 | 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:167:69 [INFO] [stdout] | [INFO] [stdout] 167 | 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:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | 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:289:42 [INFO] [stdout] | [INFO] [stdout] 289 | Expression::YeetExpression { expression } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> wtf-ast/src/display.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | receiver, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `receiver: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> wtf-ast/src/display.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | method, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `method: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> wtf-ast/src/display.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `safe` [INFO] [stdout] --> wtf-ast/src/display.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | safe, [INFO] [stdout] | ^^^^ help: try ignoring the field: `safe: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> wtf-ast/src/display.rs:313:39 [INFO] [stdout] | [INFO] [stdout] 313 | Expression::IndexAccess { collection, index } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `collection: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> wtf-ast/src/display.rs:313:51 [INFO] [stdout] | [INFO] [stdout] 313 | Expression::IndexAccess { collection, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `found` and `expected` are never read [INFO] [stdout] --> wtf-parser/src/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ParserError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | found: SpannedToken, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | expected: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Type` [INFO] [stdout] --> wtf-wasm/src/instruction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Type; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> wtf-wasm/src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 306 | continue; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 307 | // TODO: This does not work currently [INFO] [stdout] 308 | / if ty.export { [INFO] [stdout] 309 | | exports.push((&ty.name, idx, ComponentExportKind::Type)); [INFO] [stdout] 310 | | } [INFO] [stdout] | |_____________^ unreachable expression [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:456:39 [INFO] [stdout] | [INFO] [stdout] 456 | Instruction::Loop => vec![WasmInstruction::Loop(todo!())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:457:40 [INFO] [stdout] | [INFO] [stdout] 457 | 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] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:458:41 [INFO] [stdout] | [INFO] [stdout] 458 | Instruction::Branch => vec![WasmInstruction::Br(todo!())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:459:43 [INFO] [stdout] | [INFO] [stdout] 459 | Instruction::BranchIf => vec![WasmInstruction::BrIf(todo!())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constants` [INFO] [stdout] --> wtf-wasm/src/lib.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn new(constants: HashSet>) -> ComponentBuilder { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constants` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wtf-wasm/src/lib.rs:305:14 [INFO] [stdout] | [INFO] [stdout] 305 | 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] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wtf-wasm/src/lib.rs:305:19 [INFO] [stdout] | [INFO] [stdout] 305 | 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:421:36 [INFO] [stdout] | [INFO] [stdout] 421 | let Type::Record { fields } = &ty.ty else { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::Any` [INFO] [stdout] --> wtf-hir/src/compiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | any::Any, [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-hir/src/compiler.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | 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: `ex` [INFO] [stdout] --> wtf-hir/src/compiler.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | ast::Declaration::Export(ex) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ex` [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:302:32 [INFO] [stdout] | [INFO] [stdout] 302 | 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: `then` [INFO] [stdout] --> wtf-hir/src/compiler.rs:391:31 [INFO] [stdout] | [INFO] [stdout] 391 | 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:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | 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:399:34 [INFO] [stdout] | [INFO] [stdout] 399 | 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:400:21 [INFO] [stdout] | [INFO] [stdout] 400 | 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: `block` [INFO] [stdout] --> wtf-hir/src/compiler.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 402 | Instruction::Loop(block) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `safe` [INFO] [stdout] --> wtf-hir/src/compiler.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | safe, [INFO] [stdout] | ^^^^ help: try ignoring the field: `safe: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wtf-hir/src/compiler.rs:598:39 [INFO] [stdout] | [INFO] [stdout] 598 | 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:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | 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:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | 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:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Scope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mutable` is never read [INFO] [stdout] --> wtf-hir/src/visible.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Binding { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | 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:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | 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:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Visible { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn snapshot(&self) -> Scope { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn restore(&mut self, scope: Scope) { [INFO] [stdout] | ^^^^^^^ [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] [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:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | 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:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | 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:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | 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:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | 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:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | 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:235:43 [INFO] [stdout] | [INFO] [stdout] 235 | 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:247:39 [INFO] [stdout] | [INFO] [stdout] 247 | hir::Instruction::Match { arms } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `arms: _` [INFO] [stdout] [INFO] [stdout] [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-ast v0.0.0 (/opt/rustwide/workdir/wtf-ast) [INFO] [stderr] Compiling wtf-compiler v0.0.0 (/opt/rustwide/workdir/wtf-compiler) [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 import: `crate::Type` [INFO] [stdout] --> wtf-wasm/src/instruction.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Type; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: `ok` [INFO] [stdout] --> wtf-encode/src/lib.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | 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:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | hir::Type::Result { ok, err } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `err: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::Any` [INFO] [stdout] --> wtf-hir/src/compiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | any::Any, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variant` [INFO] [stdout] --> wtf-encode/src/lib.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | 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:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | 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:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | 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:235:43 [INFO] [stdout] | [INFO] [stdout] 235 | 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:247:39 [INFO] [stdout] | [INFO] [stdout] 247 | hir::Instruction::Match { arms } => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `arms: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> wtf-wasm/src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 306 | continue; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 307 | // TODO: This does not work currently [INFO] [stdout] 308 | / if ty.export { [INFO] [stdout] 309 | | exports.push((&ty.name, idx, ComponentExportKind::Type)); [INFO] [stdout] 310 | | } [INFO] [stdout] | |_____________^ unreachable expression [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:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | 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:456:39 [INFO] [stdout] | [INFO] [stdout] 456 | Instruction::Loop => vec![WasmInstruction::Loop(todo!())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:457:40 [INFO] [stdout] | [INFO] [stdout] 457 | 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] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:458:41 [INFO] [stdout] | [INFO] [stdout] 458 | Instruction::Branch => vec![WasmInstruction::Br(todo!())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> wtf-wasm/src/lib.rs:459:43 [INFO] [stdout] | [INFO] [stdout] 459 | Instruction::BranchIf => vec![WasmInstruction::BrIf(todo!())], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constants` [INFO] [stdout] --> wtf-wasm/src/lib.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn new(constants: HashSet>) -> ComponentBuilder { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constants` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ex` [INFO] [stdout] --> wtf-hir/src/compiler.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | ast::Declaration::Export(ex) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> wtf-wasm/src/lib.rs:305:14 [INFO] [stdout] | [INFO] [stdout] 305 | 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] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> wtf-wasm/src/lib.rs:305:19 [INFO] [stdout] | [INFO] [stdout] 305 | 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: `local_id` [INFO] [stdout] --> wtf-hir/src/compiler.rs:302:32 [INFO] [stdout] | [INFO] [stdout] 302 | 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: `then` [INFO] [stdout] --> wtf-hir/src/compiler.rs:391:31 [INFO] [stdout] | [INFO] [stdout] 391 | 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:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | 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:399:34 [INFO] [stdout] | [INFO] [stdout] 399 | 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:400:21 [INFO] [stdout] | [INFO] [stdout] 400 | 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: `block` [INFO] [stdout] --> wtf-hir/src/compiler.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 402 | Instruction::Loop(block) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `safe` [INFO] [stdout] --> wtf-hir/src/compiler.rs:554:17 [INFO] [stdout] | [INFO] [stdout] 554 | safe, [INFO] [stdout] | ^^^^ help: try ignoring the field: `safe: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> wtf-hir/src/compiler.rs:598:39 [INFO] [stdout] | [INFO] [stdout] 598 | ast::Expression::Record { name, members } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> wtf-wasm/src/lib.rs:421:36 [INFO] [stdout] | [INFO] [stdout] 421 | let Type::Record { fields } = &ty.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:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | 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:155:54 [INFO] [stdout] | [INFO] [stdout] 155 | 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:155:69 [INFO] [stdout] | [INFO] [stdout] 155 | 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:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | 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:161:54 [INFO] [stdout] | [INFO] [stdout] 161 | 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:161:69 [INFO] [stdout] | [INFO] [stdout] 161 | 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:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | 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:167:54 [INFO] [stdout] | [INFO] [stdout] 167 | 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:167:69 [INFO] [stdout] | [INFO] [stdout] 167 | 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:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | TypeAnnotation::Tuple(members) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_members` [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:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | 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:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | 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:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Scope { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mutable` is never read [INFO] [stdout] --> wtf-hir/src/visible.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Binding { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | 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:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | 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:30:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Visible { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn snapshot(&self) -> Scope { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn restore(&mut self, scope: Scope) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> wtf-ast/src/display.rs:289:42 [INFO] [stdout] | [INFO] [stdout] 289 | Expression::YeetExpression { expression } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> wtf-ast/src/display.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | receiver, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `receiver: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> wtf-ast/src/display.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 298 | method, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `method: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> wtf-ast/src/display.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `safe` [INFO] [stdout] --> wtf-ast/src/display.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | safe, [INFO] [stdout] | ^^^^ help: try ignoring the field: `safe: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> wtf-ast/src/display.rs:313:39 [INFO] [stdout] | [INFO] [stdout] 313 | Expression::IndexAccess { collection, index } => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `collection: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> wtf-ast/src/display.rs:313:51 [INFO] [stdout] | [INFO] [stdout] 313 | Expression::IndexAccess { collection, index } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `index: _` [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 4.23s [INFO] running `Command { std: "docker" "inspect" "d47ad410f2266a30ec444d8530c25e0f049d1d28d5a1bc77595483c755264889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47ad410f2266a30ec444d8530c25e0f049d1d28d5a1bc77595483c755264889", kill_on_drop: false }` [INFO] [stdout] d47ad410f2266a30ec444d8530c25e0f049d1d28d5a1bc77595483c755264889 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 18641d6d2df5d89e0096c83efa9d4cb084e8bee8d2207da7ff7b099838a61ec1 [INFO] running `Command { std: "docker" "start" "-a" "18641d6d2df5d89e0096c83efa9d4cb084e8bee8d2207da7ff7b099838a61ec1", 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:155:21 [INFO] [stderr] | [INFO] [stderr] 155 | 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:155:54 [INFO] [stderr] | [INFO] [stderr] 155 | 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:155:69 [INFO] [stderr] | [INFO] [stderr] 155 | 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:161:21 [INFO] [stderr] | [INFO] [stderr] 161 | 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:161:54 [INFO] [stderr] | [INFO] [stderr] 161 | 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:161:69 [INFO] [stderr] | [INFO] [stderr] 161 | 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:167:21 [INFO] [stderr] | [INFO] [stderr] 167 | 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:167:54 [INFO] [stderr] | [INFO] [stderr] 167 | 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:167:69 [INFO] [stderr] | [INFO] [stderr] 167 | 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:205:35 [INFO] [stderr] | [INFO] [stderr] 205 | 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:289:42 [INFO] [stderr] | [INFO] [stderr] 289 | Expression::YeetExpression { expression } => todo!(), [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `receiver` [INFO] [stderr] --> wtf-ast/src/display.rs:297:17 [INFO] [stderr] | [INFO] [stderr] 297 | receiver, [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `receiver: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `method` [INFO] [stderr] --> wtf-ast/src/display.rs:298:17 [INFO] [stderr] | [INFO] [stderr] 298 | method, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `method: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arguments` [INFO] [stderr] --> wtf-ast/src/display.rs:299:17 [INFO] [stderr] | [INFO] [stderr] 299 | arguments, [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `safe` [INFO] [stderr] --> wtf-ast/src/display.rs:300:17 [INFO] [stderr] | [INFO] [stderr] 300 | safe, [INFO] [stderr] | ^^^^ help: try ignoring the field: `safe: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `collection` [INFO] [stderr] --> wtf-ast/src/display.rs:313:39 [INFO] [stderr] | [INFO] [stderr] 313 | Expression::IndexAccess { collection, index } => todo!(), [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `collection: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> wtf-ast/src/display.rs:313:51 [INFO] [stderr] | [INFO] [stderr] 313 | Expression::IndexAccess { collection, index } => todo!(), [INFO] [stderr] | ^^^^^ help: try ignoring the field: `index: _` [INFO] [stderr] [INFO] [stderr] warning: `wtf-ast` (lib) generated 18 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: unused import: `crate::Type` [INFO] [stderr] --> wtf-wasm/src/instruction.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::Type; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> wtf-wasm/src/lib.rs:308:13 [INFO] [stderr] | [INFO] [stderr] 306 | continue; [INFO] [stderr] | -------- any code following this expression is unreachable [INFO] [stderr] 307 | // TODO: This does not work currently [INFO] [stderr] 308 | / if ty.export { [INFO] [stderr] 309 | | exports.push((&ty.name, idx, ComponentExportKind::Type)); [INFO] [stderr] 310 | | } [INFO] [stderr] | |_____________^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> wtf-wasm/src/lib.rs:456:39 [INFO] [stderr] | [INFO] [stderr] 456 | Instruction::Loop => vec![WasmInstruction::Loop(todo!())], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stderr] | | [INFO] [stderr] | unreachable call [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> wtf-wasm/src/lib.rs:457:40 [INFO] [stderr] | [INFO] [stderr] 457 | 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] warning: unreachable call [INFO] [stderr] --> wtf-wasm/src/lib.rs:458:41 [INFO] [stderr] | [INFO] [stderr] 458 | Instruction::Branch => vec![WasmInstruction::Br(todo!())], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stderr] | | [INFO] [stderr] | unreachable call [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> wtf-wasm/src/lib.rs:459:43 [INFO] [stderr] | [INFO] [stderr] 459 | Instruction::BranchIf => vec![WasmInstruction::BrIf(todo!())], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable [INFO] [stderr] | | [INFO] [stderr] | unreachable call [INFO] [stderr] [INFO] [stderr] warning: unused variable: `constants` [INFO] [stderr] --> wtf-wasm/src/lib.rs:113:16 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn new(constants: HashSet>) -> ComponentBuilder { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constants` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> wtf-wasm/src/lib.rs:305:14 [INFO] [stderr] | [INFO] [stderr] 305 | 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] warning: unused variable: `ty` [INFO] [stderr] --> wtf-wasm/src/lib.rs:305:19 [INFO] [stderr] | [INFO] [stderr] 305 | 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:421:36 [INFO] [stderr] | [INFO] [stderr] 421 | let Type::Record { fields } = &ty.ty else { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `fields: _` [INFO] [stderr] [INFO] [stderr] warning: unused import: `any::Any` [INFO] [stderr] --> wtf-hir/src/compiler.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | any::Any, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable call [INFO] [stderr] --> wtf-hir/src/compiler.rs:320:33 [INFO] [stderr] | [INFO] [stderr] 320 | 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: `ex` [INFO] [stderr] --> wtf-hir/src/compiler.rs:51:38 [INFO] [stderr] | [INFO] [stderr] 51 | ast::Declaration::Export(ex) => { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ex` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `local_id` [INFO] [stderr] --> wtf-hir/src/compiler.rs:302:32 [INFO] [stderr] | [INFO] [stderr] 302 | Instruction::Store(local_id) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `then` [INFO] [stderr] --> wtf-hir/src/compiler.rs:391:31 [INFO] [stderr] | [INFO] [stderr] 391 | 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:391:37 [INFO] [stderr] | [INFO] [stderr] 391 | 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:399:34 [INFO] [stderr] | [INFO] [stderr] 399 | 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:400:21 [INFO] [stderr] | [INFO] [stderr] 400 | 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: `block` [INFO] [stderr] --> wtf-hir/src/compiler.rs:402:31 [INFO] [stderr] | [INFO] [stderr] 402 | Instruction::Loop(block) => todo!(), [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `safe` [INFO] [stderr] --> wtf-hir/src/compiler.rs:554:17 [INFO] [stderr] | [INFO] [stderr] 554 | safe, [INFO] [stderr] | ^^^^ help: try ignoring the field: `safe: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> wtf-hir/src/compiler.rs:598:39 [INFO] [stderr] | [INFO] [stderr] 598 | 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:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | 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:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | 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:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | 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:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | struct Scope { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `mutable` is never read [INFO] [stderr] --> wtf-hir/src/visible.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | struct Binding { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 8 | mutable: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Scope` is never constructed [INFO] [stderr] --> wtf-hir/src/visible.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | struct Scope { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `snapshot` and `restore` are never used [INFO] [stderr] --> wtf-hir/src/visible.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl Visible { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn snapshot(&self) -> Scope { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn restore(&mut self, scope: Scope) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wtf-wasm` (lib) generated 10 warnings (run `cargo fix --lib -p wtf-wasm` to apply 1 suggestion) [INFO] [stderr] warning: `wtf-hir` (lib) generated 16 warnings (run `cargo fix --lib -p wtf-hir` to apply 1 suggestion) [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:89:33 [INFO] [stderr] | [INFO] [stderr] 89 | 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:89:37 [INFO] [stderr] | [INFO] [stderr] 89 | 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:190:17 [INFO] [stderr] | [INFO] [stderr] 190 | 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:191:17 [INFO] [stderr] | [INFO] [stderr] 191 | 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:197:17 [INFO] [stderr] | [INFO] [stderr] 197 | 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:235:43 [INFO] [stderr] | [INFO] [stderr] 235 | 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:247:39 [INFO] [stderr] | [INFO] [stderr] 247 | 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: 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-wasm` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] warning: `wtf-parser` (test "collection_test") generated 3 warnings (run `cargo fix --test "collection_test"` to apply 3 suggestions) [INFO] [stderr] warning: `wtf-hir` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] warning: `wtf-parser` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `wtf-ast` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wtf_ast-63dbf59c7d974b45) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wtf_compiler-2512629bb4162031) [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-bb2e2526ba4d957f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wtf_hir-1886b33795aa0857) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wtf_parser-521b5e172679efb4) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test lexer::tests::test_arrow ... ok [INFO] [stdout] test lexer::tests::test_bang ... ok [INFO] [stdout] test lexer::tests::test_double_colon ... ok [INFO] [stdout] test lexer::tests::test_contains ... 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_invalid_identifier ... ok [INFO] [stdout] test lexer::tests::test_record_declaration ... ok [INFO] [stdout] test lexer::tests::test_number_literals ... ok [INFO] [stdout] test lexer::tests::test_safe_call ... ok [INFO] [stdout] test lexer::tests::test_string_literal ... ok [INFO] [stdout] test lexer::tests::test_immutable_variable_declaration ... ok [INFO] [stdout] test lexer::tests::test_preserve_newline_after_comment ... ok [INFO] [stdout] test lexer::tests::test_if_statement_with_comparison ... 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_package_header ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wtf_parser-506ac45686085ae1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/collection_test.rs (/opt/rustwide/target/debug/deps/collection_test-c46c35c821b35929) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/control_flow_test.rs (/opt/rustwide/target/debug/deps/control_flow_test-4145a5e2c51b3749) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_parse_if_statement ... ok [INFO] [stdout] test test_parse_return_statement ... ok [INFO] [stdout] test test_parse_throw_statement ... ok [INFO] [stdout] [INFO] [stderr] Running tests/enum_test.rs (/opt/rustwide/target/debug/deps/enum_test-5d2450003c1ee8d7) [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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_mixed_cases ... ok [INFO] [stdout] test test_parse_variant_declaration_with_associated_types ... ok [INFO] [stdout] test test_parse_variant_declaration_without_associated_types ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/error_types_test.rs (/opt/rustwide/target/debug/deps/error_types_test-af07116df6376768) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_parse_function_return_type_result_optional ... 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_default_error ... ok [INFO] [stdout] test test_parse_function_return_type_with_result ... ok [INFO] [stdout] test test_parse_record_field_with_result_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/export_test.rs (/opt/rustwide/target/debug/deps/export_test-4b954848a6e9a91d) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_export_function ... ok [INFO] [stdout] test tests::test_export_enum ... ok [INFO] [stdout] test tests::test_export_resource ... ok [INFO] [stdout] test tests::test_export_with_package_and_use ... ok [INFO] [stdout] test tests::test_export_record ... ok [INFO] [stdout] test tests::test_export_variant ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/optionals_test.rs (/opt/rustwide/target/debug/deps/optionals_test-adeeda17db5a0b99) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_parse_null_coalescing_operator ... ok [INFO] [stdout] test test_parse_optional_type_shorthand ... ok [INFO] [stdout] test test_parse_optional_type ... ok [INFO] [stdout] test test_parse_optional_type_with_init ... ok [INFO] [stdout] test test_parse_optional_assignment_operator ... ok [INFO] [stdout] test test_parse_optional_type_with_init_shorthand ... ok [INFO] [stdout] test test_parse_optional_chaining ... 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-dd81a9b559920799) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_parse_function_declaration ... ok [INFO] [stdout] test test_parse_package_declaration ... ok [INFO] [stdout] test test_parse_plus_assign ... ok [INFO] [stdout] test test_parse_resource_declaration ... ok [INFO] [stdout] test test_parse_use_declaration ... ok [INFO] [stdout] test test_parse_package_declaration_versioned ... ok [INFO] [stdout] test test_parse_use_declaration_two_imports ... ok [INFO] [stdout] test test_parse_variable_declaration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/record_test.rs (/opt/rustwide/target/debug/deps/record_test-d38892c34718888d) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_parse_empty_record_literal ... ok [INFO] [stdout] test test_parse_record_literal_with_spread ... ignored, TODO: Implement spreading and update this test [INFO] [stdout] test test_parse_nested_record_literal ... ok [INFO] [stdout] test test_parse_record_literal_with_expressions ... 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] test test_parse_record_literal_with_list_field ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wtf_wasm-963ab935b32548a0) [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] [stderr] Doc-tests wtf_ast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] 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" "18641d6d2df5d89e0096c83efa9d4cb084e8bee8d2207da7ff7b099838a61ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18641d6d2df5d89e0096c83efa9d4cb084e8bee8d2207da7ff7b099838a61ec1", kill_on_drop: false }` [INFO] [stdout] 18641d6d2df5d89e0096c83efa9d4cb084e8bee8d2207da7ff7b099838a61ec1