[INFO] cloning repository https://github.com/ashwin-venkatesan/automate-display-mode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashwin-venkatesan/automate-display-mode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwin-venkatesan%2Fautomate-display-mode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwin-venkatesan%2Fautomate-display-mode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 73adbaff5551303ef78b492c115b30bae87d0263
[INFO] checking ashwin-venkatesan/automate-display-mode against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwin-venkatesan%2Fautomate-display-mode" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ashwin-venkatesan/automate-display-mode
[INFO] finished tweaking git repo https://github.com/ashwin-venkatesan/automate-display-mode
[INFO] tweaked toml for git repo https://github.com/ashwin-venkatesan/automate-display-mode written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ashwin-venkatesan/automate-display-mode on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ashwin-venkatesan/automate-display-mode 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" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 701148c54c3735b0ef774c9411a45d95198c46c845251b4200f62f56f75ce23a
[INFO] running `Command { std: "docker" "start" "701148c54c3735b0ef774c9411a45d95198c46c845251b4200f62f56f75ce23a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "701148c54c3735b0ef774c9411a45d95198c46c845251b4200f62f56f75ce23a" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "701148c54c3735b0ef774c9411a45d95198c46c845251b4200f62f56f75ce23a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "701148c54c3735b0ef774c9411a45d95198c46c845251b4200f62f56f75ce23a" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking anstyle-query v1.1.3
[INFO] [stderr]     Checking anstyle v1.0.11
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling rusb v0.9.4
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking clap_lex v0.7.5
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking clap_builder v4.5.41
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]    Compiling libusb1-sys v0.7.0
[INFO] [stderr]     Checking simplelog v0.12.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]     Checking clap v4.5.41
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking automate-display-mode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]   --> src/app.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::winuser::{mouse_event, MOUSEEVENTF_MOVE};
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use uinput::event::controller::Controller::Mouse;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     use uinput::event::controller::Mouse::Left;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     use uinput::event::relative::Position::X;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     use uinput::event::relative::Relative::Position;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     use uinput::event::Event::{Controller, Relative};
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SwitchDirection`
[INFO] [stdout]  --> src/app.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::configuration::{Configuration, SwitchDirection};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wake_displays`
[INFO] [stdout]   --> src/app.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::platform::{wake_displays, PnPDetect};
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time`
[INFO] [stdout]   --> src/app.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{thread, time};
[INFO] [stdout]    |           ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]   --> src/app.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::winuser::{mouse_event, MOUSEEVENTF_MOVE};
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use uinput::event::controller::Controller::Mouse;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     use uinput::event::controller::Mouse::Left;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     use uinput::event::relative::Position::X;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     use uinput::event::relative::Relative::Position;
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     use uinput::event::Event::{Controller, Relative};
[INFO] [stdout]    |         ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:46:22
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut device = uinput::default()?
[INFO] [stdout]    |                      ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::Parser`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SwitchDirection`
[INFO] [stdout]  --> src/app.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::configuration::{Configuration, SwitchDirection};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wake_displays`
[INFO] [stdout]   --> src/app.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::platform::{wake_displays, PnPDetect};
[INFO] [stdout]    |                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time`
[INFO] [stdout]   --> src/app.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{thread, time};
[INFO] [stdout]    |           ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `automate-display-mode` (bin "automate-display-mode") due to 7 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find module or crate `uinput` in this scope
[INFO] [stdout]   --> src/platform/wake_displays.rs:46:22
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut device = uinput::default()?
[INFO] [stdout]    |                      ^^^^^^ use of unresolved module or unlinked crate `uinput`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `uinput`, use `cargo add uinput` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `automate-display-mode` (bin "automate-display-mode" test) due to 7 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "701148c54c3735b0ef774c9411a45d95198c46c845251b4200f62f56f75ce23a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "701148c54c3735b0ef774c9411a45d95198c46c845251b4200f62f56f75ce23a", kill_on_drop: false }`
[INFO] [stdout] 701148c54c3735b0ef774c9411a45d95198c46c845251b4200f62f56f75ce23a
