[INFO] cloning repository https://github.com/KokiHirokawa/mini-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KokiHirokawa/mini-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKokiHirokawa%2Fmini-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKokiHirokawa%2Fmini-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d6deb68db8fad6c013668081bb5778c86f8dfa1 [INFO] checking KokiHirokawa/mini-wasm against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKokiHirokawa%2Fmini-wasm" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KokiHirokawa/mini-wasm on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KokiHirokawa/mini-wasm [INFO] finished tweaking git repo https://github.com/KokiHirokawa/mini-wasm [INFO] tweaked toml for git repo https://github.com/KokiHirokawa/mini-wasm written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KokiHirokawa/mini-wasm 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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] def24762822dbd893ffb101cea85533e34fdeb1f639e2f08c0ee160e591db647 [INFO] running `Command { std: "docker" "start" "-a" "def24762822dbd893ffb101cea85533e34fdeb1f639e2f08c0ee160e591db647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "def24762822dbd893ffb101cea85533e34fdeb1f639e2f08c0ee160e591db647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "def24762822dbd893ffb101cea85533e34fdeb1f639e2f08c0ee160e591db647", kill_on_drop: false }` [INFO] [stdout] def24762822dbd893ffb101cea85533e34fdeb1f639e2f08c0ee160e591db647 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcd43ae27feae1766fb90e689ec339bd028569becc94b847edd36d1f3d02cee0 [INFO] running `Command { std: "docker" "start" "-a" "fcd43ae27feae1766fb90e689ec339bd028569becc94b847edd36d1f3d02cee0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking mini-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::structure::instructions::expression::Instr` [INFO] [stdout] --> src/execution/instance.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structure::instructions::expression::Instr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structure::types::value::NumType` [INFO] [stdout] --> src/execution/instance.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::structure::types::value::NumType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structure::types::value::ValType` [INFO] [stdout] --> src/execution/instance.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::structure::types::value::ValType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structure::instructions::expression::Instr` [INFO] [stdout] --> src/execution/instance.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structure::instructions::expression::Instr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structure::types::value::NumType` [INFO] [stdout] --> src/execution/instance.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::structure::types::value::NumType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structure::types::value::ValType` [INFO] [stdout] --> src/execution/instance.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::structure::types::value::ValType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_size` [INFO] [stdout] --> src/decoder.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let section_size = self.input[self.pos]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decoder.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | for i in 0..num_of_func_types { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decoder.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut num_of_results = self.input[self.pos]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_size` [INFO] [stdout] --> src/decoder.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let section_size = self.input[self.pos]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_size` [INFO] [stdout] --> src/decoder.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let section_size = self.decode_u32()?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_size` [INFO] [stdout] --> src/decoder.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | let section_size = self.decode_u32()?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/decoder.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let size = self.decode_u32()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_type` [INFO] [stdout] --> src/execution/structure.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | Instr::If(block_type, instructions1, instructions2) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/execution/structure.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | self.execute_i32_binop(|lhs, rhs| lhs.ge(&lhs) as i32); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `alloc_module` in this scope [INFO] [stdout] --> src/execution/instance.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 131 | let (store, module_inst) = alloc_module(store, module); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `alloc_module` in this scope [INFO] [stdout] --> src/execution/instance.rs:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | let (store, module_inst) = alloc_module(store, module); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ExportInst` is more private than the item `ModuleInst::exports` [INFO] [stdout] --> src/execution/instance.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub exports: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `ModuleInst::exports` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ExportInst` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/execution/instance.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | struct ExportInst { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_size` [INFO] [stdout] --> src/decoder.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let section_size = self.input[self.pos]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decoder.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | for i in 0..num_of_func_types { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decoder.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut num_of_results = self.input[self.pos]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_size` [INFO] [stdout] --> src/decoder.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | let section_size = self.input[self.pos]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_size` [INFO] [stdout] --> src/decoder.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let section_size = self.decode_u32()?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section_size` [INFO] [stdout] --> src/decoder.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | let section_size = self.decode_u32()?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/decoder.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let size = self.decode_u32()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/execution/structure.rs:309:11 [INFO] [stdout] | [INFO] [stdout] 309 | Frame(Rc>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StackValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 309 - Frame(Rc>), [INFO] [stdout] 309 + Frame(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Label` is never constructed [INFO] [stdout] --> src/execution/structure.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 306 | pub enum StackValue { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 307 | Value(Val), [INFO] [stdout] 308 | Label(Label), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `argument_arity` is never read [INFO] [stdout] --> src/execution/structure.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 313 | pub struct Label { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 314 | pub argument_arity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Label` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `return_arity` is never read [INFO] [stdout] --> src/execution/structure.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 319 | pub struct Frame { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 320 | pub return_arity: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Frame` is never constructed [INFO] [stdout] --> src/execution/structure.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub enum AdministrativeInstruction { [INFO] [stdout] | ------------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 351 | Frame, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Empty` is never constructed [INFO] [stdout] --> src/structure/instructions/expression.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum BlockType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 9 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decoder.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(input: &'a [u8]) -> Decoder { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(input: &'a [u8]) -> Decoder<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_type` [INFO] [stdout] --> src/execution/structure.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | Instr::If(block_type, instructions1, instructions2) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/execution/structure.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | self.execute_i32_binop(|lhs, rhs| lhs.ge(&lhs) as i32); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-wasm` (bin "mini-wasm" test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fcd43ae27feae1766fb90e689ec339bd028569becc94b847edd36d1f3d02cee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcd43ae27feae1766fb90e689ec339bd028569becc94b847edd36d1f3d02cee0", kill_on_drop: false }` [INFO] [stdout] fcd43ae27feae1766fb90e689ec339bd028569becc94b847edd36d1f3d02cee0