[INFO] fetching crate lucet-runtime-internals 0.6.1... [INFO] checking lucet-runtime-internals-0.6.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate lucet-runtime-internals 0.6.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate lucet-runtime-internals 0.6.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lucet-runtime-internals 0.6.1 [INFO] finished tweaking crates.io crate lucet-runtime-internals 0.6.1 [INFO] tweaked toml for crates.io crate lucet-runtime-internals 0.6.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding cipher v0.2.5 (available: v0.4.4) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding cranelift-entity v0.51.0 (available: v0.112.1) [INFO] [stderr] Adding crypto-mac v0.10.1 (available: v0.11.1) [INFO] [stderr] Adding derivative v1.0.4 (available: v2.2.0) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.3 (available: v0.1.16) [INFO] [stderr] Adding goblin v0.0.24 (available: v0.8.2) [INFO] [stderr] Adding hmac v0.10.1 (available: v0.12.1) [INFO] [stderr] Adding libloading v0.5.2 (available: v0.8.5) [INFO] [stderr] Adding memoffset v0.5.6 (available: v0.9.1) [INFO] [stderr] Adding minisign v0.5.23 (available: v0.7.8) [INFO] [stderr] Adding nix v0.15.0 (available: v0.29.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding object v0.14.1 (available: v0.36.4) [INFO] [stderr] Adding parity-wasm v0.40.3 (available: v0.45.0) [INFO] [stderr] Adding pbkdf2 v0.6.0 (available: v0.12.2) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.37) [INFO] [stderr] Adding raw-cpuid v6.1.0 (available: v11.1.0) [INFO] [stderr] Adding rpassword v5.0.1 (available: v7.3.1) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding salsa20 v0.7.2 (available: v0.10.2) [INFO] [stderr] Adding scroll v0.9.2 (available: v0.12.0) [INFO] [stderr] Adding scroll_derive v0.9.5 (available: v0.12.0) [INFO] [stderr] Adding scrypt v0.5.0 (available: v0.11.0) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding serde-big-array v0.2.0 (available: v0.5.1) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.79) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding target-lexicon v0.8.1 (available: v0.12.16) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee97a8756860185f6824c7ce875dd5b11f8991d21c51c1aafa2a201298103942 [INFO] running `Command { std: "docker" "start" "-a" "ee97a8756860185f6824c7ce875dd5b11f8991d21c51c1aafa2a201298103942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee97a8756860185f6824c7ce875dd5b11f8991d21c51c1aafa2a201298103942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee97a8756860185f6824c7ce875dd5b11f8991d21c51c1aafa2a201298103942", kill_on_drop: false }` [INFO] [stdout] ee97a8756860185f6824c7ce875dd5b11f8991d21c51c1aafa2a201298103942 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ae32a82393b7b475f0764dfcfe4cb91122312c7bc5a8533eddce4c037f51f42 [INFO] running `Command { std: "docker" "start" "-a" "8ae32a82393b7b475f0764dfcfe4cb91122312c7bc5a8533eddce4c037f51f42", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling serde-big-array v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking rpassword v5.0.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking parity-wasm v0.40.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lucet-runtime-internals v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking cranelift-entity v0.51.0 [INFO] [stderr] Compiling lucet-runtime-macros v0.6.1 [INFO] [stderr] Checking getrandom v0.1.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking pbkdf2 v0.6.0 [INFO] [stderr] Checking salsa20 v0.7.2 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling raw-cpuid v6.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking scrypt v0.5.0 [INFO] [stderr] Checking minisign v0.5.23 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Checking goblin v0.0.24 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling target-lexicon v0.8.1 [INFO] [stderr] Checking object v0.14.1 [INFO] [stderr] Checking lucet-module v0.6.1 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/region/mmap.rs:486:10 [INFO] [stdout] | [INFO] [stdout] 486 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/instance/signals.rs:273:53 [INFO] [stdout] | [INFO] [stdout] 273 | saved_panic_hook: Option) + Sync + Send + 'static>>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/instance/signals.rs:312:55 [INFO] [stdout] | [INFO] [stdout] 312 | fn setup_guest_panic_hook() -> Arc) + Sync + Send + 'static>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/instance/state.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 172 | fn strsignal(sig: libc::c_int) -> *mut libc::c_char; [INFO] [stdout] | ---------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/instance/signals.rs:273:53 [INFO] [stdout] | [INFO] [stdout] 273 | saved_panic_hook: Option) + Sync + Send + 'static>>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/instance/signals.rs:312:55 [INFO] [stdout] | [INFO] [stdout] 312 | fn setup_guest_panic_hook() -> Arc) + Sync + Send + 'static>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/instance/state.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 172 | fn strsignal(sig: libc::c_int) -> *mut libc::c_char; [INFO] [stdout] | ---------------------------------------------------- foreign function [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: symbol names in extern blocks are not mangled [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result, Box>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/instance.rs:1175:15 [INFO] [stdout] | [INFO] [stdout] 1174 | pub fn downcast(self) -> Result, YieldedVal> { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1175 | match self.val.downcast() { [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: this value of type `ContextHandle` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/alloc/tests.rs:609:21 [INFO] [stdout] | [INFO] [stdout] 597 | let region = TestRegion::create(1, &CONTEXT_TEST_LIMITS).expect("region created"); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 598 | let mut inst = region [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 606 | let mut parent = ContextHandle::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 609 | let mut child = ContextHandle::create_and_init( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 784 | alloc_tests!(crate::region::mmap::MmapRegion); [INFO] [stdout] | --------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `alloc_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/c_api.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_lucet_error` [INFO] [stdout] 67 | pub enum lucet_error { [INFO] [stdout] | ----------- `lucet_error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ContextHandle` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/alloc/tests.rs:658:21 [INFO] [stdout] | [INFO] [stdout] 646 | let region = TestRegion::create(1, &CONTEXT_TEST_LIMITS).expect("region created"); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 647 | let mut inst = region [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 655 | let mut parent = ContextHandle::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 658 | let mut child = ContextHandle::create_and_init( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 784 | alloc_tests!(crate::region::mmap::MmapRegion); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `alloc_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/c_api.rs:333:34 [INFO] [stdout] | [INFO] [stdout] 333 | #[derive(Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_lucet_result_tag` [INFO] [stdout] 334 | pub enum lucet_result_tag { [INFO] [stdout] | ---------------- `lucet_result_tag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/mod.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | Box::from_raw(self.internal.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 179 | let _ = Box::from_raw(self.internal.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `error::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/alloc/tests.rs:735:21 [INFO] [stdout] | [INFO] [stdout] 730 | let res = TestRegion::create(1, &limits); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 735 | Err(e) => panic!("unexpected error: {}", e), [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 784 | alloc_tests!(crate::region::mmap::MmapRegion); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `alloc_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `error::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/alloc/tests.rs:758:21 [INFO] [stdout] | [INFO] [stdout] 753 | let res = TestRegion::create(1, &limits); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 758 | Err(e) => panic!("unexpected error: {}", e), [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 784 | alloc_tests!(crate::region::mmap::MmapRegion); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `alloc_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `error::Error` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/alloc/tests.rs:776:21 [INFO] [stdout] | [INFO] [stdout] 771 | let res = TestRegion::create(1, &limits); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 776 | Err(e) => panic!("unexpected error: {}", e), [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 784 | alloc_tests!(crate::region::mmap::MmapRegion); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `alloc_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:148:40 [INFO] [stdout] | [INFO] [stdout] 148 | .unwrap_or_else(|_| panic!(TerminationDetails::BorrowError("heap"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 148 | .unwrap_or_else(|_| panic!("{:?}", TerminationDetails::BorrowError("heap"))); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 148 | .unwrap_or_else(|_| std::panic::panic_any(TerminationDetails::BorrowError("heap"))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:163:40 [INFO] [stdout] | [INFO] [stdout] 163 | .unwrap_or_else(|_| panic!(TerminationDetails::BorrowError("heap_mut"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 163 | .unwrap_or_else(|_| panic!("{:?}", TerminationDetails::BorrowError("heap_mut"))); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 163 | .unwrap_or_else(|_| std::panic::panic_any(TerminationDetails::BorrowError("heap_mut"))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:210:36 [INFO] [stdout] | [INFO] [stdout] 210 | Some(Err(_)) => panic!(TerminationDetails::BorrowError("get_embed_ctx")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 210 | Some(Err(_)) => panic!("{:?}", TerminationDetails::BorrowError("get_embed_ctx")), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 210 | Some(Err(_)) => std::panic::panic_any(TerminationDetails::BorrowError("get_embed_ctx")), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | None => panic!(TerminationDetails::CtxNotFound), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 211 | None => panic!("{:?}", TerminationDetails::CtxNotFound), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 211 | None => std::panic::panic_any(TerminationDetails::CtxNotFound), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:225:36 [INFO] [stdout] | [INFO] [stdout] 225 | Some(Err(_)) => panic!(TerminationDetails::BorrowError("get_embed_ctx_mut")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 225 | Some(Err(_)) => panic!("{:?}", TerminationDetails::BorrowError("get_embed_ctx_mut")), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 225 | Some(Err(_)) => std::panic::panic_any(TerminationDetails::BorrowError("get_embed_ctx_mut")), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | None => panic!(TerminationDetails::CtxNotFound), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 226 | None => panic!("{:?}", TerminationDetails::CtxNotFound), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 226 | None => std::panic::panic_any(TerminationDetails::CtxNotFound), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:254:40 [INFO] [stdout] | [INFO] [stdout] 254 | .unwrap_or_else(|_| panic!(TerminationDetails::BorrowError("globals"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 254 | .unwrap_or_else(|_| panic!("{:?}", TerminationDetails::BorrowError("globals"))); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 254 | .unwrap_or_else(|_| std::panic::panic_any(TerminationDetails::BorrowError("globals"))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:266:40 [INFO] [stdout] | [INFO] [stdout] 266 | .unwrap_or_else(|_| panic!(TerminationDetails::BorrowError("globals_mut"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 266 | .unwrap_or_else(|_| panic!("{:?}", TerminationDetails::BorrowError("globals_mut"))); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 266 | .unwrap_or_else(|_| std::panic::panic_any(TerminationDetails::BorrowError("globals_mut"))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:385:39 [INFO] [stdout] | [INFO] [stdout] 385 | .unwrap_or_else(|| panic!(TerminationDetails::YieldTypeMismatch)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 385 | .unwrap_or_else(|| panic!("{:?}", TerminationDetails::YieldTypeMismatch)) [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 385 | .unwrap_or_else(|| std::panic::panic_any(TerminationDetails::YieldTypeMismatch)) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lucet-runtime-internals` (lib) due to 2 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Result, Box>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/instance.rs:1175:15 [INFO] [stdout] | [INFO] [stdout] 1174 | pub fn downcast(self) -> Result, YieldedVal> { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1175 | match self.val.downcast() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/c_api.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_lucet_error` [INFO] [stdout] 67 | pub enum lucet_error { [INFO] [stdout] | ----------- `lucet_error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/c_api.rs:333:34 [INFO] [stdout] | [INFO] [stdout] 333 | #[derive(Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_lucet_result_tag` [INFO] [stdout] 334 | pub enum lucet_result_tag { [INFO] [stdout] | ---------------- `lucet_result_tag` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/mod.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | Box::from_raw(self.internal.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 179 | let _ = Box::from_raw(self.internal.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | / test_body!(stack, { [INFO] [stdout] 70 | | extern "C" { [INFO] [stdout] 71 | | fn arg_printing_child(); [INFO] [stdout] 72 | | } [INFO] [stdout] ... | [INFO] [stdout] 84 | | ); [INFO] [stdout] 85 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | / test_body!(stack, { [INFO] [stdout] 70 | | extern "C" { [INFO] [stdout] 71 | | fn arg_printing_child(); [INFO] [stdout] 72 | | } [INFO] [stdout] ... | [INFO] [stdout] 84 | | ); [INFO] [stdout] 85 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | / test_body!(stack, { [INFO] [stdout] 92 | | extern "C" { [INFO] [stdout] 93 | | fn arg_printing_child(); [INFO] [stdout] 94 | | } [INFO] [stdout] ... | [INFO] [stdout] 119 | | ); [INFO] [stdout] 120 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | / test_body!(stack, { [INFO] [stdout] 92 | | extern "C" { [INFO] [stdout] 93 | | fn arg_printing_child(); [INFO] [stdout] 94 | | } [INFO] [stdout] ... | [INFO] [stdout] 119 | | ); [INFO] [stdout] 120 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | / test_body!(stack, { [INFO] [stdout] 126 | | extern "C" { [INFO] [stdout] 127 | | fn context_set_child(); [INFO] [stdout] 128 | | } [INFO] [stdout] ... | [INFO] [stdout] 135 | | ); [INFO] [stdout] 136 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | / test_body!(stack, { [INFO] [stdout] 126 | | extern "C" { [INFO] [stdout] 127 | | fn context_set_child(); [INFO] [stdout] 128 | | } [INFO] [stdout] ... | [INFO] [stdout] 135 | | ); [INFO] [stdout] 136 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | / test_body!(stack, { [INFO] [stdout] 142 | | extern "C" { [INFO] [stdout] 143 | | fn context_set_child(); [INFO] [stdout] 144 | | } [INFO] [stdout] ... | [INFO] [stdout] 159 | | ); [INFO] [stdout] 160 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | / test_body!(stack, { [INFO] [stdout] 142 | | extern "C" { [INFO] [stdout] 143 | | fn context_set_child(); [INFO] [stdout] 144 | | } [INFO] [stdout] ... | [INFO] [stdout] 159 | | ); [INFO] [stdout] 160 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / test_body!(stack, { [INFO] [stdout] 166 | | extern "C" { [INFO] [stdout] 167 | | fn returning_child(); [INFO] [stdout] 168 | | } [INFO] [stdout] ... | [INFO] [stdout] 172 | | assert_eq!("hello from the child! returning...\n", &get_output()); [INFO] [stdout] 173 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / test_body!(stack, { [INFO] [stdout] 166 | | extern "C" { [INFO] [stdout] 167 | | fn returning_child(); [INFO] [stdout] 168 | | } [INFO] [stdout] ... | [INFO] [stdout] 172 | | assert_eq!("hello from the child! returning...\n", &get_output()); [INFO] [stdout] 173 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | child_n_args!(child_3_args, "the good three args boy", 10, 11, 12); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | child_n_args!(child_3_args, "the good three args boy", 10, 11, 12); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | child_n_args!(child_4_args, "the large four args boy", 20, 21, 22, 23); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | child_n_args!(child_4_args, "the large four args boy", 20, 21, 22, 23); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | child_n_args!(child_5_args, "the big five args son", 30, 31, 32, 33, 34); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | child_n_args!(child_5_args, "the big five args son", 30, 31, 32, 33, 34); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | / child_n_args!( [INFO] [stdout] 211 | | child_6_args, [INFO] [stdout] 212 | | "6 args, hahaha long boy", [INFO] [stdout] 213 | | 40, [INFO] [stdout] ... | [INFO] [stdout] 218 | | 45 [INFO] [stdout] 219 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | / child_n_args!( [INFO] [stdout] 211 | | child_6_args, [INFO] [stdout] 212 | | "6 args, hahaha long boy", [INFO] [stdout] 213 | | 40, [INFO] [stdout] ... | [INFO] [stdout] 218 | | 45 [INFO] [stdout] 219 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / child_n_args!( [INFO] [stdout] 225 | | child_7_args, [INFO] [stdout] 226 | | "7 args, hahaha long boy", [INFO] [stdout] 227 | | 50, [INFO] [stdout] ... | [INFO] [stdout] 233 | | 56 [INFO] [stdout] 234 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | / child_n_args!( [INFO] [stdout] 225 | | child_7_args, [INFO] [stdout] 226 | | "7 args, hahaha long boy", [INFO] [stdout] 227 | | 50, [INFO] [stdout] ... | [INFO] [stdout] 233 | | 56 [INFO] [stdout] 234 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | / child_n_args!( [INFO] [stdout] 240 | | child_8_args, [INFO] [stdout] 241 | | "8 args, hahaha long boy", [INFO] [stdout] 242 | | 60, [INFO] [stdout] ... | [INFO] [stdout] 249 | | 67 [INFO] [stdout] 250 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | / child_n_args!( [INFO] [stdout] 240 | | child_8_args, [INFO] [stdout] 241 | | "8 args, hahaha long boy", [INFO] [stdout] 242 | | 60, [INFO] [stdout] ... | [INFO] [stdout] 249 | | 67 [INFO] [stdout] 250 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | / child_n_args!( [INFO] [stdout] 256 | | child_9_args, [INFO] [stdout] 257 | | "9 args, hahaha long boy", [INFO] [stdout] 258 | | 70, [INFO] [stdout] ... | [INFO] [stdout] 266 | | 78 [INFO] [stdout] 267 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | / child_n_args!( [INFO] [stdout] 256 | | child_9_args, [INFO] [stdout] 257 | | "9 args, hahaha long boy", [INFO] [stdout] 258 | | 70, [INFO] [stdout] ... | [INFO] [stdout] 266 | | 78 [INFO] [stdout] 267 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Box::from_raw(parent_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | / child_n_args!( [INFO] [stdout] 273 | | child_10_args, [INFO] [stdout] 274 | | "10 args, hahaha very long boy", [INFO] [stdout] 275 | | 80, [INFO] [stdout] ... | [INFO] [stdout] 284 | | 89 [INFO] [stdout] 285 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = Box::from_raw(parent_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/context/tests/c_child.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Box::from_raw(child_regs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | / child_n_args!( [INFO] [stdout] 273 | | child_10_args, [INFO] [stdout] 274 | | "10 args, hahaha very long boy", [INFO] [stdout] 275 | | 80, [INFO] [stdout] ... | [INFO] [stdout] 284 | | 89 [INFO] [stdout] 285 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: this warning originates in the macro `test_body` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = Box::from_raw(child_regs); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { Context::swap(CHILD.as_mut().unwrap(), PARENT.as_mut().unwrap()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | unsafe { Context::swap(CHILD.as_mut().unwrap(), PARENT.as_mut().unwrap()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe { Context::swap(CHILD.as_mut().unwrap(), PARENT.as_mut().unwrap()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:91:53 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe { Context::swap(CHILD.as_mut().unwrap(), PARENT.as_mut().unwrap()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 102 | init_and_swap!(stack, arg_printing_child, [arg0, arg1]); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 102 | init_and_swap!(stack, arg_printing_child, [arg0, arg1]); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 117 | init_and_swap!(stack, arg_printing_child, [arg0, arg1]); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 117 | init_and_swap!(stack, arg_printing_child, [arg0, arg1]); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | Context::swap(PARENT.as_mut().unwrap(), CHILD.as_mut().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:125:53 [INFO] [stdout] | [INFO] [stdout] 125 | Context::swap(PARENT.as_mut().unwrap(), CHILD.as_mut().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | Context::set(PARENT.as_ref().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 149 | init_and_swap!(stack, context_set_child, []); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 149 | init_and_swap!(stack, context_set_child, []); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 158 | init_and_swap!(stack, context_set_child, []); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 158 | init_and_swap!(stack, context_set_child, []); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 162 | init_and_swap!(stack, context_set_child, []); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 162 | init_and_swap!(stack, context_set_child, []); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 181 | init_and_swap!(stack, returning_child, []); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 181 | init_and_swap!(stack, returning_child, []); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 194 | init_and_swap!(stack, add, [Val::U32(100), Val::U32(20)]); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 194 | init_and_swap!(stack, add, [Val::U32(100), Val::U32(20)]); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 213 | init_and_swap!(stack, add, [Val::U64(100), Val::U64(20)]); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 213 | init_and_swap!(stack, add, [Val::U64(100), Val::U64(20)]); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(CHILD.as_ref().unwrap().get_retval_gp(0), 120); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 228 | init_and_swap!(stack, add, [Val::F32(100.0), Val::F32(20.0)]); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 228 | init_and_swap!(stack, add, [Val::F32(100.0), Val::F32(20.0)]); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:231:23 [INFO] [stdout] | [INFO] [stdout] 231 | let reg = CHILD.as_ref().unwrap().get_retval_fp(); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | init_and_swap!(stack, add, [Val::F64(100.0), Val::F64(20.0)]); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 244 | init_and_swap!(stack, add, [Val::F64(100.0), Val::F64(20.0)]); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:247:23 [INFO] [stdout] | [INFO] [stdout] 247 | let reg = CHILD.as_ref().unwrap().get_retval_fp(); [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 277 | / child_n_args!(child_3_args, "the good three args boy", { [INFO] [stdout] 278 | | arg1: 10, [INFO] [stdout] 279 | | arg2: 11, [INFO] [stdout] 280 | | arg3: 12 [INFO] [stdout] 281 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 277 | / child_n_args!(child_3_args, "the good three args boy", { [INFO] [stdout] 278 | | arg1: 10, [INFO] [stdout] 279 | | arg2: 11, [INFO] [stdout] 280 | | arg3: 12 [INFO] [stdout] 281 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 283 | / child_n_args!(child_4_args, "the large four args boy", { [INFO] [stdout] 284 | | arg1: 20, [INFO] [stdout] 285 | | arg2: 21, [INFO] [stdout] 286 | | arg3: 22, [INFO] [stdout] 287 | | arg4: 23 [INFO] [stdout] 288 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 283 | / child_n_args!(child_4_args, "the large four args boy", { [INFO] [stdout] 284 | | arg1: 20, [INFO] [stdout] 285 | | arg2: 21, [INFO] [stdout] 286 | | arg3: 22, [INFO] [stdout] 287 | | arg4: 23 [INFO] [stdout] 288 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 290 | / child_n_args!(child_5_args, "the big five args son", { [INFO] [stdout] 291 | | arg1: 30, [INFO] [stdout] 292 | | arg2: 31, [INFO] [stdout] 293 | | arg3: 32, [INFO] [stdout] 294 | | arg4: 33, [INFO] [stdout] 295 | | arg5: 34 [INFO] [stdout] 296 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 290 | / child_n_args!(child_5_args, "the big five args son", { [INFO] [stdout] 291 | | arg1: 30, [INFO] [stdout] 292 | | arg2: 31, [INFO] [stdout] 293 | | arg3: 32, [INFO] [stdout] 294 | | arg4: 33, [INFO] [stdout] 295 | | arg5: 34 [INFO] [stdout] 296 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / child_n_args!(child_6_args, "6 args, hahaha long boy", { [INFO] [stdout] 299 | | arg1: 40, [INFO] [stdout] 300 | | arg2: 41, [INFO] [stdout] 301 | | arg3: 42, [INFO] [stdout] ... | [INFO] [stdout] 304 | | arg6: 45 [INFO] [stdout] 305 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | / child_n_args!(child_6_args, "6 args, hahaha long boy", { [INFO] [stdout] 299 | | arg1: 40, [INFO] [stdout] 300 | | arg2: 41, [INFO] [stdout] 301 | | arg3: 42, [INFO] [stdout] ... | [INFO] [stdout] 304 | | arg6: 45 [INFO] [stdout] 305 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 307 | / child_n_args!(child_7_args, "7 args, hahaha long boy", { [INFO] [stdout] 308 | | arg1: 50, [INFO] [stdout] 309 | | arg2: 51, [INFO] [stdout] 310 | | arg3: 52, [INFO] [stdout] ... | [INFO] [stdout] 314 | | arg7: 56 [INFO] [stdout] 315 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 307 | / child_n_args!(child_7_args, "7 args, hahaha long boy", { [INFO] [stdout] 308 | | arg1: 50, [INFO] [stdout] 309 | | arg2: 51, [INFO] [stdout] 310 | | arg3: 52, [INFO] [stdout] ... | [INFO] [stdout] 314 | | arg7: 56 [INFO] [stdout] 315 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 317 | / child_n_args!(child_8_args, "8 args, hahaha long boy", { [INFO] [stdout] 318 | | arg1: 60, [INFO] [stdout] 319 | | arg2: 61, [INFO] [stdout] 320 | | arg3: 62, [INFO] [stdout] ... | [INFO] [stdout] 325 | | arg8: 67 [INFO] [stdout] 326 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 317 | / child_n_args!(child_8_args, "8 args, hahaha long boy", { [INFO] [stdout] 318 | | arg1: 60, [INFO] [stdout] 319 | | arg2: 61, [INFO] [stdout] 320 | | arg3: 62, [INFO] [stdout] ... | [INFO] [stdout] 325 | | arg8: 67 [INFO] [stdout] 326 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 328 | / child_n_args!(child_9_args, "9 args, hahaha long boy", { [INFO] [stdout] 329 | | arg1: 70, [INFO] [stdout] 330 | | arg2: 71, [INFO] [stdout] 331 | | arg3: 72, [INFO] [stdout] ... | [INFO] [stdout] 337 | | arg9: 78 [INFO] [stdout] 338 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 328 | / child_n_args!(child_9_args, "9 args, hahaha long boy", { [INFO] [stdout] 329 | | arg1: 70, [INFO] [stdout] 330 | | arg2: 71, [INFO] [stdout] 331 | | arg3: 72, [INFO] [stdout] ... | [INFO] [stdout] 337 | | arg9: 78 [INFO] [stdout] 338 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 340 | / child_n_args!(child_10_args, "10 args, hahaha very long boy", { [INFO] [stdout] 341 | | arg1: 80, [INFO] [stdout] 342 | | arg2: 81, [INFO] [stdout] 343 | | arg3: 82, [INFO] [stdout] ... | [INFO] [stdout] 350 | | arg10: 89 [INFO] [stdout] 351 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 340 | / child_n_args!(child_10_args, "10 args, hahaha very long boy", { [INFO] [stdout] 341 | | arg1: 80, [INFO] [stdout] 342 | | arg2: 81, [INFO] [stdout] 343 | | arg3: 82, [INFO] [stdout] ... | [INFO] [stdout] 350 | | arg10: 89 [INFO] [stdout] 351 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 377 | / child_n_fp_args!(child_6_fp_args, "6 args, hahaha long boy", { [INFO] [stdout] 378 | | arg1: 40.0, [INFO] [stdout] 379 | | arg2: 41.0, [INFO] [stdout] 380 | | arg3: 42.0, [INFO] [stdout] ... | [INFO] [stdout] 383 | | arg6: 45.0 [INFO] [stdout] 384 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_fp_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 377 | / child_n_fp_args!(child_6_fp_args, "6 args, hahaha long boy", { [INFO] [stdout] 378 | | arg1: 40.0, [INFO] [stdout] 379 | | arg2: 41.0, [INFO] [stdout] 380 | | arg3: 42.0, [INFO] [stdout] ... | [INFO] [stdout] 383 | | arg6: 45.0 [INFO] [stdout] 384 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_fp_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 386 | / child_n_fp_args!(child_7_fp_args, "7 args, hahaha long boy", { [INFO] [stdout] 387 | | arg1: 50.0, [INFO] [stdout] 388 | | arg2: 51.0, [INFO] [stdout] 389 | | arg3: 52.0, [INFO] [stdout] ... | [INFO] [stdout] 393 | | arg7: 56.0 [INFO] [stdout] 394 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_fp_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 386 | / child_n_fp_args!(child_7_fp_args, "7 args, hahaha long boy", { [INFO] [stdout] 387 | | arg1: 50.0, [INFO] [stdout] 388 | | arg2: 51.0, [INFO] [stdout] 389 | | arg3: 52.0, [INFO] [stdout] ... | [INFO] [stdout] 393 | | arg7: 56.0 [INFO] [stdout] 394 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_fp_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 396 | / child_n_fp_args!(child_8_fp_args, "8 args, hahaha long boy", { [INFO] [stdout] 397 | | arg1: 60.0, [INFO] [stdout] 398 | | arg2: 61.0, [INFO] [stdout] 399 | | arg3: 62.0, [INFO] [stdout] ... | [INFO] [stdout] 404 | | arg8: 67.0 [INFO] [stdout] 405 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_fp_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 396 | / child_n_fp_args!(child_8_fp_args, "8 args, hahaha long boy", { [INFO] [stdout] 397 | | arg1: 60.0, [INFO] [stdout] 398 | | arg2: 61.0, [INFO] [stdout] 399 | | arg3: 62.0, [INFO] [stdout] ... | [INFO] [stdout] 404 | | arg8: 67.0 [INFO] [stdout] 405 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_fp_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 407 | / child_n_fp_args!(child_9_fp_args, "9 args, hahaha long boy", { [INFO] [stdout] 408 | | arg1: 70.0, [INFO] [stdout] 409 | | arg2: 71.0, [INFO] [stdout] 410 | | arg3: 72.0, [INFO] [stdout] ... | [INFO] [stdout] 416 | | arg9: 78.0 [INFO] [stdout] 417 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_fp_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 407 | / child_n_fp_args!(child_9_fp_args, "9 args, hahaha long boy", { [INFO] [stdout] 408 | | arg1: 70.0, [INFO] [stdout] 409 | | arg2: 71.0, [INFO] [stdout] 410 | | arg3: 72.0, [INFO] [stdout] ... | [INFO] [stdout] 416 | | arg9: 78.0 [INFO] [stdout] 417 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_fp_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 419 | / child_n_fp_args!(child_10_fp_args, "10 args, hahaha very long boy", { [INFO] [stdout] 420 | | arg1: 80.0, [INFO] [stdout] 421 | | arg2: 81.0, [INFO] [stdout] 422 | | arg3: 82.0, [INFO] [stdout] ... | [INFO] [stdout] 429 | | arg10: 89.0 [INFO] [stdout] 430 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_fp_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 419 | / child_n_fp_args!(child_10_fp_args, "10 args, hahaha very long boy", { [INFO] [stdout] 420 | | arg1: 80.0, [INFO] [stdout] 421 | | arg2: 81.0, [INFO] [stdout] 422 | | arg3: 82.0, [INFO] [stdout] ... | [INFO] [stdout] 429 | | arg10: 89.0 [INFO] [stdout] 430 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` which comes from the expansion of the macro `child_n_fp_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 449 | / init_and_swap!( [INFO] [stdout] 450 | | stack, [INFO] [stdout] 451 | | guest_fn, [INFO] [stdout] 452 | | [ [INFO] [stdout] ... | [INFO] [stdout] 460 | | ] [INFO] [stdout] 461 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 449 | / init_and_swap!( [INFO] [stdout] 450 | | stack, [INFO] [stdout] 451 | | guest_fn, [INFO] [stdout] 452 | | [ [INFO] [stdout] ... | [INFO] [stdout] 460 | | ] [INFO] [stdout] 461 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | PARENT.as_mut().unwrap(), [INFO] [stdout] | ^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 479 | init_and_swap!(stack, guest_fn, []); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/context/tests/rust_child.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | CHILD.as_mut().unwrap(), [INFO] [stdout] | ^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 479 | init_and_swap!(stack, guest_fn, []); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `init_and_swap` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:148:40 [INFO] [stdout] | [INFO] [stdout] 148 | .unwrap_or_else(|_| panic!(TerminationDetails::BorrowError("heap"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 148 | .unwrap_or_else(|_| panic!("{:?}", TerminationDetails::BorrowError("heap"))); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 148 | .unwrap_or_else(|_| std::panic::panic_any(TerminationDetails::BorrowError("heap"))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:163:40 [INFO] [stdout] | [INFO] [stdout] 163 | .unwrap_or_else(|_| panic!(TerminationDetails::BorrowError("heap_mut"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 163 | .unwrap_or_else(|_| panic!("{:?}", TerminationDetails::BorrowError("heap_mut"))); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 163 | .unwrap_or_else(|_| std::panic::panic_any(TerminationDetails::BorrowError("heap_mut"))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:210:36 [INFO] [stdout] | [INFO] [stdout] 210 | Some(Err(_)) => panic!(TerminationDetails::BorrowError("get_embed_ctx")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 210 | Some(Err(_)) => panic!("{:?}", TerminationDetails::BorrowError("get_embed_ctx")), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 210 | Some(Err(_)) => std::panic::panic_any(TerminationDetails::BorrowError("get_embed_ctx")), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | None => panic!(TerminationDetails::CtxNotFound), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 211 | None => panic!("{:?}", TerminationDetails::CtxNotFound), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 211 | None => std::panic::panic_any(TerminationDetails::CtxNotFound), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:225:36 [INFO] [stdout] | [INFO] [stdout] 225 | Some(Err(_)) => panic!(TerminationDetails::BorrowError("get_embed_ctx_mut")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 225 | Some(Err(_)) => panic!("{:?}", TerminationDetails::BorrowError("get_embed_ctx_mut")), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 225 | Some(Err(_)) => std::panic::panic_any(TerminationDetails::BorrowError("get_embed_ctx_mut")), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | None => panic!(TerminationDetails::CtxNotFound), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 226 | None => panic!("{:?}", TerminationDetails::CtxNotFound), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 226 | None => std::panic::panic_any(TerminationDetails::CtxNotFound), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:254:40 [INFO] [stdout] | [INFO] [stdout] 254 | .unwrap_or_else(|_| panic!(TerminationDetails::BorrowError("globals"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 254 | .unwrap_or_else(|_| panic!("{:?}", TerminationDetails::BorrowError("globals"))); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 254 | .unwrap_or_else(|_| std::panic::panic_any(TerminationDetails::BorrowError("globals"))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:266:40 [INFO] [stdout] | [INFO] [stdout] 266 | .unwrap_or_else(|_| panic!(TerminationDetails::BorrowError("globals_mut"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 266 | .unwrap_or_else(|_| panic!("{:?}", TerminationDetails::BorrowError("globals_mut"))); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 266 | .unwrap_or_else(|_| std::panic::panic_any(TerminationDetails::BorrowError("globals_mut"))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/vmctx.rs:385:39 [INFO] [stdout] | [INFO] [stdout] 385 | .unwrap_or_else(|| panic!(TerminationDetails::YieldTypeMismatch)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `TerminationDetails` [INFO] [stdout] | [INFO] [stdout] 385 | .unwrap_or_else(|| panic!("{:?}", TerminationDetails::YieldTypeMismatch)) [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 385 | .unwrap_or_else(|| std::panic::panic_any(TerminationDetails::YieldTypeMismatch)) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 102 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lucet-runtime-internals` (lib test) due to 7 previous errors; 102 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ae32a82393b7b475f0764dfcfe4cb91122312c7bc5a8533eddce4c037f51f42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ae32a82393b7b475f0764dfcfe4cb91122312c7bc5a8533eddce4c037f51f42", kill_on_drop: false }` [INFO] [stdout] 8ae32a82393b7b475f0764dfcfe4cb91122312c7bc5a8533eddce4c037f51f42