[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] building t-mart/monoff against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-mart%2Fmonoff" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/t-mart/monoff on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-4-tc2/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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46636bf87971cb5ba98cac719f79e5c4549ac5b53e129d724e3fbca5f41ea466 [INFO] running `Command { std: "docker" "start" "-a" "46636bf87971cb5ba98cac719f79e5c4549ac5b53e129d724e3fbca5f41ea466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46636bf87971cb5ba98cac719f79e5c4549ac5b53e129d724e3fbca5f41ea466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46636bf87971cb5ba98cac719f79e5c4549ac5b53e129d724e3fbca5f41ea466", kill_on_drop: false }` [INFO] [stdout] 46636bf87971cb5ba98cac719f79e5c4549ac5b53e129d724e3fbca5f41ea466 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75d90a21ca58246f3afe6424084c485201e673f67d91a6850ecb6a3ca2931417 [INFO] running `Command { std: "docker" "start" "-a" "75d90a21ca58246f3afe6424084c485201e673f67d91a6850ecb6a3ca2931417", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling windows-targets v0.52.3 [INFO] [stderr] Compiling windows-result v0.1.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling windows-core v0.54.0 [INFO] [stderr] Compiling clap_builder v4.5.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Compiling 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] Compiling 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: 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 8.44s [INFO] running `Command { std: "docker" "inspect" "75d90a21ca58246f3afe6424084c485201e673f67d91a6850ecb6a3ca2931417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75d90a21ca58246f3afe6424084c485201e673f67d91a6850ecb6a3ca2931417", kill_on_drop: false }` [INFO] [stdout] 75d90a21ca58246f3afe6424084c485201e673f67d91a6850ecb6a3ca2931417 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40f3c6aa4e1aab34eb1a1cea5f216c6f6cb38da61dc7d471c7dc482840c240cd [INFO] running `Command { std: "docker" "start" "-a" "40f3c6aa4e1aab34eb1a1cea5f216c6f6cb38da61dc7d471c7dc482840c240cd", kill_on_drop: false }` [INFO] [stderr] Compiling monoff v0.4.7 (/opt/rustwide/workdir) [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "40f3c6aa4e1aab34eb1a1cea5f216c6f6cb38da61dc7d471c7dc482840c240cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40f3c6aa4e1aab34eb1a1cea5f216c6f6cb38da61dc7d471c7dc482840c240cd", kill_on_drop: false }` [INFO] [stdout] 40f3c6aa4e1aab34eb1a1cea5f216c6f6cb38da61dc7d471c7dc482840c240cd