[INFO] fetching crate maia 0.1.1...
[INFO] testing maia-0.1.1 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate maia 0.1.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate maia 0.1.1 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 63 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding cocoa v0.24.1 (latest: v0.25.0)
[INFO] [stderr]       Adding core-graphics v0.22.3 (latest: v0.23.2)
[INFO] [stderr]       Adding foreign-types v0.3.2 (latest: v0.5.0)
[INFO] [stderr]       Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding generator v0.7.5 (latest: v0.8.1)
[INFO] [stderr]       Adding loom v0.5.6 (latest: v0.7.2)
[INFO] [stderr]       Adding malloc_buf v0.0.6 (latest: v1.0.0)
[INFO] [stderr]       Adding nu-ansi-term v0.46.0 (latest: v0.50.0)
[INFO] [stderr]       Adding raw-window-handle v0.4.3 (latest: v0.6.2)
[INFO] [stderr]       Adding raw-window-metal v0.2.0 (latest: v0.4.0)
[INFO] [stderr]       Adding regex-automata v0.1.10 (latest: v0.4.6)
[INFO] [stderr]       Adding regex-syntax v0.6.29 (latest: v0.8.3)
[INFO] [stderr]       Adding windows v0.48.0 (latest: v0.56.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9700f2602652bc0b1f256a7bf6ef83f3976b96c0c2186847661d7f72592d68ec
[INFO] running `Command { std: "docker" "start" "-a" "9700f2602652bc0b1f256a7bf6ef83f3976b96c0c2186847661d7f72592d68ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9700f2602652bc0b1f256a7bf6ef83f3976b96c0c2186847661d7f72592d68ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9700f2602652bc0b1f256a7bf6ef83f3976b96c0c2186847661d7f72592d68ec", kill_on_drop: false }`
[INFO] [stdout] 9700f2602652bc0b1f256a7bf6ef83f3976b96c0c2186847661d7f72592d68ec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f26a7ca42e01532cb77eb4eee2262bdb9e0496cdcb34591a06ba5abf4e474d5b
[INFO] running `Command { std: "docker" "start" "-a" "f26a7ca42e01532cb77eb4eee2262bdb9e0496cdcb34591a06ba5abf4e474d5b", kill_on_drop: false }`
[INFO] [stderr]    Compiling maia v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 | #[cfg(loom)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:191:11
[INFO] [stdout]     |
[INFO] [stdout] 191 | #[cfg(not(loom))]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/cleanup_queue.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg(loom)]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/cleanup_queue.rs:73:15
[INFO] [stdout]    |
[INFO] [stdout] 73 |     #[cfg(not(loom))]
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/image.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(Subobject<SwapchainImages>),
[INFO] [stdout]    |     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/command_buffer.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(Subobject<CommandPoolLifetime>);
[INFO] [stdout]     |        ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RecordedCommands` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(());
[INFO] [stdout]     |                         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub unsafe fn vk_create_instance() -> unsafe extern "system" fn(
[INFO] [stdout]    |  _______________________________________^
[INFO] [stdout] 27 | |     &'_ InstanceCreateInfo<'_>,
[INFO] [stdout] 28 | |     Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 29 | |     &mut Option<Handle<VkInstance>>,
[INFO] [stdout] 30 | | ) -> VkResult {
[INFO] [stdout]    | |_____________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 |   ) -> unsafe extern "system" fn(
[INFO] [stdout]    |  ______^
[INFO] [stdout] 36 | |     Option<Str<'_>>,
[INFO] [stdout] 37 | |     &mut u32,
[INFO] [stdout] 38 | |     Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 39 | | ) -> VkResult {
[INFO] [stdout]    | |_____________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |       pub enumerate_physical_devices: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 49 | |         Ref<VkInstance>,
[INFO] [stdout] 50 | |         &mut u32,
[INFO] [stdout] 51 | |         Option<ArrayMut<MaybeUninit<Handle<VkPhysicalDevice>>>>,
[INFO] [stdout] 52 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | /         unsafe extern "system" fn(
[INFO] [stdout] 69 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 70 | |             Option<Str<'_>>,
[INFO] [stdout] 71 | |             &mut u32,
[INFO] [stdout] 72 | |             Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 73 | |         ) -> VkResult,
[INFO] [stdout]    | |_____________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |       pub create_device: unsafe extern "system" fn(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 75 | |         Ref<VkPhysicalDevice>,
[INFO] [stdout] 76 | |         &'_ DeviceCreateInfo,
[INFO] [stdout] 77 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 78 | |         &mut Option<Handle<VkDevice>>,
[INFO] [stdout] 79 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 139 |       pub device_wait_idle: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 140 | |         // Technically not ext. sync. on the device, but on the queues. But
[INFO] [stdout] 141 | |         // this is safer because the queues borrow the device.
[INFO] [stdout] 142 | |         Mut<VkDevice>,
[INFO] [stdout] 143 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |       pub queue_submit: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 151 | |         Mut<VkQueue>,
[INFO] [stdout] 152 | |         u32,
[INFO] [stdout] 153 | |         Option<Array<VkSubmitInfo<Null>>>,
[INFO] [stdout] 154 | |         Option<Mut<VkFence>>,
[INFO] [stdout] 155 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:156:26
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub queue_wait_idle: unsafe extern "system" fn(Mut<VkQueue>) -> VkResult,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |       pub allocate_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 158 | |         Ref<VkDevice>,
[INFO] [stdout] 159 | |         &MemoryAllocateInfo,
[INFO] [stdout] 160 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 161 | |         &mut Option<Handle<VkDeviceMemory>>,
[INFO] [stdout] 162 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |       pub map_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 164 | |         Ref<VkDevice>,
[INFO] [stdout] 165 | |         Mut<VkDeviceMemory>,
[INFO] [stdout] 166 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | |         &mut *mut u8,
[INFO] [stdout] 170 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:178:23
[INFO] [stdout]     |
[INFO] [stdout] 178 |       pub create_fence: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 179 | |         Ref<VkDevice>,
[INFO] [stdout] 180 | |         &FenceCreateInfo,
[INFO] [stdout] 181 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 182 | |         &mut Option<Handle<VkFence>>,
[INFO] [stdout] 183 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:189:26
[INFO] [stdout]     |
[INFO] [stdout] 189 |       pub wait_for_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 190 | |         Ref<VkDevice>,
[INFO] [stdout] 191 | |         u32,
[INFO] [stdout] 192 | |         Array<Ref<VkFence>>,
[INFO] [stdout] 193 | |         Bool,
[INFO] [stdout] 194 | |         u64,
[INFO] [stdout] 195 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 196 |       pub reset_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 197 | |         Ref<VkDevice>,
[INFO] [stdout] 198 | |         u32,
[INFO] [stdout] 199 | |         Array<Mut<VkFence>>,
[INFO] [stdout] 200 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:201:27
[INFO] [stdout]     |
[INFO] [stdout] 201 |       pub create_semaphore: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 202 | |         Ref<VkDevice>,
[INFO] [stdout] 203 | |         &SemaphoreCreateInfo,
[INFO] [stdout] 204 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 205 | |         &mut Option<Handle<VkSemaphore>>,
[INFO] [stdout] 206 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:212:24
[INFO] [stdout]     |
[INFO] [stdout] 212 |       pub create_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 213 | |         Ref<VkDevice>,
[INFO] [stdout] 214 | |         &BufferCreateInfo,
[INFO] [stdout] 215 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 216 | |         &mut Option<Handle<VkBuffer>>,
[INFO] [stdout] 217 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:223:23
[INFO] [stdout]     |
[INFO] [stdout] 223 |       pub create_image: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 224 | |         Ref<VkDevice>,
[INFO] [stdout] 225 | |         &ImageCreateInfo,
[INFO] [stdout] 226 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 227 | |         &mut Option<Handle<VkImage>>,
[INFO] [stdout] 228 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:244:29
[INFO] [stdout]     |
[INFO] [stdout] 244 |       pub bind_buffer_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 245 | |         Ref<VkDevice>,
[INFO] [stdout] 246 | |         Mut<VkBuffer>,
[INFO] [stdout] 247 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 248 | |         u64,
[INFO] [stdout] 249 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:250:28
[INFO] [stdout]     |
[INFO] [stdout] 250 |       pub bind_image_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 251 | |         Ref<VkDevice>,
[INFO] [stdout] 252 | |         Mut<VkImage>,
[INFO] [stdout] 253 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 254 | |         u64,
[INFO] [stdout] 255 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:256:28
[INFO] [stdout]     |
[INFO] [stdout] 256 |       pub create_image_view: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 257 | |         Ref<VkDevice>,
[INFO] [stdout] 258 | |         &VkImageViewCreateInfo,
[INFO] [stdout] 259 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 260 | |         &mut Option<Handle<VkImageView>>,
[INFO] [stdout] 261 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:267:31
[INFO] [stdout]     |
[INFO] [stdout] 267 |       pub create_shader_module: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 268 | |         Ref<VkDevice>,
[INFO] [stdout] 269 | |         &VkShaderModuleCreateInfo,
[INFO] [stdout] 270 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 271 | |         &mut Option<Handle<VkShaderModule>>,
[INFO] [stdout] 272 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:278:32
[INFO] [stdout]     |
[INFO] [stdout] 278 |       pub create_pipeline_cache: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 279 | |         Ref<VkDevice>,
[INFO] [stdout] 280 | |         &PipelineCacheCreateInfo,
[INFO] [stdout] 281 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 282 | |         &mut Option<Handle<VkPipelineCache>>,
[INFO] [stdout] 283 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:289:34
[INFO] [stdout]     |
[INFO] [stdout] 289 |       pub get_pipeline_cache_data: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 290 | |         Ref<VkDevice>,
[INFO] [stdout] 291 | |         Ref<VkPipelineCache>,
[INFO] [stdout] 292 | |         &mut usize,
[INFO] [stdout] 293 | |         Option<ArrayMut<MaybeUninit<u8>>>,
[INFO] [stdout] 294 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 |       pub create_framebuffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 296 | |         Ref<VkDevice>,
[INFO] [stdout] 297 | |         &VkFramebufferCreateInfo,
[INFO] [stdout] 298 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 299 | |         &mut Option<Handle<VkFramebuffer>>,
[INFO] [stdout] 300 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:306:29
[INFO] [stdout]     |
[INFO] [stdout] 306 |       pub create_render_pass: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 307 | |         Ref<VkDevice>,
[INFO] [stdout] 308 | |         &RenderPassCreateInfo,
[INFO] [stdout] 309 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 310 | |         &mut Option<Handle<VkRenderPass>>,
[INFO] [stdout] 311 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:317:39
[INFO] [stdout]     |
[INFO] [stdout] 317 |       pub create_descriptor_set_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________________^
[INFO] [stdout] 318 | |         Ref<VkDevice>,
[INFO] [stdout] 319 | |         &VkDescriptorSetLayoutCreateInfo,
[INFO] [stdout] 320 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 321 | |         &mut Option<Handle<VkDescriptorSetLayout>>,
[INFO] [stdout] 322 | |     )
[INFO] [stdout] 323 | |         -> VkResult,
[INFO] [stdout]     | |___________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:329:33
[INFO] [stdout]     |
[INFO] [stdout] 329 |       pub create_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 330 | |         Ref<VkDevice>,
[INFO] [stdout] 331 | |         &DescriptorPoolCreateInfo,
[INFO] [stdout] 332 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 333 | |         &mut Option<Handle<VkDescriptorPool>>,
[INFO] [stdout] 334 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:340:32
[INFO] [stdout]     |
[INFO] [stdout] 340 |       pub reset_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 341 | |         Ref<VkDevice>,
[INFO] [stdout] 342 | |         Mut<VkDescriptorPool>,
[INFO] [stdout] 343 | |         DescriptorPoolResetFlags,
[INFO] [stdout] 344 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:345:35
[INFO] [stdout]     |
[INFO] [stdout] 345 |       pub allocate_descriptor_sets: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 346 | |         Ref<VkDevice>,
[INFO] [stdout] 347 | |         &DescriptorSetAllocateInfo,
[INFO] [stdout] 348 | |         ArrayMut<MaybeUninit<Handle<VkDescriptorSet>>>,
[INFO] [stdout] 349 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:357:33
[INFO] [stdout]     |
[INFO] [stdout] 357 |       pub create_pipeline_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 358 | |         Ref<VkDevice>,
[INFO] [stdout] 359 | |         &PipelineLayoutCreateInfo,
[INFO] [stdout] 360 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 361 | |         &mut Option<Handle<VkPipelineLayout>>,
[INFO] [stdout] 362 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:368:25
[INFO] [stdout]     |
[INFO] [stdout] 368 |       pub create_sampler: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 369 | |         Ref<VkDevice>,
[INFO] [stdout] 370 | |         &SamplerCreateInfo,
[INFO] [stdout] 371 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 372 | |         &mut Option<Handle<VkSampler>>,
[INFO] [stdout] 373 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:379:36
[INFO] [stdout]     |
[INFO] [stdout] 379 |       pub create_graphics_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 380 | |         Ref<VkDevice>,
[INFO] [stdout] 381 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 382 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 385 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 386 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:387:35
[INFO] [stdout]     |
[INFO] [stdout] 387 |       pub create_compute_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 388 | |         Ref<VkDevice>,
[INFO] [stdout] 389 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 390 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 393 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 394 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:400:30
[INFO] [stdout]     |
[INFO] [stdout] 400 |       pub create_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 401 | |         Ref<VkDevice>,
[INFO] [stdout] 402 | |         &CommandPoolCreateInfo,
[INFO] [stdout] 403 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 404 | |         &mut Option<Handle<VkCommandPool>>,
[INFO] [stdout] 405 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:411:29
[INFO] [stdout]     |
[INFO] [stdout] 411 |       pub reset_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 412 | |         Ref<VkDevice>,
[INFO] [stdout] 413 | |         Mut<VkCommandPool>,
[INFO] [stdout] 414 | |         CommandPoolResetFlags,
[INFO] [stdout] 415 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:416:35
[INFO] [stdout]     |
[INFO] [stdout] 416 |       pub allocate_command_buffers: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 417 | |         Ref<VkDevice>,
[INFO] [stdout] 418 | |         &CommandBufferAllocateInfo<'_>,
[INFO] [stdout] 419 | |         ArrayMut<MaybeUninit<Handle<VkCommandBuffer>>>,
[INFO] [stdout] 420 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:427:31
[INFO] [stdout]     |
[INFO] [stdout] 427 |       pub begin_command_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 428 | |         Mut<VkCommandBuffer>,
[INFO] [stdout] 429 | |         &CommandBufferBeginInfo,
[INFO] [stdout] 430 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |         unsafe extern "system" fn(Mut<VkCommandBuffer>) -> VkResult,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/ext_metal_surface.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |       pub create_metal_surface_ext: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 50 | |         Ref<VkInstance>,
[INFO] [stdout] 51 | |         &MetalSurfaceCreateInfoEXT,
[INFO] [stdout] 52 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 53 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 54 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 | /         unsafe extern "system" fn(
[INFO] [stdout] 152 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 153 | |             u32,
[INFO] [stdout] 154 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 155 | |             &mut Bool,
[INFO] [stdout] 156 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | /         unsafe extern "system" fn(
[INFO] [stdout] 159 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 160 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 161 | |             &mut MaybeUninit<SurfaceCapabilitiesKHR>,
[INFO] [stdout] 162 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 | /         unsafe extern "system" fn(
[INFO] [stdout] 165 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 166 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 167 | |             &mut u32,
[INFO] [stdout] 168 | |             Option<ArrayMut<MaybeUninit<SurfaceFormatKHR>>>,
[INFO] [stdout] 169 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_xlib_surface.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 |       pub create_xlib_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  __________________________________^
[INFO] [stdout] 72 | |         Ref<VkInstance>,
[INFO] [stdout] 73 | |         &XlibSurfaceCreateInfoKHR,
[INFO] [stdout] 74 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 75 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 76 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_wayland_surface.rs:72:37
[INFO] [stdout]    |
[INFO] [stdout] 72 |       pub create_wayland_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 73 | |         Ref<VkInstance>,
[INFO] [stdout] 74 | |         &WaylandSurfaceCreateInfoKHR,
[INFO] [stdout] 75 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 76 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 77 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_win32_surface.rs:63:35
[INFO] [stdout]    |
[INFO] [stdout] 63 |       pub create_win32_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 64 | |         Ref<VkInstance>,
[INFO] [stdout] 65 | |         &Win32SurfaceCreateInfoKHR,
[INFO] [stdout] 66 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 67 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 68 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:308:31
[INFO] [stdout]     |
[INFO] [stdout] 308 |       pub create_swapchain_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 309 | |         Ref<VkDevice>,
[INFO] [stdout] 310 | |         &VkSwapchainCreateInfoKHR,
[INFO] [stdout] 311 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 312 | |         &mut Option<Handle<VkSwapchainKHR>>,
[INFO] [stdout] 313 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:319:35
[INFO] [stdout]     |
[INFO] [stdout] 319 |       pub get_swapchain_images_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 320 | |         Ref<VkDevice>,
[INFO] [stdout] 321 | |         Ref<VkSwapchainKHR>,
[INFO] [stdout] 322 | |         &mut u32,
[INFO] [stdout] 323 | |         Option<ArrayMut<MaybeUninit<Handle<VkImage>>>>,
[INFO] [stdout] 324 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:325:33
[INFO] [stdout]     |
[INFO] [stdout] 325 |       pub acquire_next_image_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 326 | |         Ref<VkDevice>,
[INFO] [stdout] 327 | |         Mut<VkSwapchainKHR>,
[INFO] [stdout] 328 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 331 | |         &mut u32,
[INFO] [stdout] 332 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:333:28
[INFO] [stdout]     |
[INFO] [stdout] 333 |       pub queue_present_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 334 | |         Mut<VkQueue>,
[INFO] [stdout] 335 | |         &PresentInfoKHR<'_>,
[INFO] [stdout] 336 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 54 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.61s
[INFO] running `Command { std: "docker" "inspect" "f26a7ca42e01532cb77eb4eee2262bdb9e0496cdcb34591a06ba5abf4e474d5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f26a7ca42e01532cb77eb4eee2262bdb9e0496cdcb34591a06ba5abf4e474d5b", kill_on_drop: false }`
[INFO] [stdout] f26a7ca42e01532cb77eb4eee2262bdb9e0496cdcb34591a06ba5abf4e474d5b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f65e69f8ea317830e659bfeb54a1a4493d628493016bae80ae556cbc262e639
[INFO] running `Command { std: "docker" "start" "-a" "3f65e69f8ea317830e659bfeb54a1a4493d628493016bae80ae556cbc262e639", kill_on_drop: false }`
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 | #[cfg(loom)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:191:11
[INFO] [stdout]     |
[INFO] [stdout] 191 | #[cfg(not(loom))]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/cleanup_queue.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg(loom)]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/cleanup_queue.rs:73:15
[INFO] [stdout]    |
[INFO] [stdout] 73 |     #[cfg(not(loom))]
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/image.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(Subobject<SwapchainImages>),
[INFO] [stdout]    |     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/command_buffer.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(Subobject<CommandPoolLifetime>);
[INFO] [stdout]     |        ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RecordedCommands` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(());
[INFO] [stdout]     |                         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub unsafe fn vk_create_instance() -> unsafe extern "system" fn(
[INFO] [stdout]    |  _______________________________________^
[INFO] [stdout] 27 | |     &'_ InstanceCreateInfo<'_>,
[INFO] [stdout] 28 | |     Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 29 | |     &mut Option<Handle<VkInstance>>,
[INFO] [stdout] 30 | | ) -> VkResult {
[INFO] [stdout]    | |_____________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 |   ) -> unsafe extern "system" fn(
[INFO] [stdout]    |  ______^
[INFO] [stdout] 36 | |     Option<Str<'_>>,
[INFO] [stdout] 37 | |     &mut u32,
[INFO] [stdout] 38 | |     Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 39 | | ) -> VkResult {
[INFO] [stdout]    | |_____________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |       pub enumerate_physical_devices: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 49 | |         Ref<VkInstance>,
[INFO] [stdout] 50 | |         &mut u32,
[INFO] [stdout] 51 | |         Option<ArrayMut<MaybeUninit<Handle<VkPhysicalDevice>>>>,
[INFO] [stdout] 52 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | /         unsafe extern "system" fn(
[INFO] [stdout] 69 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 70 | |             Option<Str<'_>>,
[INFO] [stdout] 71 | |             &mut u32,
[INFO] [stdout] 72 | |             Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 73 | |         ) -> VkResult,
[INFO] [stdout]    | |_____________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |       pub create_device: unsafe extern "system" fn(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 75 | |         Ref<VkPhysicalDevice>,
[INFO] [stdout] 76 | |         &'_ DeviceCreateInfo,
[INFO] [stdout] 77 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 78 | |         &mut Option<Handle<VkDevice>>,
[INFO] [stdout] 79 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 139 |       pub device_wait_idle: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 140 | |         // Technically not ext. sync. on the device, but on the queues. But
[INFO] [stdout] 141 | |         // this is safer because the queues borrow the device.
[INFO] [stdout] 142 | |         Mut<VkDevice>,
[INFO] [stdout] 143 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |       pub queue_submit: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 151 | |         Mut<VkQueue>,
[INFO] [stdout] 152 | |         u32,
[INFO] [stdout] 153 | |         Option<Array<VkSubmitInfo<Null>>>,
[INFO] [stdout] 154 | |         Option<Mut<VkFence>>,
[INFO] [stdout] 155 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:156:26
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub queue_wait_idle: unsafe extern "system" fn(Mut<VkQueue>) -> VkResult,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |       pub allocate_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 158 | |         Ref<VkDevice>,
[INFO] [stdout] 159 | |         &MemoryAllocateInfo,
[INFO] [stdout] 160 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 161 | |         &mut Option<Handle<VkDeviceMemory>>,
[INFO] [stdout] 162 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |       pub map_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 164 | |         Ref<VkDevice>,
[INFO] [stdout] 165 | |         Mut<VkDeviceMemory>,
[INFO] [stdout] 166 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | |         &mut *mut u8,
[INFO] [stdout] 170 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:178:23
[INFO] [stdout]     |
[INFO] [stdout] 178 |       pub create_fence: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 179 | |         Ref<VkDevice>,
[INFO] [stdout] 180 | |         &FenceCreateInfo,
[INFO] [stdout] 181 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 182 | |         &mut Option<Handle<VkFence>>,
[INFO] [stdout] 183 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:189:26
[INFO] [stdout]     |
[INFO] [stdout] 189 |       pub wait_for_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 190 | |         Ref<VkDevice>,
[INFO] [stdout] 191 | |         u32,
[INFO] [stdout] 192 | |         Array<Ref<VkFence>>,
[INFO] [stdout] 193 | |         Bool,
[INFO] [stdout] 194 | |         u64,
[INFO] [stdout] 195 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 196 |       pub reset_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 197 | |         Ref<VkDevice>,
[INFO] [stdout] 198 | |         u32,
[INFO] [stdout] 199 | |         Array<Mut<VkFence>>,
[INFO] [stdout] 200 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:201:27
[INFO] [stdout]     |
[INFO] [stdout] 201 |       pub create_semaphore: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 202 | |         Ref<VkDevice>,
[INFO] [stdout] 203 | |         &SemaphoreCreateInfo,
[INFO] [stdout] 204 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 205 | |         &mut Option<Handle<VkSemaphore>>,
[INFO] [stdout] 206 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:212:24
[INFO] [stdout]     |
[INFO] [stdout] 212 |       pub create_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 213 | |         Ref<VkDevice>,
[INFO] [stdout] 214 | |         &BufferCreateInfo,
[INFO] [stdout] 215 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 216 | |         &mut Option<Handle<VkBuffer>>,
[INFO] [stdout] 217 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:223:23
[INFO] [stdout]     |
[INFO] [stdout] 223 |       pub create_image: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 224 | |         Ref<VkDevice>,
[INFO] [stdout] 225 | |         &ImageCreateInfo,
[INFO] [stdout] 226 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 227 | |         &mut Option<Handle<VkImage>>,
[INFO] [stdout] 228 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:244:29
[INFO] [stdout]     |
[INFO] [stdout] 244 |       pub bind_buffer_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 245 | |         Ref<VkDevice>,
[INFO] [stdout] 246 | |         Mut<VkBuffer>,
[INFO] [stdout] 247 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 248 | |         u64,
[INFO] [stdout] 249 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:250:28
[INFO] [stdout]     |
[INFO] [stdout] 250 |       pub bind_image_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 251 | |         Ref<VkDevice>,
[INFO] [stdout] 252 | |         Mut<VkImage>,
[INFO] [stdout] 253 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 254 | |         u64,
[INFO] [stdout] 255 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:256:28
[INFO] [stdout]     |
[INFO] [stdout] 256 |       pub create_image_view: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 257 | |         Ref<VkDevice>,
[INFO] [stdout] 258 | |         &VkImageViewCreateInfo,
[INFO] [stdout] 259 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 260 | |         &mut Option<Handle<VkImageView>>,
[INFO] [stdout] 261 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:267:31
[INFO] [stdout]     |
[INFO] [stdout] 267 |       pub create_shader_module: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 268 | |         Ref<VkDevice>,
[INFO] [stdout] 269 | |         &VkShaderModuleCreateInfo,
[INFO] [stdout] 270 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 271 | |         &mut Option<Handle<VkShaderModule>>,
[INFO] [stdout] 272 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:278:32
[INFO] [stdout]     |
[INFO] [stdout] 278 |       pub create_pipeline_cache: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 279 | |         Ref<VkDevice>,
[INFO] [stdout] 280 | |         &PipelineCacheCreateInfo,
[INFO] [stdout] 281 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 282 | |         &mut Option<Handle<VkPipelineCache>>,
[INFO] [stdout] 283 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:289:34
[INFO] [stdout]     |
[INFO] [stdout] 289 |       pub get_pipeline_cache_data: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 290 | |         Ref<VkDevice>,
[INFO] [stdout] 291 | |         Ref<VkPipelineCache>,
[INFO] [stdout] 292 | |         &mut usize,
[INFO] [stdout] 293 | |         Option<ArrayMut<MaybeUninit<u8>>>,
[INFO] [stdout] 294 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 |       pub create_framebuffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 296 | |         Ref<VkDevice>,
[INFO] [stdout] 297 | |         &VkFramebufferCreateInfo,
[INFO] [stdout] 298 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 299 | |         &mut Option<Handle<VkFramebuffer>>,
[INFO] [stdout] 300 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:306:29
[INFO] [stdout]     |
[INFO] [stdout] 306 |       pub create_render_pass: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 307 | |         Ref<VkDevice>,
[INFO] [stdout] 308 | |         &RenderPassCreateInfo,
[INFO] [stdout] 309 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 310 | |         &mut Option<Handle<VkRenderPass>>,
[INFO] [stdout] 311 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:317:39
[INFO] [stdout]     |
[INFO] [stdout] 317 |       pub create_descriptor_set_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________________^
[INFO] [stdout] 318 | |         Ref<VkDevice>,
[INFO] [stdout] 319 | |         &VkDescriptorSetLayoutCreateInfo,
[INFO] [stdout] 320 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 321 | |         &mut Option<Handle<VkDescriptorSetLayout>>,
[INFO] [stdout] 322 | |     )
[INFO] [stdout] 323 | |         -> VkResult,
[INFO] [stdout]     | |___________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:329:33
[INFO] [stdout]     |
[INFO] [stdout] 329 |       pub create_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 330 | |         Ref<VkDevice>,
[INFO] [stdout] 331 | |         &DescriptorPoolCreateInfo,
[INFO] [stdout] 332 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 333 | |         &mut Option<Handle<VkDescriptorPool>>,
[INFO] [stdout] 334 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:340:32
[INFO] [stdout]     |
[INFO] [stdout] 340 |       pub reset_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 341 | |         Ref<VkDevice>,
[INFO] [stdout] 342 | |         Mut<VkDescriptorPool>,
[INFO] [stdout] 343 | |         DescriptorPoolResetFlags,
[INFO] [stdout] 344 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:345:35
[INFO] [stdout]     |
[INFO] [stdout] 345 |       pub allocate_descriptor_sets: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 346 | |         Ref<VkDevice>,
[INFO] [stdout] 347 | |         &DescriptorSetAllocateInfo,
[INFO] [stdout] 348 | |         ArrayMut<MaybeUninit<Handle<VkDescriptorSet>>>,
[INFO] [stdout] 349 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:357:33
[INFO] [stdout]     |
[INFO] [stdout] 357 |       pub create_pipeline_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 358 | |         Ref<VkDevice>,
[INFO] [stdout] 359 | |         &PipelineLayoutCreateInfo,
[INFO] [stdout] 360 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 361 | |         &mut Option<Handle<VkPipelineLayout>>,
[INFO] [stdout] 362 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:368:25
[INFO] [stdout]     |
[INFO] [stdout] 368 |       pub create_sampler: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 369 | |         Ref<VkDevice>,
[INFO] [stdout] 370 | |         &SamplerCreateInfo,
[INFO] [stdout] 371 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 372 | |         &mut Option<Handle<VkSampler>>,
[INFO] [stdout] 373 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:379:36
[INFO] [stdout]     |
[INFO] [stdout] 379 |       pub create_graphics_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 380 | |         Ref<VkDevice>,
[INFO] [stdout] 381 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 382 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 385 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 386 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:387:35
[INFO] [stdout]     |
[INFO] [stdout] 387 |       pub create_compute_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 388 | |         Ref<VkDevice>,
[INFO] [stdout] 389 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 390 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 393 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 394 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:400:30
[INFO] [stdout]     |
[INFO] [stdout] 400 |       pub create_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 401 | |         Ref<VkDevice>,
[INFO] [stdout] 402 | |         &CommandPoolCreateInfo,
[INFO] [stdout] 403 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 404 | |         &mut Option<Handle<VkCommandPool>>,
[INFO] [stdout] 405 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:411:29
[INFO] [stdout]     |
[INFO] [stdout] 411 |       pub reset_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 412 | |         Ref<VkDevice>,
[INFO] [stdout] 413 | |         Mut<VkCommandPool>,
[INFO] [stdout] 414 | |         CommandPoolResetFlags,
[INFO] [stdout] 415 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:416:35
[INFO] [stdout]     |
[INFO] [stdout] 416 |       pub allocate_command_buffers: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 417 | |         Ref<VkDevice>,
[INFO] [stdout] 418 | |         &CommandBufferAllocateInfo<'_>,
[INFO] [stdout] 419 | |         ArrayMut<MaybeUninit<Handle<VkCommandBuffer>>>,
[INFO] [stdout] 420 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:427:31
[INFO] [stdout]     |
[INFO] [stdout] 427 |       pub begin_command_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 428 | |         Mut<VkCommandBuffer>,
[INFO] [stdout] 429 | |         &CommandBufferBeginInfo,
[INFO] [stdout] 430 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |         unsafe extern "system" fn(Mut<VkCommandBuffer>) -> VkResult,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/ext_metal_surface.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |       pub create_metal_surface_ext: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 50 | |         Ref<VkInstance>,
[INFO] [stdout] 51 | |         &MetalSurfaceCreateInfoEXT,
[INFO] [stdout] 52 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 53 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 54 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 | /         unsafe extern "system" fn(
[INFO] [stdout] 152 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 153 | |             u32,
[INFO] [stdout] 154 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 155 | |             &mut Bool,
[INFO] [stdout] 156 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | /         unsafe extern "system" fn(
[INFO] [stdout] 159 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 160 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 161 | |             &mut MaybeUninit<SurfaceCapabilitiesKHR>,
[INFO] [stdout] 162 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 | /         unsafe extern "system" fn(
[INFO] [stdout] 165 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 166 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 167 | |             &mut u32,
[INFO] [stdout] 168 | |             Option<ArrayMut<MaybeUninit<SurfaceFormatKHR>>>,
[INFO] [stdout] 169 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_xlib_surface.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 |       pub create_xlib_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  __________________________________^
[INFO] [stdout] 72 | |         Ref<VkInstance>,
[INFO] [stdout] 73 | |         &XlibSurfaceCreateInfoKHR,
[INFO] [stdout] 74 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 75 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 76 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_wayland_surface.rs:72:37
[INFO] [stdout]    |
[INFO] [stdout] 72 |       pub create_wayland_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 73 | |         Ref<VkInstance>,
[INFO] [stdout] 74 | |         &WaylandSurfaceCreateInfoKHR,
[INFO] [stdout] 75 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 76 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 77 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_win32_surface.rs:63:35
[INFO] [stdout]    |
[INFO] [stdout] 63 |       pub create_win32_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 64 | |         Ref<VkInstance>,
[INFO] [stdout] 65 | |         &Win32SurfaceCreateInfoKHR,
[INFO] [stdout] 66 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 67 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 68 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:308:31
[INFO] [stdout]     |
[INFO] [stdout] 308 |       pub create_swapchain_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 309 | |         Ref<VkDevice>,
[INFO] [stdout] 310 | |         &VkSwapchainCreateInfoKHR,
[INFO] [stdout] 311 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 312 | |         &mut Option<Handle<VkSwapchainKHR>>,
[INFO] [stdout] 313 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:319:35
[INFO] [stdout]     |
[INFO] [stdout] 319 |       pub get_swapchain_images_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 320 | |         Ref<VkDevice>,
[INFO] [stdout] 321 | |         Ref<VkSwapchainKHR>,
[INFO] [stdout] 322 | |         &mut u32,
[INFO] [stdout] 323 | |         Option<ArrayMut<MaybeUninit<Handle<VkImage>>>>,
[INFO] [stdout] 324 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:325:33
[INFO] [stdout]     |
[INFO] [stdout] 325 |       pub acquire_next_image_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 326 | |         Ref<VkDevice>,
[INFO] [stdout] 327 | |         Mut<VkSwapchainKHR>,
[INFO] [stdout] 328 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 331 | |         &mut u32,
[INFO] [stdout] 332 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:333:28
[INFO] [stdout]     |
[INFO] [stdout] 333 |       pub queue_present_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 334 | |         Mut<VkQueue>,
[INFO] [stdout] 335 | |         &PresentInfoKHR<'_>,
[INFO] [stdout] 336 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 54 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling maia v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 | #[cfg(loom)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:191:11
[INFO] [stdout]     |
[INFO] [stdout] 191 | #[cfg(not(loom))]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/cleanup_queue.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg(loom)]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/cleanup_queue.rs:73:15
[INFO] [stdout]    |
[INFO] [stdout] 73 |     #[cfg(not(loom))]
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:216:15
[INFO] [stdout]     |
[INFO] [stdout] 216 |     #[cfg(not(loom))]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:230:11
[INFO] [stdout]     |
[INFO] [stdout] 230 |     #[cfg(loom)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/image.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(Subobject<SwapchainImages>),
[INFO] [stdout]    |     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/command_buffer.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(Subobject<CommandPoolLifetime>);
[INFO] [stdout]     |        ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RecordedCommands` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(());
[INFO] [stdout]     |                         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub unsafe fn vk_create_instance() -> unsafe extern "system" fn(
[INFO] [stdout]    |  _______________________________________^
[INFO] [stdout] 27 | |     &'_ InstanceCreateInfo<'_>,
[INFO] [stdout] 28 | |     Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 29 | |     &mut Option<Handle<VkInstance>>,
[INFO] [stdout] 30 | | ) -> VkResult {
[INFO] [stdout]    | |_____________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 |   ) -> unsafe extern "system" fn(
[INFO] [stdout]    |  ______^
[INFO] [stdout] 36 | |     Option<Str<'_>>,
[INFO] [stdout] 37 | |     &mut u32,
[INFO] [stdout] 38 | |     Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 39 | | ) -> VkResult {
[INFO] [stdout]    | |_____________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |       pub enumerate_physical_devices: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 49 | |         Ref<VkInstance>,
[INFO] [stdout] 50 | |         &mut u32,
[INFO] [stdout] 51 | |         Option<ArrayMut<MaybeUninit<Handle<VkPhysicalDevice>>>>,
[INFO] [stdout] 52 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | /         unsafe extern "system" fn(
[INFO] [stdout] 69 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 70 | |             Option<Str<'_>>,
[INFO] [stdout] 71 | |             &mut u32,
[INFO] [stdout] 72 | |             Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 73 | |         ) -> VkResult,
[INFO] [stdout]    | |_____________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |       pub create_device: unsafe extern "system" fn(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 75 | |         Ref<VkPhysicalDevice>,
[INFO] [stdout] 76 | |         &'_ DeviceCreateInfo,
[INFO] [stdout] 77 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 78 | |         &mut Option<Handle<VkDevice>>,
[INFO] [stdout] 79 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 139 |       pub device_wait_idle: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 140 | |         // Technically not ext. sync. on the device, but on the queues. But
[INFO] [stdout] 141 | |         // this is safer because the queues borrow the device.
[INFO] [stdout] 142 | |         Mut<VkDevice>,
[INFO] [stdout] 143 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |       pub queue_submit: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 151 | |         Mut<VkQueue>,
[INFO] [stdout] 152 | |         u32,
[INFO] [stdout] 153 | |         Option<Array<VkSubmitInfo<Null>>>,
[INFO] [stdout] 154 | |         Option<Mut<VkFence>>,
[INFO] [stdout] 155 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:156:26
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub queue_wait_idle: unsafe extern "system" fn(Mut<VkQueue>) -> VkResult,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |       pub allocate_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 158 | |         Ref<VkDevice>,
[INFO] [stdout] 159 | |         &MemoryAllocateInfo,
[INFO] [stdout] 160 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 161 | |         &mut Option<Handle<VkDeviceMemory>>,
[INFO] [stdout] 162 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |       pub map_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 164 | |         Ref<VkDevice>,
[INFO] [stdout] 165 | |         Mut<VkDeviceMemory>,
[INFO] [stdout] 166 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | |         &mut *mut u8,
[INFO] [stdout] 170 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:178:23
[INFO] [stdout]     |
[INFO] [stdout] 178 |       pub create_fence: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 179 | |         Ref<VkDevice>,
[INFO] [stdout] 180 | |         &FenceCreateInfo,
[INFO] [stdout] 181 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 182 | |         &mut Option<Handle<VkFence>>,
[INFO] [stdout] 183 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:189:26
[INFO] [stdout]     |
[INFO] [stdout] 189 |       pub wait_for_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 190 | |         Ref<VkDevice>,
[INFO] [stdout] 191 | |         u32,
[INFO] [stdout] 192 | |         Array<Ref<VkFence>>,
[INFO] [stdout] 193 | |         Bool,
[INFO] [stdout] 194 | |         u64,
[INFO] [stdout] 195 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 196 |       pub reset_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 197 | |         Ref<VkDevice>,
[INFO] [stdout] 198 | |         u32,
[INFO] [stdout] 199 | |         Array<Mut<VkFence>>,
[INFO] [stdout] 200 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:201:27
[INFO] [stdout]     |
[INFO] [stdout] 201 |       pub create_semaphore: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 202 | |         Ref<VkDevice>,
[INFO] [stdout] 203 | |         &SemaphoreCreateInfo,
[INFO] [stdout] 204 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 205 | |         &mut Option<Handle<VkSemaphore>>,
[INFO] [stdout] 206 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:212:24
[INFO] [stdout]     |
[INFO] [stdout] 212 |       pub create_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 213 | |         Ref<VkDevice>,
[INFO] [stdout] 214 | |         &BufferCreateInfo,
[INFO] [stdout] 215 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 216 | |         &mut Option<Handle<VkBuffer>>,
[INFO] [stdout] 217 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:223:23
[INFO] [stdout]     |
[INFO] [stdout] 223 |       pub create_image: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 224 | |         Ref<VkDevice>,
[INFO] [stdout] 225 | |         &ImageCreateInfo,
[INFO] [stdout] 226 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 227 | |         &mut Option<Handle<VkImage>>,
[INFO] [stdout] 228 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:244:29
[INFO] [stdout]     |
[INFO] [stdout] 244 |       pub bind_buffer_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 245 | |         Ref<VkDevice>,
[INFO] [stdout] 246 | |         Mut<VkBuffer>,
[INFO] [stdout] 247 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 248 | |         u64,
[INFO] [stdout] 249 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:250:28
[INFO] [stdout]     |
[INFO] [stdout] 250 |       pub bind_image_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 251 | |         Ref<VkDevice>,
[INFO] [stdout] 252 | |         Mut<VkImage>,
[INFO] [stdout] 253 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 254 | |         u64,
[INFO] [stdout] 255 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:256:28
[INFO] [stdout]     |
[INFO] [stdout] 256 |       pub create_image_view: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 257 | |         Ref<VkDevice>,
[INFO] [stdout] 258 | |         &VkImageViewCreateInfo,
[INFO] [stdout] 259 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 260 | |         &mut Option<Handle<VkImageView>>,
[INFO] [stdout] 261 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:267:31
[INFO] [stdout]     |
[INFO] [stdout] 267 |       pub create_shader_module: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 268 | |         Ref<VkDevice>,
[INFO] [stdout] 269 | |         &VkShaderModuleCreateInfo,
[INFO] [stdout] 270 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 271 | |         &mut Option<Handle<VkShaderModule>>,
[INFO] [stdout] 272 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:278:32
[INFO] [stdout]     |
[INFO] [stdout] 278 |       pub create_pipeline_cache: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 279 | |         Ref<VkDevice>,
[INFO] [stdout] 280 | |         &PipelineCacheCreateInfo,
[INFO] [stdout] 281 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 282 | |         &mut Option<Handle<VkPipelineCache>>,
[INFO] [stdout] 283 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:289:34
[INFO] [stdout]     |
[INFO] [stdout] 289 |       pub get_pipeline_cache_data: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 290 | |         Ref<VkDevice>,
[INFO] [stdout] 291 | |         Ref<VkPipelineCache>,
[INFO] [stdout] 292 | |         &mut usize,
[INFO] [stdout] 293 | |         Option<ArrayMut<MaybeUninit<u8>>>,
[INFO] [stdout] 294 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 |       pub create_framebuffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 296 | |         Ref<VkDevice>,
[INFO] [stdout] 297 | |         &VkFramebufferCreateInfo,
[INFO] [stdout] 298 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 299 | |         &mut Option<Handle<VkFramebuffer>>,
[INFO] [stdout] 300 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:306:29
[INFO] [stdout]     |
[INFO] [stdout] 306 |       pub create_render_pass: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 307 | |         Ref<VkDevice>,
[INFO] [stdout] 308 | |         &RenderPassCreateInfo,
[INFO] [stdout] 309 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 310 | |         &mut Option<Handle<VkRenderPass>>,
[INFO] [stdout] 311 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:317:39
[INFO] [stdout]     |
[INFO] [stdout] 317 |       pub create_descriptor_set_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________________^
[INFO] [stdout] 318 | |         Ref<VkDevice>,
[INFO] [stdout] 319 | |         &VkDescriptorSetLayoutCreateInfo,
[INFO] [stdout] 320 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 321 | |         &mut Option<Handle<VkDescriptorSetLayout>>,
[INFO] [stdout] 322 | |     )
[INFO] [stdout] 323 | |         -> VkResult,
[INFO] [stdout]     | |___________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:329:33
[INFO] [stdout]     |
[INFO] [stdout] 329 |       pub create_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 330 | |         Ref<VkDevice>,
[INFO] [stdout] 331 | |         &DescriptorPoolCreateInfo,
[INFO] [stdout] 332 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 333 | |         &mut Option<Handle<VkDescriptorPool>>,
[INFO] [stdout] 334 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:340:32
[INFO] [stdout]     |
[INFO] [stdout] 340 |       pub reset_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 341 | |         Ref<VkDevice>,
[INFO] [stdout] 342 | |         Mut<VkDescriptorPool>,
[INFO] [stdout] 343 | |         DescriptorPoolResetFlags,
[INFO] [stdout] 344 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:345:35
[INFO] [stdout]     |
[INFO] [stdout] 345 |       pub allocate_descriptor_sets: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 346 | |         Ref<VkDevice>,
[INFO] [stdout] 347 | |         &DescriptorSetAllocateInfo,
[INFO] [stdout] 348 | |         ArrayMut<MaybeUninit<Handle<VkDescriptorSet>>>,
[INFO] [stdout] 349 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:357:33
[INFO] [stdout]     |
[INFO] [stdout] 357 |       pub create_pipeline_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 358 | |         Ref<VkDevice>,
[INFO] [stdout] 359 | |         &PipelineLayoutCreateInfo,
[INFO] [stdout] 360 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 361 | |         &mut Option<Handle<VkPipelineLayout>>,
[INFO] [stdout] 362 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:368:25
[INFO] [stdout]     |
[INFO] [stdout] 368 |       pub create_sampler: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 369 | |         Ref<VkDevice>,
[INFO] [stdout] 370 | |         &SamplerCreateInfo,
[INFO] [stdout] 371 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 372 | |         &mut Option<Handle<VkSampler>>,
[INFO] [stdout] 373 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:379:36
[INFO] [stdout]     |
[INFO] [stdout] 379 |       pub create_graphics_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 380 | |         Ref<VkDevice>,
[INFO] [stdout] 381 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 382 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 385 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 386 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:387:35
[INFO] [stdout]     |
[INFO] [stdout] 387 |       pub create_compute_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 388 | |         Ref<VkDevice>,
[INFO] [stdout] 389 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 390 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 393 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 394 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:400:30
[INFO] [stdout]     |
[INFO] [stdout] 400 |       pub create_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 401 | |         Ref<VkDevice>,
[INFO] [stdout] 402 | |         &CommandPoolCreateInfo,
[INFO] [stdout] 403 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 404 | |         &mut Option<Handle<VkCommandPool>>,
[INFO] [stdout] 405 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:411:29
[INFO] [stdout]     |
[INFO] [stdout] 411 |       pub reset_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 412 | |         Ref<VkDevice>,
[INFO] [stdout] 413 | |         Mut<VkCommandPool>,
[INFO] [stdout] 414 | |         CommandPoolResetFlags,
[INFO] [stdout] 415 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:416:35
[INFO] [stdout]     |
[INFO] [stdout] 416 |       pub allocate_command_buffers: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 417 | |         Ref<VkDevice>,
[INFO] [stdout] 418 | |         &CommandBufferAllocateInfo<'_>,
[INFO] [stdout] 419 | |         ArrayMut<MaybeUninit<Handle<VkCommandBuffer>>>,
[INFO] [stdout] 420 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:427:31
[INFO] [stdout]     |
[INFO] [stdout] 427 |       pub begin_command_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 428 | |         Mut<VkCommandBuffer>,
[INFO] [stdout] 429 | |         &CommandBufferBeginInfo,
[INFO] [stdout] 430 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |         unsafe extern "system" fn(Mut<VkCommandBuffer>) -> VkResult,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/ext_metal_surface.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |       pub create_metal_surface_ext: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 50 | |         Ref<VkInstance>,
[INFO] [stdout] 51 | |         &MetalSurfaceCreateInfoEXT,
[INFO] [stdout] 52 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 53 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 54 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 | /         unsafe extern "system" fn(
[INFO] [stdout] 152 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 153 | |             u32,
[INFO] [stdout] 154 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 155 | |             &mut Bool,
[INFO] [stdout] 156 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | /         unsafe extern "system" fn(
[INFO] [stdout] 159 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 160 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 161 | |             &mut MaybeUninit<SurfaceCapabilitiesKHR>,
[INFO] [stdout] 162 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 | /         unsafe extern "system" fn(
[INFO] [stdout] 165 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 166 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 167 | |             &mut u32,
[INFO] [stdout] 168 | |             Option<ArrayMut<MaybeUninit<SurfaceFormatKHR>>>,
[INFO] [stdout] 169 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_xlib_surface.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 |       pub create_xlib_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  __________________________________^
[INFO] [stdout] 72 | |         Ref<VkInstance>,
[INFO] [stdout] 73 | |         &XlibSurfaceCreateInfoKHR,
[INFO] [stdout] 74 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 75 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 76 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_wayland_surface.rs:72:37
[INFO] [stdout]    |
[INFO] [stdout] 72 |       pub create_wayland_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 73 | |         Ref<VkInstance>,
[INFO] [stdout] 74 | |         &WaylandSurfaceCreateInfoKHR,
[INFO] [stdout] 75 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 76 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 77 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_win32_surface.rs:63:35
[INFO] [stdout]    |
[INFO] [stdout] 63 |       pub create_win32_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 64 | |         Ref<VkInstance>,
[INFO] [stdout] 65 | |         &Win32SurfaceCreateInfoKHR,
[INFO] [stdout] 66 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 67 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 68 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:308:31
[INFO] [stdout]     |
[INFO] [stdout] 308 |       pub create_swapchain_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 309 | |         Ref<VkDevice>,
[INFO] [stdout] 310 | |         &VkSwapchainCreateInfoKHR,
[INFO] [stdout] 311 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 312 | |         &mut Option<Handle<VkSwapchainKHR>>,
[INFO] [stdout] 313 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:319:35
[INFO] [stdout]     |
[INFO] [stdout] 319 |       pub get_swapchain_images_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 320 | |         Ref<VkDevice>,
[INFO] [stdout] 321 | |         Ref<VkSwapchainKHR>,
[INFO] [stdout] 322 | |         &mut u32,
[INFO] [stdout] 323 | |         Option<ArrayMut<MaybeUninit<Handle<VkImage>>>>,
[INFO] [stdout] 324 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:325:33
[INFO] [stdout]     |
[INFO] [stdout] 325 |       pub acquire_next_image_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 326 | |         Ref<VkDevice>,
[INFO] [stdout] 327 | |         Mut<VkSwapchainKHR>,
[INFO] [stdout] 328 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 331 | |         &mut u32,
[INFO] [stdout] 332 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:333:28
[INFO] [stdout]     |
[INFO] [stdout] 333 |       pub queue_present_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 334 | |         Mut<VkQueue>,
[INFO] [stdout] 335 | |         &PresentInfoKHR<'_>,
[INFO] [stdout] 336 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 56 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.47s
[INFO] running `Command { std: "docker" "inspect" "3f65e69f8ea317830e659bfeb54a1a4493d628493016bae80ae556cbc262e639", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f65e69f8ea317830e659bfeb54a1a4493d628493016bae80ae556cbc262e639", kill_on_drop: false }`
[INFO] [stdout] 3f65e69f8ea317830e659bfeb54a1a4493d628493016bae80ae556cbc262e639
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c4374247ad904bdfacbbebfba151b14985dc5064bbc9581309c408e21bb2ed39
[INFO] running `Command { std: "docker" "start" "-a" "c4374247ad904bdfacbbebfba151b14985dc5064bbc9581309c408e21bb2ed39", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition name: `loom`
[INFO] [stderr]    --> src/cleanup_queue.rs:166:7
[INFO] [stderr]     |
[INFO] [stderr] 166 | #[cfg(loom)]
[INFO] [stderr]     |       ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `loom`
[INFO] [stderr]    --> src/cleanup_queue.rs:191:11
[INFO] [stderr]     |
[INFO] [stderr] 191 | #[cfg(not(loom))]
[INFO] [stderr]     |           ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `loom`
[INFO] [stderr]   --> src/cleanup_queue.rs:69:11
[INFO] [stderr]    |
[INFO] [stderr] 69 |     #[cfg(loom)]
[INFO] [stderr]    |           ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `loom`
[INFO] [stderr]   --> src/cleanup_queue.rs:73:15
[INFO] [stderr]    |
[INFO] [stderr] 73 |     #[cfg(not(loom))]
[INFO] [stderr]    |               ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/image.rs:44:15
[INFO] [stderr]    |
[INFO] [stderr] 44 |     Swapchain(Subobject<SwapchainImages>),
[INFO] [stderr]    |     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 44 |     Swapchain(()),
[INFO] [stderr]    |               ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]    --> src/command_buffer.rs:133:25
[INFO] [stderr]     |
[INFO] [stderr] 133 | struct RecordedCommands(Subobject<CommandPoolLifetime>);
[INFO] [stderr]     |        ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |        |
[INFO] [stderr]     |        field in this struct
[INFO] [stderr]     |
[INFO] [stderr]     = note: `RecordedCommands` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]     |
[INFO] [stderr] 133 | struct RecordedCommands(());
[INFO] [stderr]     |                         ~~
[INFO] [stderr] 
[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 54 warnings
[INFO] [stderr] warning: unexpected `cfg` condition name: `loom`
[INFO] [stderr]    --> src/cleanup_queue.rs:216:15
[INFO] [stderr]     |
[INFO] [stderr] 216 |     #[cfg(not(loom))]
[INFO] [stderr]     |               ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `loom`
[INFO] [stderr]    --> src/cleanup_queue.rs:230:11
[INFO] [stderr]     |
[INFO] [stderr] 230 |     #[cfg(loom)]
[INFO] [stderr]     |           ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `maia` (lib test) generated 56 warnings (54 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/maia-591962886c9318f2)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test cleanup_queue::tests::test_reordered_cleanup ... ok
[INFO] [stdout] test queue::test::cmd_state ... ok
[INFO] [stdout] test buffer::test::wrong_mem ... ok
[INFO] [stdout] test command_buffer::bind::test::bounds_check ... ok
[INFO] [stdout] test command_buffer::bind::test::push_constant_check ... ok
[INFO] [stdout] test command_buffer::test::subpass ... ok
[INFO] [stdout] test image::test::wrong_mem ... ok
[INFO] [stdout] test queue::test::cross_queue_sync ... ok
[INFO] [stdout] test command_buffer::test::secondary_reset ... ok
[INFO] [stdout] test buffer::test::require_robust ... ok
[INFO] [stdout] test queue::test::signaller ... ok
[INFO] [stdout] test image::test::require_robust ... ok
[INFO] [stdout] test command_buffer::bind::test::descriptor_set_typecheck ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s
[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/1871252fc8bb672d40787e67404e6eaae7059369/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-560efdb99b117eef.rlib --extern bumpalo=/opt/rustwide/target/debug/deps/libbumpalo-456a6861822e6c1d.rlib --extern maia=/opt/rustwide/target/debug/deps/libmaia-332de1547de2c0b4.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("window"))' --cap-lints=forbid --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" "c4374247ad904bdfacbbebfba151b14985dc5064bbc9581309c408e21bb2ed39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4374247ad904bdfacbbebfba151b14985dc5064bbc9581309c408e21bb2ed39", kill_on_drop: false }`
[INFO] [stdout] c4374247ad904bdfacbbebfba151b14985dc5064bbc9581309c408e21bb2ed39
[INFO] testing maia-0.1.1 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate maia 0.1.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate maia 0.1.1 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 63 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding cocoa v0.24.1 (latest: v0.25.0)
[INFO] [stderr]       Adding core-graphics v0.22.3 (latest: v0.23.2)
[INFO] [stderr]       Adding foreign-types v0.3.2 (latest: v0.5.0)
[INFO] [stderr]       Adding foreign-types-shared v0.1.1 (latest: v0.3.1)
[INFO] [stderr]       Adding generator v0.7.5 (latest: v0.8.1)
[INFO] [stderr]       Adding loom v0.5.6 (latest: v0.7.2)
[INFO] [stderr]       Adding malloc_buf v0.0.6 (latest: v1.0.0)
[INFO] [stderr]       Adding nu-ansi-term v0.46.0 (latest: v0.50.0)
[INFO] [stderr]       Adding raw-window-handle v0.4.3 (latest: v0.6.2)
[INFO] [stderr]       Adding raw-window-metal v0.2.0 (latest: v0.4.0)
[INFO] [stderr]       Adding regex-automata v0.1.10 (latest: v0.4.6)
[INFO] [stderr]       Adding regex-syntax v0.6.29 (latest: v0.8.3)
[INFO] [stderr]       Adding windows v0.48.0 (latest: v0.56.0)
[INFO] [stderr]       Adding windows-targets v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5)
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2cbc915ce9d977d130aca0418daefa497d6bfa19809a99fb59e1cd19c8b29635
[INFO] running `Command { std: "docker" "start" "-a" "2cbc915ce9d977d130aca0418daefa497d6bfa19809a99fb59e1cd19c8b29635", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2cbc915ce9d977d130aca0418daefa497d6bfa19809a99fb59e1cd19c8b29635", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cbc915ce9d977d130aca0418daefa497d6bfa19809a99fb59e1cd19c8b29635", kill_on_drop: false }`
[INFO] [stdout] 2cbc915ce9d977d130aca0418daefa497d6bfa19809a99fb59e1cd19c8b29635
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 155047f685023c61e960bedaa30bb81e540634d71f91a4674f69c4b3bfc9b907
[INFO] running `Command { std: "docker" "start" "-a" "155047f685023c61e960bedaa30bb81e540634d71f91a4674f69c4b3bfc9b907", kill_on_drop: false }`
[INFO] [stderr]    Compiling maia v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 | #[cfg(loom)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:191:11
[INFO] [stdout]     |
[INFO] [stdout] 191 | #[cfg(not(loom))]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/cleanup_queue.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg(loom)]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/cleanup_queue.rs:73:15
[INFO] [stdout]    |
[INFO] [stdout] 73 |     #[cfg(not(loom))]
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/image.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(Subobject<SwapchainImages>),
[INFO] [stdout]    |     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/command_buffer.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(Subobject<CommandPoolLifetime>);
[INFO] [stdout]     |        ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RecordedCommands` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(());
[INFO] [stdout]     |                         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub unsafe fn vk_create_instance() -> unsafe extern "system" fn(
[INFO] [stdout]    |  _______________________________________^
[INFO] [stdout] 27 | |     &'_ InstanceCreateInfo<'_>,
[INFO] [stdout] 28 | |     Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 29 | |     &mut Option<Handle<VkInstance>>,
[INFO] [stdout] 30 | | ) -> VkResult {
[INFO] [stdout]    | |_____________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 |   ) -> unsafe extern "system" fn(
[INFO] [stdout]    |  ______^
[INFO] [stdout] 36 | |     Option<Str<'_>>,
[INFO] [stdout] 37 | |     &mut u32,
[INFO] [stdout] 38 | |     Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 39 | | ) -> VkResult {
[INFO] [stdout]    | |_____________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |       pub enumerate_physical_devices: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 49 | |         Ref<VkInstance>,
[INFO] [stdout] 50 | |         &mut u32,
[INFO] [stdout] 51 | |         Option<ArrayMut<MaybeUninit<Handle<VkPhysicalDevice>>>>,
[INFO] [stdout] 52 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | /         unsafe extern "system" fn(
[INFO] [stdout] 69 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 70 | |             Option<Str<'_>>,
[INFO] [stdout] 71 | |             &mut u32,
[INFO] [stdout] 72 | |             Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 73 | |         ) -> VkResult,
[INFO] [stdout]    | |_____________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |       pub create_device: unsafe extern "system" fn(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 75 | |         Ref<VkPhysicalDevice>,
[INFO] [stdout] 76 | |         &'_ DeviceCreateInfo,
[INFO] [stdout] 77 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 78 | |         &mut Option<Handle<VkDevice>>,
[INFO] [stdout] 79 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 139 |       pub device_wait_idle: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 140 | |         // Technically not ext. sync. on the device, but on the queues. But
[INFO] [stdout] 141 | |         // this is safer because the queues borrow the device.
[INFO] [stdout] 142 | |         Mut<VkDevice>,
[INFO] [stdout] 143 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |       pub queue_submit: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 151 | |         Mut<VkQueue>,
[INFO] [stdout] 152 | |         u32,
[INFO] [stdout] 153 | |         Option<Array<VkSubmitInfo<Null>>>,
[INFO] [stdout] 154 | |         Option<Mut<VkFence>>,
[INFO] [stdout] 155 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:156:26
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub queue_wait_idle: unsafe extern "system" fn(Mut<VkQueue>) -> VkResult,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |       pub allocate_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 158 | |         Ref<VkDevice>,
[INFO] [stdout] 159 | |         &MemoryAllocateInfo,
[INFO] [stdout] 160 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 161 | |         &mut Option<Handle<VkDeviceMemory>>,
[INFO] [stdout] 162 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |       pub map_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 164 | |         Ref<VkDevice>,
[INFO] [stdout] 165 | |         Mut<VkDeviceMemory>,
[INFO] [stdout] 166 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | |         &mut *mut u8,
[INFO] [stdout] 170 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:178:23
[INFO] [stdout]     |
[INFO] [stdout] 178 |       pub create_fence: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 179 | |         Ref<VkDevice>,
[INFO] [stdout] 180 | |         &FenceCreateInfo,
[INFO] [stdout] 181 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 182 | |         &mut Option<Handle<VkFence>>,
[INFO] [stdout] 183 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:189:26
[INFO] [stdout]     |
[INFO] [stdout] 189 |       pub wait_for_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 190 | |         Ref<VkDevice>,
[INFO] [stdout] 191 | |         u32,
[INFO] [stdout] 192 | |         Array<Ref<VkFence>>,
[INFO] [stdout] 193 | |         Bool,
[INFO] [stdout] 194 | |         u64,
[INFO] [stdout] 195 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 196 |       pub reset_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 197 | |         Ref<VkDevice>,
[INFO] [stdout] 198 | |         u32,
[INFO] [stdout] 199 | |         Array<Mut<VkFence>>,
[INFO] [stdout] 200 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:201:27
[INFO] [stdout]     |
[INFO] [stdout] 201 |       pub create_semaphore: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 202 | |         Ref<VkDevice>,
[INFO] [stdout] 203 | |         &SemaphoreCreateInfo,
[INFO] [stdout] 204 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 205 | |         &mut Option<Handle<VkSemaphore>>,
[INFO] [stdout] 206 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:212:24
[INFO] [stdout]     |
[INFO] [stdout] 212 |       pub create_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 213 | |         Ref<VkDevice>,
[INFO] [stdout] 214 | |         &BufferCreateInfo,
[INFO] [stdout] 215 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 216 | |         &mut Option<Handle<VkBuffer>>,
[INFO] [stdout] 217 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:223:23
[INFO] [stdout]     |
[INFO] [stdout] 223 |       pub create_image: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 224 | |         Ref<VkDevice>,
[INFO] [stdout] 225 | |         &ImageCreateInfo,
[INFO] [stdout] 226 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 227 | |         &mut Option<Handle<VkImage>>,
[INFO] [stdout] 228 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:244:29
[INFO] [stdout]     |
[INFO] [stdout] 244 |       pub bind_buffer_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 245 | |         Ref<VkDevice>,
[INFO] [stdout] 246 | |         Mut<VkBuffer>,
[INFO] [stdout] 247 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 248 | |         u64,
[INFO] [stdout] 249 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:250:28
[INFO] [stdout]     |
[INFO] [stdout] 250 |       pub bind_image_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 251 | |         Ref<VkDevice>,
[INFO] [stdout] 252 | |         Mut<VkImage>,
[INFO] [stdout] 253 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 254 | |         u64,
[INFO] [stdout] 255 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:256:28
[INFO] [stdout]     |
[INFO] [stdout] 256 |       pub create_image_view: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 257 | |         Ref<VkDevice>,
[INFO] [stdout] 258 | |         &VkImageViewCreateInfo,
[INFO] [stdout] 259 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 260 | |         &mut Option<Handle<VkImageView>>,
[INFO] [stdout] 261 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:267:31
[INFO] [stdout]     |
[INFO] [stdout] 267 |       pub create_shader_module: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 268 | |         Ref<VkDevice>,
[INFO] [stdout] 269 | |         &VkShaderModuleCreateInfo,
[INFO] [stdout] 270 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 271 | |         &mut Option<Handle<VkShaderModule>>,
[INFO] [stdout] 272 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:278:32
[INFO] [stdout]     |
[INFO] [stdout] 278 |       pub create_pipeline_cache: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 279 | |         Ref<VkDevice>,
[INFO] [stdout] 280 | |         &PipelineCacheCreateInfo,
[INFO] [stdout] 281 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 282 | |         &mut Option<Handle<VkPipelineCache>>,
[INFO] [stdout] 283 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:289:34
[INFO] [stdout]     |
[INFO] [stdout] 289 |       pub get_pipeline_cache_data: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 290 | |         Ref<VkDevice>,
[INFO] [stdout] 291 | |         Ref<VkPipelineCache>,
[INFO] [stdout] 292 | |         &mut usize,
[INFO] [stdout] 293 | |         Option<ArrayMut<MaybeUninit<u8>>>,
[INFO] [stdout] 294 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 |       pub create_framebuffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 296 | |         Ref<VkDevice>,
[INFO] [stdout] 297 | |         &VkFramebufferCreateInfo,
[INFO] [stdout] 298 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 299 | |         &mut Option<Handle<VkFramebuffer>>,
[INFO] [stdout] 300 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:306:29
[INFO] [stdout]     |
[INFO] [stdout] 306 |       pub create_render_pass: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 307 | |         Ref<VkDevice>,
[INFO] [stdout] 308 | |         &RenderPassCreateInfo,
[INFO] [stdout] 309 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 310 | |         &mut Option<Handle<VkRenderPass>>,
[INFO] [stdout] 311 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:317:39
[INFO] [stdout]     |
[INFO] [stdout] 317 |       pub create_descriptor_set_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________________^
[INFO] [stdout] 318 | |         Ref<VkDevice>,
[INFO] [stdout] 319 | |         &VkDescriptorSetLayoutCreateInfo,
[INFO] [stdout] 320 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 321 | |         &mut Option<Handle<VkDescriptorSetLayout>>,
[INFO] [stdout] 322 | |     )
[INFO] [stdout] 323 | |         -> VkResult,
[INFO] [stdout]     | |___________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:329:33
[INFO] [stdout]     |
[INFO] [stdout] 329 |       pub create_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 330 | |         Ref<VkDevice>,
[INFO] [stdout] 331 | |         &DescriptorPoolCreateInfo,
[INFO] [stdout] 332 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 333 | |         &mut Option<Handle<VkDescriptorPool>>,
[INFO] [stdout] 334 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:340:32
[INFO] [stdout]     |
[INFO] [stdout] 340 |       pub reset_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 341 | |         Ref<VkDevice>,
[INFO] [stdout] 342 | |         Mut<VkDescriptorPool>,
[INFO] [stdout] 343 | |         DescriptorPoolResetFlags,
[INFO] [stdout] 344 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:345:35
[INFO] [stdout]     |
[INFO] [stdout] 345 |       pub allocate_descriptor_sets: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 346 | |         Ref<VkDevice>,
[INFO] [stdout] 347 | |         &DescriptorSetAllocateInfo,
[INFO] [stdout] 348 | |         ArrayMut<MaybeUninit<Handle<VkDescriptorSet>>>,
[INFO] [stdout] 349 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:357:33
[INFO] [stdout]     |
[INFO] [stdout] 357 |       pub create_pipeline_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 358 | |         Ref<VkDevice>,
[INFO] [stdout] 359 | |         &PipelineLayoutCreateInfo,
[INFO] [stdout] 360 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 361 | |         &mut Option<Handle<VkPipelineLayout>>,
[INFO] [stdout] 362 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:368:25
[INFO] [stdout]     |
[INFO] [stdout] 368 |       pub create_sampler: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 369 | |         Ref<VkDevice>,
[INFO] [stdout] 370 | |         &SamplerCreateInfo,
[INFO] [stdout] 371 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 372 | |         &mut Option<Handle<VkSampler>>,
[INFO] [stdout] 373 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:379:36
[INFO] [stdout]     |
[INFO] [stdout] 379 |       pub create_graphics_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 380 | |         Ref<VkDevice>,
[INFO] [stdout] 381 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 382 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 385 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 386 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:387:35
[INFO] [stdout]     |
[INFO] [stdout] 387 |       pub create_compute_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 388 | |         Ref<VkDevice>,
[INFO] [stdout] 389 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 390 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 393 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 394 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:400:30
[INFO] [stdout]     |
[INFO] [stdout] 400 |       pub create_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 401 | |         Ref<VkDevice>,
[INFO] [stdout] 402 | |         &CommandPoolCreateInfo,
[INFO] [stdout] 403 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 404 | |         &mut Option<Handle<VkCommandPool>>,
[INFO] [stdout] 405 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:411:29
[INFO] [stdout]     |
[INFO] [stdout] 411 |       pub reset_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 412 | |         Ref<VkDevice>,
[INFO] [stdout] 413 | |         Mut<VkCommandPool>,
[INFO] [stdout] 414 | |         CommandPoolResetFlags,
[INFO] [stdout] 415 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:416:35
[INFO] [stdout]     |
[INFO] [stdout] 416 |       pub allocate_command_buffers: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 417 | |         Ref<VkDevice>,
[INFO] [stdout] 418 | |         &CommandBufferAllocateInfo<'_>,
[INFO] [stdout] 419 | |         ArrayMut<MaybeUninit<Handle<VkCommandBuffer>>>,
[INFO] [stdout] 420 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:427:31
[INFO] [stdout]     |
[INFO] [stdout] 427 |       pub begin_command_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 428 | |         Mut<VkCommandBuffer>,
[INFO] [stdout] 429 | |         &CommandBufferBeginInfo,
[INFO] [stdout] 430 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |         unsafe extern "system" fn(Mut<VkCommandBuffer>) -> VkResult,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/ext_metal_surface.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |       pub create_metal_surface_ext: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 50 | |         Ref<VkInstance>,
[INFO] [stdout] 51 | |         &MetalSurfaceCreateInfoEXT,
[INFO] [stdout] 52 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 53 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 54 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 | /         unsafe extern "system" fn(
[INFO] [stdout] 152 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 153 | |             u32,
[INFO] [stdout] 154 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 155 | |             &mut Bool,
[INFO] [stdout] 156 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | /         unsafe extern "system" fn(
[INFO] [stdout] 159 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 160 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 161 | |             &mut MaybeUninit<SurfaceCapabilitiesKHR>,
[INFO] [stdout] 162 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 | /         unsafe extern "system" fn(
[INFO] [stdout] 165 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 166 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 167 | |             &mut u32,
[INFO] [stdout] 168 | |             Option<ArrayMut<MaybeUninit<SurfaceFormatKHR>>>,
[INFO] [stdout] 169 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_xlib_surface.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 |       pub create_xlib_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  __________________________________^
[INFO] [stdout] 72 | |         Ref<VkInstance>,
[INFO] [stdout] 73 | |         &XlibSurfaceCreateInfoKHR,
[INFO] [stdout] 74 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 75 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 76 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_wayland_surface.rs:72:37
[INFO] [stdout]    |
[INFO] [stdout] 72 |       pub create_wayland_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 73 | |         Ref<VkInstance>,
[INFO] [stdout] 74 | |         &WaylandSurfaceCreateInfoKHR,
[INFO] [stdout] 75 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 76 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 77 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_win32_surface.rs:63:35
[INFO] [stdout]    |
[INFO] [stdout] 63 |       pub create_win32_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 64 | |         Ref<VkInstance>,
[INFO] [stdout] 65 | |         &Win32SurfaceCreateInfoKHR,
[INFO] [stdout] 66 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 67 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 68 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:308:31
[INFO] [stdout]     |
[INFO] [stdout] 308 |       pub create_swapchain_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 309 | |         Ref<VkDevice>,
[INFO] [stdout] 310 | |         &VkSwapchainCreateInfoKHR,
[INFO] [stdout] 311 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 312 | |         &mut Option<Handle<VkSwapchainKHR>>,
[INFO] [stdout] 313 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:319:35
[INFO] [stdout]     |
[INFO] [stdout] 319 |       pub get_swapchain_images_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 320 | |         Ref<VkDevice>,
[INFO] [stdout] 321 | |         Ref<VkSwapchainKHR>,
[INFO] [stdout] 322 | |         &mut u32,
[INFO] [stdout] 323 | |         Option<ArrayMut<MaybeUninit<Handle<VkImage>>>>,
[INFO] [stdout] 324 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:325:33
[INFO] [stdout]     |
[INFO] [stdout] 325 |       pub acquire_next_image_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 326 | |         Ref<VkDevice>,
[INFO] [stdout] 327 | |         Mut<VkSwapchainKHR>,
[INFO] [stdout] 328 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 331 | |         &mut u32,
[INFO] [stdout] 332 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:333:28
[INFO] [stdout]     |
[INFO] [stdout] 333 |       pub queue_present_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 334 | |         Mut<VkQueue>,
[INFO] [stdout] 335 | |         &PresentInfoKHR<'_>,
[INFO] [stdout] 336 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 54 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.39s
[INFO] running `Command { std: "docker" "inspect" "155047f685023c61e960bedaa30bb81e540634d71f91a4674f69c4b3bfc9b907", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "155047f685023c61e960bedaa30bb81e540634d71f91a4674f69c4b3bfc9b907", kill_on_drop: false }`
[INFO] [stdout] 155047f685023c61e960bedaa30bb81e540634d71f91a4674f69c4b3bfc9b907
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 35b93a85e27d85d7626805fab4a4a8b1f050f270fd540ac6fcbe97d281ac54ec
[INFO] running `Command { std: "docker" "start" "-a" "35b93a85e27d85d7626805fab4a4a8b1f050f270fd540ac6fcbe97d281ac54ec", kill_on_drop: false }`
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 | #[cfg(loom)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:191:11
[INFO] [stdout]     |
[INFO] [stdout] 191 | #[cfg(not(loom))]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/cleanup_queue.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg(loom)]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/cleanup_queue.rs:73:15
[INFO] [stdout]    |
[INFO] [stdout] 73 |     #[cfg(not(loom))]
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/image.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(Subobject<SwapchainImages>),
[INFO] [stdout]    |     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/command_buffer.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(Subobject<CommandPoolLifetime>);
[INFO] [stdout]     |        ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RecordedCommands` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(());
[INFO] [stdout]     |                         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub unsafe fn vk_create_instance() -> unsafe extern "system" fn(
[INFO] [stdout]    |  _______________________________________^
[INFO] [stdout] 27 | |     &'_ InstanceCreateInfo<'_>,
[INFO] [stdout] 28 | |     Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 29 | |     &mut Option<Handle<VkInstance>>,
[INFO] [stdout] 30 | | ) -> VkResult {
[INFO] [stdout]    | |_____________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 |   ) -> unsafe extern "system" fn(
[INFO] [stdout]    |  ______^
[INFO] [stdout] 36 | |     Option<Str<'_>>,
[INFO] [stdout] 37 | |     &mut u32,
[INFO] [stdout] 38 | |     Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 39 | | ) -> VkResult {
[INFO] [stdout]    | |_____________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |       pub enumerate_physical_devices: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 49 | |         Ref<VkInstance>,
[INFO] [stdout] 50 | |         &mut u32,
[INFO] [stdout] 51 | |         Option<ArrayMut<MaybeUninit<Handle<VkPhysicalDevice>>>>,
[INFO] [stdout] 52 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | /         unsafe extern "system" fn(
[INFO] [stdout] 69 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 70 | |             Option<Str<'_>>,
[INFO] [stdout] 71 | |             &mut u32,
[INFO] [stdout] 72 | |             Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 73 | |         ) -> VkResult,
[INFO] [stdout]    | |_____________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |       pub create_device: unsafe extern "system" fn(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 75 | |         Ref<VkPhysicalDevice>,
[INFO] [stdout] 76 | |         &'_ DeviceCreateInfo,
[INFO] [stdout] 77 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 78 | |         &mut Option<Handle<VkDevice>>,
[INFO] [stdout] 79 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 139 |       pub device_wait_idle: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 140 | |         // Technically not ext. sync. on the device, but on the queues. But
[INFO] [stdout] 141 | |         // this is safer because the queues borrow the device.
[INFO] [stdout] 142 | |         Mut<VkDevice>,
[INFO] [stdout] 143 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |       pub queue_submit: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 151 | |         Mut<VkQueue>,
[INFO] [stdout] 152 | |         u32,
[INFO] [stdout] 153 | |         Option<Array<VkSubmitInfo<Null>>>,
[INFO] [stdout] 154 | |         Option<Mut<VkFence>>,
[INFO] [stdout] 155 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:156:26
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub queue_wait_idle: unsafe extern "system" fn(Mut<VkQueue>) -> VkResult,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |       pub allocate_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 158 | |         Ref<VkDevice>,
[INFO] [stdout] 159 | |         &MemoryAllocateInfo,
[INFO] [stdout] 160 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 161 | |         &mut Option<Handle<VkDeviceMemory>>,
[INFO] [stdout] 162 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |       pub map_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 164 | |         Ref<VkDevice>,
[INFO] [stdout] 165 | |         Mut<VkDeviceMemory>,
[INFO] [stdout] 166 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | |         &mut *mut u8,
[INFO] [stdout] 170 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:178:23
[INFO] [stdout]     |
[INFO] [stdout] 178 |       pub create_fence: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 179 | |         Ref<VkDevice>,
[INFO] [stdout] 180 | |         &FenceCreateInfo,
[INFO] [stdout] 181 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 182 | |         &mut Option<Handle<VkFence>>,
[INFO] [stdout] 183 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:189:26
[INFO] [stdout]     |
[INFO] [stdout] 189 |       pub wait_for_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 190 | |         Ref<VkDevice>,
[INFO] [stdout] 191 | |         u32,
[INFO] [stdout] 192 | |         Array<Ref<VkFence>>,
[INFO] [stdout] 193 | |         Bool,
[INFO] [stdout] 194 | |         u64,
[INFO] [stdout] 195 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 196 |       pub reset_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 197 | |         Ref<VkDevice>,
[INFO] [stdout] 198 | |         u32,
[INFO] [stdout] 199 | |         Array<Mut<VkFence>>,
[INFO] [stdout] 200 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:201:27
[INFO] [stdout]     |
[INFO] [stdout] 201 |       pub create_semaphore: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 202 | |         Ref<VkDevice>,
[INFO] [stdout] 203 | |         &SemaphoreCreateInfo,
[INFO] [stdout] 204 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 205 | |         &mut Option<Handle<VkSemaphore>>,
[INFO] [stdout] 206 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:212:24
[INFO] [stdout]     |
[INFO] [stdout] 212 |       pub create_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 213 | |         Ref<VkDevice>,
[INFO] [stdout] 214 | |         &BufferCreateInfo,
[INFO] [stdout] 215 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 216 | |         &mut Option<Handle<VkBuffer>>,
[INFO] [stdout] 217 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:223:23
[INFO] [stdout]     |
[INFO] [stdout] 223 |       pub create_image: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 224 | |         Ref<VkDevice>,
[INFO] [stdout] 225 | |         &ImageCreateInfo,
[INFO] [stdout] 226 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 227 | |         &mut Option<Handle<VkImage>>,
[INFO] [stdout] 228 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:244:29
[INFO] [stdout]     |
[INFO] [stdout] 244 |       pub bind_buffer_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 245 | |         Ref<VkDevice>,
[INFO] [stdout] 246 | |         Mut<VkBuffer>,
[INFO] [stdout] 247 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 248 | |         u64,
[INFO] [stdout] 249 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:250:28
[INFO] [stdout]     |
[INFO] [stdout] 250 |       pub bind_image_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 251 | |         Ref<VkDevice>,
[INFO] [stdout] 252 | |         Mut<VkImage>,
[INFO] [stdout] 253 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 254 | |         u64,
[INFO] [stdout] 255 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:256:28
[INFO] [stdout]     |
[INFO] [stdout] 256 |       pub create_image_view: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 257 | |         Ref<VkDevice>,
[INFO] [stdout] 258 | |         &VkImageViewCreateInfo,
[INFO] [stdout] 259 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 260 | |         &mut Option<Handle<VkImageView>>,
[INFO] [stdout] 261 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:267:31
[INFO] [stdout]     |
[INFO] [stdout] 267 |       pub create_shader_module: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 268 | |         Ref<VkDevice>,
[INFO] [stdout] 269 | |         &VkShaderModuleCreateInfo,
[INFO] [stdout] 270 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 271 | |         &mut Option<Handle<VkShaderModule>>,
[INFO] [stdout] 272 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:278:32
[INFO] [stdout]     |
[INFO] [stdout] 278 |       pub create_pipeline_cache: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 279 | |         Ref<VkDevice>,
[INFO] [stdout] 280 | |         &PipelineCacheCreateInfo,
[INFO] [stdout] 281 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 282 | |         &mut Option<Handle<VkPipelineCache>>,
[INFO] [stdout] 283 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:289:34
[INFO] [stdout]     |
[INFO] [stdout] 289 |       pub get_pipeline_cache_data: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 290 | |         Ref<VkDevice>,
[INFO] [stdout] 291 | |         Ref<VkPipelineCache>,
[INFO] [stdout] 292 | |         &mut usize,
[INFO] [stdout] 293 | |         Option<ArrayMut<MaybeUninit<u8>>>,
[INFO] [stdout] 294 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 |       pub create_framebuffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 296 | |         Ref<VkDevice>,
[INFO] [stdout] 297 | |         &VkFramebufferCreateInfo,
[INFO] [stdout] 298 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 299 | |         &mut Option<Handle<VkFramebuffer>>,
[INFO] [stdout] 300 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:306:29
[INFO] [stdout]     |
[INFO] [stdout] 306 |       pub create_render_pass: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 307 | |         Ref<VkDevice>,
[INFO] [stdout] 308 | |         &RenderPassCreateInfo,
[INFO] [stdout] 309 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 310 | |         &mut Option<Handle<VkRenderPass>>,
[INFO] [stdout] 311 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:317:39
[INFO] [stdout]     |
[INFO] [stdout] 317 |       pub create_descriptor_set_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________________^
[INFO] [stdout] 318 | |         Ref<VkDevice>,
[INFO] [stdout] 319 | |         &VkDescriptorSetLayoutCreateInfo,
[INFO] [stdout] 320 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 321 | |         &mut Option<Handle<VkDescriptorSetLayout>>,
[INFO] [stdout] 322 | |     )
[INFO] [stdout] 323 | |         -> VkResult,
[INFO] [stdout]     | |___________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:329:33
[INFO] [stdout]     |
[INFO] [stdout] 329 |       pub create_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 330 | |         Ref<VkDevice>,
[INFO] [stdout] 331 | |         &DescriptorPoolCreateInfo,
[INFO] [stdout] 332 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 333 | |         &mut Option<Handle<VkDescriptorPool>>,
[INFO] [stdout] 334 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:340:32
[INFO] [stdout]     |
[INFO] [stdout] 340 |       pub reset_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 341 | |         Ref<VkDevice>,
[INFO] [stdout] 342 | |         Mut<VkDescriptorPool>,
[INFO] [stdout] 343 | |         DescriptorPoolResetFlags,
[INFO] [stdout] 344 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:345:35
[INFO] [stdout]     |
[INFO] [stdout] 345 |       pub allocate_descriptor_sets: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 346 | |         Ref<VkDevice>,
[INFO] [stdout] 347 | |         &DescriptorSetAllocateInfo,
[INFO] [stdout] 348 | |         ArrayMut<MaybeUninit<Handle<VkDescriptorSet>>>,
[INFO] [stdout] 349 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:357:33
[INFO] [stdout]     |
[INFO] [stdout] 357 |       pub create_pipeline_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 358 | |         Ref<VkDevice>,
[INFO] [stdout] 359 | |         &PipelineLayoutCreateInfo,
[INFO] [stdout] 360 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 361 | |         &mut Option<Handle<VkPipelineLayout>>,
[INFO] [stdout] 362 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:368:25
[INFO] [stdout]     |
[INFO] [stdout] 368 |       pub create_sampler: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 369 | |         Ref<VkDevice>,
[INFO] [stdout] 370 | |         &SamplerCreateInfo,
[INFO] [stdout] 371 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 372 | |         &mut Option<Handle<VkSampler>>,
[INFO] [stdout] 373 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:379:36
[INFO] [stdout]     |
[INFO] [stdout] 379 |       pub create_graphics_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 380 | |         Ref<VkDevice>,
[INFO] [stdout] 381 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 382 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 385 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 386 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:387:35
[INFO] [stdout]     |
[INFO] [stdout] 387 |       pub create_compute_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 388 | |         Ref<VkDevice>,
[INFO] [stdout] 389 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 390 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 393 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 394 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:400:30
[INFO] [stdout]     |
[INFO] [stdout] 400 |       pub create_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 401 | |         Ref<VkDevice>,
[INFO] [stdout] 402 | |         &CommandPoolCreateInfo,
[INFO] [stdout] 403 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 404 | |         &mut Option<Handle<VkCommandPool>>,
[INFO] [stdout] 405 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:411:29
[INFO] [stdout]     |
[INFO] [stdout] 411 |       pub reset_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 412 | |         Ref<VkDevice>,
[INFO] [stdout] 413 | |         Mut<VkCommandPool>,
[INFO] [stdout] 414 | |         CommandPoolResetFlags,
[INFO] [stdout] 415 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:416:35
[INFO] [stdout]     |
[INFO] [stdout] 416 |       pub allocate_command_buffers: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 417 | |         Ref<VkDevice>,
[INFO] [stdout] 418 | |         &CommandBufferAllocateInfo<'_>,
[INFO] [stdout] 419 | |         ArrayMut<MaybeUninit<Handle<VkCommandBuffer>>>,
[INFO] [stdout] 420 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:427:31
[INFO] [stdout]     |
[INFO] [stdout] 427 |       pub begin_command_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 428 | |         Mut<VkCommandBuffer>,
[INFO] [stdout] 429 | |         &CommandBufferBeginInfo,
[INFO] [stdout] 430 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |         unsafe extern "system" fn(Mut<VkCommandBuffer>) -> VkResult,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/ext_metal_surface.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |       pub create_metal_surface_ext: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 50 | |         Ref<VkInstance>,
[INFO] [stdout] 51 | |         &MetalSurfaceCreateInfoEXT,
[INFO] [stdout] 52 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 53 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 54 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 | /         unsafe extern "system" fn(
[INFO] [stdout] 152 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 153 | |             u32,
[INFO] [stdout] 154 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 155 | |             &mut Bool,
[INFO] [stdout] 156 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | /         unsafe extern "system" fn(
[INFO] [stdout] 159 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 160 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 161 | |             &mut MaybeUninit<SurfaceCapabilitiesKHR>,
[INFO] [stdout] 162 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 | /         unsafe extern "system" fn(
[INFO] [stdout] 165 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 166 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 167 | |             &mut u32,
[INFO] [stdout] 168 | |             Option<ArrayMut<MaybeUninit<SurfaceFormatKHR>>>,
[INFO] [stdout] 169 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_xlib_surface.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 |       pub create_xlib_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  __________________________________^
[INFO] [stdout] 72 | |         Ref<VkInstance>,
[INFO] [stdout] 73 | |         &XlibSurfaceCreateInfoKHR,
[INFO] [stdout] 74 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 75 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 76 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_wayland_surface.rs:72:37
[INFO] [stdout]    |
[INFO] [stdout] 72 |       pub create_wayland_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 73 | |         Ref<VkInstance>,
[INFO] [stdout] 74 | |         &WaylandSurfaceCreateInfoKHR,
[INFO] [stdout] 75 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 76 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 77 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_win32_surface.rs:63:35
[INFO] [stdout]    |
[INFO] [stdout] 63 |       pub create_win32_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 64 | |         Ref<VkInstance>,
[INFO] [stdout] 65 | |         &Win32SurfaceCreateInfoKHR,
[INFO] [stdout] 66 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 67 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 68 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:308:31
[INFO] [stdout]     |
[INFO] [stdout] 308 |       pub create_swapchain_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 309 | |         Ref<VkDevice>,
[INFO] [stdout] 310 | |         &VkSwapchainCreateInfoKHR,
[INFO] [stdout] 311 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 312 | |         &mut Option<Handle<VkSwapchainKHR>>,
[INFO] [stdout] 313 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:319:35
[INFO] [stdout]     |
[INFO] [stdout] 319 |       pub get_swapchain_images_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 320 | |         Ref<VkDevice>,
[INFO] [stdout] 321 | |         Ref<VkSwapchainKHR>,
[INFO] [stdout] 322 | |         &mut u32,
[INFO] [stdout] 323 | |         Option<ArrayMut<MaybeUninit<Handle<VkImage>>>>,
[INFO] [stdout] 324 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:325:33
[INFO] [stdout]     |
[INFO] [stdout] 325 |       pub acquire_next_image_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 326 | |         Ref<VkDevice>,
[INFO] [stdout] 327 | |         Mut<VkSwapchainKHR>,
[INFO] [stdout] 328 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 331 | |         &mut u32,
[INFO] [stdout] 332 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:333:28
[INFO] [stdout]     |
[INFO] [stdout] 333 |       pub queue_present_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 334 | |         Mut<VkQueue>,
[INFO] [stdout] 335 | |         &PresentInfoKHR<'_>,
[INFO] [stdout] 336 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 54 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling maia v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:166:7
[INFO] [stdout]     |
[INFO] [stdout] 166 | #[cfg(loom)]
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:191:11
[INFO] [stdout]     |
[INFO] [stdout] 191 | #[cfg(not(loom))]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/cleanup_queue.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[cfg(loom)]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]   --> src/cleanup_queue.rs:73:15
[INFO] [stdout]    |
[INFO] [stdout] 73 |     #[cfg(not(loom))]
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:216:15
[INFO] [stdout]     |
[INFO] [stdout] 216 |     #[cfg(not(loom))]
[INFO] [stdout]     |               ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `loom`
[INFO] [stdout]    --> src/cleanup_queue.rs:230:11
[INFO] [stdout]     |
[INFO] [stdout] 230 |     #[cfg(loom)]
[INFO] [stdout]     |           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/image.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(Subobject<SwapchainImages>),
[INFO] [stdout]    |     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Swapchain(()),
[INFO] [stdout]    |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/command_buffer.rs:133:25
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(Subobject<CommandPoolLifetime>);
[INFO] [stdout]     |        ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RecordedCommands` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 133 | struct RecordedCommands(());
[INFO] [stdout]     |                         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |   pub unsafe fn vk_create_instance() -> unsafe extern "system" fn(
[INFO] [stdout]    |  _______________________________________^
[INFO] [stdout] 27 | |     &'_ InstanceCreateInfo<'_>,
[INFO] [stdout] 28 | |     Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 29 | |     &mut Option<Handle<VkInstance>>,
[INFO] [stdout] 30 | | ) -> VkResult {
[INFO] [stdout]    | |_____________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 |   ) -> unsafe extern "system" fn(
[INFO] [stdout]    |  ______^
[INFO] [stdout] 36 | |     Option<Str<'_>>,
[INFO] [stdout] 37 | |     &mut u32,
[INFO] [stdout] 38 | |     Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 39 | | ) -> VkResult {
[INFO] [stdout]    | |_____________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:48:37
[INFO] [stdout]    |
[INFO] [stdout] 48 |       pub enumerate_physical_devices: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 49 | |         Ref<VkInstance>,
[INFO] [stdout] 50 | |         &mut u32,
[INFO] [stdout] 51 | |         Option<ArrayMut<MaybeUninit<Handle<VkPhysicalDevice>>>>,
[INFO] [stdout] 52 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | /         unsafe extern "system" fn(
[INFO] [stdout] 69 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 70 | |             Option<Str<'_>>,
[INFO] [stdout] 71 | |             &mut u32,
[INFO] [stdout] 72 | |             Option<ArrayMut<MaybeUninit<ExtensionProperties>>>,
[INFO] [stdout] 73 | |         ) -> VkResult,
[INFO] [stdout]    | |_____________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/load.rs:74:24
[INFO] [stdout]    |
[INFO] [stdout] 74 |       pub create_device: unsafe extern "system" fn(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 75 | |         Ref<VkPhysicalDevice>,
[INFO] [stdout] 76 | |         &'_ DeviceCreateInfo,
[INFO] [stdout] 77 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 78 | |         &mut Option<Handle<VkDevice>>,
[INFO] [stdout] 79 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:139:27
[INFO] [stdout]     |
[INFO] [stdout] 139 |       pub device_wait_idle: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 140 | |         // Technically not ext. sync. on the device, but on the queues. But
[INFO] [stdout] 141 | |         // this is safer because the queues borrow the device.
[INFO] [stdout] 142 | |         Mut<VkDevice>,
[INFO] [stdout] 143 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:150:23
[INFO] [stdout]     |
[INFO] [stdout] 150 |       pub queue_submit: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 151 | |         Mut<VkQueue>,
[INFO] [stdout] 152 | |         u32,
[INFO] [stdout] 153 | |         Option<Array<VkSubmitInfo<Null>>>,
[INFO] [stdout] 154 | |         Option<Mut<VkFence>>,
[INFO] [stdout] 155 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:156:26
[INFO] [stdout]     |
[INFO] [stdout] 156 |     pub queue_wait_idle: unsafe extern "system" fn(Mut<VkQueue>) -> VkResult,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:157:26
[INFO] [stdout]     |
[INFO] [stdout] 157 |       pub allocate_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 158 | |         Ref<VkDevice>,
[INFO] [stdout] 159 | |         &MemoryAllocateInfo,
[INFO] [stdout] 160 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 161 | |         &mut Option<Handle<VkDeviceMemory>>,
[INFO] [stdout] 162 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |       pub map_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 164 | |         Ref<VkDevice>,
[INFO] [stdout] 165 | |         Mut<VkDeviceMemory>,
[INFO] [stdout] 166 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 169 | |         &mut *mut u8,
[INFO] [stdout] 170 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:178:23
[INFO] [stdout]     |
[INFO] [stdout] 178 |       pub create_fence: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 179 | |         Ref<VkDevice>,
[INFO] [stdout] 180 | |         &FenceCreateInfo,
[INFO] [stdout] 181 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 182 | |         &mut Option<Handle<VkFence>>,
[INFO] [stdout] 183 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:189:26
[INFO] [stdout]     |
[INFO] [stdout] 189 |       pub wait_for_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 190 | |         Ref<VkDevice>,
[INFO] [stdout] 191 | |         u32,
[INFO] [stdout] 192 | |         Array<Ref<VkFence>>,
[INFO] [stdout] 193 | |         Bool,
[INFO] [stdout] 194 | |         u64,
[INFO] [stdout] 195 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:196:23
[INFO] [stdout]     |
[INFO] [stdout] 196 |       pub reset_fences: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 197 | |         Ref<VkDevice>,
[INFO] [stdout] 198 | |         u32,
[INFO] [stdout] 199 | |         Array<Mut<VkFence>>,
[INFO] [stdout] 200 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:201:27
[INFO] [stdout]     |
[INFO] [stdout] 201 |       pub create_semaphore: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 202 | |         Ref<VkDevice>,
[INFO] [stdout] 203 | |         &SemaphoreCreateInfo,
[INFO] [stdout] 204 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 205 | |         &mut Option<Handle<VkSemaphore>>,
[INFO] [stdout] 206 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:212:24
[INFO] [stdout]     |
[INFO] [stdout] 212 |       pub create_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 213 | |         Ref<VkDevice>,
[INFO] [stdout] 214 | |         &BufferCreateInfo,
[INFO] [stdout] 215 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 216 | |         &mut Option<Handle<VkBuffer>>,
[INFO] [stdout] 217 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:223:23
[INFO] [stdout]     |
[INFO] [stdout] 223 |       pub create_image: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 224 | |         Ref<VkDevice>,
[INFO] [stdout] 225 | |         &ImageCreateInfo,
[INFO] [stdout] 226 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 227 | |         &mut Option<Handle<VkImage>>,
[INFO] [stdout] 228 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:244:29
[INFO] [stdout]     |
[INFO] [stdout] 244 |       pub bind_buffer_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 245 | |         Ref<VkDevice>,
[INFO] [stdout] 246 | |         Mut<VkBuffer>,
[INFO] [stdout] 247 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 248 | |         u64,
[INFO] [stdout] 249 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:250:28
[INFO] [stdout]     |
[INFO] [stdout] 250 |       pub bind_image_memory: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 251 | |         Ref<VkDevice>,
[INFO] [stdout] 252 | |         Mut<VkImage>,
[INFO] [stdout] 253 | |         Ref<VkDeviceMemory>,
[INFO] [stdout] 254 | |         u64,
[INFO] [stdout] 255 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:256:28
[INFO] [stdout]     |
[INFO] [stdout] 256 |       pub create_image_view: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 257 | |         Ref<VkDevice>,
[INFO] [stdout] 258 | |         &VkImageViewCreateInfo,
[INFO] [stdout] 259 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 260 | |         &mut Option<Handle<VkImageView>>,
[INFO] [stdout] 261 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:267:31
[INFO] [stdout]     |
[INFO] [stdout] 267 |       pub create_shader_module: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 268 | |         Ref<VkDevice>,
[INFO] [stdout] 269 | |         &VkShaderModuleCreateInfo,
[INFO] [stdout] 270 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 271 | |         &mut Option<Handle<VkShaderModule>>,
[INFO] [stdout] 272 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:278:32
[INFO] [stdout]     |
[INFO] [stdout] 278 |       pub create_pipeline_cache: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 279 | |         Ref<VkDevice>,
[INFO] [stdout] 280 | |         &PipelineCacheCreateInfo,
[INFO] [stdout] 281 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 282 | |         &mut Option<Handle<VkPipelineCache>>,
[INFO] [stdout] 283 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:289:34
[INFO] [stdout]     |
[INFO] [stdout] 289 |       pub get_pipeline_cache_data: unsafe extern "system" fn(
[INFO] [stdout]     |  __________________________________^
[INFO] [stdout] 290 | |         Ref<VkDevice>,
[INFO] [stdout] 291 | |         Ref<VkPipelineCache>,
[INFO] [stdout] 292 | |         &mut usize,
[INFO] [stdout] 293 | |         Option<ArrayMut<MaybeUninit<u8>>>,
[INFO] [stdout] 294 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:295:29
[INFO] [stdout]     |
[INFO] [stdout] 295 |       pub create_framebuffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 296 | |         Ref<VkDevice>,
[INFO] [stdout] 297 | |         &VkFramebufferCreateInfo,
[INFO] [stdout] 298 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 299 | |         &mut Option<Handle<VkFramebuffer>>,
[INFO] [stdout] 300 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:306:29
[INFO] [stdout]     |
[INFO] [stdout] 306 |       pub create_render_pass: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 307 | |         Ref<VkDevice>,
[INFO] [stdout] 308 | |         &RenderPassCreateInfo,
[INFO] [stdout] 309 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 310 | |         &mut Option<Handle<VkRenderPass>>,
[INFO] [stdout] 311 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:317:39
[INFO] [stdout]     |
[INFO] [stdout] 317 |       pub create_descriptor_set_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________________^
[INFO] [stdout] 318 | |         Ref<VkDevice>,
[INFO] [stdout] 319 | |         &VkDescriptorSetLayoutCreateInfo,
[INFO] [stdout] 320 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 321 | |         &mut Option<Handle<VkDescriptorSetLayout>>,
[INFO] [stdout] 322 | |     )
[INFO] [stdout] 323 | |         -> VkResult,
[INFO] [stdout]     | |___________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:329:33
[INFO] [stdout]     |
[INFO] [stdout] 329 |       pub create_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 330 | |         Ref<VkDevice>,
[INFO] [stdout] 331 | |         &DescriptorPoolCreateInfo,
[INFO] [stdout] 332 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 333 | |         &mut Option<Handle<VkDescriptorPool>>,
[INFO] [stdout] 334 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:340:32
[INFO] [stdout]     |
[INFO] [stdout] 340 |       pub reset_descriptor_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 341 | |         Ref<VkDevice>,
[INFO] [stdout] 342 | |         Mut<VkDescriptorPool>,
[INFO] [stdout] 343 | |         DescriptorPoolResetFlags,
[INFO] [stdout] 344 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:345:35
[INFO] [stdout]     |
[INFO] [stdout] 345 |       pub allocate_descriptor_sets: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 346 | |         Ref<VkDevice>,
[INFO] [stdout] 347 | |         &DescriptorSetAllocateInfo,
[INFO] [stdout] 348 | |         ArrayMut<MaybeUninit<Handle<VkDescriptorSet>>>,
[INFO] [stdout] 349 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:357:33
[INFO] [stdout]     |
[INFO] [stdout] 357 |       pub create_pipeline_layout: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 358 | |         Ref<VkDevice>,
[INFO] [stdout] 359 | |         &PipelineLayoutCreateInfo,
[INFO] [stdout] 360 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 361 | |         &mut Option<Handle<VkPipelineLayout>>,
[INFO] [stdout] 362 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:368:25
[INFO] [stdout]     |
[INFO] [stdout] 368 |       pub create_sampler: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 369 | |         Ref<VkDevice>,
[INFO] [stdout] 370 | |         &SamplerCreateInfo,
[INFO] [stdout] 371 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 372 | |         &mut Option<Handle<VkSampler>>,
[INFO] [stdout] 373 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:379:36
[INFO] [stdout]     |
[INFO] [stdout] 379 |       pub create_graphics_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________________^
[INFO] [stdout] 380 | |         Ref<VkDevice>,
[INFO] [stdout] 381 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 382 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 385 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 386 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:387:35
[INFO] [stdout]     |
[INFO] [stdout] 387 |       pub create_compute_pipelines: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 388 | |         Ref<VkDevice>,
[INFO] [stdout] 389 | |         Option<Ref<VkPipelineCache>>,
[INFO] [stdout] 390 | |         u32,
[INFO] [stdout] ...   |
[INFO] [stdout] 393 | |         ArrayMut<MaybeUninit<Handle<VkPipeline>>>,
[INFO] [stdout] 394 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:400:30
[INFO] [stdout]     |
[INFO] [stdout] 400 |       pub create_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  ______________________________^
[INFO] [stdout] 401 | |         Ref<VkDevice>,
[INFO] [stdout] 402 | |         &CommandPoolCreateInfo,
[INFO] [stdout] 403 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 404 | |         &mut Option<Handle<VkCommandPool>>,
[INFO] [stdout] 405 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:411:29
[INFO] [stdout]     |
[INFO] [stdout] 411 |       pub reset_command_pool: unsafe extern "system" fn(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 412 | |         Ref<VkDevice>,
[INFO] [stdout] 413 | |         Mut<VkCommandPool>,
[INFO] [stdout] 414 | |         CommandPoolResetFlags,
[INFO] [stdout] 415 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:416:35
[INFO] [stdout]     |
[INFO] [stdout] 416 |       pub allocate_command_buffers: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 417 | |         Ref<VkDevice>,
[INFO] [stdout] 418 | |         &CommandBufferAllocateInfo<'_>,
[INFO] [stdout] 419 | |         ArrayMut<MaybeUninit<Handle<VkCommandBuffer>>>,
[INFO] [stdout] 420 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:427:31
[INFO] [stdout]     |
[INFO] [stdout] 427 |       pub begin_command_buffer: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 428 | |         Mut<VkCommandBuffer>,
[INFO] [stdout] 429 | |         &CommandBufferBeginInfo,
[INFO] [stdout] 430 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/load.rs:432:9
[INFO] [stdout]     |
[INFO] [stdout] 432 |         unsafe extern "system" fn(Mut<VkCommandBuffer>) -> VkResult,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/ext_metal_surface.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |       pub create_metal_surface_ext: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 50 | |         Ref<VkInstance>,
[INFO] [stdout] 51 | |         &MetalSurfaceCreateInfoEXT,
[INFO] [stdout] 52 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 53 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 54 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 | /         unsafe extern "system" fn(
[INFO] [stdout] 152 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 153 | |             u32,
[INFO] [stdout] 154 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 155 | |             &mut Bool,
[INFO] [stdout] 156 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | /         unsafe extern "system" fn(
[INFO] [stdout] 159 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 160 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 161 | |             &mut MaybeUninit<SurfaceCapabilitiesKHR>,
[INFO] [stdout] 162 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_surface.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 | /         unsafe extern "system" fn(
[INFO] [stdout] 165 | |             Ref<VkPhysicalDevice>,
[INFO] [stdout] 166 | |             Ref<VkSurfaceKHR>,
[INFO] [stdout] 167 | |             &mut u32,
[INFO] [stdout] 168 | |             Option<ArrayMut<MaybeUninit<SurfaceFormatKHR>>>,
[INFO] [stdout] 169 | |         ) -> VkResult,
[INFO] [stdout]     | |_____________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_xlib_surface.rs:71:34
[INFO] [stdout]    |
[INFO] [stdout] 71 |       pub create_xlib_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  __________________________________^
[INFO] [stdout] 72 | |         Ref<VkInstance>,
[INFO] [stdout] 73 | |         &XlibSurfaceCreateInfoKHR,
[INFO] [stdout] 74 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 75 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 76 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_wayland_surface.rs:72:37
[INFO] [stdout]    |
[INFO] [stdout] 72 |       pub create_wayland_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  _____________________________________^
[INFO] [stdout] 73 | |         Ref<VkInstance>,
[INFO] [stdout] 74 | |         &WaylandSurfaceCreateInfoKHR,
[INFO] [stdout] 75 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 76 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 77 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]   --> src/ext/khr_win32_surface.rs:63:35
[INFO] [stdout]    |
[INFO] [stdout] 63 |       pub create_win32_surface_khr: unsafe extern "system" fn(
[INFO] [stdout]    |  ___________________________________^
[INFO] [stdout] 64 | |         Ref<VkInstance>,
[INFO] [stdout] 65 | |         &Win32SurfaceCreateInfoKHR,
[INFO] [stdout] 66 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 67 | |         &mut Option<Handle<VkSurfaceKHR>>,
[INFO] [stdout] 68 | |     ) -> VkResult,
[INFO] [stdout]    | |_________________^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]    = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:308:31
[INFO] [stdout]     |
[INFO] [stdout] 308 |       pub create_swapchain_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _______________________________^
[INFO] [stdout] 309 | |         Ref<VkDevice>,
[INFO] [stdout] 310 | |         &VkSwapchainCreateInfoKHR,
[INFO] [stdout] 311 | |         Option<&'_ AllocationCallbacks>,
[INFO] [stdout] 312 | |         &mut Option<Handle<VkSwapchainKHR>>,
[INFO] [stdout] 313 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:319:35
[INFO] [stdout]     |
[INFO] [stdout] 319 |       pub get_swapchain_images_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ___________________________________^
[INFO] [stdout] 320 | |         Ref<VkDevice>,
[INFO] [stdout] 321 | |         Ref<VkSwapchainKHR>,
[INFO] [stdout] 322 | |         &mut u32,
[INFO] [stdout] 323 | |         Option<ArrayMut<MaybeUninit<Handle<VkImage>>>>,
[INFO] [stdout] 324 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:325:33
[INFO] [stdout]     |
[INFO] [stdout] 325 |       pub acquire_next_image_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 326 | |         Ref<VkDevice>,
[INFO] [stdout] 327 | |         Mut<VkSwapchainKHR>,
[INFO] [stdout] 328 | |         u64,
[INFO] [stdout] ...   |
[INFO] [stdout] 331 | |         &mut u32,
[INFO] [stdout] 332 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe
[INFO] [stdout]    --> src/ext/khr_swapchain.rs:333:28
[INFO] [stdout]     |
[INFO] [stdout] 333 |       pub queue_present_khr: unsafe extern "system" fn(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 334 | |         Mut<VkQueue>,
[INFO] [stdout] 335 | |         &PresentInfoKHR<'_>,
[INFO] [stdout] 336 | |     ) -> VkResult,
[INFO] [stdout]     | |_________________^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum
[INFO] [stdout]     = note: enum has no representation hint
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 56 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.06s
[INFO] running `Command { std: "docker" "inspect" "35b93a85e27d85d7626805fab4a4a8b1f050f270fd540ac6fcbe97d281ac54ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35b93a85e27d85d7626805fab4a4a8b1f050f270fd540ac6fcbe97d281ac54ec", kill_on_drop: false }`
[INFO] [stdout] 35b93a85e27d85d7626805fab4a4a8b1f050f270fd540ac6fcbe97d281ac54ec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 350d1403094a7ee59d1f99a92fbcc556e6886d0f594be09bd86d6bffcbd1ccc8
[INFO] running `Command { std: "docker" "start" "-a" "350d1403094a7ee59d1f99a92fbcc556e6886d0f594be09bd86d6bffcbd1ccc8", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition name: `loom`
[INFO] [stderr]    --> src/cleanup_queue.rs:166:7
[INFO] [stderr]     |
[INFO] [stderr] 166 | #[cfg(loom)]
[INFO] [stderr]     |       ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, `windows`
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `loom`
[INFO] [stderr]    --> src/cleanup_queue.rs:191:11
[INFO] [stderr]     |
[INFO] [stderr] 191 | #[cfg(not(loom))]
[INFO] [stderr]     |           ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `loom`
[INFO] [stderr]   --> src/cleanup_queue.rs:69:11
[INFO] [stderr]    |
[INFO] [stderr] 69 |     #[cfg(loom)]
[INFO] [stderr]    |           ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `loom`
[INFO] [stderr]   --> src/cleanup_queue.rs:73:15
[INFO] [stderr]    |
[INFO] [stderr] 73 |     #[cfg(not(loom))]
[INFO] [stderr]    |               ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/image.rs:44:15
[INFO] [stderr]    |
[INFO] [stderr] 44 |     Swapchain(Subobject<SwapchainImages>),
[INFO] [stderr]    |     --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 44 |     Swapchain(()),
[INFO] [stderr]    |               ~~
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]    --> src/command_buffer.rs:133:25
[INFO] [stderr]     |
[INFO] [stderr] 133 | struct RecordedCommands(Subobject<CommandPoolLifetime>);
[INFO] [stderr]     |        ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |        |
[INFO] [stderr]     |        field in this struct
[INFO] [stderr]     |
[INFO] [stderr]     = note: `RecordedCommands` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]     |
[INFO] [stderr] 133 | struct RecordedCommands(());
[INFO] [stderr]     |                         ~~
[INFO] [stderr] 
[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 54 warnings
[INFO] [stderr] warning: unexpected `cfg` condition name: `loom`
[INFO] [stderr]    --> src/cleanup_queue.rs:216:15
[INFO] [stderr]     |
[INFO] [stderr] 216 |     #[cfg(not(loom))]
[INFO] [stderr]     |               ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition name: `loom`
[INFO] [stderr]    --> src/cleanup_queue.rs:230:11
[INFO] [stderr]     |
[INFO] [stderr] 230 |     #[cfg(loom)]
[INFO] [stderr]     |           ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: consider using a Cargo feature instead or adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/cargo/reference/build-scripts.html#rustc-check-cfg> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `maia` (lib test) generated 56 warnings (54 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/maia-591962886c9318f2)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test cleanup_queue::tests::test_reordered_cleanup ... ok
[INFO] [stdout] test queue::test::cross_queue_sync ... ok
[INFO] [stdout] test queue::test::cmd_state ... ok
[INFO] [stdout] test buffer::test::wrong_mem ... ok
[INFO] [stdout] test command_buffer::bind::test::bounds_check ... ok
[INFO] [stdout] test command_buffer::bind::test::push_constant_check ... ok
[INFO] [stdout] test command_buffer::test::subpass ... ok
[INFO] [stdout] test image::test::wrong_mem ... ok
[INFO] [stdout] test buffer::test::require_robust ... ok
[INFO] [stdout] test command_buffer::test::secondary_reset ... ok
[INFO] [stdout] test queue::test::signaller ... ok
[INFO] [stdout] test image::test::require_robust ... ok
[INFO] [stdout] test command_buffer::bind::test::descriptor_set_typecheck ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s
[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/b642703cf9526da1e72c0b6755753b939a9c6b6d/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-560efdb99b117eef.rlib --extern bumpalo=/opt/rustwide/target/debug/deps/libbumpalo-456a6861822e6c1d.rlib --extern maia=/opt/rustwide/target/debug/deps/libmaia-332de1547de2c0b4.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("window"))' --cap-lints=forbid --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" "350d1403094a7ee59d1f99a92fbcc556e6886d0f594be09bd86d6bffcbd1ccc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "350d1403094a7ee59d1f99a92fbcc556e6886d0f594be09bd86d6bffcbd1ccc8", kill_on_drop: false }`
[INFO] [stdout] 350d1403094a7ee59d1f99a92fbcc556e6886d0f594be09bd86d6bffcbd1ccc8
