[INFO] cloning repository https://github.com/ziita1111/uefi-bootloader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ziita1111/uefi-bootloader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziita1111%2Fuefi-bootloader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziita1111%2Fuefi-bootloader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c027fd1d3f3a63c9b88f19a71335bacafc8a533 [INFO] checking ziita1111/uefi-bootloader against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fziita1111%2Fuefi-bootloader" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ziita1111/uefi-bootloader [INFO] finished tweaking git repo https://github.com/ziita1111/uefi-bootloader [INFO] tweaked toml for git repo https://github.com/ziita1111/uefi-bootloader written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ziita1111/uefi-bootloader on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ziita1111/uefi-bootloader already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af6f53a92817f74b2fead83ff9e45343ccae5310a8b4d182cbbef2050a079462 [INFO] running `Command { std: "docker" "start" "-a" "af6f53a92817f74b2fead83ff9e45343ccae5310a8b4d182cbbef2050a079462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af6f53a92817f74b2fead83ff9e45343ccae5310a8b4d182cbbef2050a079462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af6f53a92817f74b2fead83ff9e45343ccae5310a8b4d182cbbef2050a079462", kill_on_drop: false }` [INFO] [stdout] af6f53a92817f74b2fead83ff9e45343ccae5310a8b4d182cbbef2050a079462 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4810327081e8f0e5b7e57f0b450fe10a02fffaae946a2f0623d3d6b773f48d55 [INFO] running `Command { std: "docker" "start" "-a" "4810327081e8f0e5b7e57f0b450fe10a02fffaae946a2f0623d3d6b773f48d55", kill_on_drop: false }` [INFO] [stderr] Checking uefi-bootloader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/mm.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `core::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/mm.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use core::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/console.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | pub extern "C" fn efi_print(&self, s: &str) -> EFI_STATUS{ [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/console.rs:25:46 [INFO] [stdout] | [INFO] [stdout] 25 | pub extern "C" fn efi_print_u8(&self, s: &[u8]) -> EFI_STATUS { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe [INFO] [stdout] --> src/console.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | pub extern "C" fn efi_print_u16(&self, s: &[u16]) -> EFI_STATUS { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/init.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | ((*SFSP).OpenVolume)(&mut (*SFSP), &mut ROOT) [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 74 | ((*SFSP).OpenVolume)(&mut (*SFSP), &raw mut ROOT) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result`, which is not FFI-safe [INFO] [stdout] --> src/mm.rs:6:61 [INFO] [stdout] | [INFO] [stdout] 6 | alloctype: EFI_ALLOCATE_TYPE, memtype: EFI_MEMORY_TYPE) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result`, which is not FFI-safe [INFO] [stdout] --> src/mm.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | extern "C" fn efi_allocate_any_pages(pages: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result<(), ()>`, which is not FFI-safe [INFO] [stdout] --> src/mm.rs:26:81 [INFO] [stdout] | [INFO] [stdout] 26 | mut map_key: &mut usize, mut desc_size: &mut usize, mut desc_ver: &mut u32) -> Result<(),()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/util.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | pub extern "C" fn str_to_u16(s: &str) -> [u16;1000] { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16; 1000]`, which is not FFI-safe [INFO] [stdout] --> src/util.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | pub extern "C" fn str_to_u16(s: &str) -> [u16;1000] { [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/util.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern "C" fn print_u8(s: &[u8]) { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe [INFO] [stdout] --> src/util.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub extern "C" fn print_u16(s: &[u16]) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/file.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(name: &'a str) -> FILE { [INFO] [stdout] | ^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(name: &'a str) -> FILE<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/console.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | pub extern "C" fn efi_print(&self, s: &str) -> EFI_STATUS{ [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/console.rs:25:46 [INFO] [stdout] | [INFO] [stdout] 25 | pub extern "C" fn efi_print_u8(&self, s: &[u8]) -> EFI_STATUS { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe [INFO] [stdout] --> src/console.rs:38:47 [INFO] [stdout] | [INFO] [stdout] 38 | pub extern "C" fn efi_print_u16(&self, s: &[u16]) -> EFI_STATUS { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/init.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | ((*SFSP).OpenVolume)(&mut (*SFSP), &mut ROOT) [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 74 | ((*SFSP).OpenVolume)(&mut (*SFSP), &raw mut ROOT) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result`, which is not FFI-safe [INFO] [stdout] --> src/mm.rs:6:61 [INFO] [stdout] | [INFO] [stdout] 6 | alloctype: EFI_ALLOCATE_TYPE, memtype: EFI_MEMORY_TYPE) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result`, which is not FFI-safe [INFO] [stdout] --> src/mm.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | extern "C" fn efi_allocate_any_pages(pages: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result<(), ()>`, which is not FFI-safe [INFO] [stdout] --> src/mm.rs:26:81 [INFO] [stdout] | [INFO] [stdout] 26 | mut map_key: &mut usize, mut desc_size: &mut usize, mut desc_ver: &mut u32) -> Result<(),()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/util.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | pub extern "C" fn str_to_u16(s: &str) -> [u16;1000] { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16; 1000]`, which is not FFI-safe [INFO] [stdout] --> src/util.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | pub extern "C" fn str_to_u16(s: &str) -> [u16;1000] { [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/util.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern "C" fn print_u8(s: &[u8]) { [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `[u16]`, which is not FFI-safe [INFO] [stdout] --> src/util.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | pub extern "C" fn print_u16(s: &[u16]) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/file.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(name: &'a str) -> FILE { [INFO] [stdout] | ^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(name: &'a str) -> FILE<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 23 | / loop{ [INFO] [stdout] 24 | | [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 26 | EFI_STATUS::SUCCESS [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | let mut file = FILE::new("configure"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uefi-bootloader` (bin "uefi-bootloader") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `core::ptr` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use core::ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / fn panic(_panic: &PanicInfo<'_>) -> ! { [INFO] [stdout] 31 | | efi_println!("panic!"); [INFO] [stdout] 32 | | loop {} [INFO] [stdout] 33 | | } [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/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95d69415fb7e848a.rlib [INFO] [stdout] = note: second definition in the local crate (`uefi_bootloader`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uefi-bootloader` (bin "uefi-bootloader" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4810327081e8f0e5b7e57f0b450fe10a02fffaae946a2f0623d3d6b773f48d55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4810327081e8f0e5b7e57f0b450fe10a02fffaae946a2f0623d3d6b773f48d55", kill_on_drop: false }` [INFO] [stdout] 4810327081e8f0e5b7e57f0b450fe10a02fffaae946a2f0623d3d6b773f48d55