[INFO] fetching crate snakeoil-wasm 0.1.0... [INFO] testing snakeoil-wasm-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate snakeoil-wasm 0.1.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate snakeoil-wasm 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faa6b239cb507818163cdc2223f7358d5ca1862a44f037885c9341e11519eb08 [INFO] running `Command { std: "docker" "start" "-a" "faa6b239cb507818163cdc2223f7358d5ca1862a44f037885c9341e11519eb08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faa6b239cb507818163cdc2223f7358d5ca1862a44f037885c9341e11519eb08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faa6b239cb507818163cdc2223f7358d5ca1862a44f037885c9341e11519eb08", kill_on_drop: false }` [INFO] [stdout] faa6b239cb507818163cdc2223f7358d5ca1862a44f037885c9341e11519eb08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 426a4a31d4875c12263b89b629c26c47cfba9ed2087c7491f7140aac0cf32e59 [INFO] running `Command { std: "docker" "start" "-a" "426a4a31d4875c12263b89b629c26c47cfba9ed2087c7491f7140aac0cf32e59", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling parity-wasm v0.40.3 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling wasm-gen v0.1.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling wasmi-validation v0.2.0 [INFO] [stderr] Compiling wasmi v0.5.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.75 [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)]` (part of `#[warn(unused)]`) 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:48 [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 21.10s [INFO] running `Command { std: "docker" "inspect" "426a4a31d4875c12263b89b629c26c47cfba9ed2087c7491f7140aac0cf32e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "426a4a31d4875c12263b89b629c26c47cfba9ed2087c7491f7140aac0cf32e59", kill_on_drop: false }` [INFO] [stdout] 426a4a31d4875c12263b89b629c26c47cfba9ed2087c7491f7140aac0cf32e59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0ff78bde990f4f40e5409a70231a29c214e823ed9d7137bb87780561ed27d79 [INFO] running `Command { std: "docker" "start" "-a" "f0ff78bde990f4f40e5409a70231a29c214e823ed9d7137bb87780561ed27d79", 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)]` (part of `#[warn(unused)]`) 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:48 [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)]` (part of `#[warn(unused)]`) 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" "f0ff78bde990f4f40e5409a70231a29c214e823ed9d7137bb87780561ed27d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0ff78bde990f4f40e5409a70231a29c214e823ed9d7137bb87780561ed27d79", kill_on_drop: false }` [INFO] [stdout] f0ff78bde990f4f40e5409a70231a29c214e823ed9d7137bb87780561ed27d79