[INFO] cloning repository https://github.com/Steve-xmh/wotb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Steve-xmh/wotb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSteve-xmh%2Fwotb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSteve-xmh%2Fwotb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 409764cb496311b32aad45b290a4213de015cfdb [INFO] testing Steve-xmh/wotb against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSteve-xmh%2Fwotb" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Steve-xmh/wotb on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Steve-xmh/wotb [INFO] finished tweaking git repo https://github.com/Steve-xmh/wotb [INFO] tweaked toml for git repo https://github.com/Steve-xmh/wotb written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/Steve-xmh/wotb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddb109cfb6e5a82b63e818341e78471fd9729fae4a051c48d2186766d8f98177 [INFO] running `Command { std: "docker" "start" "-a" "ddb109cfb6e5a82b63e818341e78471fd9729fae4a051c48d2186766d8f98177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddb109cfb6e5a82b63e818341e78471fd9729fae4a051c48d2186766d8f98177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddb109cfb6e5a82b63e818341e78471fd9729fae4a051c48d2186766d8f98177", kill_on_drop: false }` [INFO] [stdout] ddb109cfb6e5a82b63e818341e78471fd9729fae4a051c48d2186766d8f98177 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e32fcbfe84b40124e22a5bedddc10298fde1bc6350c98c9efe500690dae4c71d [INFO] running `Command { std: "docker" "start" "-a" "e32fcbfe84b40124e22a5bedddc10298fde1bc6350c98c9efe500690dae4c71d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lua-src v543.0.0 [INFO] [stderr] Compiling luajit-src v210.3.2+resty1085a4d [INFO] [stderr] Compiling mlua v0.7.3 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling wotb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared::minwindef::*`, `winapi::shared::windef::*`, `winapi::um::winuser::*` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | shared::{minwindef::*, windef::*}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 6 | um::winuser::*, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 10 | struct EnumParam { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 11 | pid: u32, [INFO] [stdout] 12 | windows: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | extern "system" fn enum_proc(hwnd: HWND, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | extern "system" fn enum_proc(hwnd: HWND, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:28:61 [INFO] [stdout] | [INFO] [stdout] 28 | extern "system" fn enum_proc(hwnd: HWND, lparam: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | GetWindowThreadProcessId(hwnd, &mut wpid as *mut u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_window_long(hwnd: HWND, n_index: i32) -> i32 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowLongW` in this scope [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | GetWindowLongW(hwnd, n_index) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | fn get_windows_name(hwnd: HWND) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stdout] --> src/main.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let len = GetWindowTextW(hwnd, result.as_mut_ptr(), result.capacity() as _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | fn list_windows_by_process(pid: u32) -> Vec { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | EnumWindows(Some(enum_proc), &mut enum_param as *mut _ as LPARAM); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:61:67 [INFO] [stdout] | [INFO] [stdout] 61 | EnumWindows(Some(enum_proc), &mut enum_param as *mut _ as LPARAM); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/main.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_window_size(hwnd: HWND) -> (u32, u32, i32, i32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | GetWindowRect(hwnd, &mut rect); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_STYLE` in this scope [INFO] [stdout] --> src/main.rs:103:47 [INFO] [stdout] | [INFO] [stdout] 103 | t.set("style", get_window_long(a, GWL_STYLE)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GWL_EXSTYLE` in this scope [INFO] [stdout] --> src/main.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | t.set("exstyle", get_window_long(a, GWL_EXSTYLE)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wotb` due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "e32fcbfe84b40124e22a5bedddc10298fde1bc6350c98c9efe500690dae4c71d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e32fcbfe84b40124e22a5bedddc10298fde1bc6350c98c9efe500690dae4c71d", kill_on_drop: false }` [INFO] [stdout] e32fcbfe84b40124e22a5bedddc10298fde1bc6350c98c9efe500690dae4c71d