[INFO] cloning repository https://github.com/DOhlsson/x-auto-monitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DOhlsson/x-auto-monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDOhlsson%2Fx-auto-monitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDOhlsson%2Fx-auto-monitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66455bff11cf511a3146cc1d17ef9921370451d6 [INFO] checking DOhlsson/x-auto-monitor against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDOhlsson%2Fx-auto-monitor" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DOhlsson/x-auto-monitor on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DOhlsson/x-auto-monitor [INFO] finished tweaking git repo https://github.com/DOhlsson/x-auto-monitor [INFO] tweaked toml for git repo https://github.com/DOhlsson/x-auto-monitor written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DOhlsson/x-auto-monitor 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pkg-config v0.3.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59ca059cdeb325f4b98732ee6d2579b0128fddb44afbb525476bb36ecb301548 [INFO] running `Command { std: "docker" "start" "-a" "59ca059cdeb325f4b98732ee6d2579b0128fddb44afbb525476bb36ecb301548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59ca059cdeb325f4b98732ee6d2579b0128fddb44afbb525476bb36ecb301548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59ca059cdeb325f4b98732ee6d2579b0128fddb44afbb525476bb36ecb301548", kill_on_drop: false }` [INFO] [stdout] 59ca059cdeb325f4b98732ee6d2579b0128fddb44afbb525476bb36ecb301548 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72ab96efef0ee2a61c64182d42f6afbe21022cc253d4d2ca3efd068f4508aed6 [INFO] running `Command { std: "docker" "start" "-a" "72ab96efef0ee2a61c64182d42f6afbe21022cc253d4d2ca3efd068f4508aed6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking udev v0.7.0 [INFO] [stderr] Checking x11rb-protocol v0.11.1 [INFO] [stderr] Checking x11rb v0.11.1 [INFO] [stderr] Checking x-auto-monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_properties` [INFO] [stdout] --> src/randr_util.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let output_properties = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_properties` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom_name` [INFO] [stdout] --> src/randr_util.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let atom_name = String::from_utf8(atom_name.name).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_atom_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modes` [INFO] [stdout] --> src/randr_util.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let modes: Vec = modes.iter().map(|m| m.id).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_modes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/randr_util.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let resource = self.conn.randr_get_screen_resources(self.root)?.reply()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/randr_util.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let res = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/randr_util.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let res = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `output_num`, `name`, `connection`, `mode`, and `edid` are never read [INFO] [stdout] --> src/randr_util.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Output { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | output_num: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | connection: randr::Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | mode: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | edid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` 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: methods `get_all` and `set_best_mode_old` are never used [INFO] [stdout] --> src/randr_util.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Randr { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | fn get_all(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn set_best_mode_old(&self, output: &Output) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_properties` [INFO] [stdout] --> src/randr_util.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let output_properties = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_properties` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom_name` [INFO] [stdout] --> src/randr_util.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let atom_name = String::from_utf8(atom_name.name).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_atom_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modes` [INFO] [stdout] --> src/randr_util.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let modes: Vec = modes.iter().map(|m| m.id).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_modes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/randr_util.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let resource = self.conn.randr_get_screen_resources(self.root)?.reply()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/randr_util.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let res = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/randr_util.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let res = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `output_num`, `name`, `connection`, `mode`, and `edid` are never read [INFO] [stdout] --> src/randr_util.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Output { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | output_num: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | connection: randr::Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | mode: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | edid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` 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: methods `get_all` and `set_best_mode_old` are never used [INFO] [stdout] --> src/randr_util.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Randr { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | fn get_all(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn set_best_mode_old(&self, output: &Output) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.15s [INFO] running `Command { std: "docker" "inspect" "72ab96efef0ee2a61c64182d42f6afbe21022cc253d4d2ca3efd068f4508aed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72ab96efef0ee2a61c64182d42f6afbe21022cc253d4d2ca3efd068f4508aed6", kill_on_drop: false }` [INFO] [stdout] 72ab96efef0ee2a61c64182d42f6afbe21022cc253d4d2ca3efd068f4508aed6 [INFO] checking DOhlsson/x-auto-monitor against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDOhlsson%2Fx-auto-monitor" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DOhlsson/x-auto-monitor on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DOhlsson/x-auto-monitor [INFO] finished tweaking git repo https://github.com/DOhlsson/x-auto-monitor [INFO] tweaked toml for git repo https://github.com/DOhlsson/x-auto-monitor written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DOhlsson/x-auto-monitor 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cac2e8c849e4362c32f7e0acabeb927ce2a7b49a5ce8080e629254b2e8a92501 [INFO] running `Command { std: "docker" "start" "-a" "cac2e8c849e4362c32f7e0acabeb927ce2a7b49a5ce8080e629254b2e8a92501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cac2e8c849e4362c32f7e0acabeb927ce2a7b49a5ce8080e629254b2e8a92501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac2e8c849e4362c32f7e0acabeb927ce2a7b49a5ce8080e629254b2e8a92501", kill_on_drop: false }` [INFO] [stdout] cac2e8c849e4362c32f7e0acabeb927ce2a7b49a5ce8080e629254b2e8a92501 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14b272097a80d1a4273c5c65476a35d1f7bc9775bcaf13b60cdea5f1a58f47dc [INFO] running `Command { std: "docker" "start" "-a" "14b272097a80d1a4273c5c65476a35d1f7bc9775bcaf13b60cdea5f1a58f47dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking udev v0.7.0 [INFO] [stderr] Checking x11rb-protocol v0.11.1 [INFO] [stderr] Checking x11rb v0.11.1 [INFO] [stderr] Checking x-auto-monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_properties` [INFO] [stdout] --> src/randr_util.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let output_properties = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_properties` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom_name` [INFO] [stdout] --> src/randr_util.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let atom_name = String::from_utf8(atom_name.name).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_atom_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modes` [INFO] [stdout] --> src/randr_util.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let modes: Vec = modes.iter().map(|m| m.id).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_modes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/randr_util.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let resource = self.conn.randr_get_screen_resources(self.root)?.reply()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/randr_util.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let res = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/randr_util.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let res = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_properties` [INFO] [stdout] --> src/randr_util.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let output_properties = self [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_properties` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atom_name` [INFO] [stdout] --> src/randr_util.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let atom_name = String::from_utf8(atom_name.name).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_atom_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `output_num`, `name`, `connection`, `mode`, and `edid` are never read [INFO] [stdout] --> src/randr_util.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Output { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | output_num: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | connection: randr::Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | mode: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | edid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` 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: methods `get_all` and `set_best_mode_old` are never used [INFO] [stdout] --> src/randr_util.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Randr { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | fn get_all(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn set_best_mode_old(&self, output: &Output) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modes` [INFO] [stdout] --> src/randr_util.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let modes: Vec = modes.iter().map(|m| m.id).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_modes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource` [INFO] [stdout] --> src/randr_util.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let resource = self.conn.randr_get_screen_resources(self.root)?.reply()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/randr_util.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | let res = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/randr_util.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let res = self [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `output_num`, `name`, `connection`, `mode`, and `edid` are never read [INFO] [stdout] --> src/randr_util.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Output { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | output_num: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | connection: randr::Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | mode: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | edid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` 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: methods `get_all` and `set_best_mode_old` are never used [INFO] [stdout] --> src/randr_util.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Randr { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | fn get_all(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn set_best_mode_old(&self, output: &Output) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.17s [INFO] running `Command { std: "docker" "inspect" "14b272097a80d1a4273c5c65476a35d1f7bc9775bcaf13b60cdea5f1a58f47dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14b272097a80d1a4273c5c65476a35d1f7bc9775bcaf13b60cdea5f1a58f47dc", kill_on_drop: false }` [INFO] [stdout] 14b272097a80d1a4273c5c65476a35d1f7bc9775bcaf13b60cdea5f1a58f47dc