[INFO] fetching crate lucet-runtime-internals 0.6.1... [INFO] testing lucet-runtime-internals-0.6.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate lucet-runtime-internals 0.6.1 into /workspace/builds/worker-1-tc1/source [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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lucet-runtime-internals 0.6.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.3) [INFO] [stderr] Adding getrandom v0.1.3 (available: v0.1.16) [INFO] [stderr] Adding libloading v0.5.2 (available: v0.8.8) [INFO] [stderr] Adding memoffset v0.5.6 (available: v0.9.1) [INFO] [stderr] Adding nix v0.15.0 (available: v0.30.1) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding raw-cpuid v6.1.0 (available: v11.5.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scroll_derive v0.9.5 [INFO] [stderr] Downloaded lucet-runtime-macros v0.6.1 [INFO] [stderr] Downloaded lucet-module v0.6.1 [INFO] [stderr] Downloaded getrandom v0.1.3 [INFO] [stderr] Downloaded cranelift-entity v0.51.0 [INFO] [stderr] Downloaded derivative v1.0.4 [INFO] [stderr] Downloaded parity-wasm v0.40.3 [INFO] [stderr] Downloaded minisign v0.5.23 [INFO] [stderr] Downloaded object v0.14.1 [INFO] [stderr] Downloaded goblin v0.0.24 [INFO] [stderr] Downloaded scrypt v0.5.0 [INFO] [stderr] Downloaded crypto-mac v0.10.1 [INFO] [stderr] Downloaded pbkdf2 v0.6.0 [INFO] [stderr] Downloaded scroll v0.9.2 [INFO] [stderr] Downloaded target-lexicon v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c160d2229c8d540e98710e8e1ecbf421f64119fe938ced7356c963bcd59916ec [INFO] running `Command { std: "docker" "start" "-a" "c160d2229c8d540e98710e8e1ecbf421f64119fe938ced7356c963bcd59916ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c160d2229c8d540e98710e8e1ecbf421f64119fe938ced7356c963bcd59916ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c160d2229c8d540e98710e8e1ecbf421f64119fe938ced7356c963bcd59916ec", kill_on_drop: false }` [INFO] [stdout] c160d2229c8d540e98710e8e1ecbf421f64119fe938ced7356c963bcd59916ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64e01bb8e1081de589fa02b6f8b5e5d6a06dc746328ffc1086a8fb1542e4c34a [INFO] running `Command { std: "docker" "start" "-a" "64e01bb8e1081de589fa02b6f8b5e5d6a06dc746328ffc1086a8fb1542e4c34a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling target-lexicon v0.8.1 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling serde-big-array v0.2.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling salsa20 v0.7.2 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling rpassword v5.0.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling raw-cpuid v6.1.0 [INFO] [stderr] Compiling parity-wasm v0.40.3 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling lucet-runtime-internals v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cranelift-entity v0.51.0 [INFO] [stderr] Compiling scrypt v0.5.0 [INFO] [stderr] Compiling minisign v0.5.23 [INFO] [stderr] Compiling getrandom v0.1.3 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling goblin v0.0.24 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling lucet-runtime-macros v0.6.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling object v0.14.1 [INFO] [stderr] Compiling lucet-module v0.6.1 [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]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/instance/state.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [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] = help: `#[no_mangle]` can be applied to methods, functions, and statics [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [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: `#[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 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)]` (part of `#[warn(unused)]`) 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: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/context/mod.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | if backstop_callback != Context::default_backstop_callback { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 399 - if backstop_callback != Context::default_backstop_callback { [INFO] [stdout] 399 + if !std::ptr::fn_addr_eq(backstop_callback, Context::default_backstop_callback as extern "C" fn(*mut Instance)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/instance/execution.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let terminable = (*instance) [INFO] [stdout] | ^ -------- this raw pointer has type `*mut Instance` [INFO] [stdout] | ______________________| [INFO] [stdout] | | [INFO] [stdout] 130 | | .kill_state [INFO] [stdout] 131 | | .terminable [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 129 ~ let terminable = (&(*instance) [INFO] [stdout] 130 ~ .kill_state) [INFO] [stdout] | [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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(|_| panic!(TerminationDetails::BorrowError("heap"))); [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(|_| panic!(TerminationDetails::BorrowError("heap_mut"))); [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(_)) => panic!(TerminationDetails::BorrowError("get_embed_ctx")), [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 => panic!(TerminationDetails::CtxNotFound), [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(_)) => panic!(TerminationDetails::BorrowError("get_embed_ctx_mut")), [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 => panic!(TerminationDetails::CtxNotFound), [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(|_| panic!(TerminationDetails::BorrowError("globals"))); [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(|_| panic!(TerminationDetails::BorrowError("globals_mut"))); [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(|| panic!(TerminationDetails::YieldTypeMismatch)) [INFO] [stdout] 385 + .unwrap_or_else(|| std::panic::panic_any(TerminationDetails::YieldTypeMismatch)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lucet-runtime-internals` (lib) due to 1 previous error; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "64e01bb8e1081de589fa02b6f8b5e5d6a06dc746328ffc1086a8fb1542e4c34a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64e01bb8e1081de589fa02b6f8b5e5d6a06dc746328ffc1086a8fb1542e4c34a", kill_on_drop: false }` [INFO] [stdout] 64e01bb8e1081de589fa02b6f8b5e5d6a06dc746328ffc1086a8fb1542e4c34a