[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 master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashwin-venkatesan%2Fautomate-display-mode" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ashwin-venkatesan/automate-display-mode on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libredox v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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] b8c72f194b57ffd83b358c1f93c38356aba992741516d2dcedb3ec2065b514cf [INFO] running `Command { std: "docker" "start" "b8c72f194b57ffd83b358c1f93c38356aba992741516d2dcedb3ec2065b514cf", 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" "b8c72f194b57ffd83b358c1f93c38356aba992741516d2dcedb3ec2065b514cf" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8c72f194b57ffd83b358c1f93c38356aba992741516d2dcedb3ec2065b514cf", 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" "b8c72f194b57ffd83b358c1f93c38356aba992741516d2dcedb3ec2065b514cf" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rusb v0.9.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking rust-ini v0.20.0 [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 serde v1.0.219 [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] 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] 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 `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] 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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `automate-display-mode` (bin "automate-display-mode") due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b8c72f194b57ffd83b358c1f93c38356aba992741516d2dcedb3ec2065b514cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8c72f194b57ffd83b358c1f93c38356aba992741516d2dcedb3ec2065b514cf", kill_on_drop: false }` [INFO] [stdout] b8c72f194b57ffd83b358c1f93c38356aba992741516d2dcedb3ec2065b514cf