[INFO] fetching crate lucet-runtime-internals 0.6.1... [INFO] testing lucet-runtime-internals-0.6.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate lucet-runtime-internals 0.6.1 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lucet-runtime-internals 0.6.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v3.0.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.11.0) [INFO] [stderr] Adding getrandom v0.1.3 (available: v0.1.16) [INFO] [stderr] Adding libloading v0.5.2 (available: v0.9.0) [INFO] [stderr] Adding memoffset v0.5.6 (available: v0.9.1) [INFO] [stderr] Adding nix v0.15.0 (available: v0.31.2) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding raw-cpuid v6.1.0 (available: v11.6.0) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93b8547706874cd7b06cf4627d555d808f827425035574d95145b5e0f37cd4d5 [INFO] running `Command { std: "docker" "start" "-a" "93b8547706874cd7b06cf4627d555d808f827425035574d95145b5e0f37cd4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93b8547706874cd7b06cf4627d555d808f827425035574d95145b5e0f37cd4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93b8547706874cd7b06cf4627d555d808f827425035574d95145b5e0f37cd4d5", kill_on_drop: false }` [INFO] [stdout] 93b8547706874cd7b06cf4627d555d808f827425035574d95145b5e0f37cd4d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfb84e0b67624afed244157373a2a7226b2120926dfd4710fb341a8fdc4fdc25 [INFO] running `Command { std: "docker" "start" "-a" "cfb84e0b67624afed244157373a2a7226b2120926dfd4710fb341a8fdc4fdc25", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling serde-big-array v0.2.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling parity-wasm v0.40.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cranelift-entity v0.51.0 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling salsa20 v0.7.2 [INFO] [stderr] Compiling scrypt v0.5.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling raw-cpuid v6.1.0 [INFO] [stderr] Compiling lucet-runtime-internals v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rpassword v5.0.1 [INFO] [stderr] Compiling getrandom v0.1.3 [INFO] [stderr] Compiling minisign v0.5.23 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling lucet-runtime-macros v0.6.1 [INFO] [stderr] Compiling goblin v0.0.24 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling target-lexicon v0.8.1 [INFO] [stderr] Compiling bincode v1.3.3 [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 functions, methods, 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] warning: direct cast of function item into an integer [INFO] [stdout] --> src/context/mod.rs:454:51 [INFO] [stdout] | [INFO] [stdout] 454 | stack_builder.push(lucet_context_backstop as u64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 454 | stack_builder.push(lucet_context_backstop as *const () as u64); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/context/mod.rs:462:52 [INFO] [stdout] | [INFO] [stdout] 462 | stack_builder.push(lucet_context_bootstrap as u64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 462 | stack_builder.push(lucet_context_bootstrap as *const () as u64); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/instance.rs:877:68 [INFO] [stdout] | [INFO] [stdout] 877 | *top_of_stack = crate::context::lucet_context_activate as u64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 877 | *top_of_stack = crate::context::lucet_context_activate as *const () as u64; [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: 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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] = 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; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cfb84e0b67624afed244157373a2a7226b2120926dfd4710fb341a8fdc4fdc25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfb84e0b67624afed244157373a2a7226b2120926dfd4710fb341a8fdc4fdc25", kill_on_drop: false }` [INFO] [stdout] cfb84e0b67624afed244157373a2a7226b2120926dfd4710fb341a8fdc4fdc25