[INFO] fetching crate maia 0.1.1...
[INFO] checking maia-0.1.1 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate maia 0.1.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate maia 0.1.1 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate maia 0.1.1
[INFO] finished tweaking crates.io crate maia 0.1.1
[INFO] tweaked toml for crates.io crate maia 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded raw-window-metal v0.2.0
[INFO] [stderr]   Downloaded generator v0.7.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b3cca1faa3d9ce5bec133abae6c1258d5c02ca1242905f7faeb4aa38ac534a19
[INFO] running `Command { std: "docker" "start" "-a" "b3cca1faa3d9ce5bec133abae6c1258d5c02ca1242905f7faeb4aa38ac534a19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b3cca1faa3d9ce5bec133abae6c1258d5c02ca1242905f7faeb4aa38ac534a19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3cca1faa3d9ce5bec133abae6c1258d5c02ca1242905f7faeb4aa38ac534a19", kill_on_drop: false }`
[INFO] [stdout] b3cca1faa3d9ce5bec133abae6c1258d5c02ca1242905f7faeb4aa38ac534a19
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e35a815846fb0d714a59e8c3b56be40869db78a64919c5b559b94ab83026c98
[INFO] running `Command { std: "docker" "start" "-a" "9e35a815846fb0d714a59e8c3b56be40869db78a64919c5b559b94ab83026c98", kill_on_drop: false }`
[INFO] [stderr]    Compiling maia v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking bumpalo v3.14.0
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/image.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(Subobject<SwapchainImages>),
[INFO] [stdout]    |     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/command_buffer.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(Subobject<CommandPoolLifetime>);
[INFO] [stdout]     |        ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RecordedCommands` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(());
[INFO] [stdout]     |                         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub unsafe fn vk_create_instance() -> unsafe extern "system" fn(
[INFO] [stdout]    |  _______________________________________^
[INFO] [stdout] 27 | |     &'_ InstanceCreateInfo<'_>,
[INFO] [stdout] 28 | |     Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 29 | |     &mut Option<Handle<VkInstance>>,
[INFO] [stdout] 30 | | ) -> VkResult {
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 |   ) -> unsafe extern "system" fn(
[INFO] [stdout]    |  ______^
[INFO] [stdout] 36 | |     Option<Str<'_>>,
[INFO] [stdout] 37 | |     &mut u32,
[INFO] [stdout] 38 | |     Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 39 | | ) -> VkResult {
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |       pub enumerate_physical_devices: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 49 | |         Ref<VkInstance>,
[INFO] [stdout] 50 | |         &mut u32,
[INFO] [stdout] 51 | |         Option<ArrayMut<MaybeUninit<Handle<VkPhysicalDevice>>>>,
[INFO] [stdout] 52 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | /         unsafe extern "system" fn(
[INFO] [stdout] 69 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 70 | |             Option<Str<'_>>,
[INFO] [stdout] 71 | |             &mut u32,
[INFO] [stdout] 72 | |             Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 73 | |         ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |       pub create_device: unsafe extern "system" fn(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 75 | |         Ref<VkPhysicalDevice>,
[INFO] [stdout] 76 | |         &'_ DeviceCreateInfo,
[INFO] [stdout] 77 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 78 | |         &mut Option<Handle<VkDevice>>,
[INFO] [stdout] 79 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 139 |       pub device_wait_idle: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 140 | |         // Technically not ext. sync. on the device, but on the queues. But
[INFO] [stdout] 141 | |         // this is safer because the queues borrow the device.
[INFO] [stdout] 142 | |         Mut<VkDevice>,
[INFO] [stdout] 143 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |       pub queue_submit: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 151 | |         Mut<VkQueue>,
[INFO] [stdout] 152 | |         u32,
[INFO] [stdout] 153 | |         Option<Array<VkSubmitInfo<Null>>>,
[INFO] [stdout] 154 | |         Option<Mut<VkFence>>,
[INFO] [stdout] 155 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:156:26
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub queue_wait_idle: unsafe extern "system" fn(Mut<VkQueue>) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |       pub allocate_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 158 | |         Ref<VkDevice>,
[INFO] [stdout] 159 | |         &MemoryAllocateInfo,
[INFO] [stdout] 160 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 161 | |         &mut Option<Handle<VkDeviceMemory>>,
[INFO] [stdout] 162 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |       pub map_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 164 | |         Ref<VkDevice>,
[INFO] [stdout] 165 | |         Mut<VkDeviceMemory>,
[INFO] [stdout] 166 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | |         &mut *mut u8,
[INFO] [stdout] 170 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:178:23
[INFO] [stdout]     |
[INFO] [stdout] 178 |       pub create_fence: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 179 | |         Ref<VkDevice>,
[INFO] [stdout] 180 | |         &FenceCreateInfo,
[INFO] [stdout] 181 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 182 | |         &mut Option<Handle<VkFence>>,
[INFO] [stdout] 183 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:189:26
[INFO] [stdout]     |
[INFO] [stdout] 189 |       pub wait_for_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 190 | |         Ref<VkDevice>,
[INFO] [stdout] 191 | |         u32,
[INFO] [stdout] 192 | |         Array<Ref<VkFence>>,
[INFO] [stdout] 193 | |         Bool,
[INFO] [stdout] 194 | |         u64,
[INFO] [stdout] 195 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 196 |       pub reset_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 197 | |         Ref<VkDevice>,
[INFO] [stdout] 198 | |         u32,
[INFO] [stdout] 199 | |         Array<Mut<VkFence>>,
[INFO] [stdout] 200 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:201:27
[INFO] [stdout]     |
[INFO] [stdout] 201 |       pub create_semaphore: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 202 | |         Ref<VkDevice>,
[INFO] [stdout] 203 | |         &SemaphoreCreateInfo,
[INFO] [stdout] 204 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 205 | |         &mut Option<Handle<VkSemaphore>>,
[INFO] [stdout] 206 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:212:24
[INFO] [stdout]     |
[INFO] [stdout] 212 |       pub create_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 213 | |         Ref<VkDevice>,
[INFO] [stdout] 214 | |         &BufferCreateInfo,
[INFO] [stdout] 215 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 216 | |         &mut Option<Handle<VkBuffer>>,
[INFO] [stdout] 217 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:223:23
[INFO] [stdout]     |
[INFO] [stdout] 223 |       pub create_image: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 224 | |         Ref<VkDevice>,
[INFO] [stdout] 225 | |         &ImageCreateInfo,
[INFO] [stdout] 226 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 227 | |         &mut Option<Handle<VkImage>>,
[INFO] [stdout] 228 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:244:29
[INFO] [stdout]     |
[INFO] [stdout] 244 |       pub bind_buffer_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 245 | |         Ref<VkDevice>,
[INFO] [stdout] 246 | |         Mut<VkBuffer>,
[INFO] [stdout] 247 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 248 | |         u64,
[INFO] [stdout] 249 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:250:28
[INFO] [stdout]     |
[INFO] [stdout] 250 |       pub bind_image_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 251 | |         Ref<VkDevice>,
[INFO] [stdout] 252 | |         Mut<VkImage>,
[INFO] [stdout] 253 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 254 | |         u64,
[INFO] [stdout] 255 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:256:28
[INFO] [stdout]     |
[INFO] [stdout] 256 |       pub create_image_view: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 257 | |         Ref<VkDevice>,
[INFO] [stdout] 258 | |         &VkImageViewCreateInfo,
[INFO] [stdout] 259 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 260 | |         &mut Option<Handle<VkImageView>>,
[INFO] [stdout] 261 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:267:31
[INFO] [stdout]     |
[INFO] [stdout] 267 |       pub create_shader_module: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 268 | |         Ref<VkDevice>,
[INFO] [stdout] 269 | |         &VkShaderModuleCreateInfo,
[INFO] [stdout] 270 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 271 | |         &mut Option<Handle<VkShaderModule>>,
[INFO] [stdout] 272 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:278:32
[INFO] [stdout]     |
[INFO] [stdout] 278 |       pub create_pipeline_cache: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 279 | |         Ref<VkDevice>,
[INFO] [stdout] 280 | |         &PipelineCacheCreateInfo,
[INFO] [stdout] 281 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 282 | |         &mut Option<Handle<VkPipelineCache>>,
[INFO] [stdout] 283 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:289:34
[INFO] [stdout]     |
[INFO] [stdout] 289 |       pub get_pipeline_cache_data: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 290 | |         Ref<VkDevice>,
[INFO] [stdout] 291 | |         Ref<VkPipelineCache>,
[INFO] [stdout] 292 | |         &mut usize,
[INFO] [stdout] 293 | |         Option<ArrayMut<MaybeUninit<u8>>>,
[INFO] [stdout] 294 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 |       pub create_framebuffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 296 | |         Ref<VkDevice>,
[INFO] [stdout] 297 | |         &VkFramebufferCreateInfo,
[INFO] [stdout] 298 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 299 | |         &mut Option<Handle<VkFramebuffer>>,
[INFO] [stdout] 300 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:306:29
[INFO] [stdout]     |
[INFO] [stdout] 306 |       pub create_render_pass: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 307 | |         Ref<VkDevice>,
[INFO] [stdout] 308 | |         &RenderPassCreateInfo,
[INFO] [stdout] 309 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 310 | |         &mut Option<Handle<VkRenderPass>>,
[INFO] [stdout] 311 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:317:39
[INFO] [stdout]     |
[INFO] [stdout] 317 |       pub create_descriptor_set_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________________^
[INFO] [stdout] 318 | |         Ref<VkDevice>,
[INFO] [stdout] 319 | |         &VkDescriptorSetLayoutCreateInfo,
[INFO] [stdout] 320 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 321 | |         &mut Option<Handle<VkDescriptorSetLayout>>,
[INFO] [stdout] 322 | |     )
[INFO] [stdout] 323 | |         -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:329:33
[INFO] [stdout]     |
[INFO] [stdout] 329 |       pub create_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 330 | |         Ref<VkDevice>,
[INFO] [stdout] 331 | |         &DescriptorPoolCreateInfo,
[INFO] [stdout] 332 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 333 | |         &mut Option<Handle<VkDescriptorPool>>,
[INFO] [stdout] 334 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:340:32
[INFO] [stdout]     |
[INFO] [stdout] 340 |       pub reset_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 341 | |         Ref<VkDevice>,
[INFO] [stdout] 342 | |         Mut<VkDescriptorPool>,
[INFO] [stdout] 343 | |         DescriptorPoolResetFlags,
[INFO] [stdout] 344 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:345:35
[INFO] [stdout]     |
[INFO] [stdout] 345 |       pub allocate_descriptor_sets: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 346 | |         Ref<VkDevice>,
[INFO] [stdout] 347 | |         &DescriptorSetAllocateInfo,
[INFO] [stdout] 348 | |         ArrayMut<MaybeUninit<Handle<VkDescriptorSet>>>,
[INFO] [stdout] 349 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:357:33
[INFO] [stdout]     |
[INFO] [stdout] 357 |       pub create_pipeline_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 358 | |         Ref<VkDevice>,
[INFO] [stdout] 359 | |         &PipelineLayoutCreateInfo,
[INFO] [stdout] 360 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 361 | |         &mut Option<Handle<VkPipelineLayout>>,
[INFO] [stdout] 362 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:368:25
[INFO] [stdout]     |
[INFO] [stdout] 368 |       pub create_sampler: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 369 | |         Ref<VkDevice>,
[INFO] [stdout] 370 | |         &SamplerCreateInfo,
[INFO] [stdout] 371 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 372 | |         &mut Option<Handle<VkSampler>>,
[INFO] [stdout] 373 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:379:36
[INFO] [stdout]     |
[INFO] [stdout] 379 |       pub create_graphics_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 380 | |         Ref<VkDevice>,
[INFO] [stdout] 381 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 382 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 385 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 386 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:387:35
[INFO] [stdout]     |
[INFO] [stdout] 387 |       pub create_compute_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 388 | |         Ref<VkDevice>,
[INFO] [stdout] 389 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 390 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 393 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 394 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:400:30
[INFO] [stdout]     |
[INFO] [stdout] 400 |       pub create_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 401 | |         Ref<VkDevice>,
[INFO] [stdout] 402 | |         &CommandPoolCreateInfo,
[INFO] [stdout] 403 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 404 | |         &mut Option<Handle<VkCommandPool>>,
[INFO] [stdout] 405 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:411:29
[INFO] [stdout]     |
[INFO] [stdout] 411 |       pub reset_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 412 | |         Ref<VkDevice>,
[INFO] [stdout] 413 | |         Mut<VkCommandPool>,
[INFO] [stdout] 414 | |         CommandPoolResetFlags,
[INFO] [stdout] 415 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:416:35
[INFO] [stdout]     |
[INFO] [stdout] 416 |       pub allocate_command_buffers: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 417 | |         Ref<VkDevice>,
[INFO] [stdout] 418 | |         &CommandBufferAllocateInfo<'_>,
[INFO] [stdout] 419 | |         ArrayMut<MaybeUninit<Handle<VkCommandBuffer>>>,
[INFO] [stdout] 420 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:427:31
[INFO] [stdout]     |
[INFO] [stdout] 427 |       pub begin_command_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 428 | |         Mut<VkCommandBuffer>,
[INFO] [stdout] 429 | |         &CommandBufferBeginInfo,
[INFO] [stdout] 430 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |         unsafe extern "system" fn(Mut<VkCommandBuffer>) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/ext_metal_surface.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |       pub create_metal_surface_ext: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 50 | |         Ref<VkInstance>,
[INFO] [stdout] 51 | |         &MetalSurfaceCreateInfoEXT,
[INFO] [stdout] 52 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 53 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 54 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 | /         unsafe extern "system" fn(
[INFO] [stdout] 152 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 153 | |             u32,
[INFO] [stdout] 154 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 155 | |             &mut Bool,
[INFO] [stdout] 156 | |         ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | /         unsafe extern "system" fn(
[INFO] [stdout] 159 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 160 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 161 | |             &mut MaybeUninit<SurfaceCapabilitiesKHR>,
[INFO] [stdout] 162 | |         ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 | /         unsafe extern "system" fn(
[INFO] [stdout] 165 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 166 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 167 | |             &mut u32,
[INFO] [stdout] 168 | |             Option<ArrayMut<MaybeUninit<SurfaceFormatKHR>>>,
[INFO] [stdout] 169 | |         ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_xlib_surface.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 |       pub create_xlib_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  __________________________________^
[INFO] [stdout] 72 | |         Ref<VkInstance>,
[INFO] [stdout] 73 | |         &XlibSurfaceCreateInfoKHR,
[INFO] [stdout] 74 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 75 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 76 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_wayland_surface.rs:72:37
[INFO] [stdout]    |
[INFO] [stdout] 72 |       pub create_wayland_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 73 | |         Ref<VkInstance>,
[INFO] [stdout] 74 | |         &WaylandSurfaceCreateInfoKHR,
[INFO] [stdout] 75 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 76 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 77 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_win32_surface.rs:63:35
[INFO] [stdout]    |
[INFO] [stdout] 63 |       pub create_win32_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 64 | |         Ref<VkInstance>,
[INFO] [stdout] 65 | |         &Win32SurfaceCreateInfoKHR,
[INFO] [stdout] 66 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 67 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 68 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:308:31
[INFO] [stdout]     |
[INFO] [stdout] 308 |       pub create_swapchain_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 309 | |         Ref<VkDevice>,
[INFO] [stdout] 310 | |         &VkSwapchainCreateInfoKHR,
[INFO] [stdout] 311 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 312 | |         &mut Option<Handle<VkSwapchainKHR>>,
[INFO] [stdout] 313 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:319:35
[INFO] [stdout]     |
[INFO] [stdout] 319 |       pub get_swapchain_images_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 320 | |         Ref<VkDevice>,
[INFO] [stdout] 321 | |         Ref<VkSwapchainKHR>,
[INFO] [stdout] 322 | |         &mut u32,
[INFO] [stdout] 323 | |         Option<ArrayMut<MaybeUninit<Handle<VkImage>>>>,
[INFO] [stdout] 324 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:325:33
[INFO] [stdout]     |
[INFO] [stdout] 325 |       pub acquire_next_image_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 326 | |         Ref<VkDevice>,
[INFO] [stdout] 327 | |         Mut<VkSwapchainKHR>,
[INFO] [stdout] 328 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 331 | |         &mut u32,
[INFO] [stdout] 332 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:333:28
[INFO] [stdout]     |
[INFO] [stdout] 333 |       pub queue_present_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 334 | |         Mut<VkQueue>,
[INFO] [stdout] 335 | |         &PresentInfoKHR<'_>,
[INFO] [stdout] 336 | |     ) -> VkResult,
[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: 50 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/image.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(Subobject<SwapchainImages>),
[INFO] [stdout]    |     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/command_buffer.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(Subobject<CommandPoolLifetime>);
[INFO] [stdout]     |        ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RecordedCommands` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(());
[INFO] [stdout]     |                         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub unsafe fn vk_create_instance() -> unsafe extern "system" fn(
[INFO] [stdout]    |  _______________________________________^
[INFO] [stdout] 27 | |     &'_ InstanceCreateInfo<'_>,
[INFO] [stdout] 28 | |     Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 29 | |     &mut Option<Handle<VkInstance>>,
[INFO] [stdout] 30 | | ) -> VkResult {
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 |   ) -> unsafe extern "system" fn(
[INFO] [stdout]    |  ______^
[INFO] [stdout] 36 | |     Option<Str<'_>>,
[INFO] [stdout] 37 | |     &mut u32,
[INFO] [stdout] 38 | |     Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 39 | | ) -> VkResult {
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |       pub enumerate_physical_devices: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 49 | |         Ref<VkInstance>,
[INFO] [stdout] 50 | |         &mut u32,
[INFO] [stdout] 51 | |         Option<ArrayMut<MaybeUninit<Handle<VkPhysicalDevice>>>>,
[INFO] [stdout] 52 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | /         unsafe extern "system" fn(
[INFO] [stdout] 69 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 70 | |             Option<Str<'_>>,
[INFO] [stdout] 71 | |             &mut u32,
[INFO] [stdout] 72 | |             Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 73 | |         ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |       pub create_device: unsafe extern "system" fn(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 75 | |         Ref<VkPhysicalDevice>,
[INFO] [stdout] 76 | |         &'_ DeviceCreateInfo,
[INFO] [stdout] 77 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 78 | |         &mut Option<Handle<VkDevice>>,
[INFO] [stdout] 79 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 139 |       pub device_wait_idle: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 140 | |         // Technically not ext. sync. on the device, but on the queues. But
[INFO] [stdout] 141 | |         // this is safer because the queues borrow the device.
[INFO] [stdout] 142 | |         Mut<VkDevice>,
[INFO] [stdout] 143 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |       pub queue_submit: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 151 | |         Mut<VkQueue>,
[INFO] [stdout] 152 | |         u32,
[INFO] [stdout] 153 | |         Option<Array<VkSubmitInfo<Null>>>,
[INFO] [stdout] 154 | |         Option<Mut<VkFence>>,
[INFO] [stdout] 155 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:156:26
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub queue_wait_idle: unsafe extern "system" fn(Mut<VkQueue>) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |       pub allocate_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 158 | |         Ref<VkDevice>,
[INFO] [stdout] 159 | |         &MemoryAllocateInfo,
[INFO] [stdout] 160 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 161 | |         &mut Option<Handle<VkDeviceMemory>>,
[INFO] [stdout] 162 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |       pub map_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 164 | |         Ref<VkDevice>,
[INFO] [stdout] 165 | |         Mut<VkDeviceMemory>,
[INFO] [stdout] 166 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | |         &mut *mut u8,
[INFO] [stdout] 170 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:178:23
[INFO] [stdout]     |
[INFO] [stdout] 178 |       pub create_fence: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 179 | |         Ref<VkDevice>,
[INFO] [stdout] 180 | |         &FenceCreateInfo,
[INFO] [stdout] 181 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 182 | |         &mut Option<Handle<VkFence>>,
[INFO] [stdout] 183 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:189:26
[INFO] [stdout]     |
[INFO] [stdout] 189 |       pub wait_for_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 190 | |         Ref<VkDevice>,
[INFO] [stdout] 191 | |         u32,
[INFO] [stdout] 192 | |         Array<Ref<VkFence>>,
[INFO] [stdout] 193 | |         Bool,
[INFO] [stdout] 194 | |         u64,
[INFO] [stdout] 195 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 196 |       pub reset_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 197 | |         Ref<VkDevice>,
[INFO] [stdout] 198 | |         u32,
[INFO] [stdout] 199 | |         Array<Mut<VkFence>>,
[INFO] [stdout] 200 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:201:27
[INFO] [stdout]     |
[INFO] [stdout] 201 |       pub create_semaphore: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 202 | |         Ref<VkDevice>,
[INFO] [stdout] 203 | |         &SemaphoreCreateInfo,
[INFO] [stdout] 204 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 205 | |         &mut Option<Handle<VkSemaphore>>,
[INFO] [stdout] 206 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:212:24
[INFO] [stdout]     |
[INFO] [stdout] 212 |       pub create_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 213 | |         Ref<VkDevice>,
[INFO] [stdout] 214 | |         &BufferCreateInfo,
[INFO] [stdout] 215 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 216 | |         &mut Option<Handle<VkBuffer>>,
[INFO] [stdout] 217 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:223:23
[INFO] [stdout]     |
[INFO] [stdout] 223 |       pub create_image: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 224 | |         Ref<VkDevice>,
[INFO] [stdout] 225 | |         &ImageCreateInfo,
[INFO] [stdout] 226 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 227 | |         &mut Option<Handle<VkImage>>,
[INFO] [stdout] 228 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:244:29
[INFO] [stdout]     |
[INFO] [stdout] 244 |       pub bind_buffer_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 245 | |         Ref<VkDevice>,
[INFO] [stdout] 246 | |         Mut<VkBuffer>,
[INFO] [stdout] 247 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 248 | |         u64,
[INFO] [stdout] 249 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:250:28
[INFO] [stdout]     |
[INFO] [stdout] 250 |       pub bind_image_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 251 | |         Ref<VkDevice>,
[INFO] [stdout] 252 | |         Mut<VkImage>,
[INFO] [stdout] 253 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 254 | |         u64,
[INFO] [stdout] 255 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:256:28
[INFO] [stdout]     |
[INFO] [stdout] 256 |       pub create_image_view: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 257 | |         Ref<VkDevice>,
[INFO] [stdout] 258 | |         &VkImageViewCreateInfo,
[INFO] [stdout] 259 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 260 | |         &mut Option<Handle<VkImageView>>,
[INFO] [stdout] 261 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:267:31
[INFO] [stdout]     |
[INFO] [stdout] 267 |       pub create_shader_module: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 268 | |         Ref<VkDevice>,
[INFO] [stdout] 269 | |         &VkShaderModuleCreateInfo,
[INFO] [stdout] 270 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 271 | |         &mut Option<Handle<VkShaderModule>>,
[INFO] [stdout] 272 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:278:32
[INFO] [stdout]     |
[INFO] [stdout] 278 |       pub create_pipeline_cache: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 279 | |         Ref<VkDevice>,
[INFO] [stdout] 280 | |         &PipelineCacheCreateInfo,
[INFO] [stdout] 281 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 282 | |         &mut Option<Handle<VkPipelineCache>>,
[INFO] [stdout] 283 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:289:34
[INFO] [stdout]     |
[INFO] [stdout] 289 |       pub get_pipeline_cache_data: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 290 | |         Ref<VkDevice>,
[INFO] [stdout] 291 | |         Ref<VkPipelineCache>,
[INFO] [stdout] 292 | |         &mut usize,
[INFO] [stdout] 293 | |         Option<ArrayMut<MaybeUninit<u8>>>,
[INFO] [stdout] 294 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 |       pub create_framebuffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 296 | |         Ref<VkDevice>,
[INFO] [stdout] 297 | |         &VkFramebufferCreateInfo,
[INFO] [stdout] 298 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 299 | |         &mut Option<Handle<VkFramebuffer>>,
[INFO] [stdout] 300 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:306:29
[INFO] [stdout]     |
[INFO] [stdout] 306 |       pub create_render_pass: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 307 | |         Ref<VkDevice>,
[INFO] [stdout] 308 | |         &RenderPassCreateInfo,
[INFO] [stdout] 309 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 310 | |         &mut Option<Handle<VkRenderPass>>,
[INFO] [stdout] 311 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:317:39
[INFO] [stdout]     |
[INFO] [stdout] 317 |       pub create_descriptor_set_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________________^
[INFO] [stdout] 318 | |         Ref<VkDevice>,
[INFO] [stdout] 319 | |         &VkDescriptorSetLayoutCreateInfo,
[INFO] [stdout] 320 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 321 | |         &mut Option<Handle<VkDescriptorSetLayout>>,
[INFO] [stdout] 322 | |     )
[INFO] [stdout] 323 | |         -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:329:33
[INFO] [stdout]     |
[INFO] [stdout] 329 |       pub create_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 330 | |         Ref<VkDevice>,
[INFO] [stdout] 331 | |         &DescriptorPoolCreateInfo,
[INFO] [stdout] 332 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 333 | |         &mut Option<Handle<VkDescriptorPool>>,
[INFO] [stdout] 334 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:340:32
[INFO] [stdout]     |
[INFO] [stdout] 340 |       pub reset_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 341 | |         Ref<VkDevice>,
[INFO] [stdout] 342 | |         Mut<VkDescriptorPool>,
[INFO] [stdout] 343 | |         DescriptorPoolResetFlags,
[INFO] [stdout] 344 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:345:35
[INFO] [stdout]     |
[INFO] [stdout] 345 |       pub allocate_descriptor_sets: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 346 | |         Ref<VkDevice>,
[INFO] [stdout] 347 | |         &DescriptorSetAllocateInfo,
[INFO] [stdout] 348 | |         ArrayMut<MaybeUninit<Handle<VkDescriptorSet>>>,
[INFO] [stdout] 349 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:357:33
[INFO] [stdout]     |
[INFO] [stdout] 357 |       pub create_pipeline_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 358 | |         Ref<VkDevice>,
[INFO] [stdout] 359 | |         &PipelineLayoutCreateInfo,
[INFO] [stdout] 360 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 361 | |         &mut Option<Handle<VkPipelineLayout>>,
[INFO] [stdout] 362 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:368:25
[INFO] [stdout]     |
[INFO] [stdout] 368 |       pub create_sampler: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 369 | |         Ref<VkDevice>,
[INFO] [stdout] 370 | |         &SamplerCreateInfo,
[INFO] [stdout] 371 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 372 | |         &mut Option<Handle<VkSampler>>,
[INFO] [stdout] 373 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:379:36
[INFO] [stdout]     |
[INFO] [stdout] 379 |       pub create_graphics_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 380 | |         Ref<VkDevice>,
[INFO] [stdout] 381 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 382 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 385 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 386 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:387:35
[INFO] [stdout]     |
[INFO] [stdout] 387 |       pub create_compute_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 388 | |         Ref<VkDevice>,
[INFO] [stdout] 389 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 390 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 393 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 394 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:400:30
[INFO] [stdout]     |
[INFO] [stdout] 400 |       pub create_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 401 | |         Ref<VkDevice>,
[INFO] [stdout] 402 | |         &CommandPoolCreateInfo,
[INFO] [stdout] 403 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 404 | |         &mut Option<Handle<VkCommandPool>>,
[INFO] [stdout] 405 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:411:29
[INFO] [stdout]     |
[INFO] [stdout] 411 |       pub reset_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 412 | |         Ref<VkDevice>,
[INFO] [stdout] 413 | |         Mut<VkCommandPool>,
[INFO] [stdout] 414 | |         CommandPoolResetFlags,
[INFO] [stdout] 415 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:416:35
[INFO] [stdout]     |
[INFO] [stdout] 416 |       pub allocate_command_buffers: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 417 | |         Ref<VkDevice>,
[INFO] [stdout] 418 | |         &CommandBufferAllocateInfo<'_>,
[INFO] [stdout] 419 | |         ArrayMut<MaybeUninit<Handle<VkCommandBuffer>>>,
[INFO] [stdout] 420 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:427:31
[INFO] [stdout]     |
[INFO] [stdout] 427 |       pub begin_command_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 428 | |         Mut<VkCommandBuffer>,
[INFO] [stdout] 429 | |         &CommandBufferBeginInfo,
[INFO] [stdout] 430 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |         unsafe extern "system" fn(Mut<VkCommandBuffer>) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/ext_metal_surface.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |       pub create_metal_surface_ext: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 50 | |         Ref<VkInstance>,
[INFO] [stdout] 51 | |         &MetalSurfaceCreateInfoEXT,
[INFO] [stdout] 52 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 53 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 54 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 | /         unsafe extern "system" fn(
[INFO] [stdout] 152 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 153 | |             u32,
[INFO] [stdout] 154 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 155 | |             &mut Bool,
[INFO] [stdout] 156 | |         ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | /         unsafe extern "system" fn(
[INFO] [stdout] 159 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 160 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 161 | |             &mut MaybeUninit<SurfaceCapabilitiesKHR>,
[INFO] [stdout] 162 | |         ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 | /         unsafe extern "system" fn(
[INFO] [stdout] 165 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 166 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 167 | |             &mut u32,
[INFO] [stdout] 168 | |             Option<ArrayMut<MaybeUninit<SurfaceFormatKHR>>>,
[INFO] [stdout] 169 | |         ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_xlib_surface.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 |       pub create_xlib_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  __________________________________^
[INFO] [stdout] 72 | |         Ref<VkInstance>,
[INFO] [stdout] 73 | |         &XlibSurfaceCreateInfoKHR,
[INFO] [stdout] 74 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 75 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 76 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_wayland_surface.rs:72:37
[INFO] [stdout]    |
[INFO] [stdout] 72 |       pub create_wayland_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 73 | |         Ref<VkInstance>,
[INFO] [stdout] 74 | |         &WaylandSurfaceCreateInfoKHR,
[INFO] [stdout] 75 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 76 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 77 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_win32_surface.rs:63:35
[INFO] [stdout]    |
[INFO] [stdout] 63 |       pub create_win32_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 64 | |         Ref<VkInstance>,
[INFO] [stdout] 65 | |         &Win32SurfaceCreateInfoKHR,
[INFO] [stdout] 66 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 67 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 68 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:308:31
[INFO] [stdout]     |
[INFO] [stdout] 308 |       pub create_swapchain_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 309 | |         Ref<VkDevice>,
[INFO] [stdout] 310 | |         &VkSwapchainCreateInfoKHR,
[INFO] [stdout] 311 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 312 | |         &mut Option<Handle<VkSwapchainKHR>>,
[INFO] [stdout] 313 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:319:35
[INFO] [stdout]     |
[INFO] [stdout] 319 |       pub get_swapchain_images_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 320 | |         Ref<VkDevice>,
[INFO] [stdout] 321 | |         Ref<VkSwapchainKHR>,
[INFO] [stdout] 322 | |         &mut u32,
[INFO] [stdout] 323 | |         Option<ArrayMut<MaybeUninit<Handle<VkImage>>>>,
[INFO] [stdout] 324 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:325:33
[INFO] [stdout]     |
[INFO] [stdout] 325 |       pub acquire_next_image_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 326 | |         Ref<VkDevice>,
[INFO] [stdout] 327 | |         Mut<VkSwapchainKHR>,
[INFO] [stdout] 328 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 331 | |         &mut u32,
[INFO] [stdout] 332 | |     ) -> VkResult,
[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 `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:333:28
[INFO] [stdout]     |
[INFO] [stdout] 333 |       pub queue_present_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 334 | |         Mut<VkQueue>,
[INFO] [stdout] 335 | |         &PresentInfoKHR<'_>,
[INFO] [stdout] 336 | |     ) -> VkResult,
[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: 50 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.96s
[INFO] running `Command { std: "docker" "inspect" "9e35a815846fb0d714a59e8c3b56be40869db78a64919c5b559b94ab83026c98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e35a815846fb0d714a59e8c3b56be40869db78a64919c5b559b94ab83026c98", kill_on_drop: false }`
[INFO] [stdout] 9e35a815846fb0d714a59e8c3b56be40869db78a64919c5b559b94ab83026c98
