[INFO] fetching crate snakeoil-wasm 0.1.0... [INFO] testing snakeoil-wasm-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate snakeoil-wasm 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate snakeoil-wasm 0.1.0 [INFO] finished tweaking crates.io crate snakeoil-wasm 0.1.0 [INFO] tweaked toml for crates.io crate snakeoil-wasm 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate snakeoil-wasm 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] [stderr] Adding wasmi v0.5.1 (available: v0.51.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 495331e90b3b42efd899a0c47c5cc81668ec73460bf40657ed16a7dbea152335 [INFO] running `Command { std: "docker" "start" "-a" "495331e90b3b42efd899a0c47c5cc81668ec73460bf40657ed16a7dbea152335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "495331e90b3b42efd899a0c47c5cc81668ec73460bf40657ed16a7dbea152335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "495331e90b3b42efd899a0c47c5cc81668ec73460bf40657ed16a7dbea152335", kill_on_drop: false }` [INFO] [stdout] 495331e90b3b42efd899a0c47c5cc81668ec73460bf40657ed16a7dbea152335 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78bd0624214eb40a639f5f035cedcf6e31b8f6c18fd11b36e5af9088b90cc098 [INFO] running `Command { std: "docker" "start" "-a" "78bd0624214eb40a639f5f035cedcf6e31b8f6c18fd11b36e5af9088b90cc098", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling parity-wasm v0.40.3 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling wasm-gen v0.1.4 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling wasmi-validation v0.2.0 [INFO] [stderr] Compiling wasmi v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling python_object v0.1.0 [INFO] [stderr] Compiling snakeoil-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `addr` is never read [INFO] [stdout] --> src/heap/boolean.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HeapBoolean { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | addr: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_symbol` is never used [INFO] [stdout] --> src/heap/boolean.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl HeapBoolean { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn from_symbol(addr: Symbol) -> HeapBoolean { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/python_frame.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(code_object: &'a CodeObject) -> PythonFrame { [INFO] [stdout] | ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(code_object: &'a CodeObject) -> PythonFrame<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.76s [INFO] running `Command { std: "docker" "inspect" "78bd0624214eb40a639f5f035cedcf6e31b8f6c18fd11b36e5af9088b90cc098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78bd0624214eb40a639f5f035cedcf6e31b8f6c18fd11b36e5af9088b90cc098", kill_on_drop: false }` [INFO] [stdout] 78bd0624214eb40a639f5f035cedcf6e31b8f6c18fd11b36e5af9088b90cc098 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c19e491589710ec8000ba3295acdf88deb373850a0622a7532617b0d3f6197d4 [INFO] running `Command { std: "docker" "start" "-a" "c19e491589710ec8000ba3295acdf88deb373850a0622a7532617b0d3f6197d4", kill_on_drop: false }` [INFO] [stdout] warning: field `addr` is never read [INFO] [stdout] --> src/heap/boolean.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HeapBoolean { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | addr: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_symbol` is never used [INFO] [stdout] --> src/heap/boolean.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl HeapBoolean { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 18 | pub fn from_symbol(addr: Symbol) -> HeapBoolean { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/python_frame.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(code_object: &'a CodeObject) -> PythonFrame { [INFO] [stdout] | ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(code_object: &'a CodeObject) -> PythonFrame<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling snakeoil-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/heap/tuple.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | let data = heap::HeapTuple::serialize(&tuple_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------- argument #1 of type `&HashMap` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/heap/tuple.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn serialize( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | static_allocs: &HashMap, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 119 | let data = heap::HeapTuple::serialize(/* &HashMap */, &tuple_object); [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/heap/tuple.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | let bytes = heap::HeapTuple::serialize(&tuple_object); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------- argument #1 of type `&HashMap` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/heap/tuple.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn serialize( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | static_allocs: &HashMap, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 155 | let bytes = heap::HeapTuple::serialize(/* &HashMap */, &tuple_object); [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/test_runner.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | args: wasmi::RuntimeArgs, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snakeoil-wasm` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c19e491589710ec8000ba3295acdf88deb373850a0622a7532617b0d3f6197d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c19e491589710ec8000ba3295acdf88deb373850a0622a7532617b0d3f6197d4", kill_on_drop: false }` [INFO] [stdout] c19e491589710ec8000ba3295acdf88deb373850a0622a7532617b0d3f6197d4