[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-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelzoech%2Fvkinfo" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michaelzoech/vkinfo on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-19/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-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2a1b929bfb5b39dad7ecf0a58024b30863ac92f0526f69f891e7a3943fe03a8 [INFO] running `Command { std: "docker" "start" "-a" "a2a1b929bfb5b39dad7ecf0a58024b30863ac92f0526f69f891e7a3943fe03a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2a1b929bfb5b39dad7ecf0a58024b30863ac92f0526f69f891e7a3943fe03a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2a1b929bfb5b39dad7ecf0a58024b30863ac92f0526f69f891e7a3943fe03a8", kill_on_drop: false }` [INFO] [stdout] a2a1b929bfb5b39dad7ecf0a58024b30863ac92f0526f69f891e7a3943fe03a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3d468afd397922bc5a3f8aeab00319637f0d24e7a9e8128f3edbcf6952549c7 [INFO] running `Command { std: "docker" "start" "-a" "b3d468afd397922bc5a3f8aeab00319637f0d24e7a9e8128f3edbcf6952549c7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling linked-hash-map v0.5.0 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling 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] 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 5.84s [INFO] running `Command { std: "docker" "inspect" "b3d468afd397922bc5a3f8aeab00319637f0d24e7a9e8128f3edbcf6952549c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3d468afd397922bc5a3f8aeab00319637f0d24e7a9e8128f3edbcf6952549c7", kill_on_drop: false }` [INFO] [stdout] b3d468afd397922bc5a3f8aeab00319637f0d24e7a9e8128f3edbcf6952549c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abf0c4c4e3e3e5b25b1695b4c766aab01db602a3b0ea342d06b1c3d1b95324ef [INFO] running `Command { std: "docker" "start" "-a" "abf0c4c4e3e3e5b25b1695b4c766aab01db602a3b0ea342d06b1c3d1b95324ef", 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 0.73s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/vkinfo-5bfa3f14252505ab) [INFO] running `Command { std: "docker" "inspect" "abf0c4c4e3e3e5b25b1695b4c766aab01db602a3b0ea342d06b1c3d1b95324ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf0c4c4e3e3e5b25b1695b4c766aab01db602a3b0ea342d06b1c3d1b95324ef", kill_on_drop: false }` [INFO] [stdout] abf0c4c4e3e3e5b25b1695b4c766aab01db602a3b0ea342d06b1c3d1b95324ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c1d3719918c20c3b9f40db32b5b2aa41da1de939f610b96cd06b3512f2bc3e29 [INFO] running `Command { std: "docker" "start" "-a" "c1d3719918c20c3b9f40db32b5b2aa41da1de939f610b96cd06b3512f2bc3e29", 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.01s [INFO] [stderr] Running unittests src/main.rs (/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" "c1d3719918c20c3b9f40db32b5b2aa41da1de939f610b96cd06b3512f2bc3e29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1d3719918c20c3b9f40db32b5b2aa41da1de939f610b96cd06b3512f2bc3e29", kill_on_drop: false }` [INFO] [stdout] c1d3719918c20c3b9f40db32b5b2aa41da1de939f610b96cd06b3512f2bc3e29