[INFO] cloning repository https://github.com/michaelzoech/vkinfo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaelzoech/vkinfo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelzoech%2Fvkinfo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelzoech%2Fvkinfo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1c734f4eac030b1746f164b87f73bcbe0ca759e [INFO] checking michaelzoech/vkinfo against master#667247db71ea18c4130dd018d060e7f09d589490 for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelzoech%2Fvkinfo" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michaelzoech/vkinfo on toolchain 667247db71ea18c4130dd018d060e7f09d589490 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michaelzoech/vkinfo [INFO] finished tweaking git repo https://github.com/michaelzoech/vkinfo [INFO] tweaked toml for git repo https://github.com/michaelzoech/vkinfo written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/michaelzoech/vkinfo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c4fcea9c1d8ddf4349ad560eb8c7514620e4ac5eba34bb563ea9dc94d8630f0 [INFO] running `Command { std: "docker" "start" "-a" "3c4fcea9c1d8ddf4349ad560eb8c7514620e4ac5eba34bb563ea9dc94d8630f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c4fcea9c1d8ddf4349ad560eb8c7514620e4ac5eba34bb563ea9dc94d8630f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c4fcea9c1d8ddf4349ad560eb8c7514620e4ac5eba34bb563ea9dc94d8630f0", kill_on_drop: false }` [INFO] [stdout] 3c4fcea9c1d8ddf4349ad560eb8c7514620e4ac5eba34bb563ea9dc94d8630f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d106c7b68c005626f387f5ec672deaf9191a9af726fe082c258737ecbd544ed [INFO] running `Command { std: "docker" "start" "-a" "2d106c7b68c005626f387f5ec672deaf9191a9af726fe082c258737ecbd544ed", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking linked-hash-map v0.5.0 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Checking num-traits v0.1.42 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking serde v1.0.27 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking yaml-rust v0.4.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Checking serde_yaml v0.7.3 [INFO] [stderr] Checking vkinfo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / bitflags! { [INFO] [stdout] 62 | | #[derive(Serialize)] [INFO] [stdout] 63 | | pub struct InstanceCreateFlags: u32 { [INFO] [stdout] 64 | | const Reserved = 0; [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / bitflags! { [INFO] [stdout] 62 | | #[derive(Serialize)] [INFO] [stdout] 63 | | pub struct InstanceCreateFlags: u32 { [INFO] [stdout] 64 | | const Reserved = 0; [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / bitflags! { [INFO] [stdout] 62 | | #[derive(Serialize)] [INFO] [stdout] 63 | | pub struct InstanceCreateFlags: u32 { [INFO] [stdout] 64 | | const Reserved = 0; [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / bitflags! { [INFO] [stdout] 69 | | #[derive(Serialize)] [INFO] [stdout] 70 | | pub struct SampleCountFlags: u32 { [INFO] [stdout] 71 | | const Count1Bit = 0x00000001; [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / bitflags! { [INFO] [stdout] 69 | | #[derive(Serialize)] [INFO] [stdout] 70 | | pub struct SampleCountFlags: u32 { [INFO] [stdout] 71 | | const Count1Bit = 0x00000001; [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / bitflags! { [INFO] [stdout] 69 | | #[derive(Serialize)] [INFO] [stdout] 70 | | pub struct SampleCountFlags: u32 { [INFO] [stdout] 71 | | const Count1Bit = 0x00000001; [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / bitflags! { [INFO] [stdout] 82 | | #[derive(Serialize)] [INFO] [stdout] 83 | | pub struct QueueFlags: u32 { [INFO] [stdout] 84 | | const GraphicsBit = 0x00000001; [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / bitflags! { [INFO] [stdout] 82 | | #[derive(Serialize)] [INFO] [stdout] 83 | | pub struct QueueFlags: u32 { [INFO] [stdout] 84 | | const GraphicsBit = 0x00000001; [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / bitflags! { [INFO] [stdout] 62 | | #[derive(Serialize)] [INFO] [stdout] 63 | | pub struct InstanceCreateFlags: u32 { [INFO] [stdout] 64 | | const Reserved = 0; [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / bitflags! { [INFO] [stdout] 62 | | #[derive(Serialize)] [INFO] [stdout] 63 | | pub struct InstanceCreateFlags: u32 { [INFO] [stdout] 64 | | const Reserved = 0; [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / bitflags! { [INFO] [stdout] 82 | | #[derive(Serialize)] [INFO] [stdout] 83 | | pub struct QueueFlags: u32 { [INFO] [stdout] 84 | | const GraphicsBit = 0x00000001; [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Default` [INFO] [stdout] --> src/vulkan.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use std::default::{Default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 20 | get_instance_proc_addr: unsafe extern fn(*const c_void, *const c_char) -> *const c_void, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | let f: lib::Symbol *const c_void> = library.get(b"vkGetInstanceProcAddr\0")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | create_instance: unsafe extern fn(*const vk::InstanceCreateInfo, *const vk::AllocationCallbacks, *mut vk::Instance) -> vk::Result, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 54 | enumerate_instance_extension_properties: unsafe extern fn(*const c_char, *mut u32, *mut vk::ExtensionProperties) -> vk::Result, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | enumerate_instance_layer_properties: unsafe extern fn(*mut u32, *mut vk::LayerProperties) -> vk::Result, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / bitflags! { [INFO] [stdout] 62 | | #[derive(Serialize)] [INFO] [stdout] 63 | | pub struct InstanceCreateFlags: u32 { [INFO] [stdout] 64 | | const Reserved = 0; [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | destroy_instance: unsafe extern fn(vk::Instance, *const vk::AllocationCallbacks), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | enumerate_physical_devices: unsafe extern fn(vk::Instance, *mut u32, *mut vk::PhysicalDevice) -> vk::Result, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:147:42 [INFO] [stdout] | [INFO] [stdout] 147 | get_physical_device_features: unsafe extern fn(vk::PhysicalDevice, *mut vk::PhysicalDeviceFeatures), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:148:44 [INFO] [stdout] | [INFO] [stdout] 148 | get_physical_device_properties: unsafe extern fn(vk::PhysicalDevice, *mut vk::PhysicalDeviceProperties), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:149:57 [INFO] [stdout] | [INFO] [stdout] 149 | get_physical_device_queue_family_properties: unsafe extern fn(vk::PhysicalDevice, *mut u32, *mut vk::QueueFamilyProperties), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / bitflags! { [INFO] [stdout] 69 | | #[derive(Serialize)] [INFO] [stdout] 70 | | pub struct SampleCountFlags: u32 { [INFO] [stdout] 71 | | const Count1Bit = 0x00000001; [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / bitflags! { [INFO] [stdout] 69 | | #[derive(Serialize)] [INFO] [stdout] 70 | | pub struct SampleCountFlags: u32 { [INFO] [stdout] 71 | | const Count1Bit = 0x00000001; [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / bitflags! { [INFO] [stdout] 69 | | #[derive(Serialize)] [INFO] [stdout] 70 | | pub struct SampleCountFlags: u32 { [INFO] [stdout] 71 | | const Count1Bit = 0x00000001; [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / bitflags! { [INFO] [stdout] 82 | | #[derive(Serialize)] [INFO] [stdout] 83 | | pub struct QueueFlags: u32 { [INFO] [stdout] 84 | | const GraphicsBit = 0x00000001; [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / bitflags! { [INFO] [stdout] 82 | | #[derive(Serialize)] [INFO] [stdout] 83 | | pub struct QueueFlags: u32 { [INFO] [stdout] 84 | | const GraphicsBit = 0x00000001; [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vk.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / bitflags! { [INFO] [stdout] 82 | | #[derive(Serialize)] [INFO] [stdout] 83 | | pub struct QueueFlags: u32 { [INFO] [stdout] 84 | | const GraphicsBit = 0x00000001; [INFO] [stdout] ... | [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Default` [INFO] [stdout] --> src/vulkan.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use std::default::{Default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 20 | get_instance_proc_addr: unsafe extern fn(*const c_void, *const c_char) -> *const c_void, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | let f: lib::Symbol *const c_void> = library.get(b"vkGetInstanceProcAddr\0")?; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | create_instance: unsafe extern fn(*const vk::InstanceCreateInfo, *const vk::AllocationCallbacks, *mut vk::Instance) -> vk::Result, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 54 | enumerate_instance_extension_properties: unsafe extern fn(*const c_char, *mut u32, *mut vk::ExtensionProperties) -> vk::Result, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | enumerate_instance_layer_properties: unsafe extern fn(*mut u32, *mut vk::LayerProperties) -> vk::Result, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | destroy_instance: unsafe extern fn(vk::Instance, *const vk::AllocationCallbacks), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | enumerate_physical_devices: unsafe extern fn(vk::Instance, *mut u32, *mut vk::PhysicalDevice) -> vk::Result, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:147:42 [INFO] [stdout] | [INFO] [stdout] 147 | get_physical_device_features: unsafe extern fn(vk::PhysicalDevice, *mut vk::PhysicalDeviceFeatures), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:148:44 [INFO] [stdout] | [INFO] [stdout] 148 | get_physical_device_properties: unsafe extern fn(vk::PhysicalDevice, *mut vk::PhysicalDeviceProperties), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/vulkan.rs:149:57 [INFO] [stdout] | [INFO] [stdout] 149 | get_physical_device_queue_family_properties: unsafe extern fn(vk::PhysicalDevice, *mut u32, *mut vk::QueueFamilyProperties), [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/vulkan.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | features = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/vulkan.rs:210:31 [INFO] [stdout] | [INFO] [stdout] 210 | properties = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/vulkan.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | features = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/vulkan.rs:210:31 [INFO] [stdout] | [INFO] [stdout] 210 | properties = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ApplicationInfo` and `MaxEnum` are never constructed [INFO] [stdout] --> src/vk.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum StructureType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 56 | ApplicationInfo = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | InstanceCreateInfo = 1, [INFO] [stdout] 58 | MaxEnum = 0x7fffffff, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructureType` 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] [INFO] [stdout] [INFO] [stdout] warning: variants `ApplicationInfo` and `MaxEnum` are never constructed [INFO] [stdout] --> src/vk.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum StructureType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 56 | ApplicationInfo = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | InstanceCreateInfo = 1, [INFO] [stdout] 58 | MaxEnum = 0x7fffffff, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructureType` 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] [INFO] [stdout] [INFO] [stdout] warning: variants `Other`, `IntegratedGpu`, `DiscreteGpu`, `VirtualGpu`, `Cpu`, and `MaxEnum` are never constructed [INFO] [stdout] --> src/vk.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub enum PhysicalDeviceType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 292 | Other = 0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 293 | IntegratedGpu = 1, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 294 | DiscreteGpu = 2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 295 | VirtualGpu = 3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 296 | Cpu = 4, [INFO] [stdout] | ^^^ [INFO] [stdout] 297 | MaxEnum = 0x7fffffff, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhysicalDeviceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Other`, `IntegratedGpu`, `DiscreteGpu`, `VirtualGpu`, `Cpu`, and `MaxEnum` are never constructed [INFO] [stdout] --> src/vk.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub enum PhysicalDeviceType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 292 | Other = 0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 293 | IntegratedGpu = 1, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 294 | DiscreteGpu = 2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 295 | VirtualGpu = 3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 296 | Cpu = 4, [INFO] [stdout] | ^^^ [INFO] [stdout] 297 | MaxEnum = 0x7fffffff, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhysicalDeviceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `StructureType` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_StructureType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `StructureType` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_StructureType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `InstanceCreateFlags` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InstanceCreateFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Reserved` should have an upper case name [INFO] [stdout] --> src/vk.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | const Reserved = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RESERVED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SampleCountFlags` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SampleCountFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count1Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | const Count1Bit = 0x00000001; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `COUNT1_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count2Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | const Count2Bit = 0x00000002; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `COUNT2_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count4Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | const Count4Bit = 0x00000004; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `COUNT4_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count8Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | const Count8Bit = 0x00000008; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `COUNT8_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count16Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | const Count16Bit = 0x00000010; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `COUNT16_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count32Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | const Count32Bit = 0x00000020; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `COUNT32_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count64Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | const Count64Bit = 0x00000040; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `COUNT64_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `QueueFlags` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_QueueFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `GraphicsBit` should have an upper case name [INFO] [stdout] --> src/vk.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | const GraphicsBit = 0x00000001; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `GRAPHICS_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ComputeBit` should have an upper case name [INFO] [stdout] --> src/vk.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | const ComputeBit = 0x00000002; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `COMPUTE_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `InstanceCreateFlags` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InstanceCreateFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Reserved` should have an upper case name [INFO] [stdout] --> src/vk.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | const Reserved = 0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `RESERVED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SampleCountFlags` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SampleCountFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count1Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | const Count1Bit = 0x00000001; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `COUNT1_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count2Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | const Count2Bit = 0x00000002; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `COUNT2_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count4Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | const Count4Bit = 0x00000004; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `COUNT4_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count8Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | const Count8Bit = 0x00000008; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `COUNT8_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count16Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | const Count16Bit = 0x00000010; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `COUNT16_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count32Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | const Count32Bit = 0x00000020; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `COUNT32_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `Count64Bit` should have an upper case name [INFO] [stdout] --> src/vk.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | const Count64Bit = 0x00000040; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `COUNT64_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `TransferBit` should have an upper case name [INFO] [stdout] --> src/vk.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | const TransferBit = 0x00000004; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TRANSFER_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `QueueFlags` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_QueueFlags` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `GraphicsBit` should have an upper case name [INFO] [stdout] --> src/vk.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | const GraphicsBit = 0x00000001; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `GRAPHICS_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ComputeBit` should have an upper case name [INFO] [stdout] --> src/vk.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | const ComputeBit = 0x00000002; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `COMPUTE_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `TransferBit` should have an upper case name [INFO] [stdout] --> src/vk.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | const TransferBit = 0x00000004; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TRANSFER_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `SparseBindingBit` should have an upper case name [INFO] [stdout] --> src/vk.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | const SparseBindingBit = 0x00000008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SPARSE_BINDING_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Extend3D` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Extend3D` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `LayerProperties` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LayerProperties` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ExtensionProperties` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ExtensionProperties` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PhysicalDeviceFeatures` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PhysicalDeviceFeatures` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PhysicalDeviceProperties` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PhysicalDeviceProperties` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PhysicalDeviceType` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PhysicalDeviceType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PhysicalDeviceLimits` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PhysicalDeviceLimits` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PhysicalDeviceSparseProperties` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PhysicalDeviceSparseProperties` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `QueueFamilyProperties` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_QueueFamilyProperties` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `SparseBindingBit` should have an upper case name [INFO] [stdout] --> src/vk.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | const SparseBindingBit = 0x00000008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SPARSE_BINDING_BIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Extend3D` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Extend3D` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `LayerProperties` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LayerProperties` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ExtensionProperties` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ExtensionProperties` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PhysicalDeviceFeatures` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PhysicalDeviceFeatures` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `PhysicalDeviceFeatures` does not permit being left uninitialized [INFO] [stdout] --> src/vulkan.rs:201:24 [INFO] [stdout] | [INFO] [stdout] 201 | features = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/vk.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub robust_buffer_access: Bool32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PhysicalDeviceProperties` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PhysicalDeviceProperties` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PhysicalDeviceType` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PhysicalDeviceType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PhysicalDeviceLimits` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PhysicalDeviceLimits` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `PhysicalDeviceProperties` does not permit being left uninitialized [INFO] [stdout] --> src/vulkan.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | properties = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/vk.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | api_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PhysicalDeviceSparseProperties` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_PhysicalDeviceSparseProperties` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vk.rs:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | #[derive(Debug, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `QueueFamilyProperties` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_QueueFamilyProperties` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `PhysicalDeviceFeatures` does not permit being left uninitialized [INFO] [stdout] --> src/vulkan.rs:201:24 [INFO] [stdout] | [INFO] [stdout] 201 | features = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/vk.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | pub robust_buffer_access: Bool32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `PhysicalDeviceProperties` does not permit being left uninitialized [INFO] [stdout] --> src/vulkan.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | properties = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/vk.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | api_version: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.05s [INFO] running `Command { std: "docker" "inspect" "2d106c7b68c005626f387f5ec672deaf9191a9af726fe082c258737ecbd544ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d106c7b68c005626f387f5ec672deaf9191a9af726fe082c258737ecbd544ed", kill_on_drop: false }` [INFO] [stdout] 2d106c7b68c005626f387f5ec672deaf9191a9af726fe082c258737ecbd544ed