[INFO] cloning repository https://github.com/t-mart/monoff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/t-mart/monoff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-mart%2Fmonoff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-mart%2Fmonoff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c74714b2201f0491aa9de4f28cd5a6ca1cd1cb90 [INFO] checking t-mart/monoff against master#a5db378dc14a40dd1580c27fb8362156446382c3 for pr-136490 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-mart%2Fmonoff" "/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/t-mart/monoff on toolchain a5db378dc14a40dd1580c27fb8362156446382c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/t-mart/monoff [INFO] finished tweaking git repo https://github.com/t-mart/monoff [INFO] tweaked toml for git repo https://github.com/t-mart/monoff written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/t-mart/monoff 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" "+a5db378dc14a40dd1580c27fb8362156446382c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fce1188a3b1fcbf7b025de990c4492d3a7db127f30ec93ccd2dad2648fb0d6a [INFO] running `Command { std: "docker" "start" "-a" "2fce1188a3b1fcbf7b025de990c4492d3a7db127f30ec93ccd2dad2648fb0d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fce1188a3b1fcbf7b025de990c4492d3a7db127f30ec93ccd2dad2648fb0d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fce1188a3b1fcbf7b025de990c4492d3a7db127f30ec93ccd2dad2648fb0d6a", kill_on_drop: false }` [INFO] [stdout] 2fce1188a3b1fcbf7b025de990c4492d3a7db127f30ec93ccd2dad2648fb0d6a [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 390470852ae3912c071bf91d5e0a5594a5bf3f9752934c9c0124ea2274f3916b [INFO] running `Command { std: "docker" "start" "-a" "390470852ae3912c071bf91d5e0a5594a5bf3f9752934c9c0124ea2274f3916b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.3 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking windows-targets v0.52.3 [INFO] [stderr] Checking windows-result v0.1.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking windows-core v0.54.0 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Checking windows v0.54.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling winres v0.1.12 [INFO] [stderr] Compiling monoff v0.4.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking clap v4.5.1 [INFO] [stdout] warning: unused imports: `thread::sleep` and `time::Duration` [INFO] [stdout] --> src/main.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{ops::Deref, process::ExitCode, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread::sleep` and `time::Duration` [INFO] [stdout] --> src/main.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{ops::Deref, process::ExitCode, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APPLICATION_NAME` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const APPLICATION_NAME: &str = "monoff"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OFF_MONITORPOWER` is never used [INFO] [stdout] --> src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const OFF_MONITORPOWER: LPARAM = LPARAM(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `turn_off_monitors` is never used [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn turn_off_monitors() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `window_proc` is never used [INFO] [stdout] --> src/main.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | extern "system" fn window_proc( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `exit_code` and `show` are never used [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 120 | impl ClapError<'_> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 121 | fn exit_code(&self) -> ExitCode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn show(&self, message_console: &MessageConsole) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageConsole` is never used [INFO] [stdout] --> src/main.rs:172:6 [INFO] [stdout] | [INFO] [stdout] 172 | enum MessageConsole { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `attach_to_available`, `show_message`, and `show_message_box` are never used [INFO] [stdout] --> src/main.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl MessageConsole { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn attach_to_available() -> MessageConsole { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | fn show_message(&self, message: &str, is_error: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn show_message_box(text: &str, title: &str, error: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APPLICATION_NAME` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const APPLICATION_NAME: &str = "monoff"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OFF_MONITORPOWER` is never used [INFO] [stdout] --> src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const OFF_MONITORPOWER: LPARAM = LPARAM(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `turn_off_monitors` is never used [INFO] [stdout] --> src/main.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn turn_off_monitors() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `window_proc` is never used [INFO] [stdout] --> src/main.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | extern "system" fn window_proc( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `exit_code` and `show` are never used [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 120 | impl ClapError<'_> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 121 | fn exit_code(&self) -> ExitCode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn show(&self, message_console: &MessageConsole) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageConsole` is never used [INFO] [stdout] --> src/main.rs:172:6 [INFO] [stdout] | [INFO] [stdout] 172 | enum MessageConsole { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `attach_to_available`, `show_message`, and `show_message_box` are never used [INFO] [stdout] --> src/main.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 181 | impl MessageConsole { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn attach_to_available() -> MessageConsole { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | fn show_message(&self, message: &str, is_error: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn show_message_box(text: &str, title: &str, error: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.41s [INFO] running `Command { std: "docker" "inspect" "390470852ae3912c071bf91d5e0a5594a5bf3f9752934c9c0124ea2274f3916b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "390470852ae3912c071bf91d5e0a5594a5bf3f9752934c9c0124ea2274f3916b", kill_on_drop: false }` [INFO] [stdout] 390470852ae3912c071bf91d5e0a5594a5bf3f9752934c9c0124ea2274f3916b