[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] testing quigly/qpl-rs against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquigly%2Fqpl-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/quigly/qpl-rs on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing quigly/qpl-rs against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquigly%2Fqpl-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/quigly/qpl-rs on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42d17a6e1585fee6dd37713bffd7cf6688825a4aca0e3e9ce6710aaab1f377f2 [INFO] running `Command { std: "docker" "start" "-a" "42d17a6e1585fee6dd37713bffd7cf6688825a4aca0e3e9ce6710aaab1f377f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42d17a6e1585fee6dd37713bffd7cf6688825a4aca0e3e9ce6710aaab1f377f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42d17a6e1585fee6dd37713bffd7cf6688825a4aca0e3e9ce6710aaab1f377f2", kill_on_drop: false }` [INFO] [stdout] 42d17a6e1585fee6dd37713bffd7cf6688825a4aca0e3e9ce6710aaab1f377f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a00de537162505dbbac430c3fcf788aafcaebbc2e60c09335360b0d1b74f0e6 [INFO] running `Command { std: "docker" "start" "-a" "8a00de537162505dbbac430c3fcf788aafcaebbc2e60c09335360b0d1b74f0e6", 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] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling 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)]` 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)]` 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::AllocationCallbacks... [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 | pub fn vk_create_surface(&self, entry: &ash::Entry, instance: &ash::Instance, allocation_callbacks: Option<&ash::vk::AllocationCallbacks... [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 | ...ash::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: 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 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [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)]` 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, [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: a dangling pointer will be produced because the temporary `CString` will be dropped [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] | ------------------------------------------------------------------------ ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice [INFO] [stdout] = help: for more information, see [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 6.96s [INFO] running `Command { std: "docker" "inspect" "8a00de537162505dbbac430c3fcf788aafcaebbc2e60c09335360b0d1b74f0e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a00de537162505dbbac430c3fcf788aafcaebbc2e60c09335360b0d1b74f0e6", kill_on_drop: false }` [INFO] [stdout] 8a00de537162505dbbac430c3fcf788aafcaebbc2e60c09335360b0d1b74f0e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94ee29ec329450b84c7fc9e75c1946ed963e19472df7f8cc658757d2935d06ea [INFO] running `Command { std: "docker" "start" "-a" "94ee29ec329450b84c7fc9e75c1946ed963e19472df7f8cc658757d2935d06ea", 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] [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)]` 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)]` 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::AllocationCallbacks... [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 | pub fn vk_create_surface(&self, entry: &ash::Entry, instance: &ash::Instance, allocation_callbacks: Option<&ash::vk::AllocationCallbacks... [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 | ...ash::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: 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 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [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)]` 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, [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: a dangling pointer will be produced because the temporary `CString` will be dropped [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] | ------------------------------------------------------------------------ ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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)]` 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)]` 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::AllocationCallbacks... [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 | pub fn vk_create_surface(&self, entry: &ash::Entry, instance: &ash::Instance, allocation_callbacks: Option<&ash::vk::AllocationCallbacks... [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 | ...ash::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: 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 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [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)]` 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, [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: a dangling pointer will be produced because the temporary `CString` will be dropped [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] | ------------------------------------------------------------------------ ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "94ee29ec329450b84c7fc9e75c1946ed963e19472df7f8cc658757d2935d06ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94ee29ec329450b84c7fc9e75c1946ed963e19472df7f8cc658757d2935d06ea", kill_on_drop: false }` [INFO] [stdout] 94ee29ec329450b84c7fc9e75c1946ed963e19472df7f8cc658757d2935d06ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a9c445bc6f678837666b71bf96edfd1d4bb0af57551a6b2f02a8e40269ee7f65 [INFO] running `Command { std: "docker" "start" "-a" "a9c445bc6f678837666b71bf96edfd1d4bb0af57551a6b2f02a8e40269ee7f65", 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] warning: unused import: `XKeycodeToKeysym` [INFO] [stderr] --> src/linux.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use x11::{*, xlib::{XKeycodeToKeysym, XkbKeycodeToKeysym}}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `mem` [INFO] [stderr] --> src/linux.rs:5:2 [INFO] [stderr] | [INFO] [stderr] 5 | mem, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source` [INFO] [stderr] --> src/linux.rs:25:2 [INFO] [stderr] | [INFO] [stderr] 25 | source: u32, error_type: u32, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/linux.rs:26:2 [INFO] [stderr] | [INFO] [stderr] 26 | id: u32, severity: u32, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `length` [INFO] [stderr] --> src/linux.rs:27:2 [INFO] [stderr] | [INFO] [stderr] 27 | length: i32, message: *const i8, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_param` [INFO] [stderr] --> src/linux.rs:28:2 [INFO] [stderr] | [INFO] [stderr] 28 | user_param: *mut libc::c_void) [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_param` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/linux.rs:62:31 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn is_button_down(&self, button: GamepadButton) -> bool [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/linux.rs:67:29 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn is_button_up(&self, button: GamepadButton) -> bool [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/linux.rs:72:34 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn is_button_pressed(&self, button: GamepadButton) -> bool [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/linux.rs:77:33 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn get_button_state(&self, button: GamepadButton) -> ButtonState [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mode` [INFO] [stderr] --> src/linux.rs:301:32 [INFO] [stderr] | [INFO] [stderr] 301 | fn set_window_mode(&mut self, mode: WindowMode) [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `enabled` [INFO] [stderr] --> src/linux.rs:306:30 [INFO] [stderr] | [INFO] [stderr] 306 | fn set_resizable(&mut self, enabled: bool) [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fb_attribs` [INFO] [stderr] --> src/linux.rs:328:7 [INFO] [stderr] | [INFO] [stderr] 328 | let fb_attribs = [ [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_attribs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entry` [INFO] [stderr] --> src/linux.rs:424:34 [INFO] [stderr] | [INFO] [stderr] 424 | pub fn vk_create_surface(&self, entry: &ash::Entry, instance: &ash::Instance, allocation_callbacks: Option<&ash::vk::AllocationCallbacks... [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `instance` [INFO] [stderr] --> src/linux.rs:424:54 [INFO] [stderr] | [INFO] [stderr] 424 | pub fn vk_create_surface(&self, entry: &ash::Entry, instance: &ash::Instance, allocation_callbacks: Option<&ash::vk::AllocationCallbacks... [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `allocation_callbacks` [INFO] [stderr] --> src/linux.rs:424:80 [INFO] [stderr] | [INFO] [stderr] 424 | ...ash::Instance, allocation_callbacks: Option<&ash::vk::AllocationCallbacks>) -> ash::vk::SurfaceKHR [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocation_callbacks` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fbc` [INFO] [stderr] --> src/linux.rs:515:6 [INFO] [stderr] | [INFO] [stderr] 515 | let fbc = unsafe { glx::glXChooseFBConfig(DISPLAY, screen_id, 0 as _, &mut nelements) }; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_fbc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `depth` [INFO] [stderr] --> src/linux.rs:517:6 [INFO] [stderr] | [INFO] [stderr] 517 | let depth = unsafe { xlib::XDefaultDepth(DISPLAY, screen_id) }; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ms` [INFO] [stderr] --> src/linux.rs:590:14 [INFO] [stderr] | [INFO] [stderr] 590 | pub fn delay(ms: u32) [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ms` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/linux.rs:621:21 [INFO] [stderr] | [INFO] [stderr] 621 | pub fn open_gamepad(index: u32) -> Result [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: field `glx_context` is never read [INFO] [stderr] --> src/linux.rs:39:2 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct GLContext [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 38 | { [INFO] [stderr] 39 | glx_context: glx::GLXContext, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GLContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/linux.rs:187:2 [INFO] [stderr] | [INFO] [stderr] 177 | pub struct Window [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 187 | resizable: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 188 | mode: WindowMode, [INFO] [stderr] | ^^^^ [INFO] [stderr] 189 | event_queue: VecDeque, [INFO] [stderr] 190 | key_modifiers: KeyModifiers, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 191 | last_mouse_x: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 192 | last_mouse_y: i32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 193 | mouse_tracked: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 198 | screen: *mut xlib::Screen, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `set_window_mode` and `set_resizable` are never used [INFO] [stderr] --> src/linux.rs:301:5 [INFO] [stderr] | [INFO] [stderr] 203 | impl Window [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 301 | fn set_window_mode(&mut self, mode: WindowMode) [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 306 | fn set_resizable(&mut self, enabled: bool) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: a dangling pointer will be produced because the temporary `CString` will be dropped [INFO] [stderr] --> src/linux.rs:265:88 [INFO] [stderr] | [INFO] [stderr] 265 | let wm = CString::new("WM_DELETE_WINDOW").expect("If you see this you're fucked").as_ptr(); [INFO] [stderr] | ------------------------------------------------------------------------ ^^^^^^ this pointer will immediately be invalid [INFO] [stderr] | | [INFO] [stderr] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stderr] | [INFO] [stderr] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stderr] = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stderr] = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice [INFO] [stderr] = help: for more information, see [INFO] [stderr] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `qpl` (lib) generated 24 warnings (run `cargo fix --lib -p qpl` to apply 2 suggestions) [INFO] [stderr] warning: `qpl` (lib test) generated 24 warnings (24 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qpl-2c23e6b0d7cc8303) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests qpl [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a9c445bc6f678837666b71bf96edfd1d4bb0af57551a6b2f02a8e40269ee7f65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c445bc6f678837666b71bf96edfd1d4bb0af57551a6b2f02a8e40269ee7f65", kill_on_drop: false }` [INFO] [stdout] a9c445bc6f678837666b71bf96edfd1d4bb0af57551a6b2f02a8e40269ee7f65