[INFO] cloning repository https://github.com/chrisz2zz/tiny-wasm-runtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrisz2zz/tiny-wasm-runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisz2zz%2Ftiny-wasm-runtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisz2zz%2Ftiny-wasm-runtime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 740c3404817b90dc6b1857c74263fbb8d92be9cd [INFO] testing chrisz2zz/tiny-wasm-runtime against nightly-2025-01-18 for randomize-layout-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisz2zz%2Ftiny-wasm-runtime" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrisz2zz/tiny-wasm-runtime on toolchain nightly-2025-01-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chrisz2zz/tiny-wasm-runtime [INFO] finished tweaking git repo https://github.com/chrisz2zz/tiny-wasm-runtime [INFO] tweaked toml for git repo https://github.com/chrisz2zz/tiny-wasm-runtime written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chrisz2zz/tiny-wasm-runtime already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_assertions v1.4.0 [INFO] [stderr] Downloaded nom-leb128 v0.2.0 [INFO] [stderr] Downloaded yansi v0.5.1 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded wat v1.210.0 [INFO] [stderr] Downloaded arrayvec v0.7.4 [INFO] [stderr] Downloaded anyhow v1.0.86 [INFO] [stderr] Downloaded proc-macro2 v1.0.85 [INFO] [stderr] Downloaded diff v0.1.13 [INFO] [stderr] Downloaded wast v210.0.0 [INFO] [stderr] Downloaded wasm-encoder v0.210.0 [INFO] [stderr] Downloaded syn v2.0.66 [INFO] [stderr] Downloaded unicode-width v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 907864ef335869796c20d031f396a77ea58c6167bc1eef23d21af32bfcb2f0d5 [INFO] running `Command { std: "docker" "start" "-a" "907864ef335869796c20d031f396a77ea58c6167bc1eef23d21af32bfcb2f0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "907864ef335869796c20d031f396a77ea58c6167bc1eef23d21af32bfcb2f0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "907864ef335869796c20d031f396a77ea58c6167bc1eef23d21af32bfcb2f0d5", kill_on_drop: false }` [INFO] [stdout] 907864ef335869796c20d031f396a77ea58c6167bc1eef23d21af32bfcb2f0d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42db6117ef226a7b78c15bd573c09d3bdd45350f9112e45855168c3f595e2804 [INFO] running `Command { std: "docker" "start" "-a" "42db6117ef226a7b78c15bd573c09d3bdd45350f9112e45855168c3f595e2804", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling nom-leb128 v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling tinywasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_traits::ToBytes` [INFO] [stdout] --> src/execution/runtime.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use num_traits::ToBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/execution/runtime.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/execution/runtime.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 70 | Instruction::End => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 77 | Instruction::LocalGet(idx) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 83 | Instruction::LocalSet(idx) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 90 | Instruction::I32Store { align: _, offset } => { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 128 | _ => todo!(), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.22s [INFO] running `Command { std: "docker" "inspect" "42db6117ef226a7b78c15bd573c09d3bdd45350f9112e45855168c3f595e2804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42db6117ef226a7b78c15bd573c09d3bdd45350f9112e45855168c3f595e2804", kill_on_drop: false }` [INFO] [stdout] 42db6117ef226a7b78c15bd573c09d3bdd45350f9112e45855168c3f595e2804 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d59982e00388608a0f6cb2cb7f0cc6fb9698a37ad218f336e4dc95ec34d74a20 [INFO] running `Command { std: "docker" "start" "-a" "d59982e00388608a0f6cb2cb7f0cc6fb9698a37ad218f336e4dc95ec34d74a20", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling wasm-encoder v0.210.0 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling wast v210.0.0 [INFO] [stderr] Compiling nom-leb128 v0.2.0 [INFO] [stderr] Compiling tinywasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_traits::ToBytes` [INFO] [stdout] --> src/execution/runtime.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use num_traits::ToBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/execution/runtime.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/execution/runtime.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 70 | Instruction::End => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 77 | Instruction::LocalGet(idx) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 83 | Instruction::LocalSet(idx) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 90 | Instruction::I32Store { align: _, offset } => { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 128 | _ => todo!(), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wat v1.210.0 [INFO] [stdout] warning: unused import: `num_traits::ToBytes` [INFO] [stdout] --> src/execution/runtime.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use num_traits::ToBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/execution/runtime.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/execution/runtime.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 70 | Instruction::End => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 77 | Instruction::LocalGet(idx) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 83 | Instruction::LocalSet(idx) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 90 | Instruction::I32Store { align: _, offset } => { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 128 | _ => todo!(), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.09s [INFO] running `Command { std: "docker" "inspect" "d59982e00388608a0f6cb2cb7f0cc6fb9698a37ad218f336e4dc95ec34d74a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d59982e00388608a0f6cb2cb7f0cc6fb9698a37ad218f336e4dc95ec34d74a20", kill_on_drop: false }` [INFO] [stdout] d59982e00388608a0f6cb2cb7f0cc6fb9698a37ad218f336e4dc95ec34d74a20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd1c96a86df483f26bf9a1dc8366e9bc8338b2db6d31a5d7af74765f2751ca01 [INFO] running `Command { std: "docker" "start" "-a" "bd1c96a86df483f26bf9a1dc8366e9bc8338b2db6d31a5d7af74765f2751ca01", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `num_traits::ToBytes` [INFO] [stderr] --> src/execution/runtime.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use num_traits::ToBytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/execution/runtime.rs:128:17 [INFO] [stderr] | [INFO] [stderr] 128 | _ => todo!(), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/execution/runtime.rs:128:17 [INFO] [stderr] | [INFO] [stderr] 70 | Instruction::End => { [INFO] [stderr] | ---------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 77 | Instruction::LocalGet(idx) => { [INFO] [stderr] | -------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 83 | Instruction::LocalSet(idx) => { [INFO] [stderr] | -------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 90 | Instruction::I32Store { align: _, offset } => { [INFO] [stderr] | ------------------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 128 | _ => todo!(), [INFO] [stderr] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tinywasm` (lib) generated 2 warnings [INFO] [stderr] warning: `tinywasm` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tinywasm-36a6b9c8ce7e7638) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test binary::module::tests::decode_func_add ... ok [INFO] [stdout] test binary::module::tests::decode_i32_store ... ok [INFO] [stdout] test binary::module::tests::decode_memory ... ok [INFO] [stdout] test binary::module::tests::decode_simplest_func ... ok [INFO] [stdout] test binary::module::tests::decode_func_param ... ok [INFO] [stdout] test binary::module::tests::decode_func_local ... ok [INFO] [stdout] test execution::runtime::tests::call_imported_func ... ok [INFO] [stdout] test binary::module::tests::decode_func_call ... ok [INFO] [stdout] test execution::runtime::tests::execute_i32_add ... ok [INFO] [stdout] test binary::module::tests::decode_data ... ok [INFO] [stdout] test binary::module::tests::decode_simplest_module ... ok [INFO] [stdout] test execution::runtime::tests::i32_const ... ok [INFO] [stdout] test binary::module::tests::decode_import ... ok [INFO] [stdout] test execution::runtime::tests::not_found_export_function ... ok [INFO] [stdout] test execution::store::test::init_memory ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tinywasm-5795528bcaca1eab) [INFO] [stdout] test execution::runtime::tests::local_set ... ok [INFO] [stdout] test execution::runtime::tests::not_found_imported_func ... ok [INFO] [stdout] test execution::runtime::tests::i32_store ... ok [INFO] [stdout] test execution::runtime::tests::func_call ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests tinywasm [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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] running `Command { std: "docker" "inspect" "bd1c96a86df483f26bf9a1dc8366e9bc8338b2db6d31a5d7af74765f2751ca01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd1c96a86df483f26bf9a1dc8366e9bc8338b2db6d31a5d7af74765f2751ca01", kill_on_drop: false }` [INFO] [stdout] bd1c96a86df483f26bf9a1dc8366e9bc8338b2db6d31a5d7af74765f2751ca01