[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 try#f27166d4c64dc29edc5ea3214357f191edf8b635 for pr-148329 [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 f27166d4c64dc29edc5ea3214357f191edf8b635 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "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" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking prasannavl/waldo against try#f27166d4c64dc29edc5ea3214357f191edf8b635 for pr-148329 [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 f27166d4c64dc29edc5ea3214357f191edf8b635 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "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" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 user32-sys v0.2.0 [INFO] [stderr] Downloaded ole32-sys v0.2.0 [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] [stderr] Downloaded atty v0.2.2 [INFO] [stderr] Downloaded memchr v1.0.1 [INFO] [stderr] Downloaded redox_syscall v0.1.30 [INFO] [stderr] Downloaded aho-corasick v0.6.3 [INFO] [stderr] Downloaded term_size v0.3.0 [INFO] [stderr] Downloaded textwrap v0.7.0 [INFO] [stderr] Downloaded lazy_static v0.2.8 [INFO] [stderr] Downloaded unicode-segmentation v1.2.0 [INFO] [stderr] Downloaded regex-syntax v0.4.1 [INFO] [stderr] Downloaded clap v2.26.0 [INFO] [stderr] Downloaded regex v0.2.2 [INFO] [stderr] Downloaded libc v0.2.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ad909290a011e21cb036b45ea69668841d54c62c3c4a2aeb8a19409701d9e80 [INFO] running `Command { std: "docker" "start" "-a" "6ad909290a011e21cb036b45ea69668841d54c62c3c4a2aeb8a19409701d9e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ad909290a011e21cb036b45ea69668841d54c62c3c4a2aeb8a19409701d9e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ad909290a011e21cb036b45ea69668841d54c62c3c4a2aeb8a19409701d9e80", kill_on_drop: false }` [INFO] [stdout] 6ad909290a011e21cb036b45ea69668841d54c62c3c4a2aeb8a19409701d9e80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10fbff97eb76c5d85bb3dc86f7a3eed2c7c3ad78ac2d4387a1a8de93fc25e9d3 [INFO] running `Command { std: "docker" "start" "-a" "10fbff97eb76c5d85bb3dc86f7a3eed2c7c3ad78ac2d4387a1a8de93fc25e9d3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling ole32-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking term_size v0.3.0 [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 num-iter v0.1.34 [INFO] [stderr] Checking textwrap v0.7.0 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking clap v2.26.0 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking chrono v0.4.0 [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[E0412]: 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[E0412]: 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 31 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 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, 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[E0412]: 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[E0412]: 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 31 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 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> { [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>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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> { [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>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `waldo` (lib test) due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `waldo` (lib) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "10fbff97eb76c5d85bb3dc86f7a3eed2c7c3ad78ac2d4387a1a8de93fc25e9d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10fbff97eb76c5d85bb3dc86f7a3eed2c7c3ad78ac2d4387a1a8de93fc25e9d3", kill_on_drop: false }` [INFO] [stdout] 10fbff97eb76c5d85bb3dc86f7a3eed2c7c3ad78ac2d4387a1a8de93fc25e9d3