[INFO] cloning repository https://github.com/MeloenCoding/win32-d3d11 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MeloenCoding/win32-d3d11" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeloenCoding%2Fwin32-d3d11", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeloenCoding%2Fwin32-d3d11'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d468901a362606610268b5a80d682a1eaa1cf9f8 [INFO] checking MeloenCoding/win32-d3d11/d468901a362606610268b5a80d682a1eaa1cf9f8 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeloenCoding%2Fwin32-d3d11" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MeloenCoding/win32-d3d11 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MeloenCoding/win32-d3d11 [INFO] finished tweaking git repo https://github.com/MeloenCoding/win32-d3d11 [INFO] tweaked toml for git repo https://github.com/MeloenCoding/win32-d3d11 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MeloenCoding/win32-d3d11 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded directx_math v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a2295b893e0208984c806aa692ab11e98983efc6395a3d11bbce981cf4e0186 [INFO] running `Command { std: "docker" "start" "-a" "9a2295b893e0208984c806aa692ab11e98983efc6395a3d11bbce981cf4e0186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a2295b893e0208984c806aa692ab11e98983efc6395a3d11bbce981cf4e0186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a2295b893e0208984c806aa692ab11e98983efc6395a3d11bbce981cf4e0186", kill_on_drop: false }` [INFO] [stdout] 9a2295b893e0208984c806aa692ab11e98983efc6395a3d11bbce981cf4e0186 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5004c90a3b9dba48f494c2569413987f85d8a1b8e35e5a66729cb8108cedb97 [INFO] running `Command { std: "docker" "start" "-a" "c5004c90a3b9dba48f494c2569413987f85d8a1b8e35e5a66729cb8108cedb97", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.0 [INFO] [stderr] Compiling directx_math v0.2.2 [INFO] [stderr] Checking windows-targets v0.48.0 [INFO] [stderr] Checking windows v0.48.0 [INFO] [stderr] Checking win32-d3d11 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `D3D11_CPU_ACCESS_READ` and `D3D11_DEPTH_WRITE_MASK` [INFO] [stdout] --> src/window/graphics.rs:22:182 [INFO] [stdout] | [INFO] [stdout] 22 | ...UFFER, D3D11_CPU_ACCESS_WRITE, D3D11_CPU_ACCESS_READ, D3D11_DEPTH_STENCIL_DESC, D3D11_DEPTH_WRITE_MASK, D3D11_DEPTH_WRITE_MASK_ALL, D3... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::loc` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::loc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::errors` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::window::errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::graphics::FLOAT3` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::window::graphics::FLOAT3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_BIND_VERTEX_BUFFER` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Graphics::Direct3D11::D3D11_BIND_VERTEX_BUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_CPU_ACCESS_FLAG` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Graphics::Direct3D11::D3D11_CPU_ACCESS_FLAG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_RESOURCE_MISC_FLAG` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::Graphics::Direct3D11::D3D11_RESOURCE_MISC_FLAG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_USAGE_DEFAULT` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Graphics::Direct3D11::D3D11_USAGE_DEFAULT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `D3D11_CPU_ACCESS_READ` and `D3D11_DEPTH_WRITE_MASK` [INFO] [stdout] --> src/window/graphics.rs:22:182 [INFO] [stdout] | [INFO] [stdout] 22 | ...UFFER, D3D11_CPU_ACCESS_WRITE, D3D11_CPU_ACCESS_READ, D3D11_DEPTH_STENCIL_DESC, D3D11_DEPTH_WRITE_MASK, D3D11_DEPTH_WRITE_MASK_ALL, D3... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::loc` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::loc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::errors` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::window::errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::graphics::FLOAT3` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::window::graphics::FLOAT3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_BIND_VERTEX_BUFFER` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Graphics::Direct3D11::D3D11_BIND_VERTEX_BUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_CPU_ACCESS_FLAG` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Graphics::Direct3D11::D3D11_CPU_ACCESS_FLAG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_RESOURCE_MISC_FLAG` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::Graphics::Direct3D11::D3D11_RESOURCE_MISC_FLAG; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_USAGE_DEFAULT` [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Graphics::Direct3D11::D3D11_USAGE_DEFAULT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | keyboard: unsafe { &mut io::KEYBOARD }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 232 | keyboard: unsafe { addr_of_mut!(io::KEYBOARD) }, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | keyboard: unsafe { &mut io::KEYBOARD }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 232 | keyboard: unsafe { addr_of_mut!(io::KEYBOARD) }, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:233:29 [INFO] [stdout] | [INFO] [stdout] 233 | mouse: unsafe { &mut io::MOUSE }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 233 | mouse: unsafe { addr_of_mut!(io::MOUSE) }, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/window.rs:233:29 [INFO] [stdout] | [INFO] [stdout] 233 | mouse: unsafe { &mut io::MOUSE }, [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 233 | mouse: unsafe { addr_of_mut!(io::MOUSE) }, [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instance`, `class_name`, `atom`, and `class` are never read [INFO] [stdout] --> src/window.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Window<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 74 | pub instance: HMODULE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | pub class_name: PCSTR, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 76 | pub atom: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub class: WNDCLASSEXA, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instance`, `class_name`, `atom`, and `class` are never read [INFO] [stdout] --> src/window.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Window<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 74 | pub instance: HMODULE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | pub class_name: PCSTR, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 76 | pub atom: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub class: WNDCLASSEXA, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `column` is never read [INFO] [stdout] --> src/window/errors.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CallLocation { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub column: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallLocation` 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 `column` is never read [INFO] [stdout] --> src/window/errors.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CallLocation { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub column: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallLocation` 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 `origin` is never read [INFO] [stdout] --> src/window/errors/window.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct WindowError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 3 | pub details: String, [INFO] [stdout] 4 | pub origin: super::CallLocation, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowError` 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 `origin` is never read [INFO] [stdout] --> src/window/errors/window.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct WindowError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 3 | pub details: String, [INFO] [stdout] 4 | pub origin: super::CallLocation, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WindowError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> src/window/graphics.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct FLOAT3 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 61 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 62 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 63 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> src/window/graphics.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct FLOAT3 { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 61 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 62 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 63 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, `b`, and `a` are never read [INFO] [stdout] --> src/window/graphics.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct RGBA { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 67 | r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 68 | g: f32, [INFO] [stdout] | ^ [INFO] [stdout] 69 | b: f32, [INFO] [stdout] | ^ [INFO] [stdout] 70 | a: f32 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, `b`, and `a` are never read [INFO] [stdout] --> src/window/graphics.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct RGBA { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 67 | r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 68 | g: f32, [INFO] [stdout] | ^ [INFO] [stdout] 69 | b: f32, [INFO] [stdout] | ^ [INFO] [stdout] 70 | a: f32 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `rgba_norm` and `draw_sample_text` are never used [INFO] [stdout] --> src/window/graphics.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Graphics { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | fn rgba_norm(r: u8, g: u8, b: u8, a: f32) -> [f32; 4] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn draw_sample_text(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `rgba_norm` and `draw_sample_text` are never used [INFO] [stdout] --> src/window/graphics.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl Graphics { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | fn rgba_norm(r: u8, g: u8, b: u8, a: f32) -> [f32; 4] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn draw_sample_text(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VertexBuffer` is never constructed [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct VertexBuffer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VertexBuffer` is never constructed [INFO] [stdout] --> src/window/graphics/bindable/vertexbuffer.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct VertexBuffer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key_state` and `key_code` are never read [INFO] [stdout] --> src/window/keyboard.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct KeyEvent { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 27 | pub key_state: KeyState, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | pub key_code: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key_state` and `key_code` are never read [INFO] [stdout] --> src/window/keyboard.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct KeyEvent { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 27 | pub key_state: KeyState, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 28 | pub key_code: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mouse_state`, `left_pressed`, `right_pressed`, `wheel_pressed`, `x`, and `y` are never read [INFO] [stdout] --> src/window/mouse.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MouseEvent { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | pub mouse_state: MouseState, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub left_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub right_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub wheel_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub x: i16, [INFO] [stdout] | ^ [INFO] [stdout] 23 | pub y: i16, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `MouseEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mouse_state`, `left_pressed`, `right_pressed`, `wheel_pressed`, `x`, and `y` are never read [INFO] [stdout] --> src/window/mouse.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MouseEvent { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | pub mouse_state: MouseState, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub left_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | pub right_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub wheel_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub x: i16, [INFO] [stdout] | ^ [INFO] [stdout] 23 | pub y: i16, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `MouseEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `cb2` should have an upper case name [INFO] [stdout] --> src/window/graphics.rs:376:15 [INFO] [stdout] | [INFO] [stdout] 376 | const cb2: CB2 = CB2 { [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `CB2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `cb2` should have an upper case name [INFO] [stdout] --> src/window/graphics.rs:376:15 [INFO] [stdout] | [INFO] [stdout] 376 | const cb2: CB2 = CB2 { [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `CB2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.10s [INFO] running `Command { std: "docker" "inspect" "c5004c90a3b9dba48f494c2569413987f85d8a1b8e35e5a66729cb8108cedb97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5004c90a3b9dba48f494c2569413987f85d8a1b8e35e5a66729cb8108cedb97", kill_on_drop: false }` [INFO] [stdout] c5004c90a3b9dba48f494c2569413987f85d8a1b8e35e5a66729cb8108cedb97