[INFO] fetching crate chasm-rs 0.1.0... [INFO] checking chasm-rs-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate chasm-rs 0.1.0 into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chasm-rs 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 (available: v0.15.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding wasmi v0.9.1 (available: v0.51.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3977f8eb124e3c7aba2e41724f85225c7a04154ce5dd2731a96614436fa844c [INFO] running `Command { std: "docker" "start" "-a" "f3977f8eb124e3c7aba2e41724f85225c7a04154ce5dd2731a96614436fa844c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3977f8eb124e3c7aba2e41724f85225c7a04154ce5dd2731a96614436fa844c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3977f8eb124e3c7aba2e41724f85225c7a04154ce5dd2731a96614436fa844c", kill_on_drop: false }` [INFO] [stdout] f3977f8eb124e3c7aba2e41724f85225c7a04154ce5dd2731a96614436fa844c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4047f02bddcdf918d524353d6fdaa39a0a893afe28d95617240a63cfd471cb2 [INFO] running `Command { std: "docker" "start" "-a" "b4047f02bddcdf918d524353d6fdaa39a0a893afe28d95617240a63cfd471cb2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking parity-wasm v0.42.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking wasmi-validation v0.4.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking wasmi v0.9.1 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.25s [INFO] running `Command { std: "docker" "inspect" "b4047f02bddcdf918d524353d6fdaa39a0a893afe28d95617240a63cfd471cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4047f02bddcdf918d524353d6fdaa39a0a893afe28d95617240a63cfd471cb2", kill_on_drop: false }` [INFO] [stdout] b4047f02bddcdf918d524353d6fdaa39a0a893afe28d95617240a63cfd471cb2