[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] testing michaelzoech/vkinfo against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelzoech%2Fvkinfo" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michaelzoech/vkinfo on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-7/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.7.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f554e66641d997e3cf66e00f797efec7922da52b5705becabc29a3c9cbaf4d9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7f554e66641d997e3cf66e00f797efec7922da52b5705becabc29a3c9cbaf4d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f554e66641d997e3cf66e00f797efec7922da52b5705becabc29a3c9cbaf4d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f554e66641d997e3cf66e00f797efec7922da52b5705becabc29a3c9cbaf4d9", kill_on_drop: false }` [INFO] [stdout] 7f554e66641d997e3cf66e00f797efec7922da52b5705becabc29a3c9cbaf4d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e06b13a28c5f758caff522404c1a4ffef33ff0db5d0d4decc4109a60596db1f3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e06b13a28c5f758caff522404c1a4ffef33ff0db5d0d4decc4109a60596db1f3", kill_on_drop: false }` [INFO] [stderr] Compiling linked-hash-map v0.5.0 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling serde_yaml v0.7.3 [INFO] [stderr] Compiling 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` (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` (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` (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] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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: 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: variant is never constructed: `ApplicationInfo` [INFO] [stdout] --> src/vk.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ApplicationInfo = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StructureType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/vk.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MaxEnum` [INFO] [stdout] --> src/vk.rs:58:5 [INFO] [stdout] | [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] --> src/vk.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/vk.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | Other = 0, [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] --> src/vk.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IntegratedGpu` [INFO] [stdout] --> src/vk.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | IntegratedGpu = 1, [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] --> src/vk.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DiscreteGpu` [INFO] [stdout] --> src/vk.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | DiscreteGpu = 2, [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] --> src/vk.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VirtualGpu` [INFO] [stdout] --> src/vk.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | VirtualGpu = 3, [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] --> src/vk.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cpu` [INFO] [stdout] --> src/vk.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | Cpu = 4, [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] --> src/vk.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MaxEnum` [INFO] [stdout] --> src/vk.rs:297:5 [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] --> src/vk.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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: 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 `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: 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: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/vk.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | / pub enum PhysicalDeviceType { [INFO] [stdout] 292 | | Other = 0, [INFO] [stdout] 293 | | IntegratedGpu = 1, [INFO] [stdout] 294 | | DiscreteGpu = 2, [INFO] [stdout] ... | [INFO] [stdout] 297 | | MaxEnum = 0x7fffffff, [INFO] [stdout] 298 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.01s [INFO] running `Command { std: "docker" "inspect" "e06b13a28c5f758caff522404c1a4ffef33ff0db5d0d4decc4109a60596db1f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e06b13a28c5f758caff522404c1a4ffef33ff0db5d0d4decc4109a60596db1f3", kill_on_drop: false }` [INFO] [stdout] e06b13a28c5f758caff522404c1a4ffef33ff0db5d0d4decc4109a60596db1f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fe80076f6416c6225afb9ba0d5eb5db7e809dada4480991f51f718681297693f [INFO] running `Command { std: "docker" "start" "-a" "fe80076f6416c6225afb9ba0d5eb5db7e809dada4480991f51f718681297693f", kill_on_drop: false }` [INFO] [stderr] Compiling 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` (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` (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` (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] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 78 | | } [INFO] [stdout] 79 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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: 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: variant is never constructed: `ApplicationInfo` [INFO] [stdout] --> src/vk.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ApplicationInfo = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StructureType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/vk.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MaxEnum` [INFO] [stdout] --> src/vk.rs:58:5 [INFO] [stdout] | [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] --> src/vk.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/vk.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | Other = 0, [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] --> src/vk.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IntegratedGpu` [INFO] [stdout] --> src/vk.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | IntegratedGpu = 1, [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] --> src/vk.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DiscreteGpu` [INFO] [stdout] --> src/vk.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | DiscreteGpu = 2, [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] --> src/vk.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VirtualGpu` [INFO] [stdout] --> src/vk.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | VirtualGpu = 3, [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] --> src/vk.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Cpu` [INFO] [stdout] --> src/vk.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | Cpu = 4, [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] --> src/vk.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MaxEnum` [INFO] [stdout] --> src/vk.rs:297:5 [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] --> src/vk.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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: 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 `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: 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: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/vk.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | / pub enum PhysicalDeviceType { [INFO] [stdout] 292 | | Other = 0, [INFO] [stdout] 293 | | IntegratedGpu = 1, [INFO] [stdout] 294 | | DiscreteGpu = 2, [INFO] [stdout] ... | [INFO] [stdout] 297 | | MaxEnum = 0x7fffffff, [INFO] [stdout] 298 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.67s [INFO] running `Command { std: "docker" "inspect" "fe80076f6416c6225afb9ba0d5eb5db7e809dada4480991f51f718681297693f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe80076f6416c6225afb9ba0d5eb5db7e809dada4480991f51f718681297693f", kill_on_drop: false }` [INFO] [stdout] fe80076f6416c6225afb9ba0d5eb5db7e809dada4480991f51f718681297693f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 552a3ffe658ddedf5031468b90bfd9b1ef31d3a8eaf34eb202a5c51561481a33 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "552a3ffe658ddedf5031468b90bfd9b1ef31d3a8eaf34eb202a5c51561481a33", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/vk.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | / bitflags! { [INFO] [stderr] 62 | | #[derive(Serialize)] [INFO] [stderr] 63 | | pub struct InstanceCreateFlags: u32 { [INFO] [stderr] 64 | | const Reserved = 0; [INFO] [stderr] 65 | | } [INFO] [stderr] 66 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/vk.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | / bitflags! { [INFO] [stderr] 62 | | #[derive(Serialize)] [INFO] [stderr] 63 | | pub struct InstanceCreateFlags: u32 { [INFO] [stderr] 64 | | const Reserved = 0; [INFO] [stderr] 65 | | } [INFO] [stderr] 66 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/vk.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / bitflags! { [INFO] [stderr] 69 | | #[derive(Serialize)] [INFO] [stderr] 70 | | pub struct SampleCountFlags: u32 { [INFO] [stderr] 71 | | const Count1Bit = 0x00000001; [INFO] [stderr] ... | [INFO] [stderr] 78 | | } [INFO] [stderr] 79 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/vk.rs:81:1 [INFO] [stderr] | [INFO] [stderr] 81 | / bitflags! { [INFO] [stderr] 82 | | #[derive(Serialize)] [INFO] [stderr] 83 | | pub struct QueueFlags: u32 { [INFO] [stderr] 84 | | const GraphicsBit = 0x00000001; [INFO] [stderr] ... | [INFO] [stderr] 88 | | } [INFO] [stderr] 89 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `Default` [INFO] [stderr] --> src/vulkan.rs:2:20 [INFO] [stderr] | [INFO] [stderr] 2 | use std::default::{Default}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/vulkan.rs:201:29 [INFO] [stderr] | [INFO] [stderr] 201 | features = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/vulkan.rs:210:31 [INFO] [stderr] | [INFO] [stderr] 210 | properties = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ApplicationInfo` [INFO] [stderr] --> src/vk.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | ApplicationInfo = 0, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `StructureType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/vk.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MaxEnum` [INFO] [stderr] --> src/vk.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | MaxEnum = 0x7fffffff, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StructureType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/vk.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Other` [INFO] [stderr] --> src/vk.rs:292:5 [INFO] [stderr] | [INFO] [stderr] 292 | Other = 0, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PhysicalDeviceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/vk.rs:290:10 [INFO] [stderr] | [INFO] [stderr] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IntegratedGpu` [INFO] [stderr] --> src/vk.rs:293:5 [INFO] [stderr] | [INFO] [stderr] 293 | IntegratedGpu = 1, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PhysicalDeviceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/vk.rs:290:10 [INFO] [stderr] | [INFO] [stderr] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DiscreteGpu` [INFO] [stderr] --> src/vk.rs:294:5 [INFO] [stderr] | [INFO] [stderr] 294 | DiscreteGpu = 2, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PhysicalDeviceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/vk.rs:290:10 [INFO] [stderr] | [INFO] [stderr] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `VirtualGpu` [INFO] [stderr] --> src/vk.rs:295:5 [INFO] [stderr] | [INFO] [stderr] 295 | VirtualGpu = 3, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PhysicalDeviceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/vk.rs:290:10 [INFO] [stderr] | [INFO] [stderr] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Cpu` [INFO] [stderr] --> src/vk.rs:296:5 [INFO] [stderr] | [INFO] [stderr] 296 | Cpu = 4, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PhysicalDeviceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/vk.rs:290:10 [INFO] [stderr] | [INFO] [stderr] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `MaxEnum` [INFO] [stderr] --> src/vk.rs:297:5 [INFO] [stderr] | [INFO] [stderr] 297 | MaxEnum = 0x7fffffff, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PhysicalDeviceType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/vk.rs:290:10 [INFO] [stderr] | [INFO] [stderr] 290 | #[derive(Debug, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant `Reserved` should have an upper case name [INFO] [stderr] --> src/vk.rs:64:15 [INFO] [stderr] | [INFO] [stderr] 64 | const Reserved = 0; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `RESERVED` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated constant `Count1Bit` should have an upper case name [INFO] [stderr] --> src/vk.rs:71:15 [INFO] [stderr] | [INFO] [stderr] 71 | const Count1Bit = 0x00000001; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `COUNT1_BIT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Count2Bit` should have an upper case name [INFO] [stderr] --> src/vk.rs:72:15 [INFO] [stderr] | [INFO] [stderr] 72 | const Count2Bit = 0x00000002; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `COUNT2_BIT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Count4Bit` should have an upper case name [INFO] [stderr] --> src/vk.rs:73:15 [INFO] [stderr] | [INFO] [stderr] 73 | const Count4Bit = 0x00000004; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `COUNT4_BIT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Count8Bit` should have an upper case name [INFO] [stderr] --> src/vk.rs:74:15 [INFO] [stderr] | [INFO] [stderr] 74 | const Count8Bit = 0x00000008; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper case: `COUNT8_BIT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Count16Bit` should have an upper case name [INFO] [stderr] --> src/vk.rs:75:15 [INFO] [stderr] | [INFO] [stderr] 75 | const Count16Bit = 0x00000010; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `COUNT16_BIT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Count32Bit` should have an upper case name [INFO] [stderr] --> src/vk.rs:76:15 [INFO] [stderr] | [INFO] [stderr] 76 | const Count32Bit = 0x00000020; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `COUNT32_BIT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `Count64Bit` should have an upper case name [INFO] [stderr] --> src/vk.rs:77:15 [INFO] [stderr] | [INFO] [stderr] 77 | const Count64Bit = 0x00000040; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `COUNT64_BIT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `GraphicsBit` should have an upper case name [INFO] [stderr] --> src/vk.rs:84:15 [INFO] [stderr] | [INFO] [stderr] 84 | const GraphicsBit = 0x00000001; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `GRAPHICS_BIT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `ComputeBit` should have an upper case name [INFO] [stderr] --> src/vk.rs:85:15 [INFO] [stderr] | [INFO] [stderr] 85 | const ComputeBit = 0x00000002; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `COMPUTE_BIT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `TransferBit` should have an upper case name [INFO] [stderr] --> src/vk.rs:86:15 [INFO] [stderr] | [INFO] [stderr] 86 | const TransferBit = 0x00000004; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TRANSFER_BIT` [INFO] [stderr] [INFO] [stderr] warning: associated constant `SparseBindingBit` should have an upper case name [INFO] [stderr] --> src/vk.rs:87:15 [INFO] [stderr] | [INFO] [stderr] 87 | const SparseBindingBit = 0x00000008; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SPARSE_BINDING_BIT` [INFO] [stderr] [INFO] [stderr] warning: the type `PhysicalDeviceProperties` does not permit being left uninitialized [INFO] [stderr] --> src/vulkan.rs:210:26 [INFO] [stderr] | [INFO] [stderr] 210 | properties = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] note: enums have to be initialized to a variant [INFO] [stderr] --> src/vk.rs:291:1 [INFO] [stderr] | [INFO] [stderr] 291 | / pub enum PhysicalDeviceType { [INFO] [stderr] 292 | | Other = 0, [INFO] [stderr] 293 | | IntegratedGpu = 1, [INFO] [stderr] 294 | | DiscreteGpu = 2, [INFO] [stderr] ... | [INFO] [stderr] 297 | | MaxEnum = 0x7fffffff, [INFO] [stderr] 298 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: `vkinfo` (bin "vkinfo" test) generated 33 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/vkinfo-5bfa3f14252505ab) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "552a3ffe658ddedf5031468b90bfd9b1ef31d3a8eaf34eb202a5c51561481a33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552a3ffe658ddedf5031468b90bfd9b1ef31d3a8eaf34eb202a5c51561481a33", kill_on_drop: false }` [INFO] [stdout] 552a3ffe658ddedf5031468b90bfd9b1ef31d3a8eaf34eb202a5c51561481a33