[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] building DaMrNelson/xrb against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaMrNelson%2Fxrb" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DaMrNelson/xrb on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b48de38694753bbed4ccecdc564b3fcb5108ed973852f43d9efaa9c70b8ede3b [INFO] running `Command { std: "docker" "start" "-a" "b48de38694753bbed4ccecdc564b3fcb5108ed973852f43d9efaa9c70b8ede3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b48de38694753bbed4ccecdc564b3fcb5108ed973852f43d9efaa9c70b8ede3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b48de38694753bbed4ccecdc564b3fcb5108ed973852f43d9efaa9c70b8ede3b", kill_on_drop: false }` [INFO] [stdout] b48de38694753bbed4ccecdc564b3fcb5108ed973852f43d9efaa9c70b8ede3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0abb1adc31d8c888655666e58ad7ed0c14102a9a54211ddabadf3123874de972 [INFO] running `Command { std: "docker" "start" "-a" "0abb1adc31d8c888655666e58ad7ed0c14102a9a54211ddabadf3123874de972", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bufstream v0.1.3 [INFO] [stderr] Compiling 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)]` 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)]` 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 | ...pixel, save_under, map_is_installed, map_state, override_redirect, colormap, all_event_masks, your_event_mask, do_not_propagate_mask) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_is_installed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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 | ..._under, map_is_installed, map_state, override_redirect, colormap, all_event_masks, your_event_mask, do_not_propagate_mask) = match cli... [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 | ...redirect, 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: 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: 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)]` on by default [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: 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)]` 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 multiple r... [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: unused variable: `bit_plane` [INFO] [stdout] --> src/lib.rs:1694:138 [INFO] [stdout] | [INFO] [stdout] 1694 | ... width: 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "0abb1adc31d8c888655666e58ad7ed0c14102a9a54211ddabadf3123874de972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0abb1adc31d8c888655666e58ad7ed0c14102a9a54211ddabadf3123874de972", kill_on_drop: false }` [INFO] [stdout] 0abb1adc31d8c888655666e58ad7ed0c14102a9a54211ddabadf3123874de972 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6697d13921e37b7c4ceb128ec8d60894093d80ed56ce1b4ac0dc4b21f88054de [INFO] running `Command { std: "docker" "start" "-a" "6697d13921e37b7c4ceb128ec8d60894093d80ed56ce1b4ac0dc4b21f88054de", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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)]` 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)]` 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 | ...pixel, save_under, map_is_installed, map_state, override_redirect, colormap, all_event_masks, your_event_mask, do_not_propagate_mask) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_is_installed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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 | ..._under, map_is_installed, map_state, override_redirect, colormap, all_event_masks, your_event_mask, do_not_propagate_mask) = match cli... [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 | ...redirect, 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: 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: 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)]` on by default [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: 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)]` 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 multiple r... [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: unused variable: `bit_plane` [INFO] [stdout] --> src/lib.rs:1694:138 [INFO] [stdout] | [INFO] [stdout] 1694 | ... width: 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)]` 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] [stderr] Compiling xrb v0.1.0 (/opt/rustwide/workdir) [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)]` 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)]` on by default [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)]` 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)]` 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 | ...pixel, save_under, map_is_installed, map_state, override_redirect, colormap, all_event_masks, your_event_mask, do_not_propagate_mask) ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_is_installed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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 | ..._under, map_is_installed, map_state, override_redirect, colormap, all_event_masks, your_event_mask, do_not_propagate_mask) = match cli... [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 | ...redirect, 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: 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: 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)]` on by default [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: 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)]` 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 multiple r... [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: unused variable: `bit_plane` [INFO] [stdout] --> src/lib.rs:1694:138 [INFO] [stdout] | [INFO] [stdout] 1694 | ... width: 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "6697d13921e37b7c4ceb128ec8d60894093d80ed56ce1b4ac0dc4b21f88054de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6697d13921e37b7c4ceb128ec8d60894093d80ed56ce1b4ac0dc4b21f88054de", kill_on_drop: false }` [INFO] [stdout] 6697d13921e37b7c4ceb128ec8d60894093d80ed56ce1b4ac0dc4b21f88054de