[INFO] fetching crate efw 0.1.0... [INFO] checking efw-0.1.0 against master#bbe853615821442ef11d6cd42a30a73432b38d89 for pr-154205 [INFO] extracting crate efw 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate efw 0.1.0 [INFO] finished tweaking crates.io crate efw 0.1.0 [INFO] tweaked toml for crates.io crate efw 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate efw 0.1.0 on toolchain bbe853615821442ef11d6cd42a30a73432b38d89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "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 3 packages to latest compatible versions [INFO] [stderr] Adding late-static v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding r-efi v2.2.0 (available: v6.0.0) [INFO] [stderr] Adding ucs2 v0.1.0 (available: v0.3.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ucs2 v0.1.0 [INFO] [stderr] Downloaded late-static v0.3.0 [INFO] [stderr] Downloaded r-efi v2.2.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72b19eebdc664d438c928d537555b0f940427f17a7dab2d77b4f8238876c0584 [INFO] running `Command { std: "docker" "start" "-a" "72b19eebdc664d438c928d537555b0f940427f17a7dab2d77b4f8238876c0584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72b19eebdc664d438c928d537555b0f940427f17a7dab2d77b4f8238876c0584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72b19eebdc664d438c928d537555b0f940427f17a7dab2d77b4f8238876c0584", kill_on_drop: false }` [INFO] [stdout] 72b19eebdc664d438c928d537555b0f940427f17a7dab2d77b4f8238876c0584 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23f6d6bd8e0de99f7472a3a120cbf1403ea6f99be7e9d6468f94b6cc02e5586c [INFO] running `Command { std: "docker" "start" "-a" "23f6d6bd8e0de99f7472a3a120cbf1403ea6f99be7e9d6468f94b6cc02e5586c", kill_on_drop: false }` [INFO] [stderr] Checking ucs2 v0.1.0 [INFO] [stderr] Checking late-static v0.3.0 [INFO] [stderr] Checking r-efi v2.2.0 [INFO] [stderr] Checking efw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `prelude` in `alloc` [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use alloc::prelude::v1::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `prelude` in `alloc` [INFO] [stdout] --> src/lib.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use alloc::prelude::v1::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `alloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/boot_services.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | let mut buffer = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/boot_services.rs:60:150 [INFO] [stdout] | [INFO] [stdout] 60 | ...uid, search_key: *mut core::ffi::c_void) -> Result> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/boot_services.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let mut vector: Vec = Vec::new(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/boot_services.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | let mut vector: Vec = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/memory_map.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) buffer: Vec, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/memory_map.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn new(buffer: Vec, map_key: usize, desc_size: usize, desc_ver: u32) -> Self { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/protocol.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | fn find_supporting_handles() -> Result> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/protocol.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | fn find_instances() -> Result> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `alloc` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use alloc::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe extern fn efi_main(handle: efi::bits::Handle, system_table: *mut efi::bits::SystemTable) -> efi::bits::Status { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / fn panic_handler(panic_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 42 | | let message = match panic_info.message() { [INFO] [stdout] 43 | | Some(s) => s.clone(), [INFO] [stdout] 44 | | None => format_args!("no message"), [INFO] [stdout] ... | [INFO] [stdout] 56 | | loop {} [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/bbe853615821442ef11d6cd42a30a73432b38d89/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eaa78b24106cd0ea.rmeta [INFO] [stdout] = note: second definition in the local crate (`efw`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `efw` (lib test) due to 11 previous errors; 3 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/boot_services.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | let mut buffer = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/boot_services.rs:60:150 [INFO] [stdout] | [INFO] [stdout] 60 | ...uid, search_key: *mut core::ffi::c_void) -> Result> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/boot_services.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let mut vector: Vec = Vec::new(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/boot_services.rs:69:39 [INFO] [stdout] | [INFO] [stdout] 69 | let mut vector: Vec = Vec::new(); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/memory_map.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) buffer: Vec, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/memory_map.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn new(buffer: Vec, map_key: usize, desc_size: usize, desc_ver: u32) -> Self { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/protocol.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | fn find_supporting_handles() -> Result> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/efi/protocol.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | fn find_instances() -> Result> { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `alloc` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use alloc::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe extern fn efi_main(handle: efi::bits::Handle, system_table: *mut efi::bits::SystemTable) -> efi::bits::Status { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `alloc_prelude` [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(alloc_prelude)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute cannot be used on foreign functions [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[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] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | let message = match panic_info.message() { [INFO] [stdout] | -------------------- this expression has type `PanicMessage<'_>` [INFO] [stdout] 43 | Some(s) => s.clone(), [INFO] [stdout] | ^^^^^^^ expected `PanicMessage<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PanicMessage<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | let message = match panic_info.message() { [INFO] [stdout] | -------------------- this expression has type `PanicMessage<'_>` [INFO] [stdout] 43 | Some(s) => s.clone(), [INFO] [stdout] 44 | None => format_args!("no message"), [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `PanicMessage<'_>`, found `Option<_>` [INFO] [stdout] | `None` is interpreted as a unit variant, not a new binding [INFO] [stdout] | [INFO] [stdout] --> /rustc/bbe853615821442ef11d6cd42a30a73432b38d89/library/core/src/option.rs:604:4 [INFO] [stdout] | [INFO] [stdout] = note: unit variant defined here [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PanicMessage<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] help: introduce a new binding instead [INFO] [stdout] | [INFO] [stdout] 44 - None => format_args!("no message"), [INFO] [stdout] 44 + other_none => format_args!("no message"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0433, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `efw` (lib) due to 12 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "23f6d6bd8e0de99f7472a3a120cbf1403ea6f99be7e9d6468f94b6cc02e5586c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23f6d6bd8e0de99f7472a3a120cbf1403ea6f99be7e9d6468f94b6cc02e5586c", kill_on_drop: false }` [INFO] [stdout] 23f6d6bd8e0de99f7472a3a120cbf1403ea6f99be7e9d6468f94b6cc02e5586c