[INFO] cloning repository https://github.com/Rodrigodd/chasm-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rodrigodd/chasm-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRodrigodd%2Fchasm-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRodrigodd%2Fchasm-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd9e5e0543ec3ed9de6a019413ea7543efccc422 [INFO] testing Rodrigodd/chasm-rs against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRodrigodd%2Fchasm-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rodrigodd/chasm-rs on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rodrigodd/chasm-rs [INFO] finished tweaking git repo https://github.com/Rodrigodd/chasm-rs [INFO] tweaked toml for git repo https://github.com/Rodrigodd/chasm-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Rodrigodd/chasm-rs 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytecheck_derive v0.6.8 [INFO] [stderr] Downloaded rkyv_derive v0.7.38 [INFO] [stderr] Downloaded wat v1.0.43 [INFO] [stderr] Downloaded bytecheck v0.6.8 [INFO] [stderr] Downloaded target-lexicon v0.12.4 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded rkyv v0.7.38 [INFO] [stderr] Downloaded wasmi v0.9.1 [INFO] [stderr] Downloaded minifb v0.23.0 [INFO] [stderr] Downloaded wast v41.0.0 [INFO] [stderr] Downloaded memmap2 v0.5.4 [INFO] [stderr] Downloaded wasmi-validation v0.4.1 [INFO] [stderr] Downloaded corosensei v0.1.2 [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded orbclient v0.3.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 017430483eeb12fe583e6a2691f1eb0f07f466efab2227c210a79f185c9c2d57 [INFO] running `Command { std: "docker" "start" "-a" "017430483eeb12fe583e6a2691f1eb0f07f466efab2227c210a79f185c9c2d57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "017430483eeb12fe583e6a2691f1eb0f07f466efab2227c210a79f185c9c2d57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "017430483eeb12fe583e6a2691f1eb0f07f466efab2227c210a79f185c9c2d57", kill_on_drop: false }` [INFO] [stdout] 017430483eeb12fe583e6a2691f1eb0f07f466efab2227c210a79f185c9c2d57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea0b34702808ff85a38a1b5d35957eb28d1a49c84ffab7dceca484b795221af5 [INFO] running `Command { std: "docker" "start" "-a" "ea0b34702808ff85a38a1b5d35957eb28d1a49c84ffab7dceca484b795221af5", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling bytecheck v0.6.8 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Compiling rend v0.3.6 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling rkyv v0.7.38 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling more-asserts v0.2.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling wasmparser v0.83.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling corosensei v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling cranelift-codegen-shared v0.82.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.82.3 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling region v3.0.0 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cranelift-entity v0.82.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cranelift-bforest v0.82.3 [INFO] [stderr] Compiling regalloc v0.0.34 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling memmap2 v0.5.4 [INFO] [stderr] Compiling tracing-core v0.1.27 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling cranelift-codegen v0.82.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling wasmer-compiler-cranelift v2.3.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling wast v41.0.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.8 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Compiling rkyv_derive v0.7.38 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling enum-iterator v0.7.0 [INFO] [stderr] Compiling enumset_derive v0.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling enumset v1.0.11 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling wat v1.0.43 [INFO] [stderr] Compiling wasmer-derive v2.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling chasm-rs v0.1.0 (/opt/rustwide/workdir/chasm-rs) [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] Compiling chasm-wasm v0.1.0 (/opt/rustwide/workdir/chasm-wasm) [INFO] [stderr] Compiling serde_bytes v0.11.6 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling loupe v0.1.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling wasmer-types v2.3.0 [INFO] [stderr] Compiling wasmer-compiler v2.3.0 [INFO] [stderr] Compiling wasmer-artifact v2.3.0 [INFO] [stderr] Compiling wasmer-object v2.3.0 [INFO] [stderr] Compiling wasmer-vm v2.3.0 [INFO] [stderr] Compiling wasmer-engine-universal-artifact v2.3.0 [INFO] [stderr] Compiling wasmer-engine v2.3.0 [INFO] [stderr] Compiling wasmer-engine-dylib v2.3.0 [INFO] [stderr] Compiling wasmer-engine-universal v2.3.0 [INFO] [stderr] Compiling cranelift-frontend v0.82.3 [INFO] [stderr] Compiling wasmer v2.3.0 [INFO] [stderr] Compiling chasm-cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.80 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ea0b34702808ff85a38a1b5d35957eb28d1a49c84ffab7dceca484b795221af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea0b34702808ff85a38a1b5d35957eb28d1a49c84ffab7dceca484b795221af5", kill_on_drop: false }` [INFO] [stdout] ea0b34702808ff85a38a1b5d35957eb28d1a49c84ffab7dceca484b795221af5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ada9c4316fa8e346eb4c6242765c419dfaf9b48b87253cff09991382560ad23 [INFO] running `Command { std: "docker" "start" "-a" "6ada9c4316fa8e346eb4c6242765c419dfaf9b48b87253cff09991382560ad23", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling parity-wasm v0.42.2 [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling chasm-cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Compiling chasm-wasm v0.1.0 (/opt/rustwide/workdir/chasm-wasm) [INFO] [stderr] Compiling wasmi-validation v0.4.1 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling wasmi v0.9.1 [INFO] [stderr] Compiling chasm-rs v0.1.0 (/opt/rustwide/workdir/chasm-rs) [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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] --> chasm-rs/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] ::: chasm-rs/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 `test` profile [unoptimized + debuginfo] target(s) in 16.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.80 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6ada9c4316fa8e346eb4c6242765c419dfaf9b48b87253cff09991382560ad23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ada9c4316fa8e346eb4c6242765c419dfaf9b48b87253cff09991382560ad23", kill_on_drop: false }` [INFO] [stdout] 6ada9c4316fa8e346eb4c6242765c419dfaf9b48b87253cff09991382560ad23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bbd1653918bc87d3b7047473b4d65a81e1f7af310a645e02fb2fbf3fa6845b7a [INFO] running `Command { std: "docker" "start" "-a" "bbd1653918bc87d3b7047473b4d65a81e1f7af310a645e02fb2fbf3fa6845b7a", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> chasm-rs/src/wasm_macro.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | drop(&mut vector); [INFO] [stderr] | ^^^^^-----------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut Vec` [INFO] [stderr] | [INFO] [stderr] ::: chasm-rs/src/lib.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | wasm!(&mut w, (functype (vec f32) (vec))); [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 45 - drop(&mut vector); [INFO] [stderr] 45 + let _ = &mut vector; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> chasm-rs/src/wasm_macro.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | drop(&mut n); [INFO] [stderr] | ^^^^^------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut u64` [INFO] [stderr] | [INFO] [stderr] ::: chasm-rs/src/lib.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | wasm!(&mut w, (functype (vec f32) (vec))); [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 46 - drop(&mut n); [INFO] [stderr] 46 + let _ = &mut n; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> chasm-rs/src/wasm_macro.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | drop(&mut vector); [INFO] [stderr] | ^^^^^-----------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut Vec` [INFO] [stderr] | [INFO] [stderr] ::: chasm-rs/src/lib.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | wasm!(&mut w, (functype (vec f32) (vec))); [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 45 - drop(&mut vector); [INFO] [stderr] 45 + let _ = &mut vector; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> chasm-rs/src/wasm_macro.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | drop(&mut vector); [INFO] [stderr] | ^^^^^-----------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut Vec` [INFO] [stderr] | [INFO] [stderr] ::: chasm-rs/src/lib.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | wasm!(&mut w, (vec)); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 45 - drop(&mut vector); [INFO] [stderr] 45 + let _ = &mut vector; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> chasm-rs/src/wasm_macro.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | drop(&mut n); [INFO] [stderr] | ^^^^^------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut u64` [INFO] [stderr] | [INFO] [stderr] ::: chasm-rs/src/lib.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | wasm!(&mut w, (vec)); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 46 - drop(&mut n); [INFO] [stderr] 46 + let _ = &mut n; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> chasm-rs/src/wasm_macro.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | drop(&mut vector); [INFO] [stderr] | ^^^^^-----------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut Vec` [INFO] [stderr] | [INFO] [stderr] ::: chasm-rs/src/lib.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | / wasm!(&mut binary, [INFO] [stderr] 87 | | (section import (vec [INFO] [stderr] 88 | | (import "env" "print" (function 0x0)) [INFO] [stderr] 89 | | (import "env" "memory" (memory 1)))) [INFO] [stderr] 90 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 45 - drop(&mut vector); [INFO] [stderr] 45 + let _ = &mut vector; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> chasm-rs/src/wasm_macro.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | drop(&mut n); [INFO] [stderr] | ^^^^^------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut u64` [INFO] [stderr] | [INFO] [stderr] ::: chasm-rs/src/lib.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | / wasm!(&mut binary, [INFO] [stderr] 87 | | (section import (vec [INFO] [stderr] 88 | | (import "env" "print" (function 0x0)) [INFO] [stderr] 89 | | (import "env" "memory" (memory 1)))) [INFO] [stderr] 90 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 46 - drop(&mut n); [INFO] [stderr] 46 + let _ = &mut n; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> chasm-rs/src/wasm_macro.rs:45:13 [INFO] [stderr] | [INFO] [stderr] 45 | drop(&mut vector); [INFO] [stderr] | ^^^^^-----------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut Vec` [INFO] [stderr] | [INFO] [stderr] ::: chasm-rs/src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | wasm!(&mut binary, (section export (vec (export "main" function 0x1)))); [INFO] [stderr] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 45 - drop(&mut vector); [INFO] [stderr] 45 + let _ = &mut vector; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> chasm-rs/src/wasm_macro.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | drop(&mut n); [INFO] [stderr] | ^^^^^------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut u64` [INFO] [stderr] | [INFO] [stderr] ::: chasm-rs/src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | wasm!(&mut binary, (section export (vec (export "main" function 0x1)))); [INFO] [stderr] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `wasm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 46 - drop(&mut n); [INFO] [stderr] 46 + let _ = &mut n; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `chasm-rs` (lib) generated 10 warnings (1 duplicate) [INFO] [stderr] warning: `chasm-rs` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.80 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chasm_cli-af1975cc977bfcbb) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chasm_rs-084846b0e893072e) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test test::divide_bool ... ok [INFO] [stdout] test test::and_float ... ok [INFO] [stdout] test test::equal_bool ... ok [INFO] [stdout] test test::if_else_block ... ok [INFO] [stdout] test test::if_else_block_no ... ok [INFO] [stdout] test test::fibonacci ... ok [INFO] [stdout] test test::if_block ... ok [INFO] [stdout] test test::if_block_no ... ok [INFO] [stdout] test test::mult_print ... ok [INFO] [stdout] test test::if_float ... ok [INFO] [stdout] test test::print_12 ... ok [INFO] [stdout] test test::print_1p1 ... ok [INFO] [stdout] test test::print_var_a ... ok [INFO] [stdout] test test::print_print ... ok [INFO] [stdout] test test::proc_call_local ... ok [INFO] [stdout] test test::print_expr3 ... ok [INFO] [stdout] test test::print_n8 ... ok [INFO] [stdout] test test::recur_call3 ... ok [INFO] [stdout] test test::recur_call ... ok [INFO] [stdout] test test::proc_call3 ... ok [INFO] [stdout] test test::unclosed_paren ... ok [INFO] [stdout] test test::unknown_proc ... ok [INFO] [stdout] test test::while_float ... ok [INFO] [stdout] test test::proc_call ... ok [INFO] [stdout] test test::setpixel_side_effect ... ok [INFO] [stdout] test test::print_var_b ... ok [INFO] [stdout] test test::mandelbrot ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.53s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chasm_wasm-456140c71b3ff2ac) [INFO] [stdout] [INFO] [stderr] Doc-tests chasm_rs [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test chasm-rs/src/lib.rs - compile (line 46) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bbd1653918bc87d3b7047473b4d65a81e1f7af310a645e02fb2fbf3fa6845b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd1653918bc87d3b7047473b4d65a81e1f7af310a645e02fb2fbf3fa6845b7a", kill_on_drop: false }` [INFO] [stdout] bbd1653918bc87d3b7047473b4d65a81e1f7af310a645e02fb2fbf3fa6845b7a