[INFO] cloning repository https://github.com/Maxuss/galevm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Maxuss/galevm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxuss%2Fgalevm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxuss%2Fgalevm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0521d94b08a47d8aa9190b323f69ad8113cf5a3 [INFO] checking Maxuss/galevm/b0521d94b08a47d8aa9190b323f69ad8113cf5a3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxuss%2Fgalevm" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Maxuss/galevm on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Maxuss/galevm [INFO] finished tweaking git repo https://github.com/Maxuss/galevm [INFO] tweaked toml for git repo https://github.com/Maxuss/galevm written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Maxuss/galevm 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dda35e4b694883adb443c4ece7e086dc602494d57b0c46d2519c81fde3ed6053 [INFO] running `Command { std: "docker" "start" "-a" "dda35e4b694883adb443c4ece7e086dc602494d57b0c46d2519c81fde3ed6053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dda35e4b694883adb443c4ece7e086dc602494d57b0c46d2519c81fde3ed6053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dda35e4b694883adb443c4ece7e086dc602494d57b0c46d2519c81fde3ed6053", kill_on_drop: false }` [INFO] [stdout] dda35e4b694883adb443c4ece7e086dc602494d57b0c46d2519c81fde3ed6053 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e127a4a6a6fa1618c994a0e44d68550930732cedc11045b46f58d119fc8e93af [INFO] running `Command { std: "docker" "start" "-a" "e127a4a6a6fa1618c994a0e44d68550930732cedc11045b46f58d119fc8e93af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking galevm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/tks/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/tks/kw.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::visit::{Scope, Visitable, Visitor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/var.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/visit.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/tks/expr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> src/tks/kw.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::visit::{Scope, Visitable, Visitor}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/var.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::RngCore` [INFO] [stdout] --> src/visit.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/tks/expr.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | Expression::StaticAccess(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/tks/expr.rs:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | Expression::StaticAccess(path) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/var.rs:204:44 [INFO] [stdout] | [INFO] [stdout] 204 | self.static_fns.get(name).map(|f| *f.clone()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / extern_fns!(visitor { [INFO] [stdout] 39 | | scope "std" { [INFO] [stdout] 40 | | extern fn panic(message) -> void; [INFO] [stdout] 41 | | extern fn exit(code) -> void; [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | }) [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 `extern_fns` (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] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [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/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib/io.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / extern_fns!(visitor { [INFO] [stdout] 48 | | scope "std::io" { [INFO] [stdout] 49 | | extern fn print(value) -> void; [INFO] [stdout] 50 | | extern fn println(value) -> void; [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (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] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [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/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib/math.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / extern_fns!(visitor { [INFO] [stdout] 63 | | scope "std::math" { [INFO] [stdout] 64 | | extern fn min(min, val) -> num; [INFO] [stdout] 65 | | extern fn max(max, val) -> num; [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (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] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [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/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib/strs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / extern_fns!(visitor { [INFO] [stdout] 12 | | scope "std::str" { [INFO] [stdout] 13 | | extern fn stringify(value) -> str; [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (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] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [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/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib/mem.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / extern_fns!(visitor { [INFO] [stdout] 30 | | scope "std::mem" { [INFO] [stdout] 31 | | extern fn transmute(value, ty) -> unknown; [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (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] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/var.rs:204:44 [INFO] [stdout] | [INFO] [stdout] 204 | self.static_fns.get(name).map(|f| *f.clone()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 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/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / extern_fns!(visitor { [INFO] [stdout] 39 | | scope "std" { [INFO] [stdout] 40 | | extern fn panic(message) -> void; [INFO] [stdout] 41 | | extern fn exit(code) -> void; [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | }) [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 `extern_fns` (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] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [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/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib/io.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / extern_fns!(visitor { [INFO] [stdout] 48 | | scope "std::io" { [INFO] [stdout] 49 | | extern fn print(value) -> void; [INFO] [stdout] 50 | | extern fn println(value) -> void; [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (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] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [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/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib/math.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / extern_fns!(visitor { [INFO] [stdout] 63 | | scope "std::math" { [INFO] [stdout] 64 | | extern fn min(min, val) -> num; [INFO] [stdout] 65 | | extern fn max(max, val) -> num; [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] 78 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (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] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [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/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib/strs.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / extern_fns!(visitor { [INFO] [stdout] 12 | | scope "std::str" { [INFO] [stdout] 13 | | extern fn stringify(value) -> str; [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (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] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [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/fns.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/stdlib/mem.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / extern_fns!(visitor { [INFO] [stdout] 30 | | scope "std::mem" { [INFO] [stdout] 31 | | extern fn transmute(value, ty) -> unknown; [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (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] 255 - drop(__extfns); [INFO] [stdout] 255 + let _ = __extfns; [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/fns.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | drop(__extfns); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut MutexGuard<'_, Vec) -> lit::Literal + Send + Sync>>>` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | / extern_fns!(vm { [INFO] [stdout] 232 | | extern fn example_print(name) -> void; [INFO] [stdout] 233 | | extern fn add(a, b) -> num; [INFO] [stdout] 234 | | }); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `extern_fns` (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] 231 - drop(__extfns); [INFO] [stdout] 231 + let _ = __extfns; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `galevm` (lib) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `galevm` (lib test) due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e127a4a6a6fa1618c994a0e44d68550930732cedc11045b46f58d119fc8e93af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e127a4a6a6fa1618c994a0e44d68550930732cedc11045b46f58d119fc8e93af", kill_on_drop: false }` [INFO] [stdout] e127a4a6a6fa1618c994a0e44d68550930732cedc11045b46f58d119fc8e93af