[INFO] cloning repository https://github.com/DaMrNelson/xrb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DaMrNelson/xrb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaMrNelson%2Fxrb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaMrNelson%2Fxrb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29f8d6bff2a329e017b22aee7bc3e0470bf89237 [INFO] checking DaMrNelson/xrb against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaMrNelson%2Fxrb" "/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/DaMrNelson/xrb [INFO] finished tweaking git repo https://github.com/DaMrNelson/xrb [INFO] tweaked toml for git repo https://github.com/DaMrNelson/xrb written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DaMrNelson/xrb on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DaMrNelson/xrb 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `xrb` (manifest) generated 1 warning [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bufstream v0.1.3 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97314fe032d1e9e7f9ba47252ffc1f0222eee989e6b51e9f854eb355e2968469 [INFO] running `Command { std: "docker" "start" "-a" "97314fe032d1e9e7f9ba47252ffc1f0222eee989e6b51e9f854eb355e2968469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97314fe032d1e9e7f9ba47252ffc1f0222eee989e6b51e9f854eb355e2968469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97314fe032d1e9e7f9ba47252ffc1f0222eee989e6b51e9f854eb355e2968469", kill_on_drop: false }` [INFO] [stdout] 97314fe032d1e9e7f9ba47252ffc1f0222eee989e6b51e9f854eb355e2968469 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c38f6485bf08415e9740387b07f2328b4d59e2e63d4243b87c0f28d6db570c1 [INFO] running `Command { std: "docker" "start" "-a" "3c38f6485bf08415e9740387b07f2328b4d59e2e63d4243b87c0f28d6db570c1", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `xrb` (manifest) generated 1 warning [INFO] [stderr] Checking bufstream v0.1.3 [INFO] [stderr] Checking xrb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/xreaderwriter.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/xreaderwriter.rs:557:40 [INFO] [stdout] | [INFO] [stdout] 557 | let present = self.read_bool();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/lib.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{BufWriter, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/xreaderwriter.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/xreaderwriter.rs:557:40 [INFO] [stdout] | [INFO] [stdout] 557 | let present = self.read_bool();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/lib.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{BufWriter, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_is_installed` [INFO] [stdout] --> src/models.rs:916:116 [INFO] [stdout] | [INFO] [stdout] 916 | ...el, save_under, map_is_installed, map_state, override_redirect, colormap, all_event_masks, your_event_mask, do_not_propagate_mas... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_is_installed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_state` [INFO] [stdout] --> src/models.rs:916:134 [INFO] [stdout] | [INFO] [stdout] 916 | ...der, map_is_installed, map_state, override_redirect, colormap, all_event_masks, your_event_mask, do_not_propagate_mask) = match ... [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_event_masks` [INFO] [stdout] --> src/models.rs:916:174 [INFO] [stdout] | [INFO] [stdout] 916 | ...irect, colormap, all_event_masks, your_event_mask, do_not_propagate_mask) = match client.wait_for_response(seq2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_event_masks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/models.rs:1010:43 [INFO] [stdout] | [INFO] [stdout] 1010 | WindowConfigureValue::Sibling(val) => (), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/models.rs:1011:45 [INFO] [stdout] | [INFO] [stdout] 1011 | WindowConfigureValue::StackMode(val) => () [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/models.rs:1025:47 [INFO] [stdout] | [INFO] [stdout] 1025 | WindowConfigureValue::Sibling(val) => (), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/models.rs:1026:49 [INFO] [stdout] | [INFO] [stdout] 1026 | WindowConfigureValue::StackMode(val) => () [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vtype` [INFO] [stdout] --> src/models.rs:1053:17 [INFO] [stdout] | [INFO] [stdout] 1053 | Ok((vtype, value)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/models.rs:1056:25 [INFO] [stdout] | [INFO] [stdout] 1056 | Err(err) => None [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/models.rs:1059:17 [INFO] [stdout] | [INFO] [stdout] 1059 | Err(val) => None [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xreaderwriter.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut len = match format { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_after` [INFO] [stdout] --> src/xreaderwriter.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let bytes_after = self.read_u32(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_is_installed` [INFO] [stdout] --> src/models.rs:916:116 [INFO] [stdout] | [INFO] [stdout] 916 | ...el, save_under, map_is_installed, map_state, override_redirect, colormap, all_event_masks, your_event_mask, do_not_propagate_mas... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_is_installed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_state` [INFO] [stdout] --> src/models.rs:916:134 [INFO] [stdout] | [INFO] [stdout] 916 | ...der, map_is_installed, map_state, override_redirect, colormap, all_event_masks, your_event_mask, do_not_propagate_mask) = match ... [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_event_masks` [INFO] [stdout] --> src/models.rs:916:174 [INFO] [stdout] | [INFO] [stdout] 916 | ...irect, colormap, all_event_masks, your_event_mask, do_not_propagate_mask) = match client.wait_for_response(seq2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_event_masks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/models.rs:1010:43 [INFO] [stdout] | [INFO] [stdout] 1010 | WindowConfigureValue::Sibling(val) => (), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/models.rs:1011:45 [INFO] [stdout] | [INFO] [stdout] 1011 | WindowConfigureValue::StackMode(val) => () [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/models.rs:1025:47 [INFO] [stdout] | [INFO] [stdout] 1025 | WindowConfigureValue::Sibling(val) => (), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/models.rs:1026:49 [INFO] [stdout] | [INFO] [stdout] 1026 | WindowConfigureValue::StackMode(val) => () [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/xreaderwriter.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | let len = self.read_u16(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vtype` [INFO] [stdout] --> src/models.rs:1053:17 [INFO] [stdout] | [INFO] [stdout] 1053 | Ok((vtype, value)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/models.rs:1056:25 [INFO] [stdout] | [INFO] [stdout] 1056 | Err(err) => None [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/models.rs:1059:17 [INFO] [stdout] | [INFO] [stdout] 1059 | Err(val) => None [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/xreaderwriter.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | for i in 0..keycode_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/xreaderwriter.rs:585:17 [INFO] [stdout] | [INFO] [stdout] 585 | for j in 0..keysyms_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 227 | ... ServerReplyType::GetWindowAttributes => reader.read_get_window_attributes_reply(detail), [INFO] [stdout] | ------------------------------------ matches all the relevant values [INFO] [stdout] 228 | ... ServerReplyType::ListFontsWithInfo => reader.read_list_fonts_with_info_reply(detail), [INFO] [stdout] 229 | ... ServerReplyType::GetWindowAttributes => reader.read_get_window_attributes_reply(detail), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 228 | ... ServerReplyType::ListFontsWithInfo => reader.read_list_fonts_with_info_reply(detail), [INFO] [stdout] | ---------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 247 | ... ServerReplyType::ListFontsWithInfo => reader.read_list_fonts_with_info_reply(detail), // Note: One request will generate mult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom` [INFO] [stdout] --> src/lib.rs:645:37 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn get_atom_name(&mut self, atom: u32) -> u16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_atom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pad` [INFO] [stdout] --> src/lib.rs:667:13 [INFO] [stdout] | [INFO] [stdout] 667 | let pad = self.write_dynamic_len(6, data.len()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/xreaderwriter.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let mut len = match format { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_after` [INFO] [stdout] --> src/xreaderwriter.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let bytes_after = self.read_u32(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/xreaderwriter.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | let len = self.read_u16(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/xreaderwriter.rs:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | for i in 0..keycode_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/xreaderwriter.rs:585:17 [INFO] [stdout] | [INFO] [stdout] 585 | for j in 0..keysyms_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit_plane` [INFO] [stdout] --> src/lib.rs:1694:138 [INFO] [stdout] | [INFO] [stdout] 1694 | ...th: u16, height: u16, bit_plane: u32) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 227 | ... ServerReplyType::GetWindowAttributes => reader.read_get_window_attributes_reply(detail), [INFO] [stdout] | ------------------------------------ matches all the relevant values [INFO] [stdout] 228 | ... ServerReplyType::ListFontsWithInfo => reader.read_list_fonts_with_info_reply(detail), [INFO] [stdout] 229 | ... ServerReplyType::GetWindowAttributes => reader.read_get_window_attributes_reply(detail), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:247:37 [INFO] [stdout] | [INFO] [stdout] 228 | ... ServerReplyType::ListFontsWithInfo => reader.read_list_fonts_with_info_reply(detail), [INFO] [stdout] | ---------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 247 | ... ServerReplyType::ListFontsWithInfo => reader.read_list_fonts_with_info_reply(detail), // Note: One request will generate mult... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom` [INFO] [stdout] --> src/lib.rs:645:37 [INFO] [stdout] | [INFO] [stdout] 645 | pub fn get_atom_name(&mut self, atom: u32) -> u16 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_atom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pad` [INFO] [stdout] --> src/lib.rs:667:13 [INFO] [stdout] | [INFO] [stdout] 667 | let pad = self.write_dynamic_len(6, data.len()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_char`, `write_i32`, and `write_val_i32` are never used [INFO] [stdout] --> src/xreaderwriter.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait XBufferedWriter { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn write_char(&mut self, input: char); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn write_i32(&mut self, input: i32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn write_val_i32(&mut self, input: i32); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_char` and `read_raw_buf` are never used [INFO] [stdout] --> src/xreaderwriter.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait XBufferedReader { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 47 | fn read_char(&mut self) -> char; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn read_raw_buf(&mut self, buf: &mut [u8]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ATOM__NET_WM_NAME` should have a snake case name [INFO] [stdout] --> src/models.rs:1063:62 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn get_wm_name_sync(&mut self, client: &mut XClient, ATOM__NET_WM_NAME: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `atom_net_wm_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bit_plane` [INFO] [stdout] --> src/lib.rs:1694:138 [INFO] [stdout] | [INFO] [stdout] 1694 | ...th: u16, height: u16, bit_plane: u32) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bit_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_char`, `write_i32`, and `write_val_i32` are never used [INFO] [stdout] --> src/xreaderwriter.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait XBufferedWriter { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn write_char(&mut self, input: char); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn write_i32(&mut self, input: i32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn write_val_i32(&mut self, input: i32); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_char` and `read_raw_buf` are never used [INFO] [stdout] --> src/xreaderwriter.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait XBufferedReader { [INFO] [stdout] | --------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 47 | fn read_char(&mut self) -> char; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn read_raw_buf(&mut self, buf: &mut [u8]); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ATOM__NET_WM_NAME` should have a snake case name [INFO] [stdout] --> src/models.rs:1063:62 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn get_wm_name_sync(&mut self, client: &mut XClient, ATOM__NET_WM_NAME: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `atom_net_wm_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `white` [INFO] [stdout] --> tests/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let white = client.info.screens[0].white_pixel; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_white` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "3c38f6485bf08415e9740387b07f2328b4d59e2e63d4243b87c0f28d6db570c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c38f6485bf08415e9740387b07f2328b4d59e2e63d4243b87c0f28d6db570c1", kill_on_drop: false }` [INFO] [stdout] 3c38f6485bf08415e9740387b07f2328b4d59e2e63d4243b87c0f28d6db570c1