[INFO] cloning repository https://github.com/brucedo/dust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brucedo/dust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrucedo%2Fdust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrucedo%2Fdust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4c3a419ca0ea9ca2667631a653d3a64fa61d54d [INFO] building brucedo/dust against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrucedo%2Fdust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/brucedo/dust [INFO] finished tweaking git repo https://github.com/brucedo/dust [INFO] tweaked toml for git repo https://github.com/brucedo/dust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brucedo/dust on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/brucedo/dust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cd937fc84192f4e69dfbd2ba46bc183628518d805f67bfd7e9d1a84489bcda4 [INFO] running `Command { std: "docker" "start" "-a" "3cd937fc84192f4e69dfbd2ba46bc183628518d805f67bfd7e9d1a84489bcda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cd937fc84192f4e69dfbd2ba46bc183628518d805f67bfd7e9d1a84489bcda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cd937fc84192f4e69dfbd2ba46bc183628518d805f67bfd7e9d1a84489bcda4", kill_on_drop: false }` [INFO] [stdout] 3cd937fc84192f4e69dfbd2ba46bc183628518d805f67bfd7e9d1a84489bcda4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ecf87a7a51c803a4033a730d7a9d01b239cb2ae43a756e5287e877643e425d4 [INFO] running `Command { std: "docker" "start" "-a" "2ecf87a7a51c803a4033a730d7a9d01b239cb2ae43a756e5287e877643e425d4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling memmap2 v0.8.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling xkbcommon v0.7.0 [INFO] [stderr] Compiling xcb v1.4.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling dust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_transfer_queue_family` [INFO] [stdout] --> src/main.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | use graphics::pools::{get_graphics_queue_family, get_transfer_queue_family}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DependencyFlags`, `DependencyInfo`, `MemoryBarrier2`, `MemoryBarrier`, and `RenderingInfo` [INFO] [stdout] --> src/graphics/render.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | DependencyFlags, DependencyInfo, DescriptorImageInfo, DescriptorSet, DescriptorSetLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | GraphicsPipelineCreateInfo, ImageLayout, ImageView, MemoryBarrier, MemoryBarrier2, Offset2D, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | RenderPass, RenderPassBeginInfo, RenderPassCreateFlags, RenderPassCreateInfo, RenderingInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageMemoryBarrier` [INFO] [stdout] --> src/graphics/transfer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ImageMemoryBarrier, ImageMemoryBarrier2, ImageSubresourceRange, MemoryAllocateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctxt` [INFO] [stdout] --> src/graphics/pools.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn destroy(ctxt: &VkContext) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ctxt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_queue_family` [INFO] [stdout] --> src/graphics/transfer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | target_queue_family: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_queue_family` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_physical_memory_stats` is never used [INFO] [stdout] --> src/main.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn show_physical_memory_stats(vk_ctxt: &VkContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_to_buffer` is never used [INFO] [stdout] --> src/graphics/transfer.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn copy_to_buffer(data: &[T], ctxt: &VkContext, usage: BufferUsageFlags) -> Buffer [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `old_composite_test` is never used [INFO] [stdout] --> src/graphics/render.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn old_composite_test( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shader_type` is never read [INFO] [stdout] --> src/graphics/shaders.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct ShaderWrapper { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub shader_type: ShaderType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_gradient` is never used [INFO] [stdout] --> src/main.rs:349:4 [INFO] [stdout] | [INFO] [stdout] 349 | fn load_gradient(ctxt: &VkContext) -> (DustImage, Semaphore) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dust_errors.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | CreateShaderModuleFailed(Result), [INFO] [stdout] | ------------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DustError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - CreateShaderModuleFailed(Result), [INFO] [stdout] 6 + CreateShaderModuleFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unsafe_get_transfer_queue_family` is never used [INFO] [stdout] --> src/graphics/pools.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn unsafe_get_transfer_queue_family() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_access_flags` is never used [INFO] [stdout] --> src/graphics/transfer.rs:657:4 [INFO] [stdout] | [INFO] [stdout] 657 | fn map_access_flags(layout: ImageLayout) -> AccessFlags2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_header` and `color_block` are never read [INFO] [stdout] --> src/graphics/bitmap.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Bitmap { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | file_header: FileHeader, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | device_independent_header: DeviceIndependentBitmapType, [INFO] [stdout] 8 | color_block: ColorBlockType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `OS22XBitmapHeaderV1ByteArray` is never used [INFO] [stdout] --> src/graphics/bitmap.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | type OS22XBitmapHeaderV1ByteArray = [u8; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/graphics/bitmap.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum DeviceIndependentBitmapType { [INFO] [stdout] | --------------------------- variants in this enum [INFO] [stdout] 86 | Bitmap(BitmapCoreHeader), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | OS22BitmapV1(OS22XBitmapHeaderV1), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 88 | OS22BitmapV2(OS22XBitmapHeaderV2), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 89 | Windows3_1(Windows3_1BitmapHeader), [INFO] [stdout] 90 | AdobeRGB(BitmapV2InfoHeader), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | AdobeRGBA(BitmapV3InfoHeader), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 92 | Windows95(BitmapV4Header), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | Windows98(BitmapV5Header), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceIndependentBitmapType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BottomLeft` and `TopLeft` are never constructed [INFO] [stdout] --> src/graphics/bitmap.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | enum BitmapOrigin { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 110 | BottomLeft, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 111 | TopLeft, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitmapOrigin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `None`, `ErrorDiffusion`, `PANDA`, and `SuperCircle` are never constructed [INFO] [stdout] --> src/graphics/bitmap.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 115 | enum HalftoneAlgorithm { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 116 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 117 | ErrorDiffusion(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 118 | PANDA((u32, u32)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 119 | SuperCircle((u32, u32)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HalftoneAlgorithm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unsafe_get_graphics_queue_family` is never used [INFO] [stdout] --> src/graphics/pools.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn unsafe_get_graphics_queue_family() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/graphics/bitmap.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | struct OS22XBitmapHeaderV1 { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 138 | pub width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 139 | pub height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 140 | pub color_planes: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 141 | pub color_depth: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 142 | pub compression: BmpCompression, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 143 | pub raw_image_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 144 | pub horizontal_resolution: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | pub vertical_resolution: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 146 | pub palette_color_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | pub important_colors_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | pub resolution_units: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | pub origin: BitmapOrigin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 150 | pub halftone: HalftoneAlgorithm, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 151 | pub color_encoding: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 152 | pub application_defined: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OS22XBitmapHeaderV1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics/bitmap.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | RGBAColorBlock(ColorBlockRGBA), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 157 - RGBAColorBlock(ColorBlockRGBA), [INFO] [stdout] 157 + RGBAColorBlock(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RGBColorBlock` is never constructed [INFO] [stdout] --> src/graphics/bitmap.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 155 | enum ColorBlockType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 156 | RGBColorBlock(ColorBlockRGB), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `red_mask`, `green_mask`, `blue_mask`, `alpha_mask`, and `color_table` are never read [INFO] [stdout] --> src/graphics/bitmap.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 160 | struct ColorBlockRGB { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 161 | pub red_mask: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 162 | pub green_mask: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 163 | pub blue_mask: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 164 | pub alpha_mask: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 165 | pub color_table: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alpha_mask` is never read [INFO] [stdout] --> src/graphics/bitmap.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 168 | struct ColorBlockRGBA { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub alpha_mask: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Key` and `ToggleKey` are never constructed [INFO] [stdout] --> src/input/input.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum KeyStroke { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 2 | Key(u32), [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | ToggleKey(u32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Symbol` is never used [INFO] [stdout] --> src/input/input.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Symbol { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrintableSymbols` is never used [INFO] [stdout] --> src/input/input.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum PrintableSymbols { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnprintableSymbols` is never used [INFO] [stdout] --> src/input/input.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum UnprintableSymbols { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/setup/instance.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct VkContext { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 53 | entry: ash::Entry, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | instance: ash::Instance, [INFO] [stdout] 55 | physical_device: PhysicalDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub physical_memory_properties: PhysicalDeviceMemoryProperties, [INFO] [stdout] 57 | physical_ext_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | // device_queue_create_info: Vec>, [INFO] [stdout] 59 | pub graphics_queues: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | graphics_counts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | graphics_priorities: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub transfer_queues: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | transfer_counts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | transfer_priorities: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `match_memory_type` is never used [INFO] [stdout] --> src/setup/instance.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 332 | impl VkContext { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 333 | pub fn match_memory_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_transfer_queues` is never used [INFO] [stdout] --> src/setup/instance.rs:654:4 [INFO] [stdout] | [INFO] [stdout] 654 | fn select_transfer_queues(queue_families: &[QueueFamilyProperties]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_transfer_queue_counts` is never used [INFO] [stdout] --> src/setup/instance.rs:696:4 [INFO] [stdout] | [INFO] [stdout] 696 | fn choose_transfer_queue_counts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_graphics_queues` is never used [INFO] [stdout] --> src/setup/instance.rs:711:4 [INFO] [stdout] | [INFO] [stdout] 711 | fn select_graphics_queues(queue_families: &[QueueFamilyProperties]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_graphics_queue_counts` is never used [INFO] [stdout] --> src/setup/instance.rs:725:4 [INFO] [stdout] | [INFO] [stdout] 725 | fn choose_graphics_queue_counts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_capabilities` is never used [INFO] [stdout] --> src/setup/instance.rs:839:4 [INFO] [stdout] | [INFO] [stdout] 839 | fn test_capabilities(surface_capabilities: &SurfaceCapabilitiesKHR) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `allocate_command_buffer` is never used [INFO] [stdout] --> src/setup/instance.rs:956:4 [INFO] [stdout] | [INFO] [stdout] 956 | fn allocate_command_buffer(command_pool: &CommandPool, device: &ash::Device) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_os2_v1_dib` is never used [INFO] [stdout] --> src/graphics/bitmap.rs:427:4 [INFO] [stdout] | [INFO] [stdout] 427 | fn decode_os2_v1_dib( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_halftone` is never used [INFO] [stdout] --> src/graphics/bitmap.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn decode_halftone(halftone_fields: &[u8]) -> HalftoneAlgorithm { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graphics/render.rs:673:23 [INFO] [stdout] | [INFO] [stdout] 673 | attachment_blend: &[PipelineColorBlendAttachmentState], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 674 | ) -> PipelineColorBlendStateCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 674 | ) -> PipelineColorBlendStateCreateInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/graphics/shaders.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | match SHADERS.set(shaders) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/graphics/shaders.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(shaders) = unsafe { SHADERS.take() } { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/graphics/shaders.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | match unsafe { SHADERS.get() } { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `KeyMapper` is never used [INFO] [stdout] --> src/setup/key_mapper.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait KeyMapper { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `XcbKeyMapper` is never constructed [INFO] [stdout] --> src/setup/xcb_keymapper.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct XcbKeyMapper { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/setup/xcb_keymapper.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(state: xkb::State) -> XcbKeyMapper { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/graphics/swapchain.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | match unsafe { SWAPCHAIN_VIEWS.set(swapchain_views) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/graphics/swapchain.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | let image = match unsafe { SWAPCHAIN_VIEWS.get().unwrap().get(image_index as usize) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/graphics/swapchain.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | let size = SWAPCHAIN_VIEWS.get().unwrap().len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/graphics/swapchain.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | / SWAPCHAIN_VIEWS [INFO] [stdout] 164 | | .get_mut() [INFO] [stdout] | |______________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/setup/instance.rs:406:23 [INFO] [stdout] | [INFO] [stdout] 406 | fn app_info(app_name: &CStr) -> ApplicationInfo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 406 | fn app_info(app_name: &CStr) -> ApplicationInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | hud_file.read_to_end(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = hud_file.read_to_end(&mut buffer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/transfer.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 567 | / ctxt.logical_device [INFO] [stdout] 568 | | .begin_command_buffer(buffer, &begin_info); [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 567 | let _ = ctxt.logical_device [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/setup/xcb_window.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | conn.flush(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 212 | let _ = conn.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/transfer.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | ctxt.logical_device.end_command_buffer(buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 571 | let _ = ctxt.logical_device.end_command_buffer(buffer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/transfer.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | / ctxt.logical_device [INFO] [stdout] 574 | | .queue_submit(queue, &submits, released_fence); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 573 | let _ = ctxt.logical_device [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/transfer.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | / ctxt.logical_device [INFO] [stdout] 633 | | .begin_command_buffer(buffer, &begin_info); [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 632 | let _ = ctxt.logical_device [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/transfer.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | ctxt.logical_device.end_command_buffer(buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 636 | let _ = ctxt.logical_device.end_command_buffer(buffer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/transfer.rs:638:9 [INFO] [stdout] | [INFO] [stdout] 638 | / ctxt.logical_device [INFO] [stdout] 639 | | .queue_submit(queue, &submits, acquired_fence); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 638 | let _ = ctxt.logical_device [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.94s [INFO] running `Command { std: "docker" "inspect" "2ecf87a7a51c803a4033a730d7a9d01b239cb2ae43a756e5287e877643e425d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ecf87a7a51c803a4033a730d7a9d01b239cb2ae43a756e5287e877643e425d4", kill_on_drop: false }` [INFO] [stdout] 2ecf87a7a51c803a4033a730d7a9d01b239cb2ae43a756e5287e877643e425d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0589cc2196b8a8a295ae7365db417088bbf786ad266c823352d6621a2593169c [INFO] running `Command { std: "docker" "start" "-a" "0589cc2196b8a8a295ae7365db417088bbf786ad266c823352d6621a2593169c", kill_on_drop: false }` [INFO] [stderr] Compiling dust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_transfer_queue_family` [INFO] [stdout] --> src/main.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | use graphics::pools::{get_graphics_queue_family, get_transfer_queue_family}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DependencyFlags`, `DependencyInfo`, `MemoryBarrier2`, `MemoryBarrier`, and `RenderingInfo` [INFO] [stdout] --> src/graphics/render.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | DependencyFlags, DependencyInfo, DescriptorImageInfo, DescriptorSet, DescriptorSetLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | GraphicsPipelineCreateInfo, ImageLayout, ImageView, MemoryBarrier, MemoryBarrier2, Offset2D, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | RenderPass, RenderPassBeginInfo, RenderPassCreateFlags, RenderPassCreateInfo, RenderingInfo, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageMemoryBarrier` [INFO] [stdout] --> src/graphics/transfer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ImageMemoryBarrier, ImageMemoryBarrier2, ImageSubresourceRange, MemoryAllocateInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_queue_family` [INFO] [stdout] --> src/graphics/transfer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | target_queue_family: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_queue_family` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctxt` [INFO] [stdout] --> src/graphics/pools.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn destroy(ctxt: &VkContext) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ctxt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_physical_memory_stats` is never used [INFO] [stdout] --> src/main.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn show_physical_memory_stats(vk_ctxt: &VkContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_gradient` is never used [INFO] [stdout] --> src/main.rs:349:4 [INFO] [stdout] | [INFO] [stdout] 349 | fn load_gradient(ctxt: &VkContext) -> (DustImage, Semaphore) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dust_errors.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | CreateShaderModuleFailed(Result), [INFO] [stdout] | ------------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DustError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - CreateShaderModuleFailed(Result), [INFO] [stdout] 6 + CreateShaderModuleFailed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_header` and `color_block` are never read [INFO] [stdout] --> src/graphics/bitmap.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Bitmap { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | file_header: FileHeader, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | device_independent_header: DeviceIndependentBitmapType, [INFO] [stdout] 8 | color_block: ColorBlockType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `OS22XBitmapHeaderV1ByteArray` is never used [INFO] [stdout] --> src/graphics/bitmap.rs:46:6 [INFO] [stdout] | [INFO] [stdout] 46 | type OS22XBitmapHeaderV1ByteArray = [u8; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/graphics/bitmap.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum DeviceIndependentBitmapType { [INFO] [stdout] | --------------------------- variants in this enum [INFO] [stdout] 86 | Bitmap(BitmapCoreHeader), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | OS22BitmapV1(OS22XBitmapHeaderV1), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 88 | OS22BitmapV2(OS22XBitmapHeaderV2), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 89 | Windows3_1(Windows3_1BitmapHeader), [INFO] [stdout] 90 | AdobeRGB(BitmapV2InfoHeader), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | AdobeRGBA(BitmapV3InfoHeader), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 92 | Windows95(BitmapV4Header), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | Windows98(BitmapV5Header), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceIndependentBitmapType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BottomLeft` and `TopLeft` are never constructed [INFO] [stdout] --> src/graphics/bitmap.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | enum BitmapOrigin { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 110 | BottomLeft, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 111 | TopLeft, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitmapOrigin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `None`, `ErrorDiffusion`, `PANDA`, and `SuperCircle` are never constructed [INFO] [stdout] --> src/graphics/bitmap.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 115 | enum HalftoneAlgorithm { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 116 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 117 | ErrorDiffusion(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 118 | PANDA((u32, u32)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 119 | SuperCircle((u32, u32)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HalftoneAlgorithm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/graphics/bitmap.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | struct OS22XBitmapHeaderV1 { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 138 | pub width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 139 | pub height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 140 | pub color_planes: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 141 | pub color_depth: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 142 | pub compression: BmpCompression, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 143 | pub raw_image_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 144 | pub horizontal_resolution: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | pub vertical_resolution: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 146 | pub palette_color_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | pub important_colors_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | pub resolution_units: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | pub origin: BitmapOrigin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 150 | pub halftone: HalftoneAlgorithm, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 151 | pub color_encoding: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 152 | pub application_defined: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OS22XBitmapHeaderV1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics/bitmap.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | RGBAColorBlock(ColorBlockRGBA), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 157 - RGBAColorBlock(ColorBlockRGBA), [INFO] [stdout] 157 + RGBAColorBlock(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RGBColorBlock` is never constructed [INFO] [stdout] --> src/graphics/bitmap.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 155 | enum ColorBlockType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 156 | RGBColorBlock(ColorBlockRGB), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `red_mask`, `green_mask`, `blue_mask`, `alpha_mask`, and `color_table` are never read [INFO] [stdout] --> src/graphics/bitmap.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 160 | struct ColorBlockRGB { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 161 | pub red_mask: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 162 | pub green_mask: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 163 | pub blue_mask: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 164 | pub alpha_mask: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 165 | pub color_table: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alpha_mask` is never read [INFO] [stdout] --> src/graphics/bitmap.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 168 | struct ColorBlockRGBA { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub alpha_mask: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_os2_v1_dib` is never used [INFO] [stdout] --> src/graphics/bitmap.rs:427:4 [INFO] [stdout] | [INFO] [stdout] 427 | fn decode_os2_v1_dib( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_halftone` is never used [INFO] [stdout] --> src/graphics/bitmap.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn decode_halftone(halftone_fields: &[u8]) -> HalftoneAlgorithm { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unsafe_get_transfer_queue_family` is never used [INFO] [stdout] --> src/graphics/pools.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn unsafe_get_transfer_queue_family() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unsafe_get_graphics_queue_family` is never used [INFO] [stdout] --> src/graphics/pools.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn unsafe_get_graphics_queue_family() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `old_composite_test` is never used [INFO] [stdout] --> src/graphics/render.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn old_composite_test( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shader_type` is never read [INFO] [stdout] --> src/graphics/shaders.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct ShaderWrapper { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub shader_type: ShaderType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_to_buffer` is never used [INFO] [stdout] --> src/graphics/transfer.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn copy_to_buffer(data: &[T], ctxt: &VkContext, usage: BufferUsageFlags) -> Buffer [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_access_flags` is never used [INFO] [stdout] --> src/graphics/transfer.rs:657:4 [INFO] [stdout] | [INFO] [stdout] 657 | fn map_access_flags(layout: ImageLayout) -> AccessFlags2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Key` and `ToggleKey` are never constructed [INFO] [stdout] --> src/input/input.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum KeyStroke { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 2 | Key(u32), [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | ToggleKey(u32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Symbol` is never used [INFO] [stdout] --> src/input/input.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Symbol { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrintableSymbols` is never used [INFO] [stdout] --> src/input/input.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum PrintableSymbols { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnprintableSymbols` is never used [INFO] [stdout] --> src/input/input.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum UnprintableSymbols { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/setup/instance.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct VkContext { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 53 | entry: ash::Entry, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | instance: ash::Instance, [INFO] [stdout] 55 | physical_device: PhysicalDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub physical_memory_properties: PhysicalDeviceMemoryProperties, [INFO] [stdout] 57 | physical_ext_names: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | // device_queue_create_info: Vec>, [INFO] [stdout] 59 | pub graphics_queues: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | graphics_counts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | graphics_priorities: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub transfer_queues: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | transfer_counts: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | transfer_priorities: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `match_memory_type` is never used [INFO] [stdout] --> src/setup/instance.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 332 | impl VkContext { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 333 | pub fn match_memory_type( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_transfer_queues` is never used [INFO] [stdout] --> src/setup/instance.rs:654:4 [INFO] [stdout] | [INFO] [stdout] 654 | fn select_transfer_queues(queue_families: &[QueueFamilyProperties]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_transfer_queue_counts` is never used [INFO] [stdout] --> src/setup/instance.rs:696:4 [INFO] [stdout] | [INFO] [stdout] 696 | fn choose_transfer_queue_counts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_graphics_queues` is never used [INFO] [stdout] --> src/setup/instance.rs:711:4 [INFO] [stdout] | [INFO] [stdout] 711 | fn select_graphics_queues(queue_families: &[QueueFamilyProperties]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_graphics_queue_counts` is never used [INFO] [stdout] --> src/setup/instance.rs:725:4 [INFO] [stdout] | [INFO] [stdout] 725 | fn choose_graphics_queue_counts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_capabilities` is never used [INFO] [stdout] --> src/setup/instance.rs:839:4 [INFO] [stdout] | [INFO] [stdout] 839 | fn test_capabilities(surface_capabilities: &SurfaceCapabilitiesKHR) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `allocate_command_buffer` is never used [INFO] [stdout] --> src/setup/instance.rs:956:4 [INFO] [stdout] | [INFO] [stdout] 956 | fn allocate_command_buffer(command_pool: &CommandPool, device: &ash::Device) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `KeyMapper` is never used [INFO] [stdout] --> src/setup/key_mapper.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait KeyMapper { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `XcbKeyMapper` is never constructed [INFO] [stdout] --> src/setup/xcb_keymapper.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct XcbKeyMapper { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> src/setup/xcb_keymapper.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(state: xkb::State) -> XcbKeyMapper { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/graphics/shaders.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | match SHADERS.set(shaders) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/graphics/shaders.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(shaders) = unsafe { SHADERS.take() } { [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/graphics/shaders.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | match unsafe { SHADERS.get() } { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/graphics/render.rs:673:23 [INFO] [stdout] | [INFO] [stdout] 673 | attachment_blend: &[PipelineColorBlendAttachmentState], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 674 | ) -> PipelineColorBlendStateCreateInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 674 | ) -> PipelineColorBlendStateCreateInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/graphics/swapchain.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | match unsafe { SWAPCHAIN_VIEWS.set(swapchain_views) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/graphics/swapchain.rs:122:32 [INFO] [stdout] | [INFO] [stdout] 122 | let image = match unsafe { SWAPCHAIN_VIEWS.get().unwrap().get(image_index as usize) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/graphics/swapchain.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | let size = SWAPCHAIN_VIEWS.get().unwrap().len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/graphics/swapchain.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | / SWAPCHAIN_VIEWS [INFO] [stdout] 164 | | .get_mut() [INFO] [stdout] | |______________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/setup/instance.rs:406:23 [INFO] [stdout] | [INFO] [stdout] 406 | fn app_info(app_name: &CStr) -> ApplicationInfo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 406 | fn app_info(app_name: &CStr) -> ApplicationInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/transfer.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 567 | / ctxt.logical_device [INFO] [stdout] 568 | | .begin_command_buffer(buffer, &begin_info); [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 567 | let _ = ctxt.logical_device [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/transfer.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | ctxt.logical_device.end_command_buffer(buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 571 | let _ = ctxt.logical_device.end_command_buffer(buffer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/transfer.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | / ctxt.logical_device [INFO] [stdout] 574 | | .queue_submit(queue, &submits, released_fence); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 573 | let _ = ctxt.logical_device [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/transfer.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | / ctxt.logical_device [INFO] [stdout] 633 | | .begin_command_buffer(buffer, &begin_info); [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 632 | let _ = ctxt.logical_device [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/transfer.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | ctxt.logical_device.end_command_buffer(buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 636 | let _ = ctxt.logical_device.end_command_buffer(buffer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/graphics/transfer.rs:638:9 [INFO] [stdout] | [INFO] [stdout] 638 | / ctxt.logical_device [INFO] [stdout] 639 | | .queue_submit(queue, &submits, acquired_fence); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 638 | let _ = ctxt.logical_device [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | hud_file.read_to_end(&mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = hud_file.read_to_end(&mut buffer); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/setup/xcb_window.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | conn.flush(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 212 | let _ = conn.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "0589cc2196b8a8a295ae7365db417088bbf786ad266c823352d6621a2593169c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0589cc2196b8a8a295ae7365db417088bbf786ad266c823352d6621a2593169c", kill_on_drop: false }` [INFO] [stdout] 0589cc2196b8a8a295ae7365db417088bbf786ad266c823352d6621a2593169c