[INFO] cloning repository https://github.com/prasannavl/waldo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prasannavl/waldo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasannavl%2Fwaldo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasannavl%2Fwaldo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] da14978833e92ca45147bf3955eacbd5031d44bd
[INFO] checking prasannavl/waldo against 4d7c0cd298ace72490220301fa543d63a154f8ce for pr-164789
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprasannavl%2Fwaldo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/prasannavl/waldo
[INFO] finished tweaking git repo https://github.com/prasannavl/waldo
[INFO] tweaked toml for git repo https://github.com/prasannavl/waldo written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/prasannavl/waldo on toolchain 4d7c0cd298ace72490220301fa543d63a154f8ce
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/prasannavl/waldo 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" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `waldo` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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 thread_local v0.3.4
[INFO] [stderr]   Downloaded regex-syntax v0.4.1
[INFO] [stderr]   Downloaded memchr v1.0.1
[INFO] [stderr]   Downloaded redox_syscall v0.1.30
[INFO] [stderr]   Downloaded num-iter v0.1.34
[INFO] [stderr]   Downloaded vec_map v0.8.0
[INFO] [stderr]   Downloaded term_size v0.3.0
[INFO] [stderr]   Downloaded textwrap v0.7.0
[INFO] [stderr]   Downloaded num-integer v0.1.35
[INFO] [stderr]   Downloaded strsim v0.6.0
[INFO] [stderr]   Downloaded ansi_term v0.9.0
[INFO] [stderr]   Downloaded unicode-width v0.1.4
[INFO] [stderr]   Downloaded time v0.1.38
[INFO] [stderr]   Downloaded num-traits v0.1.40
[INFO] [stderr]   Downloaded num v0.1.40
[INFO] [stderr]   Downloaded aho-corasick v0.6.3
[INFO] [stderr]   Downloaded unicode-segmentation v1.2.0
[INFO] [stderr]   Downloaded chrono v0.4.0
[INFO] [stderr]   Downloaded regex v0.2.2
[INFO] [stderr]   Downloaded clap v2.26.0
[INFO] [stderr]   Downloaded atty v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f648e7bf9f2e95111c66d278c20824ae3f4ad21ae76508a773b72799f2756c6d
[INFO] running `Command { std: "docker" "start" "f648e7bf9f2e95111c66d278c20824ae3f4ad21ae76508a773b72799f2756c6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f648e7bf9f2e95111c66d278c20824ae3f4ad21ae76508a773b72799f2756c6d", 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" "f648e7bf9f2e95111c66d278c20824ae3f4ad21ae76508a773b72799f2756c6d" "/opt/rustwide/cargo-home/bin/cargo" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f648e7bf9f2e95111c66d278c20824ae3f4ad21ae76508a773b72799f2756c6d", 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" "f648e7bf9f2e95111c66d278c20824ae3f4ad21ae76508a773b72799f2756c6d" "/opt/rustwide/cargo-home/bin/cargo" "+4d7c0cd298ace72490220301fa543d63a154f8ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `waldo` (manifest) generated 1 warning
[INFO] [stderr]     Checking libc v0.2.29
[INFO] [stderr]     Checking num-traits v0.1.40
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling user32-sys v0.2.0
[INFO] [stderr]    Compiling ole32-sys v0.2.0
[INFO] [stderr]     Checking lazy_static v0.2.8
[INFO] [stderr]     Checking unicode-width v0.1.4
[INFO] [stderr]     Checking regex-syntax v0.4.1
[INFO] [stderr]     Checking unicode-segmentation v1.2.0
[INFO] [stderr]     Checking vec_map v0.8.0
[INFO] [stderr]     Checking utf8-ranges v1.0.0
[INFO] [stderr]     Checking ansi_term v0.9.0
[INFO] [stderr]     Checking bitflags v0.9.1
[INFO] [stderr]     Checking strsim v0.6.0
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking thread_local v0.3.4
[INFO] [stderr]     Checking term_size v0.3.0
[INFO] [stderr]     Checking memchr v1.0.1
[INFO] [stderr]     Checking time v0.1.38
[INFO] [stderr]     Checking atty v0.2.2
[INFO] [stderr]     Checking aho-corasick v0.6.3
[INFO] [stderr]     Checking textwrap v0.7.0
[INFO] [stderr]     Checking num-integer v0.1.35
[INFO] [stderr]     Checking clap v2.26.0
[INFO] [stderr]     Checking num-iter v0.1.34
[INFO] [stderr]     Checking num v0.1.40
[INFO] [stderr]     Checking chrono v0.4.0
[INFO] [stderr]     Checking regex v0.2.2
[INFO] [stderr]     Checking waldo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleWindow` in crate `kernel32`
[INFO] [stdout]  --> src/windows/api.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let handle = kernel32::GetConsoleWindow();
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in crate `kernel32`
[INFO] [stdout]   --> src/windows/api.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |         kernel32::SetConsoleMode(handle as *mut raw::c_void, 0x0200);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in crate `winapi`
[INFO] [stdout]   --> src/windows/api.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let hwnd = -1 as isize as winapi::HWND;
[INFO] [stdout]    |                                           ^^^^ not found in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in crate `winapi`
[INFO] [stdout]   --> src/windows/api.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let v = 2 as winapi::LPARAM;
[INFO] [stdout]    |                              ^^^^^^ not found in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendNotifyMessageW` in crate `user32`
[INFO] [stdout]   --> src/windows/api.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |         user32::SendNotifyMessageW(hwnd, winapi::WM_SYSCOMMAND, winapi::SC_MONITORPOWER, v);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in crate `winapi`
[INFO] [stdout]   --> src/windows/api.rs:18:50
[INFO] [stdout]    |
[INFO] [stdout] 18 |         user32::SendNotifyMessageW(hwnd, winapi::WM_SYSCOMMAND, winapi::SC_MONITORPOWER, v);
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^ not found in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SC_MONITORPOWER` in crate `winapi`
[INFO] [stdout]   --> src/windows/api.rs:18:73
[INFO] [stdout]    |
[INFO] [stdout] 18 |         user32::SendNotifyMessageW(hwnd, winapi::WM_SYSCOMMAND, winapi::SC_MONITORPOWER, v);
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^ not found in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `linux`
[INFO] [stdout]   --> src/lib.rs:80:7
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[cfg(linux)]
[INFO] [stdout]    |       ^^^^^ help: found config with similar value: `target_os = "linux"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 34 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_platform_commands` in this scope
[INFO] [stdout]   --> src/lib.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |     v.extend(get_platform_commands());
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/lib.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[cfg(windows)]
[INFO] [stdout]    |       ------- the item is gated here
[INFO] [stdout] 72 | fn get_platform_commands<'a>() -> Vec<App<'a, 'a>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/lib.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[cfg(linux)]
[INFO] [stdout]    |       ----- the item is gated here
[INFO] [stdout] 81 | fn get_platform_commands<'a>() -> Vec<App<'a, 'a>>{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `waldo` (lib) due to 8 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetConsoleWindow` in crate `kernel32`
[INFO] [stdout]  --> src/windows/api.rs:9:32
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let handle = kernel32::GetConsoleWindow();
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in crate `kernel32`
[INFO] [stdout]   --> src/windows/api.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |         kernel32::SetConsoleMode(handle as *mut raw::c_void, 0x0200);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^ not found in `kernel32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in crate `winapi`
[INFO] [stdout]   --> src/windows/api.rs:16:43
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let hwnd = -1 as isize as winapi::HWND;
[INFO] [stdout]    |                                           ^^^^ not found in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `LPARAM` in crate `winapi`
[INFO] [stdout]   --> src/windows/api.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let v = 2 as winapi::LPARAM;
[INFO] [stdout]    |                              ^^^^^^ not found in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendNotifyMessageW` in crate `user32`
[INFO] [stdout]   --> src/windows/api.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |         user32::SendNotifyMessageW(hwnd, winapi::WM_SYSCOMMAND, winapi::SC_MONITORPOWER, v);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ not found in `user32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WM_SYSCOMMAND` in crate `winapi`
[INFO] [stdout]   --> src/windows/api.rs:18:50
[INFO] [stdout]    |
[INFO] [stdout] 18 |         user32::SendNotifyMessageW(hwnd, winapi::WM_SYSCOMMAND, winapi::SC_MONITORPOWER, v);
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^ not found in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SC_MONITORPOWER` in crate `winapi`
[INFO] [stdout]   --> src/windows/api.rs:18:73
[INFO] [stdout]    |
[INFO] [stdout] 18 |         user32::SendNotifyMessageW(hwnd, winapi::WM_SYSCOMMAND, winapi::SC_MONITORPOWER, v);
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^^^ not found in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `linux`
[INFO] [stdout]   --> src/lib.rs:80:7
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[cfg(linux)]
[INFO] [stdout]    |       ^^^^^ help: found config with similar value: `target_os = "linux"`
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 34 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_platform_commands` in this scope
[INFO] [stdout]   --> src/lib.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 |     v.extend(get_platform_commands());
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/lib.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[cfg(windows)]
[INFO] [stdout]    |       ------- the item is gated here
[INFO] [stdout] 72 | fn get_platform_commands<'a>() -> Vec<App<'a, 'a>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/lib.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[cfg(linux)]
[INFO] [stdout]    |       ----- the item is gated here
[INFO] [stdout] 81 | fn get_platform_commands<'a>() -> Vec<App<'a, 'a>>{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `waldo` (lib test) due to 8 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f648e7bf9f2e95111c66d278c20824ae3f4ad21ae76508a773b72799f2756c6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f648e7bf9f2e95111c66d278c20824ae3f4ad21ae76508a773b72799f2756c6d", kill_on_drop: false }`
[INFO] [stdout] f648e7bf9f2e95111c66d278c20824ae3f4ad21ae76508a773b72799f2756c6d
