[INFO] fetching crate maia 0.1.1...
[INFO] testing maia-0.1.1 against 1.75.0 for beta-1.76-1
[INFO] extracting crate maia 0.1.1 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate maia 0.1.1 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "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-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded raw-window-metal v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6b2db5c3d2ae311c8b279272320d55be0249e4893f7c3a934c2f7de642766d15
[INFO] running `Command { std: "docker" "start" "-a" "6b2db5c3d2ae311c8b279272320d55be0249e4893f7c3a934c2f7de642766d15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b2db5c3d2ae311c8b279272320d55be0249e4893f7c3a934c2f7de642766d15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b2db5c3d2ae311c8b279272320d55be0249e4893f7c3a934c2f7de642766d15", kill_on_drop: false }`
[INFO] [stdout] 6b2db5c3d2ae311c8b279272320d55be0249e4893f7c3a934c2f7de642766d15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f41ccd9d578067e2f0fe00c989d5e3a415108647f3c7236de49920b74c98960
[INFO] running `Command { std: "docker" "start" "-a" "0f41ccd9d578067e2f0fe00c989d5e3a415108647f3c7236de49920b74c98960", kill_on_drop: false }`
[INFO] [stderr]    Compiling maia v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling bumpalo v3.14.0
[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: 48 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.49s
[INFO] running `Command { std: "docker" "inspect" "0f41ccd9d578067e2f0fe00c989d5e3a415108647f3c7236de49920b74c98960", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f41ccd9d578067e2f0fe00c989d5e3a415108647f3c7236de49920b74c98960", kill_on_drop: false }`
[INFO] [stdout] 0f41ccd9d578067e2f0fe00c989d5e3a415108647f3c7236de49920b74c98960
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d89aeee3df564fd5257037bd9066280906206a3e70ce430186403949650271e7
[INFO] running `Command { std: "docker" "start" "-a" "d89aeee3df564fd5257037bd9066280906206a3e70ce430186403949650271e7", kill_on_drop: false }`
[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] [stderr]    Compiling maia v0.1.1 (/opt/rustwide/workdir)
[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: 48 warnings emitted
[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: 48 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.61s
[INFO] running `Command { std: "docker" "inspect" "d89aeee3df564fd5257037bd9066280906206a3e70ce430186403949650271e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d89aeee3df564fd5257037bd9066280906206a3e70ce430186403949650271e7", kill_on_drop: false }`
[INFO] [stdout] d89aeee3df564fd5257037bd9066280906206a3e70ce430186403949650271e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 865473a3195fc5fd75994c67ffe415262b594d9aa00d6922e1d2e2c633050097
[INFO] running `Command { std: "docker" "start" "-a" "865473a3195fc5fd75994c67ffe415262b594d9aa00d6922e1d2e2c633050097", kill_on_drop: false }`
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/load.rs:26:39
[INFO] [stderr]    |
[INFO] [stderr] 26 |   pub unsafe fn vk_create_instance() -> unsafe extern "system" fn(
[INFO] [stderr]    |  _______________________________________^
[INFO] [stderr] 27 | |     &'_ InstanceCreateInfo<'_>,
[INFO] [stderr] 28 | |     Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 29 | |     &mut Option<Handle<VkInstance>>,
[INFO] [stderr] 30 | | ) -> VkResult {
[INFO] [stderr]    | |_____________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/load.rs:35:6
[INFO] [stderr]    |
[INFO] [stderr] 35 |   ) -> unsafe extern "system" fn(
[INFO] [stderr]    |  ______^
[INFO] [stderr] 36 | |     Option<Str<'_>>,
[INFO] [stderr] 37 | |     &mut u32,
[INFO] [stderr] 38 | |     Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stderr] 39 | | ) -> VkResult {
[INFO] [stderr]    | |_____________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/load.rs:48:37
[INFO] [stderr]    |
[INFO] [stderr] 48 |       pub enumerate_physical_devices: unsafe extern "system" fn(
[INFO] [stderr]    |  _____________________________________^
[INFO] [stderr] 49 | |         Ref<VkInstance>,
[INFO] [stderr] 50 | |         &mut u32,
[INFO] [stderr] 51 | |         Option<ArrayMut<MaybeUninit<Handle<VkPhysicalDevice>>>>,
[INFO] [stderr] 52 | |     ) -> VkResult,
[INFO] [stderr]    | |_________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/load.rs:68:9
[INFO] [stderr]    |
[INFO] [stderr] 68 | /         unsafe extern "system" fn(
[INFO] [stderr] 69 | |             Ref<VkPhysicalDevice>,
[INFO] [stderr] 70 | |             Option<Str<'_>>,
[INFO] [stderr] 71 | |             &mut u32,
[INFO] [stderr] 72 | |             Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stderr] 73 | |         ) -> VkResult,
[INFO] [stderr]    | |_____________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/load.rs:74:24
[INFO] [stderr]    |
[INFO] [stderr] 74 |       pub create_device: unsafe extern "system" fn(
[INFO] [stderr]    |  ________________________^
[INFO] [stderr] 75 | |         Ref<VkPhysicalDevice>,
[INFO] [stderr] 76 | |         &'_ DeviceCreateInfo,
[INFO] [stderr] 77 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 78 | |         &mut Option<Handle<VkDevice>>,
[INFO] [stderr] 79 | |     ) -> VkResult,
[INFO] [stderr]    | |_________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:139:27
[INFO] [stderr]     |
[INFO] [stderr] 139 |       pub device_wait_idle: unsafe extern "system" fn(
[INFO] [stderr]     |  ___________________________^
[INFO] [stderr] 140 | |         // Technically not ext. sync. on the device, but on the queues. But
[INFO] [stderr] 141 | |         // this is safer because the queues borrow the device.
[INFO] [stderr] 142 | |         Mut<VkDevice>,
[INFO] [stderr] 143 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:150:23
[INFO] [stderr]     |
[INFO] [stderr] 150 |       pub queue_submit: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________^
[INFO] [stderr] 151 | |         Mut<VkQueue>,
[INFO] [stderr] 152 | |         u32,
[INFO] [stderr] 153 | |         Option<Array<VkSubmitInfo<Null>>>,
[INFO] [stderr] 154 | |         Option<Mut<VkFence>>,
[INFO] [stderr] 155 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:156:26
[INFO] [stderr]     |
[INFO] [stderr] 156 |     pub queue_wait_idle: unsafe extern "system" fn(Mut<VkQueue>) -> VkResult,
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:157:26
[INFO] [stderr]     |
[INFO] [stderr] 157 |       pub allocate_memory: unsafe extern "system" fn(
[INFO] [stderr]     |  __________________________^
[INFO] [stderr] 158 | |         Ref<VkDevice>,
[INFO] [stderr] 159 | |         &MemoryAllocateInfo,
[INFO] [stderr] 160 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 161 | |         &mut Option<Handle<VkDeviceMemory>>,
[INFO] [stderr] 162 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:163:21
[INFO] [stderr]     |
[INFO] [stderr] 163 |       pub map_memory: unsafe extern "system" fn(
[INFO] [stderr]     |  _____________________^
[INFO] [stderr] 164 | |         Ref<VkDevice>,
[INFO] [stderr] 165 | |         Mut<VkDeviceMemory>,
[INFO] [stderr] 166 | |         u64,
[INFO] [stderr] ...   |
[INFO] [stderr] 169 | |         &mut *mut u8,
[INFO] [stderr] 170 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:178:23
[INFO] [stderr]     |
[INFO] [stderr] 178 |       pub create_fence: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________^
[INFO] [stderr] 179 | |         Ref<VkDevice>,
[INFO] [stderr] 180 | |         &FenceCreateInfo,
[INFO] [stderr] 181 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 182 | |         &mut Option<Handle<VkFence>>,
[INFO] [stderr] 183 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:189:26
[INFO] [stderr]     |
[INFO] [stderr] 189 |       pub wait_for_fences: unsafe extern "system" fn(
[INFO] [stderr]     |  __________________________^
[INFO] [stderr] 190 | |         Ref<VkDevice>,
[INFO] [stderr] 191 | |         u32,
[INFO] [stderr] 192 | |         Array<Ref<VkFence>>,
[INFO] [stderr] 193 | |         Bool,
[INFO] [stderr] 194 | |         u64,
[INFO] [stderr] 195 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:196:23
[INFO] [stderr]     |
[INFO] [stderr] 196 |       pub reset_fences: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________^
[INFO] [stderr] 197 | |         Ref<VkDevice>,
[INFO] [stderr] 198 | |         u32,
[INFO] [stderr] 199 | |         Array<Mut<VkFence>>,
[INFO] [stderr] 200 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:201:27
[INFO] [stderr]     |
[INFO] [stderr] 201 |       pub create_semaphore: unsafe extern "system" fn(
[INFO] [stderr]     |  ___________________________^
[INFO] [stderr] 202 | |         Ref<VkDevice>,
[INFO] [stderr] 203 | |         &SemaphoreCreateInfo,
[INFO] [stderr] 204 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 205 | |         &mut Option<Handle<VkSemaphore>>,
[INFO] [stderr] 206 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:212:24
[INFO] [stderr]     |
[INFO] [stderr] 212 |       pub create_buffer: unsafe extern "system" fn(
[INFO] [stderr]     |  ________________________^
[INFO] [stderr] 213 | |         Ref<VkDevice>,
[INFO] [stderr] 214 | |         &BufferCreateInfo,
[INFO] [stderr] 215 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 216 | |         &mut Option<Handle<VkBuffer>>,
[INFO] [stderr] 217 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:223:23
[INFO] [stderr]     |
[INFO] [stderr] 223 |       pub create_image: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________^
[INFO] [stderr] 224 | |         Ref<VkDevice>,
[INFO] [stderr] 225 | |         &ImageCreateInfo,
[INFO] [stderr] 226 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 227 | |         &mut Option<Handle<VkImage>>,
[INFO] [stderr] 228 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:244:29
[INFO] [stderr]     |
[INFO] [stderr] 244 |       pub bind_buffer_memory: unsafe extern "system" fn(
[INFO] [stderr]     |  _____________________________^
[INFO] [stderr] 245 | |         Ref<VkDevice>,
[INFO] [stderr] 246 | |         Mut<VkBuffer>,
[INFO] [stderr] 247 | |         Ref<VkDeviceMemory>,
[INFO] [stderr] 248 | |         u64,
[INFO] [stderr] 249 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:250:28
[INFO] [stderr]     |
[INFO] [stderr] 250 |       pub bind_image_memory: unsafe extern "system" fn(
[INFO] [stderr]     |  ____________________________^
[INFO] [stderr] 251 | |         Ref<VkDevice>,
[INFO] [stderr] 252 | |         Mut<VkImage>,
[INFO] [stderr] 253 | |         Ref<VkDeviceMemory>,
[INFO] [stderr] 254 | |         u64,
[INFO] [stderr] 255 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:256:28
[INFO] [stderr]     |
[INFO] [stderr] 256 |       pub create_image_view: unsafe extern "system" fn(
[INFO] [stderr]     |  ____________________________^
[INFO] [stderr] 257 | |         Ref<VkDevice>,
[INFO] [stderr] 258 | |         &VkImageViewCreateInfo,
[INFO] [stderr] 259 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 260 | |         &mut Option<Handle<VkImageView>>,
[INFO] [stderr] 261 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:267:31
[INFO] [stderr]     |
[INFO] [stderr] 267 |       pub create_shader_module: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________________^
[INFO] [stderr] 268 | |         Ref<VkDevice>,
[INFO] [stderr] 269 | |         &VkShaderModuleCreateInfo,
[INFO] [stderr] 270 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 271 | |         &mut Option<Handle<VkShaderModule>>,
[INFO] [stderr] 272 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:278:32
[INFO] [stderr]     |
[INFO] [stderr] 278 |       pub create_pipeline_cache: unsafe extern "system" fn(
[INFO] [stderr]     |  ________________________________^
[INFO] [stderr] 279 | |         Ref<VkDevice>,
[INFO] [stderr] 280 | |         &PipelineCacheCreateInfo,
[INFO] [stderr] 281 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 282 | |         &mut Option<Handle<VkPipelineCache>>,
[INFO] [stderr] 283 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:289:34
[INFO] [stderr]     |
[INFO] [stderr] 289 |       pub get_pipeline_cache_data: unsafe extern "system" fn(
[INFO] [stderr]     |  __________________________________^
[INFO] [stderr] 290 | |         Ref<VkDevice>,
[INFO] [stderr] 291 | |         Ref<VkPipelineCache>,
[INFO] [stderr] 292 | |         &mut usize,
[INFO] [stderr] 293 | |         Option<ArrayMut<MaybeUninit<u8>>>,
[INFO] [stderr] 294 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:295:29
[INFO] [stderr]     |
[INFO] [stderr] 295 |       pub create_framebuffer: unsafe extern "system" fn(
[INFO] [stderr]     |  _____________________________^
[INFO] [stderr] 296 | |         Ref<VkDevice>,
[INFO] [stderr] 297 | |         &VkFramebufferCreateInfo,
[INFO] [stderr] 298 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 299 | |         &mut Option<Handle<VkFramebuffer>>,
[INFO] [stderr] 300 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:306:29
[INFO] [stderr]     |
[INFO] [stderr] 306 |       pub create_render_pass: unsafe extern "system" fn(
[INFO] [stderr]     |  _____________________________^
[INFO] [stderr] 307 | |         Ref<VkDevice>,
[INFO] [stderr] 308 | |         &RenderPassCreateInfo,
[INFO] [stderr] 309 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 310 | |         &mut Option<Handle<VkRenderPass>>,
[INFO] [stderr] 311 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:317:39
[INFO] [stderr]     |
[INFO] [stderr] 317 |       pub create_descriptor_set_layout: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________________________^
[INFO] [stderr] 318 | |         Ref<VkDevice>,
[INFO] [stderr] 319 | |         &VkDescriptorSetLayoutCreateInfo,
[INFO] [stderr] 320 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 321 | |         &mut Option<Handle<VkDescriptorSetLayout>>,
[INFO] [stderr] 322 | |     )
[INFO] [stderr] 323 | |         -> VkResult,
[INFO] [stderr]     | |___________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:329:33
[INFO] [stderr]     |
[INFO] [stderr] 329 |       pub create_descriptor_pool: unsafe extern "system" fn(
[INFO] [stderr]     |  _________________________________^
[INFO] [stderr] 330 | |         Ref<VkDevice>,
[INFO] [stderr] 331 | |         &DescriptorPoolCreateInfo,
[INFO] [stderr] 332 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 333 | |         &mut Option<Handle<VkDescriptorPool>>,
[INFO] [stderr] 334 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:340:32
[INFO] [stderr]     |
[INFO] [stderr] 340 |       pub reset_descriptor_pool: unsafe extern "system" fn(
[INFO] [stderr]     |  ________________________________^
[INFO] [stderr] 341 | |         Ref<VkDevice>,
[INFO] [stderr] 342 | |         Mut<VkDescriptorPool>,
[INFO] [stderr] 343 | |         DescriptorPoolResetFlags,
[INFO] [stderr] 344 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:345:35
[INFO] [stderr]     |
[INFO] [stderr] 345 |       pub allocate_descriptor_sets: unsafe extern "system" fn(
[INFO] [stderr]     |  ___________________________________^
[INFO] [stderr] 346 | |         Ref<VkDevice>,
[INFO] [stderr] 347 | |         &DescriptorSetAllocateInfo,
[INFO] [stderr] 348 | |         ArrayMut<MaybeUninit<Handle<VkDescriptorSet>>>,
[INFO] [stderr] 349 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:357:33
[INFO] [stderr]     |
[INFO] [stderr] 357 |       pub create_pipeline_layout: unsafe extern "system" fn(
[INFO] [stderr]     |  _________________________________^
[INFO] [stderr] 358 | |         Ref<VkDevice>,
[INFO] [stderr] 359 | |         &PipelineLayoutCreateInfo,
[INFO] [stderr] 360 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 361 | |         &mut Option<Handle<VkPipelineLayout>>,
[INFO] [stderr] 362 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:368:25
[INFO] [stderr]     |
[INFO] [stderr] 368 |       pub create_sampler: unsafe extern "system" fn(
[INFO] [stderr]     |  _________________________^
[INFO] [stderr] 369 | |         Ref<VkDevice>,
[INFO] [stderr] 370 | |         &SamplerCreateInfo,
[INFO] [stderr] 371 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 372 | |         &mut Option<Handle<VkSampler>>,
[INFO] [stderr] 373 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:379:36
[INFO] [stderr]     |
[INFO] [stderr] 379 |       pub create_graphics_pipelines: unsafe extern "system" fn(
[INFO] [stderr]     |  ____________________________________^
[INFO] [stderr] 380 | |         Ref<VkDevice>,
[INFO] [stderr] 381 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stderr] 382 | |         u32,
[INFO] [stderr] ...   |
[INFO] [stderr] 385 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stderr] 386 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:387:35
[INFO] [stderr]     |
[INFO] [stderr] 387 |       pub create_compute_pipelines: unsafe extern "system" fn(
[INFO] [stderr]     |  ___________________________________^
[INFO] [stderr] 388 | |         Ref<VkDevice>,
[INFO] [stderr] 389 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stderr] 390 | |         u32,
[INFO] [stderr] ...   |
[INFO] [stderr] 393 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stderr] 394 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:400:30
[INFO] [stderr]     |
[INFO] [stderr] 400 |       pub create_command_pool: unsafe extern "system" fn(
[INFO] [stderr]     |  ______________________________^
[INFO] [stderr] 401 | |         Ref<VkDevice>,
[INFO] [stderr] 402 | |         &CommandPoolCreateInfo,
[INFO] [stderr] 403 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 404 | |         &mut Option<Handle<VkCommandPool>>,
[INFO] [stderr] 405 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:411:29
[INFO] [stderr]     |
[INFO] [stderr] 411 |       pub reset_command_pool: unsafe extern "system" fn(
[INFO] [stderr]     |  _____________________________^
[INFO] [stderr] 412 | |         Ref<VkDevice>,
[INFO] [stderr] 413 | |         Mut<VkCommandPool>,
[INFO] [stderr] 414 | |         CommandPoolResetFlags,
[INFO] [stderr] 415 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:416:35
[INFO] [stderr]     |
[INFO] [stderr] 416 |       pub allocate_command_buffers: unsafe extern "system" fn(
[INFO] [stderr]     |  ___________________________________^
[INFO] [stderr] 417 | |         Ref<VkDevice>,
[INFO] [stderr] 418 | |         &CommandBufferAllocateInfo<'_>,
[INFO] [stderr] 419 | |         ArrayMut<MaybeUninit<Handle<VkCommandBuffer>>>,
[INFO] [stderr] 420 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:427:31
[INFO] [stderr]     |
[INFO] [stderr] 427 |       pub begin_command_buffer: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________________^
[INFO] [stderr] 428 | |         Mut<VkCommandBuffer>,
[INFO] [stderr] 429 | |         &CommandBufferBeginInfo,
[INFO] [stderr] 430 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:432:9
[INFO] [stderr]     |
[INFO] [stderr] 432 |         unsafe extern "system" fn(Mut<VkCommandBuffer>) -> VkResult,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/ext/ext_metal_surface.rs:49:35
[INFO] [stderr]    |
[INFO] [stderr] 49 |       pub create_metal_surface_ext: unsafe extern "system" fn(
[INFO] [stderr]    |  ___________________________________^
[INFO] [stderr] 50 | |         Ref<VkInstance>,
[INFO] [stderr] 51 | |         &MetalSurfaceCreateInfoEXT,
[INFO] [stderr] 52 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 53 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stderr] 54 | |     ) -> VkResult,
[INFO] [stderr]    | |_________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_surface.rs:151:9
[INFO] [stderr]     |
[INFO] [stderr] 151 | /         unsafe extern "system" fn(
[INFO] [stderr] 152 | |             Ref<VkPhysicalDevice>,
[INFO] [stderr] 153 | |             u32,
[INFO] [stderr] 154 | |             Ref<VkSurfaceKHR>,
[INFO] [stderr] 155 | |             &mut Bool,
[INFO] [stderr] 156 | |         ) -> VkResult,
[INFO] [stderr]     | |_____________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_surface.rs:158:9
[INFO] [stderr]     |
[INFO] [stderr] 158 | /         unsafe extern "system" fn(
[INFO] [stderr] 159 | |             Ref<VkPhysicalDevice>,
[INFO] [stderr] 160 | |             Ref<VkSurfaceKHR>,
[INFO] [stderr] 161 | |             &mut MaybeUninit<SurfaceCapabilitiesKHR>,
[INFO] [stderr] 162 | |         ) -> VkResult,
[INFO] [stderr]     | |_____________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_surface.rs:164:9
[INFO] [stderr]     |
[INFO] [stderr] 164 | /         unsafe extern "system" fn(
[INFO] [stderr] 165 | |             Ref<VkPhysicalDevice>,
[INFO] [stderr] 166 | |             Ref<VkSurfaceKHR>,
[INFO] [stderr] 167 | |             &mut u32,
[INFO] [stderr] 168 | |             Option<ArrayMut<MaybeUninit<SurfaceFormatKHR>>>,
[INFO] [stderr] 169 | |         ) -> VkResult,
[INFO] [stderr]     | |_____________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/ext/khr_xlib_surface.rs:71:34
[INFO] [stderr]    |
[INFO] [stderr] 71 |       pub create_xlib_surface_khr: unsafe extern "system" fn(
[INFO] [stderr]    |  __________________________________^
[INFO] [stderr] 72 | |         Ref<VkInstance>,
[INFO] [stderr] 73 | |         &XlibSurfaceCreateInfoKHR,
[INFO] [stderr] 74 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 75 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stderr] 76 | |     ) -> VkResult,
[INFO] [stderr]    | |_________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/ext/khr_wayland_surface.rs:72:37
[INFO] [stderr]    |
[INFO] [stderr] 72 |       pub create_wayland_surface_khr: unsafe extern "system" fn(
[INFO] [stderr]    |  _____________________________________^
[INFO] [stderr] 73 | |         Ref<VkInstance>,
[INFO] [stderr] 74 | |         &WaylandSurfaceCreateInfoKHR,
[INFO] [stderr] 75 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 76 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stderr] 77 | |     ) -> VkResult,
[INFO] [stderr]    | |_________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/ext/khr_win32_surface.rs:63:35
[INFO] [stderr]    |
[INFO] [stderr] 63 |       pub create_win32_surface_khr: unsafe extern "system" fn(
[INFO] [stderr]    |  ___________________________________^
[INFO] [stderr] 64 | |         Ref<VkInstance>,
[INFO] [stderr] 65 | |         &Win32SurfaceCreateInfoKHR,
[INFO] [stderr] 66 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 67 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stderr] 68 | |     ) -> VkResult,
[INFO] [stderr]    | |_________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_swapchain.rs:308:31
[INFO] [stderr]     |
[INFO] [stderr] 308 |       pub create_swapchain_khr: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________________^
[INFO] [stderr] 309 | |         Ref<VkDevice>,
[INFO] [stderr] 310 | |         &VkSwapchainCreateInfoKHR,
[INFO] [stderr] 311 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 312 | |         &mut Option<Handle<VkSwapchainKHR>>,
[INFO] [stderr] 313 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_swapchain.rs:319:35
[INFO] [stderr]     |
[INFO] [stderr] 319 |       pub get_swapchain_images_khr: unsafe extern "system" fn(
[INFO] [stderr]     |  ___________________________________^
[INFO] [stderr] 320 | |         Ref<VkDevice>,
[INFO] [stderr] 321 | |         Ref<VkSwapchainKHR>,
[INFO] [stderr] 322 | |         &mut u32,
[INFO] [stderr] 323 | |         Option<ArrayMut<MaybeUninit<Handle<VkImage>>>>,
[INFO] [stderr] 324 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_swapchain.rs:325:33
[INFO] [stderr]     |
[INFO] [stderr] 325 |       pub acquire_next_image_khr: unsafe extern "system" fn(
[INFO] [stderr]     |  _________________________________^
[INFO] [stderr] 326 | |         Ref<VkDevice>,
[INFO] [stderr] 327 | |         Mut<VkSwapchainKHR>,
[INFO] [stderr] 328 | |         u64,
[INFO] [stderr] ...   |
[INFO] [stderr] 331 | |         &mut u32,
[INFO] [stderr] 332 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_swapchain.rs:333:28
[INFO] [stderr]     |
[INFO] [stderr] 333 |       pub queue_present_khr: unsafe extern "system" fn(
[INFO] [stderr]     |  ____________________________^
[INFO] [stderr] 334 | |         Mut<VkQueue>,
[INFO] [stderr] 335 | |         &PresentInfoKHR<'_>,
[INFO] [stderr] 336 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `maia` (lib) generated 48 warnings
[INFO] [stderr] warning: `maia` (lib test) generated 48 warnings (48 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/maia-ec1dda934839b10d)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test cleanup_queue::tests::test_reordered_cleanup ... ok
[INFO] [stdout] test buffer::test::require_robust ... ok
[INFO] [stdout] test command_buffer::bind::test::descriptor_set_typecheck ... ok
[INFO] [stdout] test command_buffer::test::secondary_reset ... ok
[INFO] [stdout] test command_buffer::bind::test::push_constant_check ... ok
[INFO] [stdout] test buffer::test::wrong_mem ... ok
[INFO] [stdout] test command_buffer::test::subpass ... ok
[INFO] [stdout] test command_buffer::bind::test::bounds_check ... ok
[INFO] [stdout] test image::test::require_robust ... ok
[INFO] [stdout] test image::test::wrong_mem ... ok
[INFO] [stdout] test queue::test::cross_queue_sync ... ok
[INFO] [stdout] test queue::test::signaller ... ok
[INFO] [stdout] test queue::test::cmd_state ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.82s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests maia
[INFO] [stderr] error[E0432]: unresolved import `raw_window_handle`
[INFO] [stderr]   --> src/window.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use raw_window_handle::{HasRawWindowHandle, RawWindowHandle};
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `raw_window_handle`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type lib --crate-name maia --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps -L native=/opt/rustwide/workdir/lib/x64 --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-b7cee2ca4fb438d0.rlib --extern bumpalo=/opt/rustwide/target/debug/deps/libbumpalo-9ef89b9c42b669e0.rlib --extern maia=/opt/rustwide/target/debug/deps/libmaia-1e2bb25cab87530b.rlib -C embed-bitcode=no --cap-lints=warn --error-format human` (exit status: 1)
[INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness.
[INFO] running `Command { std: "docker" "inspect" "865473a3195fc5fd75994c67ffe415262b594d9aa00d6922e1d2e2c633050097", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "865473a3195fc5fd75994c67ffe415262b594d9aa00d6922e1d2e2c633050097", kill_on_drop: false }`
[INFO] [stdout] 865473a3195fc5fd75994c67ffe415262b594d9aa00d6922e1d2e2c633050097
[INFO] testing maia-0.1.1 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate maia 0.1.1 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate maia 0.1.1 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "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-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "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" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6c36e6329157222accb65fe93c81fda850dff400722085f779f87d35a01fc7bf
[INFO] running `Command { std: "docker" "start" "-a" "6c36e6329157222accb65fe93c81fda850dff400722085f779f87d35a01fc7bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c36e6329157222accb65fe93c81fda850dff400722085f779f87d35a01fc7bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c36e6329157222accb65fe93c81fda850dff400722085f779f87d35a01fc7bf", kill_on_drop: false }`
[INFO] [stdout] 6c36e6329157222accb65fe93c81fda850dff400722085f779f87d35a01fc7bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 21fa5b28cdb362d0312d0fff514e0515a89057f9730c587ff64ecf0f3092a1e1
[INFO] running `Command { std: "docker" "start" "-a" "21fa5b28cdb362d0312d0fff514e0515a89057f9730c587ff64ecf0f3092a1e1", kill_on_drop: false }`
[INFO] [stderr]    Compiling maia v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling bumpalo v3.14.0
[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: 48 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.72s
[INFO] running `Command { std: "docker" "inspect" "21fa5b28cdb362d0312d0fff514e0515a89057f9730c587ff64ecf0f3092a1e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21fa5b28cdb362d0312d0fff514e0515a89057f9730c587ff64ecf0f3092a1e1", kill_on_drop: false }`
[INFO] [stdout] 21fa5b28cdb362d0312d0fff514e0515a89057f9730c587ff64ecf0f3092a1e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4bc2c429a49f31152b0aa24f8021e98338ea695f95cef5a4dcddfcddea04a23e
[INFO] running `Command { std: "docker" "start" "-a" "4bc2c429a49f31152b0aa24f8021e98338ea695f95cef5a4dcddfcddea04a23e", kill_on_drop: false }`
[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] [stderr]    Compiling maia v0.1.1 (/opt/rustwide/workdir)
[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: 48 warnings emitted
[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: 48 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.07s
[INFO] running `Command { std: "docker" "inspect" "4bc2c429a49f31152b0aa24f8021e98338ea695f95cef5a4dcddfcddea04a23e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bc2c429a49f31152b0aa24f8021e98338ea695f95cef5a4dcddfcddea04a23e", kill_on_drop: false }`
[INFO] [stdout] 4bc2c429a49f31152b0aa24f8021e98338ea695f95cef5a4dcddfcddea04a23e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f7a904ee284f9ebf0f52179748e123b313d54dcbeed1d99a2ba0e415f79a7b95
[INFO] running `Command { std: "docker" "start" "-a" "f7a904ee284f9ebf0f52179748e123b313d54dcbeed1d99a2ba0e415f79a7b95", kill_on_drop: false }`
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/load.rs:26:39
[INFO] [stderr]    |
[INFO] [stderr] 26 |   pub unsafe fn vk_create_instance() -> unsafe extern "system" fn(
[INFO] [stderr]    |  _______________________________________^
[INFO] [stderr] 27 | |     &'_ InstanceCreateInfo<'_>,
[INFO] [stderr] 28 | |     Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 29 | |     &mut Option<Handle<VkInstance>>,
[INFO] [stderr] 30 | | ) -> VkResult {
[INFO] [stderr]    | |_____________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/load.rs:35:6
[INFO] [stderr]    |
[INFO] [stderr] 35 |   ) -> unsafe extern "system" fn(
[INFO] [stderr]    |  ______^
[INFO] [stderr] 36 | |     Option<Str<'_>>,
[INFO] [stderr] 37 | |     &mut u32,
[INFO] [stderr] 38 | |     Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stderr] 39 | | ) -> VkResult {
[INFO] [stderr]    | |_____________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/load.rs:48:37
[INFO] [stderr]    |
[INFO] [stderr] 48 |       pub enumerate_physical_devices: unsafe extern "system" fn(
[INFO] [stderr]    |  _____________________________________^
[INFO] [stderr] 49 | |         Ref<VkInstance>,
[INFO] [stderr] 50 | |         &mut u32,
[INFO] [stderr] 51 | |         Option<ArrayMut<MaybeUninit<Handle<VkPhysicalDevice>>>>,
[INFO] [stderr] 52 | |     ) -> VkResult,
[INFO] [stderr]    | |_________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/load.rs:68:9
[INFO] [stderr]    |
[INFO] [stderr] 68 | /         unsafe extern "system" fn(
[INFO] [stderr] 69 | |             Ref<VkPhysicalDevice>,
[INFO] [stderr] 70 | |             Option<Str<'_>>,
[INFO] [stderr] 71 | |             &mut u32,
[INFO] [stderr] 72 | |             Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stderr] 73 | |         ) -> VkResult,
[INFO] [stderr]    | |_____________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/load.rs:74:24
[INFO] [stderr]    |
[INFO] [stderr] 74 |       pub create_device: unsafe extern "system" fn(
[INFO] [stderr]    |  ________________________^
[INFO] [stderr] 75 | |         Ref<VkPhysicalDevice>,
[INFO] [stderr] 76 | |         &'_ DeviceCreateInfo,
[INFO] [stderr] 77 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 78 | |         &mut Option<Handle<VkDevice>>,
[INFO] [stderr] 79 | |     ) -> VkResult,
[INFO] [stderr]    | |_________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:139:27
[INFO] [stderr]     |
[INFO] [stderr] 139 |       pub device_wait_idle: unsafe extern "system" fn(
[INFO] [stderr]     |  ___________________________^
[INFO] [stderr] 140 | |         // Technically not ext. sync. on the device, but on the queues. But
[INFO] [stderr] 141 | |         // this is safer because the queues borrow the device.
[INFO] [stderr] 142 | |         Mut<VkDevice>,
[INFO] [stderr] 143 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:150:23
[INFO] [stderr]     |
[INFO] [stderr] 150 |       pub queue_submit: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________^
[INFO] [stderr] 151 | |         Mut<VkQueue>,
[INFO] [stderr] 152 | |         u32,
[INFO] [stderr] 153 | |         Option<Array<VkSubmitInfo<Null>>>,
[INFO] [stderr] 154 | |         Option<Mut<VkFence>>,
[INFO] [stderr] 155 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:156:26
[INFO] [stderr]     |
[INFO] [stderr] 156 |     pub queue_wait_idle: unsafe extern "system" fn(Mut<VkQueue>) -> VkResult,
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:157:26
[INFO] [stderr]     |
[INFO] [stderr] 157 |       pub allocate_memory: unsafe extern "system" fn(
[INFO] [stderr]     |  __________________________^
[INFO] [stderr] 158 | |         Ref<VkDevice>,
[INFO] [stderr] 159 | |         &MemoryAllocateInfo,
[INFO] [stderr] 160 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 161 | |         &mut Option<Handle<VkDeviceMemory>>,
[INFO] [stderr] 162 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:163:21
[INFO] [stderr]     |
[INFO] [stderr] 163 |       pub map_memory: unsafe extern "system" fn(
[INFO] [stderr]     |  _____________________^
[INFO] [stderr] 164 | |         Ref<VkDevice>,
[INFO] [stderr] 165 | |         Mut<VkDeviceMemory>,
[INFO] [stderr] 166 | |         u64,
[INFO] [stderr] ...   |
[INFO] [stderr] 169 | |         &mut *mut u8,
[INFO] [stderr] 170 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:178:23
[INFO] [stderr]     |
[INFO] [stderr] 178 |       pub create_fence: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________^
[INFO] [stderr] 179 | |         Ref<VkDevice>,
[INFO] [stderr] 180 | |         &FenceCreateInfo,
[INFO] [stderr] 181 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 182 | |         &mut Option<Handle<VkFence>>,
[INFO] [stderr] 183 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:189:26
[INFO] [stderr]     |
[INFO] [stderr] 189 |       pub wait_for_fences: unsafe extern "system" fn(
[INFO] [stderr]     |  __________________________^
[INFO] [stderr] 190 | |         Ref<VkDevice>,
[INFO] [stderr] 191 | |         u32,
[INFO] [stderr] 192 | |         Array<Ref<VkFence>>,
[INFO] [stderr] 193 | |         Bool,
[INFO] [stderr] 194 | |         u64,
[INFO] [stderr] 195 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:196:23
[INFO] [stderr]     |
[INFO] [stderr] 196 |       pub reset_fences: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________^
[INFO] [stderr] 197 | |         Ref<VkDevice>,
[INFO] [stderr] 198 | |         u32,
[INFO] [stderr] 199 | |         Array<Mut<VkFence>>,
[INFO] [stderr] 200 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:201:27
[INFO] [stderr]     |
[INFO] [stderr] 201 |       pub create_semaphore: unsafe extern "system" fn(
[INFO] [stderr]     |  ___________________________^
[INFO] [stderr] 202 | |         Ref<VkDevice>,
[INFO] [stderr] 203 | |         &SemaphoreCreateInfo,
[INFO] [stderr] 204 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 205 | |         &mut Option<Handle<VkSemaphore>>,
[INFO] [stderr] 206 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:212:24
[INFO] [stderr]     |
[INFO] [stderr] 212 |       pub create_buffer: unsafe extern "system" fn(
[INFO] [stderr]     |  ________________________^
[INFO] [stderr] 213 | |         Ref<VkDevice>,
[INFO] [stderr] 214 | |         &BufferCreateInfo,
[INFO] [stderr] 215 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 216 | |         &mut Option<Handle<VkBuffer>>,
[INFO] [stderr] 217 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:223:23
[INFO] [stderr]     |
[INFO] [stderr] 223 |       pub create_image: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________^
[INFO] [stderr] 224 | |         Ref<VkDevice>,
[INFO] [stderr] 225 | |         &ImageCreateInfo,
[INFO] [stderr] 226 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 227 | |         &mut Option<Handle<VkImage>>,
[INFO] [stderr] 228 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:244:29
[INFO] [stderr]     |
[INFO] [stderr] 244 |       pub bind_buffer_memory: unsafe extern "system" fn(
[INFO] [stderr]     |  _____________________________^
[INFO] [stderr] 245 | |         Ref<VkDevice>,
[INFO] [stderr] 246 | |         Mut<VkBuffer>,
[INFO] [stderr] 247 | |         Ref<VkDeviceMemory>,
[INFO] [stderr] 248 | |         u64,
[INFO] [stderr] 249 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:250:28
[INFO] [stderr]     |
[INFO] [stderr] 250 |       pub bind_image_memory: unsafe extern "system" fn(
[INFO] [stderr]     |  ____________________________^
[INFO] [stderr] 251 | |         Ref<VkDevice>,
[INFO] [stderr] 252 | |         Mut<VkImage>,
[INFO] [stderr] 253 | |         Ref<VkDeviceMemory>,
[INFO] [stderr] 254 | |         u64,
[INFO] [stderr] 255 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:256:28
[INFO] [stderr]     |
[INFO] [stderr] 256 |       pub create_image_view: unsafe extern "system" fn(
[INFO] [stderr]     |  ____________________________^
[INFO] [stderr] 257 | |         Ref<VkDevice>,
[INFO] [stderr] 258 | |         &VkImageViewCreateInfo,
[INFO] [stderr] 259 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 260 | |         &mut Option<Handle<VkImageView>>,
[INFO] [stderr] 261 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:267:31
[INFO] [stderr]     |
[INFO] [stderr] 267 |       pub create_shader_module: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________________^
[INFO] [stderr] 268 | |         Ref<VkDevice>,
[INFO] [stderr] 269 | |         &VkShaderModuleCreateInfo,
[INFO] [stderr] 270 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 271 | |         &mut Option<Handle<VkShaderModule>>,
[INFO] [stderr] 272 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:278:32
[INFO] [stderr]     |
[INFO] [stderr] 278 |       pub create_pipeline_cache: unsafe extern "system" fn(
[INFO] [stderr]     |  ________________________________^
[INFO] [stderr] 279 | |         Ref<VkDevice>,
[INFO] [stderr] 280 | |         &PipelineCacheCreateInfo,
[INFO] [stderr] 281 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 282 | |         &mut Option<Handle<VkPipelineCache>>,
[INFO] [stderr] 283 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:289:34
[INFO] [stderr]     |
[INFO] [stderr] 289 |       pub get_pipeline_cache_data: unsafe extern "system" fn(
[INFO] [stderr]     |  __________________________________^
[INFO] [stderr] 290 | |         Ref<VkDevice>,
[INFO] [stderr] 291 | |         Ref<VkPipelineCache>,
[INFO] [stderr] 292 | |         &mut usize,
[INFO] [stderr] 293 | |         Option<ArrayMut<MaybeUninit<u8>>>,
[INFO] [stderr] 294 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:295:29
[INFO] [stderr]     |
[INFO] [stderr] 295 |       pub create_framebuffer: unsafe extern "system" fn(
[INFO] [stderr]     |  _____________________________^
[INFO] [stderr] 296 | |         Ref<VkDevice>,
[INFO] [stderr] 297 | |         &VkFramebufferCreateInfo,
[INFO] [stderr] 298 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 299 | |         &mut Option<Handle<VkFramebuffer>>,
[INFO] [stderr] 300 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:306:29
[INFO] [stderr]     |
[INFO] [stderr] 306 |       pub create_render_pass: unsafe extern "system" fn(
[INFO] [stderr]     |  _____________________________^
[INFO] [stderr] 307 | |         Ref<VkDevice>,
[INFO] [stderr] 308 | |         &RenderPassCreateInfo,
[INFO] [stderr] 309 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 310 | |         &mut Option<Handle<VkRenderPass>>,
[INFO] [stderr] 311 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:317:39
[INFO] [stderr]     |
[INFO] [stderr] 317 |       pub create_descriptor_set_layout: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________________________^
[INFO] [stderr] 318 | |         Ref<VkDevice>,
[INFO] [stderr] 319 | |         &VkDescriptorSetLayoutCreateInfo,
[INFO] [stderr] 320 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 321 | |         &mut Option<Handle<VkDescriptorSetLayout>>,
[INFO] [stderr] 322 | |     )
[INFO] [stderr] 323 | |         -> VkResult,
[INFO] [stderr]     | |___________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:329:33
[INFO] [stderr]     |
[INFO] [stderr] 329 |       pub create_descriptor_pool: unsafe extern "system" fn(
[INFO] [stderr]     |  _________________________________^
[INFO] [stderr] 330 | |         Ref<VkDevice>,
[INFO] [stderr] 331 | |         &DescriptorPoolCreateInfo,
[INFO] [stderr] 332 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 333 | |         &mut Option<Handle<VkDescriptorPool>>,
[INFO] [stderr] 334 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:340:32
[INFO] [stderr]     |
[INFO] [stderr] 340 |       pub reset_descriptor_pool: unsafe extern "system" fn(
[INFO] [stderr]     |  ________________________________^
[INFO] [stderr] 341 | |         Ref<VkDevice>,
[INFO] [stderr] 342 | |         Mut<VkDescriptorPool>,
[INFO] [stderr] 343 | |         DescriptorPoolResetFlags,
[INFO] [stderr] 344 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:345:35
[INFO] [stderr]     |
[INFO] [stderr] 345 |       pub allocate_descriptor_sets: unsafe extern "system" fn(
[INFO] [stderr]     |  ___________________________________^
[INFO] [stderr] 346 | |         Ref<VkDevice>,
[INFO] [stderr] 347 | |         &DescriptorSetAllocateInfo,
[INFO] [stderr] 348 | |         ArrayMut<MaybeUninit<Handle<VkDescriptorSet>>>,
[INFO] [stderr] 349 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:357:33
[INFO] [stderr]     |
[INFO] [stderr] 357 |       pub create_pipeline_layout: unsafe extern "system" fn(
[INFO] [stderr]     |  _________________________________^
[INFO] [stderr] 358 | |         Ref<VkDevice>,
[INFO] [stderr] 359 | |         &PipelineLayoutCreateInfo,
[INFO] [stderr] 360 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 361 | |         &mut Option<Handle<VkPipelineLayout>>,
[INFO] [stderr] 362 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:368:25
[INFO] [stderr]     |
[INFO] [stderr] 368 |       pub create_sampler: unsafe extern "system" fn(
[INFO] [stderr]     |  _________________________^
[INFO] [stderr] 369 | |         Ref<VkDevice>,
[INFO] [stderr] 370 | |         &SamplerCreateInfo,
[INFO] [stderr] 371 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 372 | |         &mut Option<Handle<VkSampler>>,
[INFO] [stderr] 373 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:379:36
[INFO] [stderr]     |
[INFO] [stderr] 379 |       pub create_graphics_pipelines: unsafe extern "system" fn(
[INFO] [stderr]     |  ____________________________________^
[INFO] [stderr] 380 | |         Ref<VkDevice>,
[INFO] [stderr] 381 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stderr] 382 | |         u32,
[INFO] [stderr] ...   |
[INFO] [stderr] 385 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stderr] 386 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:387:35
[INFO] [stderr]     |
[INFO] [stderr] 387 |       pub create_compute_pipelines: unsafe extern "system" fn(
[INFO] [stderr]     |  ___________________________________^
[INFO] [stderr] 388 | |         Ref<VkDevice>,
[INFO] [stderr] 389 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stderr] 390 | |         u32,
[INFO] [stderr] ...   |
[INFO] [stderr] 393 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stderr] 394 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:400:30
[INFO] [stderr]     |
[INFO] [stderr] 400 |       pub create_command_pool: unsafe extern "system" fn(
[INFO] [stderr]     |  ______________________________^
[INFO] [stderr] 401 | |         Ref<VkDevice>,
[INFO] [stderr] 402 | |         &CommandPoolCreateInfo,
[INFO] [stderr] 403 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 404 | |         &mut Option<Handle<VkCommandPool>>,
[INFO] [stderr] 405 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:411:29
[INFO] [stderr]     |
[INFO] [stderr] 411 |       pub reset_command_pool: unsafe extern "system" fn(
[INFO] [stderr]     |  _____________________________^
[INFO] [stderr] 412 | |         Ref<VkDevice>,
[INFO] [stderr] 413 | |         Mut<VkCommandPool>,
[INFO] [stderr] 414 | |         CommandPoolResetFlags,
[INFO] [stderr] 415 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:416:35
[INFO] [stderr]     |
[INFO] [stderr] 416 |       pub allocate_command_buffers: unsafe extern "system" fn(
[INFO] [stderr]     |  ___________________________________^
[INFO] [stderr] 417 | |         Ref<VkDevice>,
[INFO] [stderr] 418 | |         &CommandBufferAllocateInfo<'_>,
[INFO] [stderr] 419 | |         ArrayMut<MaybeUninit<Handle<VkCommandBuffer>>>,
[INFO] [stderr] 420 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:427:31
[INFO] [stderr]     |
[INFO] [stderr] 427 |       pub begin_command_buffer: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________________^
[INFO] [stderr] 428 | |         Mut<VkCommandBuffer>,
[INFO] [stderr] 429 | |         &CommandBufferBeginInfo,
[INFO] [stderr] 430 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/load.rs:432:9
[INFO] [stderr]     |
[INFO] [stderr] 432 |         unsafe extern "system" fn(Mut<VkCommandBuffer>) -> VkResult,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/ext/ext_metal_surface.rs:49:35
[INFO] [stderr]    |
[INFO] [stderr] 49 |       pub create_metal_surface_ext: unsafe extern "system" fn(
[INFO] [stderr]    |  ___________________________________^
[INFO] [stderr] 50 | |         Ref<VkInstance>,
[INFO] [stderr] 51 | |         &MetalSurfaceCreateInfoEXT,
[INFO] [stderr] 52 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 53 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stderr] 54 | |     ) -> VkResult,
[INFO] [stderr]    | |_________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_surface.rs:151:9
[INFO] [stderr]     |
[INFO] [stderr] 151 | /         unsafe extern "system" fn(
[INFO] [stderr] 152 | |             Ref<VkPhysicalDevice>,
[INFO] [stderr] 153 | |             u32,
[INFO] [stderr] 154 | |             Ref<VkSurfaceKHR>,
[INFO] [stderr] 155 | |             &mut Bool,
[INFO] [stderr] 156 | |         ) -> VkResult,
[INFO] [stderr]     | |_____________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_surface.rs:158:9
[INFO] [stderr]     |
[INFO] [stderr] 158 | /         unsafe extern "system" fn(
[INFO] [stderr] 159 | |             Ref<VkPhysicalDevice>,
[INFO] [stderr] 160 | |             Ref<VkSurfaceKHR>,
[INFO] [stderr] 161 | |             &mut MaybeUninit<SurfaceCapabilitiesKHR>,
[INFO] [stderr] 162 | |         ) -> VkResult,
[INFO] [stderr]     | |_____________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_surface.rs:164:9
[INFO] [stderr]     |
[INFO] [stderr] 164 | /         unsafe extern "system" fn(
[INFO] [stderr] 165 | |             Ref<VkPhysicalDevice>,
[INFO] [stderr] 166 | |             Ref<VkSurfaceKHR>,
[INFO] [stderr] 167 | |             &mut u32,
[INFO] [stderr] 168 | |             Option<ArrayMut<MaybeUninit<SurfaceFormatKHR>>>,
[INFO] [stderr] 169 | |         ) -> VkResult,
[INFO] [stderr]     | |_____________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/ext/khr_xlib_surface.rs:71:34
[INFO] [stderr]    |
[INFO] [stderr] 71 |       pub create_xlib_surface_khr: unsafe extern "system" fn(
[INFO] [stderr]    |  __________________________________^
[INFO] [stderr] 72 | |         Ref<VkInstance>,
[INFO] [stderr] 73 | |         &XlibSurfaceCreateInfoKHR,
[INFO] [stderr] 74 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 75 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stderr] 76 | |     ) -> VkResult,
[INFO] [stderr]    | |_________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/ext/khr_wayland_surface.rs:72:37
[INFO] [stderr]    |
[INFO] [stderr] 72 |       pub create_wayland_surface_khr: unsafe extern "system" fn(
[INFO] [stderr]    |  _____________________________________^
[INFO] [stderr] 73 | |         Ref<VkInstance>,
[INFO] [stderr] 74 | |         &WaylandSurfaceCreateInfoKHR,
[INFO] [stderr] 75 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 76 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stderr] 77 | |     ) -> VkResult,
[INFO] [stderr]    | |_________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]   --> src/ext/khr_win32_surface.rs:63:35
[INFO] [stderr]    |
[INFO] [stderr] 63 |       pub create_win32_surface_khr: unsafe extern "system" fn(
[INFO] [stderr]    |  ___________________________________^
[INFO] [stderr] 64 | |         Ref<VkInstance>,
[INFO] [stderr] 65 | |         &Win32SurfaceCreateInfoKHR,
[INFO] [stderr] 66 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 67 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stderr] 68 | |     ) -> VkResult,
[INFO] [stderr]    | |_________________^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]    = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_swapchain.rs:308:31
[INFO] [stderr]     |
[INFO] [stderr] 308 |       pub create_swapchain_khr: unsafe extern "system" fn(
[INFO] [stderr]     |  _______________________________^
[INFO] [stderr] 309 | |         Ref<VkDevice>,
[INFO] [stderr] 310 | |         &VkSwapchainCreateInfoKHR,
[INFO] [stderr] 311 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stderr] 312 | |         &mut Option<Handle<VkSwapchainKHR>>,
[INFO] [stderr] 313 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_swapchain.rs:319:35
[INFO] [stderr]     |
[INFO] [stderr] 319 |       pub get_swapchain_images_khr: unsafe extern "system" fn(
[INFO] [stderr]     |  ___________________________________^
[INFO] [stderr] 320 | |         Ref<VkDevice>,
[INFO] [stderr] 321 | |         Ref<VkSwapchainKHR>,
[INFO] [stderr] 322 | |         &mut u32,
[INFO] [stderr] 323 | |         Option<ArrayMut<MaybeUninit<Handle<VkImage>>>>,
[INFO] [stderr] 324 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_swapchain.rs:325:33
[INFO] [stderr]     |
[INFO] [stderr] 325 |       pub acquire_next_image_khr: unsafe extern "system" fn(
[INFO] [stderr]     |  _________________________________^
[INFO] [stderr] 326 | |         Ref<VkDevice>,
[INFO] [stderr] 327 | |         Mut<VkSwapchainKHR>,
[INFO] [stderr] 328 | |         u64,
[INFO] [stderr] ...   |
[INFO] [stderr] 331 | |         &mut u32,
[INFO] [stderr] 332 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stderr]    --> src/ext/khr_swapchain.rs:333:28
[INFO] [stderr]     |
[INFO] [stderr] 333 |       pub queue_present_khr: unsafe extern "system" fn(
[INFO] [stderr]     |  ____________________________^
[INFO] [stderr] 334 | |         Mut<VkQueue>,
[INFO] [stderr] 335 | |         &PresentInfoKHR<'_>,
[INFO] [stderr] 336 | |     ) -> VkResult,
[INFO] [stderr]     | |_________________^ not FFI-safe
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stderr]     = note: enum has no representation hint
[INFO] [stderr] 
[INFO] [stderr] warning: `maia` (lib) generated 48 warnings
[INFO] [stderr] warning: `maia` (lib test) generated 48 warnings (48 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/maia-632c05a3baa9a5f5)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test cleanup_queue::tests::test_reordered_cleanup ... ok
[INFO] [stdout] test command_buffer::test::subpass ... ok
[INFO] [stdout] test command_buffer::bind::test::push_constant_check ... ok
[INFO] [stdout] test image::test::require_robust ... ok
[INFO] [stdout] test command_buffer::bind::test::bounds_check ... ok
[INFO] [stdout] test command_buffer::test::secondary_reset ... ok
[INFO] [stdout] test queue::test::cross_queue_sync ... ok
[INFO] [stdout] test command_buffer::bind::test::descriptor_set_typecheck ... ok
[INFO] [stdout] test queue::test::cmd_state ... ok
[INFO] [stdout] test buffer::test::require_robust ... ok
[INFO] [stdout] test image::test::wrong_mem ... ok
[INFO] [stdout] test buffer::test::wrong_mem ... ok
[INFO] [stdout] test queue::test::signaller ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests maia
[INFO] [stderr] error[E0432]: unresolved import `raw_window_handle`
[INFO] [stderr]   --> src/window.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use raw_window_handle::{HasRawWindowHandle, RawWindowHandle};
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `raw_window_handle`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 1 previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type lib --crate-name maia --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps -L native=/opt/rustwide/workdir/lib/x64 --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-85e13ed1e0c6d910.rlib --extern bumpalo=/opt/rustwide/target/debug/deps/libbumpalo-8df9db15016f556f.rlib --extern maia=/opt/rustwide/target/debug/deps/libmaia-d8459d7c27847e7f.rlib -C embed-bitcode=no --cap-lints=warn --error-format human` (exit status: 1)
[INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness.
[INFO] running `Command { std: "docker" "inspect" "f7a904ee284f9ebf0f52179748e123b313d54dcbeed1d99a2ba0e415f79a7b95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7a904ee284f9ebf0f52179748e123b313d54dcbeed1d99a2ba0e415f79a7b95", kill_on_drop: false }`
[INFO] [stdout] f7a904ee284f9ebf0f52179748e123b313d54dcbeed1d99a2ba0e415f79a7b95
