[INFO] cloning repository https://github.com/ppppqp/wasm-rustime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ppppqp/wasm-rustime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fppppqp%2Fwasm-rustime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fppppqp%2Fwasm-rustime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fec35c4bc4e32f8733544924260c7368f894ed30 [INFO] checking ppppqp/wasm-rustime against master#613bdd49978298648ed05ace086bd1ecad54b44a for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fppppqp%2Fwasm-rustime" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ppppqp/wasm-rustime on toolchain 613bdd49978298648ed05ace086bd1ecad54b44a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ppppqp/wasm-rustime [INFO] finished tweaking git repo https://github.com/ppppqp/wasm-rustime [INFO] tweaked toml for git repo https://github.com/ppppqp/wasm-rustime written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ppppqp/wasm-rustime 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" "+613bdd49978298648ed05ace086bd1ecad54b44a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f4ebdabc43ab80b48a2db93113d4648faa37e07f52f4b9eea2d2c1f14a7f408 [INFO] running `Command { std: "docker" "start" "-a" "6f4ebdabc43ab80b48a2db93113d4648faa37e07f52f4b9eea2d2c1f14a7f408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f4ebdabc43ab80b48a2db93113d4648faa37e07f52f4b9eea2d2c1f14a7f408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f4ebdabc43ab80b48a2db93113d4648faa37e07f52f4b9eea2d2c1f14a7f408", kill_on_drop: false }` [INFO] [stdout] 6f4ebdabc43ab80b48a2db93113d4648faa37e07f52f4b9eea2d2c1f14a7f408 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5420c9d7e68e2d10222c5f25f47b45e1924badd4ff4eee60c8612196dd0946b9 [INFO] running `Command { std: "docker" "start" "-a" "5420c9d7e68e2d10222c5f25f47b45e1924badd4ff4eee60c8612196dd0946b9", kill_on_drop: false }` [INFO] [stderr] Checking wasm-rustime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `instruction` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `instruction`, create file "src/instruction.rs" or "src/instruction/mod.rs" [INFO] [stdout] = note: if there is a `mod instruction` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `instruction` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `instruction`, create file "src/instruction.rs" or "src/instruction/mod.rs" [INFO] [stdout] = note: if there is a `mod instruction` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/Loader/consts.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | match(value){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - match(value){ [INFO] [stdout] 21 + match value{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/Module/module.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/Module/module.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_type_size` [INFO] [stdout] --> src/Executor/executor.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use super::utils::{get_type_size, LEB_to_native}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `walk_str`, `walk_with_delimiter`, `walk_with_size`, and `walk` [INFO] [stdout] --> src/Executor/executor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | walk, walk_str, walk_with_delimiter, walk_with_size, Segable, Walkable, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/Executor/executor.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Module::module::{Code, Function, Module}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/Executor/executor.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{convert::TryFrom, io::BufReader, io::Read}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_type_size` and `read_one` [INFO] [stdout] --> src/Executor/stack.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use super::utils::{get_type_size, read_one}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueType` [INFO] [stdout] --> src/Executor/stack.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use super::value::{I32, ValueType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Segable` [INFO] [stdout] --> src/Executor/utils.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Loader::walker::{Segable, Walkable}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/Executor/utils.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufReader, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActivationFrame` [INFO] [stdout] --> src/Executor/value.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Executor::stack::{ActivationFrame, Label}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/Loader/consts.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | match(value){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - match(value){ [INFO] [stdout] 21 + match value{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/Module/module.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/Module/module.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_type_size` [INFO] [stdout] --> src/Executor/executor.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use super::utils::{get_type_size, LEB_to_native}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `walk_str`, `walk_with_delimiter`, `walk_with_size`, and `walk` [INFO] [stdout] --> src/Executor/executor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | walk, walk_str, walk_with_delimiter, walk_with_size, Segable, Walkable, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Function` [INFO] [stdout] --> src/Executor/executor.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::Module::module::{Code, Function, Module}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/Executor/executor.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{convert::TryFrom, io::BufReader, io::Read}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_type_size` and `read_one` [INFO] [stdout] --> src/Executor/stack.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use super::utils::{get_type_size, read_one}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ValueType` [INFO] [stdout] --> src/Executor/stack.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use super::value::{I32, ValueType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Segable` [INFO] [stdout] --> src/Executor/utils.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Loader::walker::{Segable, Walkable}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/Executor/utils.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{BufReader, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ActivationFrame` [INFO] [stdout] --> src/Executor/value.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Executor::stack::{ActivationFrame, Label}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/Executor/executor.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("type converstion error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/Executor/executor.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 102 | Param::I32(v) => StackElement::I32(Box::new(v)), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 103 | Param::I64(v) => StackElement::I64(Box::new(v)), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 104 | Param::F32(v) => StackElement::F32(Box::new(v)), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 105 | Param::F64(v) => StackElement::F64(Box::new(v)), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 106 | Param::V128(v) => StackElement::V128(Box::new(v)), [INFO] [stdout] 107 | _ => panic!("type converstion error"), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/Executor/executor.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("type converstion error"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/Executor/executor.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 102 | Param::I32(v) => StackElement::I32(Box::new(v)), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 103 | Param::I64(v) => StackElement::I64(Box::new(v)), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 104 | Param::F32(v) => StackElement::F32(Box::new(v)), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 105 | Param::F64(v) => StackElement::F64(Box::new(v)), [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 106 | Param::V128(v) => StackElement::V128(Box::new(v)), [INFO] [stdout] 107 | _ => panic!("type converstion error"), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/Executor/executor.rs:291:42 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn parse_instructions(&mut self, module: &'a Module) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/Executor/executor.rs:291:42 [INFO] [stdout] | [INFO] [stdout] 291 | pub fn parse_instructions(&mut self, module: &'a Module) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/Executor/utils.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | let ret: Vec; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Executor/utils.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | let mut result = i32::walk(&mut buf_reader); [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: `ret` [INFO] [stdout] --> src/Executor/utils.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | let ret: Vec; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/Executor/utils.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | let mut result = i32::walk(&mut buf_reader); [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] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-rustime` (bin "wasm-rustime") due to 1 previous error; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wasm-rustime` (bin "wasm-rustime" test) due to 1 previous error; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5420c9d7e68e2d10222c5f25f47b45e1924badd4ff4eee60c8612196dd0946b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5420c9d7e68e2d10222c5f25f47b45e1924badd4ff4eee60c8612196dd0946b9", kill_on_drop: false }` [INFO] [stdout] 5420c9d7e68e2d10222c5f25f47b45e1924badd4ff4eee60c8612196dd0946b9