[INFO] cloning repository https://github.com/bokuweb/yaw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bokuweb/yaw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Fyaw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Fyaw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46d04477b98a56fd392af327f09939f9b357965b [INFO] checking bokuweb/yaw against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbokuweb%2Fyaw" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bokuweb/yaw on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bokuweb/yaw [INFO] finished tweaking git repo https://github.com/bokuweb/yaw [INFO] tweaked toml for git repo https://github.com/bokuweb/yaw written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bokuweb/yaw 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmi-validation v0.3.0 [INFO] [stderr] Downloaded parity-wasm v0.41.0 [INFO] [stderr] Downloaded wabt v0.9.2 [INFO] [stderr] Downloaded memory_units v0.3.0 [INFO] [stderr] Downloaded num-rational v0.2.3 [INFO] [stderr] Downloaded wasmi v0.6.2 [INFO] [stderr] Downloaded clicolors-control v1.0.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.58 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded sourcefile v0.1.4 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] [stderr] Downloaded criterion-plot v0.4.1 [INFO] [stderr] Downloaded console v0.7.7 [INFO] [stderr] Downloaded oorandom v11.1.0 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.58 [INFO] [stderr] Downloaded anyhow v1.0.26 [INFO] [stderr] Downloaded encode_unicode v0.3.5 [INFO] [stderr] Downloaded criterion v0.3.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.58 [INFO] [stderr] Downloaded bstr v0.2.10 [INFO] [stderr] Downloaded backtrace-sys v0.1.31 [INFO] [stderr] Downloaded libc v0.2.61 [INFO] [stderr] Downloaded web-sys v0.3.35 [INFO] [stderr] Downloaded csv v1.1.3 [INFO] [stderr] Downloaded regex-syntax v0.6.13 [INFO] [stderr] Downloaded regex v1.3.3 [INFO] [stderr] Downloaded js-sys v0.3.35 [INFO] [stderr] Downloaded weedle v0.10.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded better-panic v0.1.2 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded wabt-sys v0.7.0 [INFO] [stderr] Downloaded tinytemplate v1.0.3 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] [stderr] Downloaded bitflags v1.1.0 [INFO] [stderr] Downloaded plotters v0.2.12 [INFO] [stderr] Downloaded serde_derive v1.0.102 [INFO] [stderr] Downloaded cc v1.0.47 [INFO] [stderr] Downloaded rustc-demangle v0.1.15 [INFO] [stderr] Downloaded cmake v0.1.42 [INFO] [stderr] Downloaded num-bigint v0.2.5 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.58 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.58 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Downloaded leb128 v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4036aa74a971a07e3323e2234dbe3edea96af74affac50e058640d32aa9cc3aa [INFO] running `Command { std: "docker" "start" "-a" "4036aa74a971a07e3323e2234dbe3edea96af74affac50e058640d32aa9cc3aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4036aa74a971a07e3323e2234dbe3edea96af74affac50e058640d32aa9cc3aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4036aa74a971a07e3323e2234dbe3edea96af74affac50e058640d32aa9cc3aa", kill_on_drop: false }` [INFO] [stdout] 4036aa74a971a07e3323e2234dbe3edea96af74affac50e058640d32aa9cc3aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a95ef740c16ce01008004c0b4bc7ff278809c6b82e833a9d72147ad8d1b4acba [INFO] running `Command { std: "docker" "start" "-a" "a95ef740c16ce01008004c0b4bc7ff278809c6b82e833a9d72147ad8d1b4acba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.61 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.13 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling num-bigint v0.2.5 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking clicolors-control v1.0.0 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling wabt-sys v0.7.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking leb128 v0.2.4 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Checking regex v1.3.3 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking console v0.7.7 [INFO] [stderr] Checking backtrace v0.3.34 [INFO] [stderr] Checking better-panic v0.1.2 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking bstr v0.2.10 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking yaw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ImportType` is imported redundantly [INFO] [stdout] --> src/vm/function.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::decoder::*; [INFO] [stdout] | ----------------- the item `ImportType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use super::{ImportType, Instruction, RuntimeError, Sections}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Instruction` is imported redundantly [INFO] [stdout] --> src/vm/function.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::decoder::*; [INFO] [stdout] | ----------------- the item `Instruction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use super::{ImportType, Instruction, RuntimeError, Sections}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sections` is imported redundantly [INFO] [stdout] --> src/vm/function.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::decoder::*; [INFO] [stdout] | ----------------- the item `Sections` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use super::{ImportType, Instruction, RuntimeError, Sections}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limits` is never read [INFO] [stdout] --> src/types/memory_type.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MemoryType { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | limits: ResizableLimits, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryType` 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] [INFO] [stdout] [INFO] [stdout] warning: method `copysign` is never used [INFO] [stdout] --> src/types/runtime_value/numeric.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 151 | trait FloatingNumeric { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 157 | fn copysign(self, x: Self) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sp` is never read [INFO] [stdout] --> src/vm/value_stack.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ValueStack { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | buf: Vec, [INFO] [stdout] 6 | sp: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueStack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vm/memory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | &mut cur.$writer::(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 152 | store!(i32_store, write_i32, i32); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = &mut cur.$writer::(data)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vm/memory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | &mut cur.$writer::(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 153 | store!(u32_store, write_u32, u32); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = &mut cur.$writer::(data)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vm/memory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | &mut cur.$writer::(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 154 | store!(i64_store, write_i64, i64); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = &mut cur.$writer::(data)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vm/memory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | &mut cur.$writer::(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 155 | store!(f32_store, write_f32, f32); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = &mut cur.$writer::(data)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vm/memory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | &mut cur.$writer::(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 156 | store!(f64_store, write_f64, f64); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = &mut cur.$writer::(data)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vm/memory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | &mut cur.$writer::(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 157 | store!(i16_store, write_i16, i16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = &mut cur.$writer::(data)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.1 [INFO] [stderr] Checking wabt v0.9.2 [INFO] [stdout] error: couldn't read `examples/../fixtures/wasm/const.wasm`: No such file or directory (os error 2) [INFO] [stdout] --> examples/const.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | let ins = instantiate(&include_bytes!("../fixtures/wasm/const.wasm")[..], None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/../fixtures/wasm/sum.wasm`: No such file or directory (os error 2) [INFO] [stdout] --> examples/sum.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | let ins = instantiate(&include_bytes!("../fixtures/wasm/sum.wasm")[..], None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/add/../../fixtures/wasm/add.wasm`: No such file or directory (os error 2) [INFO] [stdout] --> examples/add/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | let ins = instantiate(&include_bytes!("../../fixtures/wasm/add.wasm")[..], None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueType` is imported redundantly [INFO] [stdout] --> tests/spectest.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 9 | use yaw::types::*; [INFO] [stdout] | ------------- the item `ValueType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | RuntimeError, TableInstance, TableRef, ValueType, VM, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yaw` (example "sum") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `yaw` (example "const") due to 2 previous errors [INFO] [stderr] error: could not compile `yaw` (example "add") due to 2 previous errors [INFO] [stdout] warning: the item `ValueType` is imported redundantly [INFO] [stdout] --> tests/spectest.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 9 | use yaw::types::*; [INFO] [stdout] | ------------- the item `ValueType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | RuntimeError, TableInstance, TableRef, ValueType, VM, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ValueType` is imported redundantly [INFO] [stdout] --> tests/lib.rs:13:83 [INFO] [stdout] | [INFO] [stdout] 11 | use yaw::types::*; [INFO] [stdout] | ------------- the item `ValueType` is already imported here [INFO] [stdout] 12 | use yaw::{ [INFO] [stdout] 13 | FunctionResolver, Global, Imports, MemoryDescriptor, MemoryRef, RuntimeError, ValueType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `func` is never read [INFO] [stdout] --> tests/spectest.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct SpecModuleInternal<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 17 | func: Option<&'a dyn FunctionResolver>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecModuleInternal` has derived impls for the traits `Clone` and `Debug`, 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/yaw-boy/./gopher-boy/docs/main.wasm`: No such file or directory (os error 2) [INFO] [stdout] --> examples/yaw-boy/main.rs:83:6 [INFO] [stdout] | [INFO] [stdout] 83 | &include_bytes!("./gopher-boy/docs/main.wasm")[..], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/yaw-boy/./gopher-boy/docs/tobu.gb`: No such file or directory (os error 2) [INFO] [stdout] --> examples/yaw-boy/main.rs:320:36 [INFO] [stdout] | [INFO] [stdout] 320 | let rom = Rc::new(Vec::from(&include_bytes!("./gopher-boy/docs/tobu.gb")[..])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ImportType` is imported redundantly [INFO] [stdout] --> src/vm/function.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::decoder::*; [INFO] [stdout] | ----------------- the item `ImportType` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use super::{ImportType, Instruction, RuntimeError, Sections}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Instruction` is imported redundantly [INFO] [stdout] --> src/vm/function.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::decoder::*; [INFO] [stdout] | ----------------- the item `Instruction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use super::{ImportType, Instruction, RuntimeError, Sections}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sections` is imported redundantly [INFO] [stdout] --> src/vm/function.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::decoder::*; [INFO] [stdout] | ----------------- the item `Sections` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use super::{ImportType, Instruction, RuntimeError, Sections}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Cursor` is imported redundantly [INFO] [stdout] --> src/decoder/code_section.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 173 | use super::*; [INFO] [stdout] | -------- the item `Cursor` is already imported here [INFO] [stdout] 174 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `func` is never read [INFO] [stdout] --> tests/spectest.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct SpecModuleInternal<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 17 | func: Option<&'a dyn FunctionResolver>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpecModuleInternal` has derived impls for the traits `Clone` and `Debug`, 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yaw` (example "yaw-boy") due to 3 previous errors [INFO] [stdout] warning: field `limits` is never read [INFO] [stdout] --> src/types/memory_type.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MemoryType { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | limits: ResizableLimits, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryType` 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] [INFO] [stdout] [INFO] [stdout] warning: method `copysign` is never used [INFO] [stdout] --> src/types/runtime_value/numeric.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 151 | trait FloatingNumeric { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 157 | fn copysign(self, x: Self) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sp` is never read [INFO] [stdout] --> src/vm/value_stack.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ValueStack { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | buf: Vec, [INFO] [stdout] 6 | sp: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueStack` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vm/memory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | &mut cur.$writer::(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 152 | store!(i32_store, write_i32, i32); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = &mut cur.$writer::(data)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vm/memory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | &mut cur.$writer::(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 153 | store!(u32_store, write_u32, u32); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = &mut cur.$writer::(data)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vm/memory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | &mut cur.$writer::(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 154 | store!(i64_store, write_i64, i64); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = &mut cur.$writer::(data)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vm/memory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | &mut cur.$writer::(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 155 | store!(f32_store, write_f32, f32); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = &mut cur.$writer::(data)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vm/memory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | &mut cur.$writer::(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 156 | store!(f64_store, write_f64, f64); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = &mut cur.$writer::(data)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/vm/memory.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | &mut cur.$writer::(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] ... [INFO] [stdout] 157 | store!(i16_store, write_i16, i16); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `store` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = &mut cur.$writer::(data)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a95ef740c16ce01008004c0b4bc7ff278809c6b82e833a9d72147ad8d1b4acba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95ef740c16ce01008004c0b4bc7ff278809c6b82e833a9d72147ad8d1b4acba", kill_on_drop: false }` [INFO] [stdout] a95ef740c16ce01008004c0b4bc7ff278809c6b82e833a9d72147ad8d1b4acba