[INFO] fetching crate maia 0.1.1... [INFO] checking maia-0.1.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [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 ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 64 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cocoa v0.24.1 (latest: v0.26.0) [INFO] [stderr] Adding cocoa-foundation v0.1.2 (latest: v0.2.0) [INFO] [stderr] Adding core-foundation v0.9.4 (latest: v0.10.0) [INFO] [stderr] Adding core-graphics v0.22.3 (latest: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (latest: v0.2.0) [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.3) [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 matchers v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [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.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding windows v0.48.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4503661d3d9b76f97f23103cf363601b4cd6a973309573ea9171d891505250d [INFO] running `Command { std: "docker" "start" "-a" "b4503661d3d9b76f97f23103cf363601b4cd6a973309573ea9171d891505250d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4503661d3d9b76f97f23103cf363601b4cd6a973309573ea9171d891505250d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4503661d3d9b76f97f23103cf363601b4cd6a973309573ea9171d891505250d", kill_on_drop: false }` [INFO] [stdout] b4503661d3d9b76f97f23103cf363601b4cd6a973309573ea9171d891505250d [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7cd4b1bef1ad38bb83980ba4399935b716515df2589fedfa14eb06b12319776 [INFO] running `Command { std: "docker" "start" "-a" "f7cd4b1bef1ad38bb83980ba4399935b716515df2589fedfa14eb06b12319776", kill_on_drop: false }` [INFO] [stderr] Compiling maia v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking bitflags v1.3.2 [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`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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 [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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 [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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 [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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: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`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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 [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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 [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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 [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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 [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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 [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see 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), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImageOwner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `RecordedCommands` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [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>, [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>, [INFO] [stdout] 37 | | &mut u32, [INFO] [stdout] 38 | | Option>>, [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, [INFO] [stdout] 50 | | &mut u32, [INFO] [stdout] 51 | | Option>>>, [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, [INFO] [stdout] 70 | | Option>, [INFO] [stdout] 71 | | &mut u32, [INFO] [stdout] 72 | | Option>>, [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, [INFO] [stdout] 76 | | &'_ DeviceCreateInfo, [INFO] [stdout] 77 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 78 | | &mut Option>, [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, [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, [INFO] [stdout] 152 | | u32, [INFO] [stdout] 153 | | Option>>, [INFO] [stdout] 154 | | Option>, [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) -> VkResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [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, [INFO] [stdout] 159 | | &MemoryAllocateInfo, [INFO] [stdout] 160 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 161 | | &mut Option>, [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, [INFO] [stdout] 165 | | Mut, [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, [INFO] [stdout] 180 | | &FenceCreateInfo, [INFO] [stdout] 181 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 182 | | &mut Option>, [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, [INFO] [stdout] 191 | | u32, [INFO] [stdout] 192 | | Array>, [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, [INFO] [stdout] 198 | | u32, [INFO] [stdout] 199 | | Array>, [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, [INFO] [stdout] 203 | | &SemaphoreCreateInfo, [INFO] [stdout] 204 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 205 | | &mut Option>, [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, [INFO] [stdout] 214 | | &BufferCreateInfo, [INFO] [stdout] 215 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 216 | | &mut Option>, [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, [INFO] [stdout] 225 | | &ImageCreateInfo, [INFO] [stdout] 226 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 227 | | &mut Option>, [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, [INFO] [stdout] 246 | | Mut, [INFO] [stdout] 247 | | Ref, [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, [INFO] [stdout] 252 | | Mut, [INFO] [stdout] 253 | | Ref, [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, [INFO] [stdout] 258 | | &VkImageViewCreateInfo, [INFO] [stdout] 259 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 260 | | &mut Option>, [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, [INFO] [stdout] 269 | | &VkShaderModuleCreateInfo, [INFO] [stdout] 270 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 271 | | &mut Option>, [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, [INFO] [stdout] 280 | | &PipelineCacheCreateInfo, [INFO] [stdout] 281 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 282 | | &mut Option>, [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, [INFO] [stdout] 291 | | Ref, [INFO] [stdout] 292 | | &mut usize, [INFO] [stdout] 293 | | Option>>, [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, [INFO] [stdout] 297 | | &VkFramebufferCreateInfo, [INFO] [stdout] 298 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 299 | | &mut Option>, [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, [INFO] [stdout] 308 | | &RenderPassCreateInfo, [INFO] [stdout] 309 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 310 | | &mut Option>, [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, [INFO] [stdout] 319 | | &VkDescriptorSetLayoutCreateInfo, [INFO] [stdout] 320 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 321 | | &mut Option>, [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, [INFO] [stdout] 331 | | &DescriptorPoolCreateInfo, [INFO] [stdout] 332 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 333 | | &mut Option>, [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, [INFO] [stdout] 342 | | Mut, [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, [INFO] [stdout] 347 | | &DescriptorSetAllocateInfo, [INFO] [stdout] 348 | | ArrayMut>>, [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, [INFO] [stdout] 359 | | &PipelineLayoutCreateInfo, [INFO] [stdout] 360 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 361 | | &mut Option>, [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, [INFO] [stdout] 370 | | &SamplerCreateInfo, [INFO] [stdout] 371 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 372 | | &mut Option>, [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, [INFO] [stdout] 381 | | Option>, [INFO] [stdout] 382 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 385 | | ArrayMut>>, [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, [INFO] [stdout] 389 | | Option>, [INFO] [stdout] 390 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 393 | | ArrayMut>>, [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, [INFO] [stdout] 402 | | &CommandPoolCreateInfo, [INFO] [stdout] 403 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 404 | | &mut Option>, [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, [INFO] [stdout] 413 | | Mut, [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, [INFO] [stdout] 418 | | &CommandBufferAllocateInfo<'_>, [INFO] [stdout] 419 | | ArrayMut>>, [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, [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) -> VkResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation 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, [INFO] [stdout] 51 | | &MetalSurfaceCreateInfoEXT, [INFO] [stdout] 52 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 53 | | &mut Option>, [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, [INFO] [stdout] 153 | | u32, [INFO] [stdout] 154 | | Ref, [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, [INFO] [stdout] 160 | | Ref, [INFO] [stdout] 161 | | &mut MaybeUninit, [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, [INFO] [stdout] 166 | | Ref, [INFO] [stdout] 167 | | &mut u32, [INFO] [stdout] 168 | | Option>>, [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, [INFO] [stdout] 73 | | &XlibSurfaceCreateInfoKHR, [INFO] [stdout] 74 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 75 | | &mut Option>, [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, [INFO] [stdout] 74 | | &WaylandSurfaceCreateInfoKHR, [INFO] [stdout] 75 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 76 | | &mut Option>, [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, [INFO] [stdout] 65 | | &Win32SurfaceCreateInfoKHR, [INFO] [stdout] 66 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 67 | | &mut Option>, [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, [INFO] [stdout] 310 | | &VkSwapchainCreateInfoKHR, [INFO] [stdout] 311 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 312 | | &mut Option>, [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, [INFO] [stdout] 321 | | Ref, [INFO] [stdout] 322 | | &mut u32, [INFO] [stdout] 323 | | Option>>>, [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, [INFO] [stdout] 327 | | Mut, [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, [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: field `0` is never read [INFO] [stdout] --> src/image.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | Swapchain(Subobject), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ImageOwner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `RecordedCommands` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [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>, [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>, [INFO] [stdout] 37 | | &mut u32, [INFO] [stdout] 38 | | Option>>, [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, [INFO] [stdout] 50 | | &mut u32, [INFO] [stdout] 51 | | Option>>>, [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, [INFO] [stdout] 70 | | Option>, [INFO] [stdout] 71 | | &mut u32, [INFO] [stdout] 72 | | Option>>, [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, [INFO] [stdout] 76 | | &'_ DeviceCreateInfo, [INFO] [stdout] 77 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 78 | | &mut Option>, [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, [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, [INFO] [stdout] 152 | | u32, [INFO] [stdout] 153 | | Option>>, [INFO] [stdout] 154 | | Option>, [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) -> VkResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [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, [INFO] [stdout] 159 | | &MemoryAllocateInfo, [INFO] [stdout] 160 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 161 | | &mut Option>, [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, [INFO] [stdout] 165 | | Mut, [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, [INFO] [stdout] 180 | | &FenceCreateInfo, [INFO] [stdout] 181 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 182 | | &mut Option>, [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, [INFO] [stdout] 191 | | u32, [INFO] [stdout] 192 | | Array>, [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, [INFO] [stdout] 198 | | u32, [INFO] [stdout] 199 | | Array>, [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, [INFO] [stdout] 203 | | &SemaphoreCreateInfo, [INFO] [stdout] 204 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 205 | | &mut Option>, [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, [INFO] [stdout] 214 | | &BufferCreateInfo, [INFO] [stdout] 215 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 216 | | &mut Option>, [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, [INFO] [stdout] 225 | | &ImageCreateInfo, [INFO] [stdout] 226 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 227 | | &mut Option>, [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, [INFO] [stdout] 246 | | Mut, [INFO] [stdout] 247 | | Ref, [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, [INFO] [stdout] 252 | | Mut, [INFO] [stdout] 253 | | Ref, [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, [INFO] [stdout] 258 | | &VkImageViewCreateInfo, [INFO] [stdout] 259 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 260 | | &mut Option>, [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, [INFO] [stdout] 269 | | &VkShaderModuleCreateInfo, [INFO] [stdout] 270 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 271 | | &mut Option>, [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, [INFO] [stdout] 280 | | &PipelineCacheCreateInfo, [INFO] [stdout] 281 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 282 | | &mut Option>, [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, [INFO] [stdout] 291 | | Ref, [INFO] [stdout] 292 | | &mut usize, [INFO] [stdout] 293 | | Option>>, [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, [INFO] [stdout] 297 | | &VkFramebufferCreateInfo, [INFO] [stdout] 298 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 299 | | &mut Option>, [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, [INFO] [stdout] 308 | | &RenderPassCreateInfo, [INFO] [stdout] 309 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 310 | | &mut Option>, [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, [INFO] [stdout] 319 | | &VkDescriptorSetLayoutCreateInfo, [INFO] [stdout] 320 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 321 | | &mut Option>, [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, [INFO] [stdout] 331 | | &DescriptorPoolCreateInfo, [INFO] [stdout] 332 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 333 | | &mut Option>, [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, [INFO] [stdout] 342 | | Mut, [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, [INFO] [stdout] 347 | | &DescriptorSetAllocateInfo, [INFO] [stdout] 348 | | ArrayMut>>, [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, [INFO] [stdout] 359 | | &PipelineLayoutCreateInfo, [INFO] [stdout] 360 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 361 | | &mut Option>, [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, [INFO] [stdout] 370 | | &SamplerCreateInfo, [INFO] [stdout] 371 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 372 | | &mut Option>, [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, [INFO] [stdout] 381 | | Option>, [INFO] [stdout] 382 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 385 | | ArrayMut>>, [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, [INFO] [stdout] 389 | | Option>, [INFO] [stdout] 390 | | u32, [INFO] [stdout] ... | [INFO] [stdout] 393 | | ArrayMut>>, [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, [INFO] [stdout] 402 | | &CommandPoolCreateInfo, [INFO] [stdout] 403 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 404 | | &mut Option>, [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, [INFO] [stdout] 413 | | Mut, [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, [INFO] [stdout] 418 | | &CommandBufferAllocateInfo<'_>, [INFO] [stdout] 419 | | ArrayMut>>, [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, [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: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), VkError>`, which is not FFI-safe [INFO] [stdout] --> src/load.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | unsafe extern "system" fn(Mut) -> VkResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation 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, [INFO] [stdout] 51 | | &MetalSurfaceCreateInfoEXT, [INFO] [stdout] 52 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 53 | | &mut Option>, [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, [INFO] [stdout] 153 | | u32, [INFO] [stdout] 154 | | Ref, [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, [INFO] [stdout] 160 | | Ref, [INFO] [stdout] 161 | | &mut MaybeUninit, [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, [INFO] [stdout] 166 | | Ref, [INFO] [stdout] 167 | | &mut u32, [INFO] [stdout] 168 | | Option>>, [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, [INFO] [stdout] 73 | | &XlibSurfaceCreateInfoKHR, [INFO] [stdout] 74 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 75 | | &mut Option>, [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, [INFO] [stdout] 74 | | &WaylandSurfaceCreateInfoKHR, [INFO] [stdout] 75 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 76 | | &mut Option>, [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, [INFO] [stdout] 65 | | &Win32SurfaceCreateInfoKHR, [INFO] [stdout] 66 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 67 | | &mut Option>, [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, [INFO] [stdout] 310 | | &VkSwapchainCreateInfoKHR, [INFO] [stdout] 311 | | Option<&'_ AllocationCallbacks>, [INFO] [stdout] 312 | | &mut Option>, [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, [INFO] [stdout] 321 | | Ref, [INFO] [stdout] 322 | | &mut u32, [INFO] [stdout] 323 | | Option>>>, [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, [INFO] [stdout] 327 | | Mut, [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, [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.41s [INFO] running `Command { std: "docker" "inspect" "f7cd4b1bef1ad38bb83980ba4399935b716515df2589fedfa14eb06b12319776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7cd4b1bef1ad38bb83980ba4399935b716515df2589fedfa14eb06b12319776", kill_on_drop: false }` [INFO] [stdout] f7cd4b1bef1ad38bb83980ba4399935b716515df2589fedfa14eb06b12319776