[INFO] cloning repository https://github.com/quigly/qpl-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quigly/qpl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquigly%2Fqpl-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquigly%2Fqpl-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ddb855e3cc046aee5b7e1304f7d2cba038bf4c5e
[INFO] checking quigly/qpl-rs against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquigly%2Fqpl-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/quigly/qpl-rs
[INFO] finished tweaking git repo https://github.com/quigly/qpl-rs
[INFO] tweaked toml for git repo https://github.com/quigly/qpl-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/quigly/qpl-rs on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/quigly/qpl-rs 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: version requirement `0.37.0+1.3.209` for dependency `ash` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded x11 v2.20.0
[INFO] [stderr]   Downloaded libc v0.2.135
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 92669d39aca523811b918cfcfcda9b06bd423b1e22db49485225e6babac83c21
[INFO] running `Command { std: "docker" "start" "-a" "92669d39aca523811b918cfcfcda9b06bd423b1e22db49485225e6babac83c21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92669d39aca523811b918cfcfcda9b06bd423b1e22db49485225e6babac83c21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92669d39aca523811b918cfcfcda9b06bd423b1e22db49485225e6babac83c21", kill_on_drop: false }`
[INFO] [stdout] 92669d39aca523811b918cfcfcda9b06bd423b1e22db49485225e6babac83c21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 83baea14a0f6f0d344c55c0ade64f917220b589121f52b98a6a2a3845bb9b483
[INFO] running `Command { std: "docker" "start" "-a" "83baea14a0f6f0d344c55c0ade64f917220b589121f52b98a6a2a3845bb9b483", kill_on_drop: false }`
[INFO] [stderr] warning: version requirement `0.37.0+1.3.209` for dependency `ash` includes semver metadata which will be ignored, removing the metadata is recommended to avoid confusion
[INFO] [stderr]    Compiling libc v0.2.135
[INFO] [stderr]    Compiling ash v0.37.0+1.3.209
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling x11 v2.20.0
[INFO] [stderr]     Checking libloading v0.7.3
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]     Checking qpl v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `XKeycodeToKeysym`
[INFO] [stdout]  --> src/linux.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use x11::{*, xlib::{XKeycodeToKeysym, XkbKeycodeToKeysym}};
[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 import: `mem`
[INFO] [stdout]  --> src/linux.rs:5:2
[INFO] [stdout]   |
[INFO] [stdout] 5 |     mem,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `XKeycodeToKeysym`
[INFO] [stdout]  --> src/linux.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use x11::{*, xlib::{XKeycodeToKeysym, XkbKeycodeToKeysym}};
[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 import: `mem`
[INFO] [stdout]  --> src/linux.rs:5:2
[INFO] [stdout]   |
[INFO] [stdout] 5 |     mem,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/linux.rs:25:2
[INFO] [stdout]    |
[INFO] [stdout] 25 |     source: u32, error_type: u32,
[INFO] [stdout]    |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/linux.rs:26:2
[INFO] [stdout]    |
[INFO] [stdout] 26 |     id: u32, severity: u32,
[INFO] [stdout]    |     ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]   --> src/linux.rs:27:2
[INFO] [stdout]    |
[INFO] [stdout] 27 |     length: i32, message: *const i8,
[INFO] [stdout]    |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_param`
[INFO] [stdout]   --> src/linux.rs:28:2
[INFO] [stdout]    |
[INFO] [stdout] 28 |     user_param: *mut libc::c_void)
[INFO] [stdout]    |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]   --> src/linux.rs:62:31
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn is_button_down(&self, button: GamepadButton) -> bool
[INFO] [stdout]    |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]   --> src/linux.rs:67:29
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn is_button_up(&self, button: GamepadButton) -> bool
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]   --> src/linux.rs:72:34
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn is_button_pressed(&self, button: GamepadButton) -> bool
[INFO] [stdout]    |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]   --> src/linux.rs:77:33
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn get_button_state(&self, button: GamepadButton) -> ButtonState
[INFO] [stdout]    |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]    --> src/linux.rs:301:32
[INFO] [stdout]     |
[INFO] [stdout] 301 |     fn set_window_mode(&mut self, mode: WindowMode)
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enabled`
[INFO] [stdout]    --> src/linux.rs:306:30
[INFO] [stdout]     |
[INFO] [stdout] 306 |     fn set_resizable(&mut self, enabled: bool)
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fb_attribs`
[INFO] [stdout]    --> src/linux.rs:328:7
[INFO] [stdout]     |
[INFO] [stdout] 328 |         let fb_attribs = [
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_attribs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]    --> src/linux.rs:424:34
[INFO] [stdout]     |
[INFO] [stdout] 424 |     pub fn vk_create_surface(&self, entry: &ash::Entry, instance: &ash::Instance, allocation_callbacks: Option<&ash::vk::Allocation...
[INFO] [stdout]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instance`
[INFO] [stdout]    --> src/linux.rs:424:54
[INFO] [stdout]     |
[INFO] [stdout] 424 | ...lf, entry: &ash::Entry, instance: &ash::Instance, allocation_callbacks: Option<&ash::vk::AllocationCallbacks>) -> ash::vk::Surfa...
[INFO] [stdout]     |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `allocation_callbacks`
[INFO] [stdout]    --> src/linux.rs:424:80
[INFO] [stdout]     |
[INFO] [stdout] 424 | ...::Instance, allocation_callbacks: Option<&ash::vk::AllocationCallbacks>) -> ash::vk::SurfaceKHR
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocation_callbacks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fbc`
[INFO] [stdout]    --> src/linux.rs:515:6
[INFO] [stdout]     |
[INFO] [stdout] 515 |     let fbc = unsafe { glx::glXChooseFBConfig(DISPLAY, screen_id, 0 as _, &mut nelements) };
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_fbc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout]    --> src/linux.rs:517:6
[INFO] [stdout]     |
[INFO] [stdout] 517 |     let depth = unsafe { xlib::XDefaultDepth(DISPLAY, screen_id) };
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `window_attributes` is assigned to, but never used
[INFO] [stdout]    --> src/linux.rs:520:6
[INFO] [stdout]     |
[INFO] [stdout] 520 |     let mut window_attributes: xlib::XSetWindowAttributes = unsafe { std::mem::zeroed() };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_window_attributes` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `window_attributes` is never read
[INFO] [stdout]    --> src/linux.rs:521:2
[INFO] [stdout]     |
[INFO] [stdout] 521 | /     window_attributes.event_mask =
[INFO] [stdout] 522 | |         xlib::StructureNotifyMask | xlib::KeyPressMask | xlib::KeyReleaseMask |
[INFO] [stdout] 523 | |         xlib::PointerMotionMask | xlib::ButtonPressMask | xlib::ButtonReleaseMask |
[INFO] [stdout] 524 | |         xlib::ExposureMask | xlib::FocusChangeMask | xlib::VisibilityChangeMask |
[INFO] [stdout] 525 | |         xlib::EnterWindowMask | xlib::LeaveWindowMask | xlib::PropertyChangeMask;
[INFO] [stdout]     | |________________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `window_attributes` is never read
[INFO] [stdout]    --> src/linux.rs:526:2
[INFO] [stdout]     |
[INFO] [stdout] 526 |     window_attributes.colormap = cmap;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ms`
[INFO] [stdout]    --> src/linux.rs:590:14
[INFO] [stdout]     |
[INFO] [stdout] 590 | pub fn delay(ms: u32)
[INFO] [stdout]     |              ^^ help: if this is intentional, prefix it with an underscore: `_ms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/linux.rs:621:21
[INFO] [stdout]     |
[INFO] [stdout] 621 | pub fn open_gamepad(index: u32) -> Result<Gamepad, GamepadError>
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]   --> src/linux.rs:25:2
[INFO] [stdout]    |
[INFO] [stdout] 25 |     source: u32, error_type: u32,
[INFO] [stdout]    |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/linux.rs:26:2
[INFO] [stdout]    |
[INFO] [stdout] 26 |     id: u32, severity: u32,
[INFO] [stdout]    |     ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length`
[INFO] [stdout]   --> src/linux.rs:27:2
[INFO] [stdout]    |
[INFO] [stdout] 27 |     length: i32, message: *const i8,
[INFO] [stdout]    |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_param`
[INFO] [stdout]   --> src/linux.rs:28:2
[INFO] [stdout]    |
[INFO] [stdout] 28 |     user_param: *mut libc::c_void)
[INFO] [stdout]    |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_param`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]   --> src/linux.rs:62:31
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn is_button_down(&self, button: GamepadButton) -> bool
[INFO] [stdout]    |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]   --> src/linux.rs:67:29
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn is_button_up(&self, button: GamepadButton) -> bool
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]   --> src/linux.rs:72:34
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub fn is_button_pressed(&self, button: GamepadButton) -> bool
[INFO] [stdout]    |                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]   --> src/linux.rs:77:33
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn get_button_state(&self, button: GamepadButton) -> ButtonState
[INFO] [stdout]    |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]    --> src/linux.rs:301:32
[INFO] [stdout]     |
[INFO] [stdout] 301 |     fn set_window_mode(&mut self, mode: WindowMode)
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enabled`
[INFO] [stdout]    --> src/linux.rs:306:30
[INFO] [stdout]     |
[INFO] [stdout] 306 |     fn set_resizable(&mut self, enabled: bool)
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fb_attribs`
[INFO] [stdout]    --> src/linux.rs:328:7
[INFO] [stdout]     |
[INFO] [stdout] 328 |         let fb_attribs = [
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_attribs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]    --> src/linux.rs:424:34
[INFO] [stdout]     |
[INFO] [stdout] 424 |     pub fn vk_create_surface(&self, entry: &ash::Entry, instance: &ash::Instance, allocation_callbacks: Option<&ash::vk::Allocation...
[INFO] [stdout]     |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instance`
[INFO] [stdout]    --> src/linux.rs:424:54
[INFO] [stdout]     |
[INFO] [stdout] 424 | ...lf, entry: &ash::Entry, instance: &ash::Instance, allocation_callbacks: Option<&ash::vk::AllocationCallbacks>) -> ash::vk::Surfa...
[INFO] [stdout]     |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `allocation_callbacks`
[INFO] [stdout]    --> src/linux.rs:424:80
[INFO] [stdout]     |
[INFO] [stdout] 424 | ...::Instance, allocation_callbacks: Option<&ash::vk::AllocationCallbacks>) -> ash::vk::SurfaceKHR
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocation_callbacks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `glx_context` is never read
[INFO] [stdout]   --> src/linux.rs:39:2
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct GLContext
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 38 | {
[INFO] [stdout] 39 |     glx_context: glx::GLXContext,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GLContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/linux.rs:187:2
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub struct Window
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 187 |     resizable: bool,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 188 |     mode: WindowMode,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 189 |     event_queue: VecDeque<Event>,
[INFO] [stdout] 190 |     key_modifiers: KeyModifiers,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 191 |     last_mouse_x: i32,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 192 |     last_mouse_y: i32,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 193 |     mouse_tracked: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     screen: *mut xlib::Screen,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_window_mode` and `set_resizable` are never used
[INFO] [stdout]    --> src/linux.rs:301:5
[INFO] [stdout]     |
[INFO] [stdout] 203 | impl Window
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 301 |     fn set_window_mode(&mut self, mode: WindowMode)
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     fn set_resizable(&mut self, enabled: bool)
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fbc`
[INFO] [stdout]    --> src/linux.rs:515:6
[INFO] [stdout]     |
[INFO] [stdout] 515 |     let fbc = unsafe { glx::glXChooseFBConfig(DISPLAY, screen_id, 0 as _, &mut nelements) };
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_fbc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout]    --> src/linux.rs:517:6
[INFO] [stdout]     |
[INFO] [stdout] 517 |     let depth = unsafe { xlib::XDefaultDepth(DISPLAY, screen_id) };
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `window_attributes` is assigned to, but never used
[INFO] [stdout]    --> src/linux.rs:520:6
[INFO] [stdout]     |
[INFO] [stdout] 520 |     let mut window_attributes: xlib::XSetWindowAttributes = unsafe { std::mem::zeroed() };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_window_attributes` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `window_attributes` is never read
[INFO] [stdout]    --> src/linux.rs:521:2
[INFO] [stdout]     |
[INFO] [stdout] 521 | /     window_attributes.event_mask =
[INFO] [stdout] 522 | |         xlib::StructureNotifyMask | xlib::KeyPressMask | xlib::KeyReleaseMask |
[INFO] [stdout] 523 | |         xlib::PointerMotionMask | xlib::ButtonPressMask | xlib::ButtonReleaseMask |
[INFO] [stdout] 524 | |         xlib::ExposureMask | xlib::FocusChangeMask | xlib::VisibilityChangeMask |
[INFO] [stdout] 525 | |         xlib::EnterWindowMask | xlib::LeaveWindowMask | xlib::PropertyChangeMask;
[INFO] [stdout]     | |________________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `window_attributes` is never read
[INFO] [stdout]    --> src/linux.rs:526:2
[INFO] [stdout]     |
[INFO] [stdout] 526 |     window_attributes.colormap = cmap;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ms`
[INFO] [stdout]    --> src/linux.rs:590:14
[INFO] [stdout]     |
[INFO] [stdout] 590 | pub fn delay(ms: u32)
[INFO] [stdout]     |              ^^ help: if this is intentional, prefix it with an underscore: `_ms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/linux.rs:621:21
[INFO] [stdout]     |
[INFO] [stdout] 621 | pub fn open_gamepad(index: u32) -> Result<Gamepad, GamepadError>
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]    --> src/linux.rs:265:88
[INFO] [stdout]     |
[INFO] [stdout] 265 |                     let wm = CString::new("WM_DELETE_WINDOW").expect("If you see this you're fucked").as_ptr();
[INFO] [stdout]     |                              ------------------------------------------------------------------------ ^^^^^^ pointer created here
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this `CString` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]     = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `glx_context` is never read
[INFO] [stdout]   --> src/linux.rs:39:2
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct GLContext
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 38 | {
[INFO] [stdout] 39 |     glx_context: glx::GLXContext,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GLContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/linux.rs:187:2
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub struct Window
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 187 |     resizable: bool,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 188 |     mode: WindowMode,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 189 |     event_queue: VecDeque<Event>,
[INFO] [stdout] 190 |     key_modifiers: KeyModifiers,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] 191 |     last_mouse_x: i32,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 192 |     last_mouse_y: i32,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 193 |     mouse_tracked: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     screen: *mut xlib::Screen,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_window_mode` and `set_resizable` are never used
[INFO] [stdout]    --> src/linux.rs:301:5
[INFO] [stdout]     |
[INFO] [stdout] 203 | impl Window
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 301 |     fn set_window_mode(&mut self, mode: WindowMode)
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     fn set_resizable(&mut self, enabled: bool)
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this creates a dangling pointer because temporary `CString` is dropped at end of statement
[INFO] [stdout]    --> src/linux.rs:265:88
[INFO] [stdout]     |
[INFO] [stdout] 265 |                     let wm = CString::new("WM_DELETE_WINDOW").expect("If you see this you're fucked").as_ptr();
[INFO] [stdout]     |                              ------------------------------------------------------------------------ ^^^^^^ pointer created here
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              this `CString` is dropped at end of statement
[INFO] [stdout]     |
[INFO] [stdout]     = help: bind the `CString` to a variable such that it outlives the pointer returned by `as_ptr`
[INFO] [stdout]     = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]     = note: returning a pointer to a local variable will always result in a dangling pointer
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]     = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.84s
[INFO] running `Command { std: "docker" "inspect" "83baea14a0f6f0d344c55c0ade64f917220b589121f52b98a6a2a3845bb9b483", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83baea14a0f6f0d344c55c0ade64f917220b589121f52b98a6a2a3845bb9b483", kill_on_drop: false }`
[INFO] [stdout] 83baea14a0f6f0d344c55c0ade64f917220b589121f52b98a6a2a3845bb9b483
