[INFO] fetching crate jokolink 0.1.2... [INFO] checking jokolink-0.1.2 against try#8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 for pr-86194 [INFO] extracting crate jokolink 0.1.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate jokolink 0.1.2 on toolchain 8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-8/source/.cargo/config.toml [INFO] started tweaking crates.io crate jokolink 0.1.2 [INFO] finished tweaking crates.io crate jokolink 0.1.2 [INFO] tweaked toml for crates.io crate jokolink 0.1.2 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate jokolink 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e96eff01e02c5e6cbb2d5cb0ad75a6e618145ddf01d0bf402a00adfe3328b3c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0e96eff01e02c5e6cbb2d5cb0ad75a6e618145ddf01d0bf402a00adfe3328b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e96eff01e02c5e6cbb2d5cb0ad75a6e618145ddf01d0bf402a00adfe3328b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e96eff01e02c5e6cbb2d5cb0ad75a6e618145ddf01d0bf402a00adfe3328b3c", kill_on_drop: false }` [INFO] [stdout] 0e96eff01e02c5e6cbb2d5cb0ad75a6e618145ddf01d0bf402a00adfe3328b3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+8552849d5ae3b6c66b89a0ac2e9c1e3ef5cde346" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 304c4bd03367daadf569d6b461bc05a3a25710f6dc713cc8e7ccf5732eda5841 [INFO] running `Command { std: "docker" "start" "-a" "304c4bd03367daadf569d6b461bc05a3a25710f6dc713cc8e7ccf5732eda5841", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking jokolink v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/engine/mumble_link/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::LPRECT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/engine/mumble_link/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::minwinbase::SECURITY_ATTRIBUTES; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/engine/mumble_link/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::GetWindowRect; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/engine/mumble_link/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/engine/mumble_link/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/engine/mumble_link/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | um::winuser::EnumWindows, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/engine/mumble_link/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::windef::LPRECT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/engine/mumble_link/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::minwinbase::SECURITY_ATTRIBUTES; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/engine/mumble_link/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::GetWindowRect; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/engine/mumble_link/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/engine/mumble_link/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/engine/mumble_link/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | um::winuser::EnumWindows, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileMappingA` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | let file_handle = CreateFileMappingA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | INVALID_HANDLE_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | NULL as *mut SECURITY_ATTRIBUTES, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SECURITY_ATTRIBUTES` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | NULL as *mut SECURITY_ATTRIBUTES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | if file_handle == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | handle = MapViewOfFile(file_handle, FILE_MAP_ALL_ACCESS, 0, 0, C_MUMBLE_LINK_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | handle = MapViewOfFile(file_handle, FILE_MAP_ALL_ACCESS, 0, 0, C_MUMBLE_LINK_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | if handle == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:125:70 [INFO] [stdout] | [INFO] [stdout] 125 | panic!("could not map view of file, error code: {}", GetLastError()); [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/engine/mumble_link/mod.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | let result: BOOL = EnumWindows( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | let result: BOOL = EnumWindows( [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/engine/mumble_link/mod.rs:143:43 [INFO] [stdout] | [INFO] [stdout] 143 | &mut pid as *mut isize as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:146:68 [INFO] [stdout] | [INFO] [stdout] 146 | print!("couldn't find gw2 window. error code: {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | let mut rect: RECT = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | let mut rect: RECT = RECT { [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/engine/mumble_link/mod.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | let status = GetWindowRect(pid as isize as HWND, &mut rect as LPRECT); [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/engine/mumble_link/mod.rs:156:56 [INFO] [stdout] | [INFO] [stdout] 156 | let status = GetWindowRect(pid as isize as HWND, &mut rect as LPRECT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:156:75 [INFO] [stdout] | [INFO] [stdout] 156 | let status = GetWindowRect(pid as isize as HWND, &mut rect as LPRECT); [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/engine/mumble_link/mod.rs:168:57 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe extern "system" fn get_handle_by_pid(handle: HWND, lp: 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/engine/mumble_link/mod.rs:168:67 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe extern "system" fn get_handle_by_pid(handle: HWND, lp: 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/engine/mumble_link/mod.rs:168:78 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe extern "system" fn get_handle_by_pid(handle: HWND, lp: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | GetWindowThreadProcessId(handle, &mut handle_pid as LPDWORD); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:170:61 [INFO] [stdout] | [INFO] [stdout] 170 | GetWindowThreadProcessId(handle, &mut handle_pid as LPDWORD); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileMappingA` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | let file_handle = CreateFileMappingA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | INVALID_HANDLE_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | NULL as *mut SECURITY_ATTRIBUTES, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SECURITY_ATTRIBUTES` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | NULL as *mut SECURITY_ATTRIBUTES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | if file_handle == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | handle = MapViewOfFile(file_handle, FILE_MAP_ALL_ACCESS, 0, 0, C_MUMBLE_LINK_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | handle = MapViewOfFile(file_handle, FILE_MAP_ALL_ACCESS, 0, 0, C_MUMBLE_LINK_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | if handle == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:125:70 [INFO] [stdout] | [INFO] [stdout] 125 | panic!("could not map view of file, error code: {}", GetLastError()); [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/engine/mumble_link/mod.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | let result: BOOL = EnumWindows( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:141:32 [INFO] [stdout] | [INFO] [stdout] 141 | let result: BOOL = EnumWindows( [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/engine/mumble_link/mod.rs:143:43 [INFO] [stdout] | [INFO] [stdout] 143 | &mut pid as *mut isize as LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:146:68 [INFO] [stdout] | [INFO] [stdout] 146 | print!("couldn't find gw2 window. error code: {}", GetLastError()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | let mut rect: RECT = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | let mut rect: RECT = RECT { [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/engine/mumble_link/mod.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | let status = GetWindowRect(pid as isize as HWND, &mut rect as LPRECT); [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/engine/mumble_link/mod.rs:156:56 [INFO] [stdout] | [INFO] [stdout] 156 | let status = GetWindowRect(pid as isize as HWND, &mut rect as LPRECT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:156:75 [INFO] [stdout] | [INFO] [stdout] 156 | let status = GetWindowRect(pid as isize as HWND, &mut rect as LPRECT); [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/engine/mumble_link/mod.rs:168:57 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe extern "system" fn get_handle_by_pid(handle: HWND, lp: 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/engine/mumble_link/mod.rs:168:67 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe extern "system" fn get_handle_by_pid(handle: HWND, lp: 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/engine/mumble_link/mod.rs:168:78 [INFO] [stdout] | [INFO] [stdout] 168 | unsafe extern "system" fn get_handle_by_pid(handle: HWND, lp: LPARAM) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowThreadProcessId` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | GetWindowThreadProcessId(handle, &mut handle_pid as LPDWORD); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> src/engine/mumble_link/mod.rs:170:61 [INFO] [stdout] | [INFO] [stdout] 170 | GetWindowThreadProcessId(handle, &mut handle_pid as LPDWORD); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jokolink` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "304c4bd03367daadf569d6b461bc05a3a25710f6dc713cc8e7ccf5732eda5841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304c4bd03367daadf569d6b461bc05a3a25710f6dc713cc8e7ccf5732eda5841", kill_on_drop: false }` [INFO] [stdout] 304c4bd03367daadf569d6b461bc05a3a25710f6dc713cc8e7ccf5732eda5841