[INFO] cloning repository https://github.com/Luna1996/rust_os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Luna1996/rust_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuna1996%2Frust_os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuna1996%2Frust_os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82f8d53749488a3dc0ed3be48641c3a55349c7c3 [INFO] checking Luna1996/rust_os against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuna1996%2Frust_os" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luna1996/rust_os on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Luna1996/rust_os [INFO] finished tweaking git repo https://github.com/Luna1996/rust_os [INFO] tweaked toml for git repo https://github.com/Luna1996/rust_os written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Luna1996/rust_os 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77819724b9e1b8fb5331eafcb0a129496659dcec9fd38d4a5980a02398ec2a64 [INFO] running `Command { std: "docker" "start" "-a" "77819724b9e1b8fb5331eafcb0a129496659dcec9fd38d4a5980a02398ec2a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77819724b9e1b8fb5331eafcb0a129496659dcec9fd38d4a5980a02398ec2a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77819724b9e1b8fb5331eafcb0a129496659dcec9fd38d4a5980a02398ec2a64", kill_on_drop: false }` [INFO] [stdout] 77819724b9e1b8fb5331eafcb0a129496659dcec9fd38d4a5980a02398ec2a64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3204fac84529856d46837d5dffbbc6d751e95baced58c4249daaeebc42bb290a [INFO] running `Command { std: "docker" "start" "-a" "3204fac84529856d46837d5dffbbc6d751e95baced58c4249daaeebc42bb290a", kill_on_drop: false }` [INFO] [stderr] Checking uefi v0.1.0 (/opt/rustwide/workdir/uefi) [INFO] [stderr] Checking elf v0.1.0 (/opt/rustwide/workdir/elf) [INFO] [stderr] Checking kernel v0.1.0 (/opt/rustwide/workdir/kernel) [INFO] [stderr] Checking tests v0.1.0 (/opt/rustwide/workdir/tests) [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] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (bin "kernel") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> kernel/src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 8 | | loop {} [INFO] [stdout] 9 | | } [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eb900a948ffb2e3b.rlib [INFO] [stdout] = note: second definition in the local crate (`kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | pub const EFI_2_80_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (80)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - pub const EFI_2_80_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (80)); [INFO] [stdout] 24 + pub const EFI_2_80_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (80); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | pub const EFI_2_70_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (70)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - pub const EFI_2_70_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (70)); [INFO] [stdout] 25 + pub const EFI_2_70_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (70); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | pub const EFI_2_60_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (60)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - pub const EFI_2_60_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (60)); [INFO] [stdout] 26 + pub const EFI_2_60_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (60); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:27:49 [INFO] [stdout] | [INFO] [stdout] 27 | pub const EFI_2_50_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (50)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - pub const EFI_2_50_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (50)); [INFO] [stdout] 27 + pub const EFI_2_50_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (50); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | pub const EFI_2_40_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (40)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - pub const EFI_2_40_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (40)); [INFO] [stdout] 28 + pub const EFI_2_40_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (40); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | pub const EFI_2_31_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (31)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - pub const EFI_2_31_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (31)); [INFO] [stdout] 29 + pub const EFI_2_31_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (31); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:30:49 [INFO] [stdout] | [INFO] [stdout] 30 | pub const EFI_2_30_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (30)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - pub const EFI_2_30_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (30)); [INFO] [stdout] 30 + pub const EFI_2_30_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (30); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub const EFI_2_20_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (20)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - pub const EFI_2_20_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (20)); [INFO] [stdout] 31 + pub const EFI_2_20_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (20); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | pub const EFI_2_10_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (10)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - pub const EFI_2_10_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (10)); [INFO] [stdout] 32 + pub const EFI_2_10_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (10); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | pub const EFI_2_00_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (00)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - pub const EFI_2_00_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (00)); [INFO] [stdout] 33 + pub const EFI_2_00_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (00); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | pub const EFI_1_10_SYSTEM_TABLE_REVISION: u32 = ((1 << 16) | (10)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - pub const EFI_1_10_SYSTEM_TABLE_REVISION: u32 = ((1 << 16) | (10)); [INFO] [stdout] 34 + pub const EFI_1_10_SYSTEM_TABLE_REVISION: u32 = (1 << 16) | (10); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | pub const EFI_1_02_SYSTEM_TABLE_REVISION: u32 = ((1 << 16) | (02)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - pub const EFI_1_02_SYSTEM_TABLE_REVISION: u32 = ((1 << 16) | (02)); [INFO] [stdout] 35 + pub const EFI_1_02_SYSTEM_TABLE_REVISION: u32 = (1 << 16) | (02); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/protocols/media_access.rs:356:50 [INFO] [stdout] | [INFO] [stdout] 356 | pub const EFI_BLOCK_IO_PROTOCOL_REVISION3: u32 = ((2 << 16) | (31)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 356 - pub const EFI_BLOCK_IO_PROTOCOL_REVISION3: u32 = ((2 << 16) | (31)); [INFO] [stdout] 356 + pub const EFI_BLOCK_IO_PROTOCOL_REVISION3: u32 = (2 << 16) | (31); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_transmute` has been stable since 1.56.0 and no longer requires an attribute to enable [INFO] [stdout] --> uefi/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_transmute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (bin "kernel" test) due to 2 previous errors [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | pub const EFI_2_80_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (80)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - pub const EFI_2_80_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (80)); [INFO] [stdout] 24 + pub const EFI_2_80_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (80); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:25:49 [INFO] [stdout] | [INFO] [stdout] 25 | pub const EFI_2_70_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (70)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - pub const EFI_2_70_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (70)); [INFO] [stdout] 25 + pub const EFI_2_70_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (70); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | pub const EFI_2_60_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (60)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 26 - pub const EFI_2_60_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (60)); [INFO] [stdout] 26 + pub const EFI_2_60_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (60); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:27:49 [INFO] [stdout] | [INFO] [stdout] 27 | pub const EFI_2_50_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (50)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - pub const EFI_2_50_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (50)); [INFO] [stdout] 27 + pub const EFI_2_50_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (50); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | pub const EFI_2_40_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (40)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - pub const EFI_2_40_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (40)); [INFO] [stdout] 28 + pub const EFI_2_40_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (40); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | pub const EFI_2_31_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (31)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 29 - pub const EFI_2_31_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (31)); [INFO] [stdout] 29 + pub const EFI_2_31_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (31); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:30:49 [INFO] [stdout] | [INFO] [stdout] 30 | pub const EFI_2_30_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (30)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - pub const EFI_2_30_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (30)); [INFO] [stdout] 30 + pub const EFI_2_30_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (30); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub const EFI_2_20_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (20)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - pub const EFI_2_20_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (20)); [INFO] [stdout] 31 + pub const EFI_2_20_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (20); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | pub const EFI_2_10_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (10)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - pub const EFI_2_10_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (10)); [INFO] [stdout] 32 + pub const EFI_2_10_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (10); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 33 | pub const EFI_2_00_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (00)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - pub const EFI_2_00_SYSTEM_TABLE_REVISION: u32 = ((2 << 16) | (00)); [INFO] [stdout] 33 + pub const EFI_2_00_SYSTEM_TABLE_REVISION: u32 = (2 << 16) | (00); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | pub const EFI_1_10_SYSTEM_TABLE_REVISION: u32 = ((1 << 16) | (10)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - pub const EFI_1_10_SYSTEM_TABLE_REVISION: u32 = ((1 << 16) | (10)); [INFO] [stdout] 34 + pub const EFI_1_10_SYSTEM_TABLE_REVISION: u32 = (1 << 16) | (10); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/efi_system_table.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | pub const EFI_1_02_SYSTEM_TABLE_REVISION: u32 = ((1 << 16) | (02)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - pub const EFI_1_02_SYSTEM_TABLE_REVISION: u32 = ((1 << 16) | (02)); [INFO] [stdout] 35 + pub const EFI_1_02_SYSTEM_TABLE_REVISION: u32 = (1 << 16) | (02); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uefi/src/protocols/media_access.rs:356:50 [INFO] [stdout] | [INFO] [stdout] 356 | pub const EFI_BLOCK_IO_PROTOCOL_REVISION3: u32 = ((2 << 16) | (31)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 356 - pub const EFI_BLOCK_IO_PROTOCOL_REVISION3: u32 = ((2 << 16) | (31)); [INFO] [stdout] 356 + pub const EFI_BLOCK_IO_PROTOCOL_REVISION3: u32 = (2 << 16) | (31); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_transmute` has been stable since 1.56.0 and no longer requires an attribute to enable [INFO] [stdout] --> uefi/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_transmute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Option`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/console_support.rs:544:45 [INFO] [stdout] | [INFO] [stdout] 544 | pub type EFI_GRAPHICS_OUTPUT_PROTOCOL_BLT = extern "C" fn( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 545 | | This: &EFI_GRAPHICS_OUTPUT_PROTOCOL, // IN [INFO] [stdout] 546 | | BltBuffer: Option<&mut EFI_GRAPHICS_OUTPUT_BLT_PIXEL>, // IN OUT [INFO] [stdout] 547 | | BltOperation: EFI_GRAPHICS_OUTPUT_BLT_OPERATION, // IN [INFO] [stdout] ... | [INFO] [stdout] 554 | | Delta: Option, // IN [INFO] [stdout] 555 | | ) -> EFI_STATUS; [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] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Option<*const u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/media_access.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub type EFI_LOAD_FILE = extern "C" fn( [INFO] [stdout] | __________________________^ [INFO] [stdout] 13 | | This: &EFI_LOAD_FILE_PROTOCOL, // IN [INFO] [stdout] 14 | | FilePath: &EFI_DEVICE_PATH_PROTOCOL, // IN [INFO] [stdout] 15 | | BootPolicy: bool, // IN [INFO] [stdout] 16 | | BufferSize: &mut usize, // IN OUT [INFO] [stdout] 17 | | Buffer: Option<*const u8>, // IN [INFO] [stdout] 18 | | ) -> EFI_STATUS; [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 `[u16]`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/media_access.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | pub type EFI_FILE_OPEN_EX = extern "C" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 110 | | This: &EFI_FILE_PROTOCOL, // IN [INFO] [stdout] 111 | | NewHandle: &mut &EFI_FILE_PROTOCOL, // OUT [INFO] [stdout] 112 | | FileName: &[u16], // IN [INFO] [stdout] ... | [INFO] [stdout] 115 | | Token: &mut EFI_FILE_IO_TOKEN, // IN OUT [INFO] [stdout] 116 | | ) -> 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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:87:52 [INFO] [stdout] | [INFO] [stdout] 87 | pub type EFI_DRIVER_DIAGNOSTICS2_RUN_DIAGNOSTICS = extern "C" fn( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 88 | | This: &EFI_DRIVER_DIAGNOSTICS2_PROTOCOL, // IN [INFO] [stdout] 89 | | ControllerHandle: EFI_HANDLE, // IN [INFO] [stdout] 90 | | ChildHandle: Option, // IN [INFO] [stdout] ... | [INFO] [stdout] 95 | | Buffer: &mut &[u16], // OUT [INFO] [stdout] 96 | | ) -> EFI_STATUS; [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 `[u8]`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | pub type EFI_COMPONENT_NAME_GET_DRIVER_NAME = extern "C" fn( [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 118 | | This: &EFI_COMPONENT_NAME2_PROTOCOL, // IN [INFO] [stdout] 119 | | Language: &[u8], // IN [INFO] [stdout] 120 | | DriverName: &mut &[u16], // OUT [INFO] [stdout] 121 | | ) -> 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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:124:51 [INFO] [stdout] | [INFO] [stdout] 124 | pub type EFI_COMPONENT_NAME_GET_CONTROLLER_NAME = extern "C" fn( [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 125 | | This: &EFI_COMPONENT_NAME2_PROTOCOL, // IN [INFO] [stdout] 126 | | ControllerHandle: EFI_HANDLE, // IN [INFO] [stdout] 127 | | ChildHandle: Option, // IN [INFO] [stdout] 128 | | Language: &[u8], // IN [INFO] [stdout] 129 | | ControllerName: &mut &[u16], // OUT [INFO] [stdout] 130 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:159:55 [INFO] [stdout] | [INFO] [stdout] 159 | pub type EFI_PLATFORM_TO_DRIVER_CONFIGURATION_QUERY = extern "C" fn( [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 160 | | This: &EFI_PLATFORM_TO_DRIVER_CONFIGURATION_PROTOCOL, // IN [INFO] [stdout] 161 | | ControllerHandle: EFI_HANDLE, // IN [INFO] [stdout] 162 | | ChildHandle: Option, // IN [INFO] [stdout] ... | [INFO] [stdout] 166 | | ParameterBlockSize: &mut usize, // OUT [INFO] [stdout] 167 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:170:58 [INFO] [stdout] | [INFO] [stdout] 170 | pub type EFI_PLATFORM_TO_DRIVER_CONFIGURATION_RESPONSE = extern "C" fn( [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 171 | | This: &EFI_PLATFORM_TO_DRIVER_CONFIGURATION_PROTOCOL, // IN [INFO] [stdout] 172 | | ControllerHandle: EFI_HANDLE, // IN [INFO] [stdout] 173 | | ChildHandle: Option, // IN [INFO] [stdout] ... | [INFO] [stdout] 178 | | ConfigurationAction: EFI_PLATFORM_CONFIGURATION_ACTION, // IN [INFO] [stdout] 179 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:230:48 [INFO] [stdout] | [INFO] [stdout] 230 | pub type EFI_DRIVER_HEALTH_GET_HEALTH_STATUS = extern "C" fn( [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 231 | | This: &EFI_DRIVER_HEALTH_PROTOCOL, // IN [INFO] [stdout] 232 | | ControllerHandle: Option, // IN [INFO] [stdout] 233 | | ChildHandle: Option, // IN [INFO] [stdout] ... | [INFO] [stdout] 236 | | FormHiiHandle: Option<&mut EFI_HII_HANDLE>, // OUT [INFO] [stdout] 237 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | pub type EFI_DRIVER_HEALTH_REPAIR = extern "C" fn( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 262 | | This: &EFI_DRIVER_HEALTH_PROTOCOL, // IN [INFO] [stdout] 263 | | ControllerHandle: EFI_HANDLE, // IN [INFO] [stdout] 264 | | ChildHandle: Option, // IN [INFO] [stdout] 265 | | RepairNotify: Option, // IN [INFO] [stdout] 266 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | pub type EFI_CREATE_EVENT = extern "C" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 8 | | Type: u32, // IN [INFO] [stdout] 9 | | NotifyTpl: EFI_TPL, // IN [INFO] [stdout] 10 | | NotifyFunction: Option, // IN [INFO] [stdout] 11 | | NotifyContext: Option, // IN [INFO] [stdout] 12 | | Event: &mut EFI_EVENT, // OUT [INFO] [stdout] 13 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | pub type EFI_CREATE_EVENT_EX = extern "C" fn( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 29 | | Type: u32, // IN [INFO] [stdout] 30 | | NotifyTpl: EFI_TPL, // IN [INFO] [stdout] 31 | | NotifyFunction: Option, // IN [INFO] [stdout] ... | [INFO] [stdout] 34 | | Event: &mut EFI_EVENT, // OUT [INFO] [stdout] 35 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:301:38 [INFO] [stdout] | [INFO] [stdout] 301 | pub type EFI_DISCONNECT_CONTROLLER = extern "C" fn( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 302 | | ControllerHandle: EFI_HANDLE, // IN [INFO] [stdout] 303 | | DriverImageHandle: Option, // IN [INFO] [stdout] 304 | | ChildHandle: Option, // IN [INFO] [stdout] 305 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:315:37 [INFO] [stdout] | [INFO] [stdout] 315 | pub type EFI_LOCATE_HANDLE_BUFFER = extern "C" fn( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 316 | | SearchType: EFI_LOCATE_SEARCH_TYPE, // IN [INFO] [stdout] 317 | | Protocol: Option<&EFI_GUID>, // IN [INFO] [stdout] 318 | | SearchKey: Option, // IN [INFO] [stdout] 319 | | NoHandles: &mut usize, // IN OUT [INFO] [stdout] 320 | | Buffer: &mut &mut EFI_HANDLE, // OUT [INFO] [stdout] 321 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:324:32 [INFO] [stdout] | [INFO] [stdout] 324 | pub type EFI_LOCATE_PROTOCOL = extern "C" fn( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 325 | | Protocol: &EFI_GUID, // IN [INFO] [stdout] 326 | | Registration: Option, // IN [INFO] [stdout] 327 | | Interface: &mut VOID_PTR, // OUT [INFO] [stdout] 328 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:337:27 [INFO] [stdout] | [INFO] [stdout] 337 | pub type EFI_IMAGE_LOAD = extern "C" fn( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 338 | | BootPolicy: bool, // IN [INFO] [stdout] 339 | | ParentImageHandle: EFI_HANDLE, // IN [INFO] [stdout] 340 | | DevicePath: &EFI_DEVICE_PATH_PROTOCOL, // IN [INFO] [stdout] ... | [INFO] [stdout] 343 | | ImageHandle: &mut EFI_HANDLE, // OUT [INFO] [stdout] 344 | | ) -> EFI_STATUS; [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 `Option<*const u16>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | pub type EFI_EXIT = extern "C" fn( [INFO] [stdout] | _____________________^ [INFO] [stdout] 360 | | ImageHandle: EFI_HANDLE, // IN [INFO] [stdout] 361 | | ExitStatus: EFI_STATUS, // IN [INFO] [stdout] 362 | | ExitDataSize: usize, // IN [INFO] [stdout] 363 | | ExitData: Option<*const u16>, // IN [INFO] [stdout] 364 | | ) -> EFI_STATUS; [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 `Option<*const u16>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:373:35 [INFO] [stdout] | [INFO] [stdout] 373 | pub type EFI_SET_WATCHDOG_TIMER = extern "C" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 374 | | Timeout: usize, // IN [INFO] [stdout] 375 | | WatchdogCode: u64, // IN [INFO] [stdout] 376 | | DataSize: usize, // IN [INFO] [stdout] 377 | | WatchdogData: Option<*const u16>, // IN [INFO] [stdout] 378 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/runtime.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | pub type EFI_GET_VARIABLE = extern "C" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 23 | | VariableName: *const u16, // IN [INFO] [stdout] 24 | | VendorGuid: &EFI_GUID, // IN [INFO] [stdout] 25 | | Attributes: Option<&mut u32>, // OUT [INFO] [stdout] 26 | | DataSize: &mut usize, // IN OUT [INFO] [stdout] 27 | | Data: Option<*mut u8>, // OUT [INFO] [stdout] 28 | | ) -> EFI_STATUS; [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 `Option`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/runtime.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | pub type EFI_UPDATE_CAPSULE = extern "C" fn( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 155 | | CapsuleHeaderArray: &&EFI_CAPSULE_HEADER, // IN [INFO] [stdout] 156 | | CapsuleCount: usize, // IN [INFO] [stdout] 157 | | ScatterGatherList: Option, // IN [INFO] [stdout] 158 | | ) -> EFI_STATUS; [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 `[&EFI_CAPSULE_HEADER]`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/runtime.rs:201:43 [INFO] [stdout] | [INFO] [stdout] 201 | pub type EFI_QUERY_CAPSULE_CAPABILITIES = extern "C" fn( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 202 | | CapsuleHeaderArray: &[&EFI_CAPSULE_HEADER], // IN [INFO] [stdout] 203 | | CapsuleCount: usize, // IN [INFO] [stdout] 204 | | MaximumCapsuleSize: &mut u64, // OUT [INFO] [stdout] 205 | | ResetType: &mut EFI_RESET_TYPE, // OUT [INFO] [stdout] 206 | | ) -> 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: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Option`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/console_support.rs:544:45 [INFO] [stdout] | [INFO] [stdout] 544 | pub type EFI_GRAPHICS_OUTPUT_PROTOCOL_BLT = extern "C" fn( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 545 | | This: &EFI_GRAPHICS_OUTPUT_PROTOCOL, // IN [INFO] [stdout] 546 | | BltBuffer: Option<&mut EFI_GRAPHICS_OUTPUT_BLT_PIXEL>, // IN OUT [INFO] [stdout] 547 | | BltOperation: EFI_GRAPHICS_OUTPUT_BLT_OPERATION, // IN [INFO] [stdout] ... | [INFO] [stdout] 554 | | Delta: Option, // IN [INFO] [stdout] 555 | | ) -> EFI_STATUS; [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] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Option<*const u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/media_access.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub type EFI_LOAD_FILE = extern "C" fn( [INFO] [stdout] | __________________________^ [INFO] [stdout] 13 | | This: &EFI_LOAD_FILE_PROTOCOL, // IN [INFO] [stdout] 14 | | FilePath: &EFI_DEVICE_PATH_PROTOCOL, // IN [INFO] [stdout] 15 | | BootPolicy: bool, // IN [INFO] [stdout] 16 | | BufferSize: &mut usize, // IN OUT [INFO] [stdout] 17 | | Buffer: Option<*const u8>, // IN [INFO] [stdout] 18 | | ) -> EFI_STATUS; [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 `[u16]`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/media_access.rs:109:29 [INFO] [stdout] | [INFO] [stdout] 109 | pub type EFI_FILE_OPEN_EX = extern "C" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 110 | | This: &EFI_FILE_PROTOCOL, // IN [INFO] [stdout] 111 | | NewHandle: &mut &EFI_FILE_PROTOCOL, // OUT [INFO] [stdout] 112 | | FileName: &[u16], // IN [INFO] [stdout] ... | [INFO] [stdout] 115 | | Token: &mut EFI_FILE_IO_TOKEN, // IN OUT [INFO] [stdout] 116 | | ) -> 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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:87:52 [INFO] [stdout] | [INFO] [stdout] 87 | pub type EFI_DRIVER_DIAGNOSTICS2_RUN_DIAGNOSTICS = extern "C" fn( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 88 | | This: &EFI_DRIVER_DIAGNOSTICS2_PROTOCOL, // IN [INFO] [stdout] 89 | | ControllerHandle: EFI_HANDLE, // IN [INFO] [stdout] 90 | | ChildHandle: Option, // IN [INFO] [stdout] ... | [INFO] [stdout] 95 | | Buffer: &mut &[u16], // OUT [INFO] [stdout] 96 | | ) -> EFI_STATUS; [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 `[u8]`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | pub type EFI_COMPONENT_NAME_GET_DRIVER_NAME = extern "C" fn( [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 118 | | This: &EFI_COMPONENT_NAME2_PROTOCOL, // IN [INFO] [stdout] 119 | | Language: &[u8], // IN [INFO] [stdout] 120 | | DriverName: &mut &[u16], // OUT [INFO] [stdout] 121 | | ) -> 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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:124:51 [INFO] [stdout] | [INFO] [stdout] 124 | pub type EFI_COMPONENT_NAME_GET_CONTROLLER_NAME = extern "C" fn( [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 125 | | This: &EFI_COMPONENT_NAME2_PROTOCOL, // IN [INFO] [stdout] 126 | | ControllerHandle: EFI_HANDLE, // IN [INFO] [stdout] 127 | | ChildHandle: Option, // IN [INFO] [stdout] 128 | | Language: &[u8], // IN [INFO] [stdout] 129 | | ControllerName: &mut &[u16], // OUT [INFO] [stdout] 130 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:159:55 [INFO] [stdout] | [INFO] [stdout] 159 | pub type EFI_PLATFORM_TO_DRIVER_CONFIGURATION_QUERY = extern "C" fn( [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 160 | | This: &EFI_PLATFORM_TO_DRIVER_CONFIGURATION_PROTOCOL, // IN [INFO] [stdout] 161 | | ControllerHandle: EFI_HANDLE, // IN [INFO] [stdout] 162 | | ChildHandle: Option, // IN [INFO] [stdout] ... | [INFO] [stdout] 166 | | ParameterBlockSize: &mut usize, // OUT [INFO] [stdout] 167 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:170:58 [INFO] [stdout] | [INFO] [stdout] 170 | pub type EFI_PLATFORM_TO_DRIVER_CONFIGURATION_RESPONSE = extern "C" fn( [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 171 | | This: &EFI_PLATFORM_TO_DRIVER_CONFIGURATION_PROTOCOL, // IN [INFO] [stdout] 172 | | ControllerHandle: EFI_HANDLE, // IN [INFO] [stdout] 173 | | ChildHandle: Option, // IN [INFO] [stdout] ... | [INFO] [stdout] 178 | | ConfigurationAction: EFI_PLATFORM_CONFIGURATION_ACTION, // IN [INFO] [stdout] 179 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:230:48 [INFO] [stdout] | [INFO] [stdout] 230 | pub type EFI_DRIVER_HEALTH_GET_HEALTH_STATUS = extern "C" fn( [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 231 | | This: &EFI_DRIVER_HEALTH_PROTOCOL, // IN [INFO] [stdout] 232 | | ControllerHandle: Option, // IN [INFO] [stdout] 233 | | ChildHandle: Option, // IN [INFO] [stdout] ... | [INFO] [stdout] 236 | | FormHiiHandle: Option<&mut EFI_HII_HANDLE>, // OUT [INFO] [stdout] 237 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/protocols/uefi_driver_model.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | pub type EFI_DRIVER_HEALTH_REPAIR = extern "C" fn( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 262 | | This: &EFI_DRIVER_HEALTH_PROTOCOL, // IN [INFO] [stdout] 263 | | ControllerHandle: EFI_HANDLE, // IN [INFO] [stdout] 264 | | ChildHandle: Option, // IN [INFO] [stdout] 265 | | RepairNotify: Option, // IN [INFO] [stdout] 266 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | pub type EFI_CREATE_EVENT = extern "C" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 8 | | Type: u32, // IN [INFO] [stdout] 9 | | NotifyTpl: EFI_TPL, // IN [INFO] [stdout] 10 | | NotifyFunction: Option, // IN [INFO] [stdout] 11 | | NotifyContext: Option, // IN [INFO] [stdout] 12 | | Event: &mut EFI_EVENT, // OUT [INFO] [stdout] 13 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | pub type EFI_CREATE_EVENT_EX = extern "C" fn( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 29 | | Type: u32, // IN [INFO] [stdout] 30 | | NotifyTpl: EFI_TPL, // IN [INFO] [stdout] 31 | | NotifyFunction: Option, // IN [INFO] [stdout] ... | [INFO] [stdout] 34 | | Event: &mut EFI_EVENT, // OUT [INFO] [stdout] 35 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:301:38 [INFO] [stdout] | [INFO] [stdout] 301 | pub type EFI_DISCONNECT_CONTROLLER = extern "C" fn( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 302 | | ControllerHandle: EFI_HANDLE, // IN [INFO] [stdout] 303 | | DriverImageHandle: Option, // IN [INFO] [stdout] 304 | | ChildHandle: Option, // IN [INFO] [stdout] 305 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:315:37 [INFO] [stdout] | [INFO] [stdout] 315 | pub type EFI_LOCATE_HANDLE_BUFFER = extern "C" fn( [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 316 | | SearchType: EFI_LOCATE_SEARCH_TYPE, // IN [INFO] [stdout] 317 | | Protocol: Option<&EFI_GUID>, // IN [INFO] [stdout] 318 | | SearchKey: Option, // IN [INFO] [stdout] 319 | | NoHandles: &mut usize, // IN OUT [INFO] [stdout] 320 | | Buffer: &mut &mut EFI_HANDLE, // OUT [INFO] [stdout] 321 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:324:32 [INFO] [stdout] | [INFO] [stdout] 324 | pub type EFI_LOCATE_PROTOCOL = extern "C" fn( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 325 | | Protocol: &EFI_GUID, // IN [INFO] [stdout] 326 | | Registration: Option, // IN [INFO] [stdout] 327 | | Interface: &mut VOID_PTR, // OUT [INFO] [stdout] 328 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:337:27 [INFO] [stdout] | [INFO] [stdout] 337 | pub type EFI_IMAGE_LOAD = extern "C" fn( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 338 | | BootPolicy: bool, // IN [INFO] [stdout] 339 | | ParentImageHandle: EFI_HANDLE, // IN [INFO] [stdout] 340 | | DevicePath: &EFI_DEVICE_PATH_PROTOCOL, // IN [INFO] [stdout] ... | [INFO] [stdout] 343 | | ImageHandle: &mut EFI_HANDLE, // OUT [INFO] [stdout] 344 | | ) -> EFI_STATUS; [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 `Option<*const u16>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | pub type EFI_EXIT = extern "C" fn( [INFO] [stdout] | _____________________^ [INFO] [stdout] 360 | | ImageHandle: EFI_HANDLE, // IN [INFO] [stdout] 361 | | ExitStatus: EFI_STATUS, // IN [INFO] [stdout] 362 | | ExitDataSize: usize, // IN [INFO] [stdout] 363 | | ExitData: Option<*const u16>, // IN [INFO] [stdout] 364 | | ) -> EFI_STATUS; [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 `Option<*const u16>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/boot.rs:373:35 [INFO] [stdout] | [INFO] [stdout] 373 | pub type EFI_SET_WATCHDOG_TIMER = extern "C" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 374 | | Timeout: usize, // IN [INFO] [stdout] 375 | | WatchdogCode: u64, // IN [INFO] [stdout] 376 | | DataSize: usize, // IN [INFO] [stdout] 377 | | WatchdogData: Option<*const u16>, // IN [INFO] [stdout] 378 | | ) -> EFI_STATUS; [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 `Option<*mut u8>`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/runtime.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | pub type EFI_GET_VARIABLE = extern "C" fn( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 23 | | VariableName: *const u16, // IN [INFO] [stdout] 24 | | VendorGuid: &EFI_GUID, // IN [INFO] [stdout] 25 | | Attributes: Option<&mut u32>, // OUT [INFO] [stdout] 26 | | DataSize: &mut usize, // IN OUT [INFO] [stdout] 27 | | Data: Option<*mut u8>, // OUT [INFO] [stdout] 28 | | ) -> EFI_STATUS; [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 `Option`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/runtime.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | pub type EFI_UPDATE_CAPSULE = extern "C" fn( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 155 | | CapsuleHeaderArray: &&EFI_CAPSULE_HEADER, // IN [INFO] [stdout] 156 | | CapsuleCount: usize, // IN [INFO] [stdout] 157 | | ScatterGatherList: Option, // IN [INFO] [stdout] 158 | | ) -> EFI_STATUS; [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 `[&EFI_CAPSULE_HEADER]`, which is not FFI-safe [INFO] [stdout] --> uefi/src/services/runtime.rs:201:43 [INFO] [stdout] | [INFO] [stdout] 201 | pub type EFI_QUERY_CAPSULE_CAPABILITIES = extern "C" fn( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 202 | | CapsuleHeaderArray: &[&EFI_CAPSULE_HEADER], // IN [INFO] [stdout] 203 | | CapsuleCount: usize, // IN [INFO] [stdout] 204 | | MaximumCapsuleSize: &mut u64, // OUT [INFO] [stdout] 205 | | ResetType: &mut EFI_RESET_TYPE, // OUT [INFO] [stdout] 206 | | ) -> 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: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3204fac84529856d46837d5dffbbc6d751e95baced58c4249daaeebc42bb290a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3204fac84529856d46837d5dffbbc6d751e95baced58c4249daaeebc42bb290a", kill_on_drop: false }` [INFO] [stdout] 3204fac84529856d46837d5dffbbc6d751e95baced58c4249daaeebc42bb290a