[INFO] fetching crate chasm-rs 0.1.0... [INFO] checking chasm-rs-0.1.0 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] extracting crate chasm-rs 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate chasm-rs 0.1.0 on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chasm-rs 0.1.0 [INFO] finished tweaking crates.io crate chasm-rs 0.1.0 [INFO] tweaked toml for crates.io crate chasm-rs 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding logos v0.12.1 (latest: v0.14.0) [INFO] [stderr] Adding logos-derive v0.12.1 (latest: v0.14.0) [INFO] [stderr] Adding memory_units v0.3.0 (latest: v0.4.0) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (latest: v0.4.2) [INFO] [stderr] Adding parity-wasm v0.42.2 (latest: v0.45.0) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.72) [INFO] [stderr] Adding wasmi v0.9.1 (latest: v0.36.0) [INFO] [stderr] Adding wasmi-validation v0.4.1 (latest: v0.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmi-validation v0.4.1 [INFO] [stderr] Downloaded memory_units v0.3.0 [INFO] [stderr] Downloaded parity-wasm v0.42.2 [INFO] [stderr] Downloaded wasmi v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b55dada35717d742ae5956ace9169dd607e7423d72b04776d817458de8974923 [INFO] running `Command { std: "docker" "start" "-a" "b55dada35717d742ae5956ace9169dd607e7423d72b04776d817458de8974923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b55dada35717d742ae5956ace9169dd607e7423d72b04776d817458de8974923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b55dada35717d742ae5956ace9169dd607e7423d72b04776d817458de8974923", kill_on_drop: false }` [INFO] [stdout] b55dada35717d742ae5956ace9169dd607e7423d72b04776d817458de8974923 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc9df25d3fd43e9ece11f62a99fccfce8ede49fb5f749d71f201e78d01a6e7a6 [INFO] running `Command { std: "docker" "start" "-a" "dc9df25d3fd43e9ece11f62a99fccfce8ede49fb5f749d71f201e78d01a6e7a6", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking parity-wasm v0.42.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling blake3 v1.5.3 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking wasmi-validation v0.4.1 [INFO] [stderr] Checking wasmi v0.9.1 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking chasm-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | drop(&mut vector); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | wasm!(&mut w, (functype (vec f32) (vec))); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 45 - drop(&mut vector); [INFO] [stdout] 45 + let _ = &mut vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | drop(&mut n); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut u64` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | wasm!(&mut w, (functype (vec f32) (vec))); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 46 - drop(&mut n); [INFO] [stdout] 46 + let _ = &mut n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | drop(&mut vector); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | wasm!(&mut w, (functype (vec f32) (vec))); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 45 - drop(&mut vector); [INFO] [stdout] 45 + let _ = &mut vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | drop(&mut n); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut u64` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | wasm!(&mut w, (functype (vec f32) (vec))); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 46 - drop(&mut n); [INFO] [stdout] 46 + let _ = &mut n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | drop(&mut vector); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | wasm!(&mut w, (vec)); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 45 - drop(&mut vector); [INFO] [stdout] 45 + let _ = &mut vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | drop(&mut n); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut u64` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | wasm!(&mut w, (vec)); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 46 - drop(&mut n); [INFO] [stdout] 46 + let _ = &mut n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | drop(&mut vector); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / wasm!(&mut binary, [INFO] [stdout] 87 | | (section import (vec [INFO] [stdout] 88 | | (import "env" "print" (function 0x0)) [INFO] [stdout] 89 | | (import "env" "memory" (memory 1)))) [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 45 - drop(&mut vector); [INFO] [stdout] 45 + let _ = &mut vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | drop(&mut n); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut u64` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / wasm!(&mut binary, [INFO] [stdout] 87 | | (section import (vec [INFO] [stdout] 88 | | (import "env" "print" (function 0x0)) [INFO] [stdout] 89 | | (import "env" "memory" (memory 1)))) [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 46 - drop(&mut n); [INFO] [stdout] 46 + let _ = &mut n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | drop(&mut vector); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | wasm!(&mut binary, (section export (vec (export "main" function 0x1)))); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 45 - drop(&mut vector); [INFO] [stdout] 45 + let _ = &mut vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | drop(&mut n); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut u64` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | wasm!(&mut binary, (section export (vec (export "main" function 0x1)))); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 46 - drop(&mut n); [INFO] [stdout] 46 + let _ = &mut n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | drop(&mut vector); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | wasm!(&mut w, (functype (vec f32) (vec))); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 45 - drop(&mut vector); [INFO] [stdout] 45 + let _ = &mut vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | drop(&mut n); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut u64` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | wasm!(&mut w, (functype (vec f32) (vec))); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 46 - drop(&mut n); [INFO] [stdout] 46 + let _ = &mut n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | drop(&mut vector); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | wasm!(&mut w, (functype (vec f32) (vec))); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 45 - drop(&mut vector); [INFO] [stdout] 45 + let _ = &mut vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | drop(&mut n); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut u64` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | wasm!(&mut w, (functype (vec f32) (vec))); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 46 - drop(&mut n); [INFO] [stdout] 46 + let _ = &mut n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | drop(&mut vector); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | wasm!(&mut w, (vec)); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 45 - drop(&mut vector); [INFO] [stdout] 45 + let _ = &mut vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | drop(&mut n); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut u64` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | wasm!(&mut w, (vec)); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 46 - drop(&mut n); [INFO] [stdout] 46 + let _ = &mut n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | drop(&mut vector); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / wasm!(&mut binary, [INFO] [stdout] 87 | | (section import (vec [INFO] [stdout] 88 | | (import "env" "print" (function 0x0)) [INFO] [stdout] 89 | | (import "env" "memory" (memory 1)))) [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 45 - drop(&mut vector); [INFO] [stdout] 45 + let _ = &mut vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | drop(&mut n); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut u64` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / wasm!(&mut binary, [INFO] [stdout] 87 | | (section import (vec [INFO] [stdout] 88 | | (import "env" "print" (function 0x0)) [INFO] [stdout] 89 | | (import "env" "memory" (memory 1)))) [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 46 - drop(&mut n); [INFO] [stdout] 46 + let _ = &mut n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | drop(&mut vector); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Vec` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | wasm!(&mut binary, (section export (vec (export "main" function 0x1)))); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 45 - drop(&mut vector); [INFO] [stdout] 45 + let _ = &mut vector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/wasm_macro.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | drop(&mut n); [INFO] [stdout] | ^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut u64` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | wasm!(&mut binary, (section export (vec (export "main" function 0x1)))); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 46 - drop(&mut n); [INFO] [stdout] 46 + let _ = &mut n; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] running `Command { std: "docker" "inspect" "dc9df25d3fd43e9ece11f62a99fccfce8ede49fb5f749d71f201e78d01a6e7a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc9df25d3fd43e9ece11f62a99fccfce8ede49fb5f749d71f201e78d01a6e7a6", kill_on_drop: false }` [INFO] [stdout] dc9df25d3fd43e9ece11f62a99fccfce8ede49fb5f749d71f201e78d01a6e7a6 [INFO] checking chasm-rs-0.1.0 against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] extracting crate chasm-rs 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate chasm-rs 0.1.0 on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chasm-rs 0.1.0 [INFO] finished tweaking crates.io crate chasm-rs 0.1.0 [INFO] tweaked toml for crates.io crate chasm-rs 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding logos v0.12.1 (latest: v0.14.0) [INFO] [stderr] Adding logos-derive v0.12.1 (latest: v0.14.0) [INFO] [stderr] Adding memory_units v0.3.0 (latest: v0.4.0) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (latest: v0.4.2) [INFO] [stderr] Adding parity-wasm v0.42.2 (latest: v0.45.0) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.72) [INFO] [stderr] Adding wasmi v0.9.1 (latest: v0.36.0) [INFO] [stderr] Adding wasmi-validation v0.4.1 (latest: v0.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e41e4953a5b869b73e5bbedaf6c794afda2021cbf1a5966c5fc2f3a92f087df [INFO] running `Command { std: "docker" "start" "-a" "8e41e4953a5b869b73e5bbedaf6c794afda2021cbf1a5966c5fc2f3a92f087df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e41e4953a5b869b73e5bbedaf6c794afda2021cbf1a5966c5fc2f3a92f087df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e41e4953a5b869b73e5bbedaf6c794afda2021cbf1a5966c5fc2f3a92f087df", kill_on_drop: false }` [INFO] [stdout] 8e41e4953a5b869b73e5bbedaf6c794afda2021cbf1a5966c5fc2f3a92f087df [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2f1427bf0e49a24022f6e152634ca27b48d3684b08d6ffd145d092303af42e8 [INFO] running `Command { std: "docker" "start" "-a" "e2f1427bf0e49a24022f6e152634ca27b48d3684b08d6ffd145d092303af42e8", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking parity-wasm v0.42.2 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking num-traits v0.2.19 [INFO] [stderr] Compiling blake3 v1.5.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 841 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 842 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 843 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 844 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasmi-validation v0.4.1 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 845 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 846 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e2f1427bf0e49a24022f6e152634ca27b48d3684b08d6ffd145d092303af42e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2f1427bf0e49a24022f6e152634ca27b48d3684b08d6ffd145d092303af42e8", kill_on_drop: false }` [INFO] [stdout] e2f1427bf0e49a24022f6e152634ca27b48d3684b08d6ffd145d092303af42e8