[INFO] fetching crate windows-win 2.4.1... [INFO] testing windows-win-2.4.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate windows-win 2.4.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate windows-win 2.4.1 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 crates.io crate windows-win 2.4.1 [INFO] finished tweaking crates.io crate windows-win 2.4.1 [INFO] tweaked toml for crates.io crate windows-win 2.4.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 4fd459727a9d22c4178324f7a5df67bf563bdc35d0443efecddd8a0188c73c38 [INFO] running `Command { std: "docker" "start" "-a" "4fd459727a9d22c4178324f7a5df67bf563bdc35d0443efecddd8a0188c73c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fd459727a9d22c4178324f7a5df67bf563bdc35d0443efecddd8a0188c73c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd459727a9d22c4178324f7a5df67bf563bdc35d0443efecddd8a0188c73c38", kill_on_drop: false }` [INFO] [stdout] 4fd459727a9d22c4178324f7a5df67bf563bdc35d0443efecddd8a0188c73c38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] ffa784ac0040114b8374fbf58acb896c0dae08da1be69dc43cd9decf5ef29ec6 [INFO] running `Command { std: "docker" "start" "-a" "ffa784ac0040114b8374fbf58acb896c0dae08da1be69dc43cd9decf5ef29ec6", kill_on_drop: false }` [INFO] [stderr] Compiling windows-win v2.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "ffa784ac0040114b8374fbf58acb896c0dae08da1be69dc43cd9decf5ef29ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffa784ac0040114b8374fbf58acb896c0dae08da1be69dc43cd9decf5ef29ec6", kill_on_drop: false }` [INFO] [stdout] ffa784ac0040114b8374fbf58acb896c0dae08da1be69dc43cd9decf5ef29ec6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd718edc208b0161c2a1dc0a738fa389d8386f128799450b0d3909083fc0bc20 [INFO] running `Command { std: "docker" "start" "-a" "fd718edc208b0161c2a1dc0a738fa389d8386f128799450b0d3909083fc0bc20", kill_on_drop: false }` [INFO] [stderr] Compiling windows-win v2.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> tests/timer.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_win::raw` [INFO] [stdout] --> tests/search.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | raw [INFO] [stdout] | ^^^ no `raw` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::windows_win::TimerBuilder` [INFO] [stdout] --> tests/timer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use self::windows_win::TimerBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `TimerBuilder` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_win::raw` [INFO] [stdout] --> tests/module.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | raw [INFO] [stdout] | ^^^ no `raw` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::windows_win::raw` [INFO] [stdout] --> tests/timer.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use self::windows_win::raw::timer; [INFO] [stdout] | ^^^ could not find `raw` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_win::raw` [INFO] [stdout] --> tests/memory.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | raw [INFO] [stdout] | ^^^ no `raw` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `clipboard_win` [INFO] [stdout] --> tests/windows.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate clipboard_win; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> tests/windows.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `windows_win` [INFO] [stdout] --> tests/windows.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | use windows_win::raw::window::{ [INFO] [stdout] | ^^^ could not find `raw` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `windows_win` [INFO] [stdout] --> tests/windows.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | use windows_win::raw::process::{ [INFO] [stdout] | ^^^ could not find `raw` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows_win::Window` [INFO] [stdout] --> tests/windows.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Window [INFO] [stdout] | ^^^^^^ no `Window` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Search` [INFO] [stdout] --> tests/search.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let result = Search::new("non-existing.rs", FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileInfoLevel` [INFO] [stdout] --> tests/search.rs:11:49 [INFO] [stdout] | [INFO] [stdout] 11 | let result = Search::new("non-existing.rs", FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FileInfoLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileSearchType` [INFO] [stdout] --> tests/search.rs:11:75 [INFO] [stdout] | [INFO] [stdout] 11 | let result = Search::new("non-existing.rs", FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `FileSearchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Search` [INFO] [stdout] --> tests/search.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let result = Search::new(file_name, FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileInfoLevel` [INFO] [stdout] --> tests/search.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | let result = Search::new(file_name, FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FileInfoLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> tests/timer.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 30 | unsafe extern "system" fn callback(_: *mut c_void, _: c_uchar) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_uchar` in this scope [INFO] [stdout] --> tests/timer.rs:30:55 [INFO] [stdout] | [INFO] [stdout] 30 | unsafe extern "system" fn callback(_: *mut c_void, _: c_uchar) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use core::ffi::c_uchar; [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::c_uchar; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::raw::c_uchar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileSearchType` [INFO] [stdout] --> tests/search.rs:19:67 [INFO] [stdout] | [INFO] [stdout] 19 | let result = Search::new(file_name, FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `FileSearchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Search` [INFO] [stdout] --> tests/search.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let result = Search::new(&path, FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `module_to_addr` in this scope [INFO] [stdout] --> tests/module.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 12 | let result = get_module_handle_from_addr(module_to_addr!(get_module_handle)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileInfoLevel` [INFO] [stdout] --> tests/search.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | let result = Search::new(&path, FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `FileInfoLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `virtual_query_ex` in this scope [INFO] [stdout] --> tests/memory.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let result = virtual_query_ex(handle, ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_module_handle_from_addr` in this scope [INFO] [stdout] --> tests/module.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let result = get_module_handle_from_addr(module_to_addr!(get_module_handle)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FileSearchType` [INFO] [stdout] --> tests/search.rs:35:63 [INFO] [stdout] | [INFO] [stdout] 35 | let result = Search::new(&path, FileInfoLevel::default(), FileSearchType::default(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `FileSearchType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_module_name` in this scope [INFO] [stdout] --> tests/module.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let result = get_module_name(result.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/module.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `windows_win` [INFO] [stdout] --> tests/windows.rs:191:31 [INFO] [stdout] | [INFO] [stdout] 191 | let result = windows_win::raw::window::enum_by_until(None, |_| { [INFO] [stdout] | ^^^ could not find `raw` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_by_class` in this scope [INFO] [stdout] --> tests/windows.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | let result = get_by_class("IME", None); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `open` in this scope [INFO] [stdout] --> tests/windows.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let result = open(notepad_id, 0x0400); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_exe_path` in this scope [INFO] [stdout] --> tests/windows.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | let result = get_exe_path(notepad); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `close` in this scope [INFO] [stdout] --> tests/windows.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | let result = close(notepad); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `open` in this scope [INFO] [stdout] --> tests/windows.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | let result = open(notepad_id, 0x0038); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `close` in this scope [INFO] [stdout] --> tests/windows.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let result = close(result.unwrap()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_by_pid` in this scope [INFO] [stdout] --> tests/windows.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | let notepad_window = get_by_pid(notepad_id); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_get_text` in this scope [INFO] [stdout] --> tests/windows.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | let result = send_get_text(notepad_window); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_by_title` in this scope [INFO] [stdout] --> tests/windows.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | let result = get_by_title(¬epad_orig_title, None); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_text` in this scope [INFO] [stdout] --> tests/windows.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | let result = get_text(result); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-win` due to 3 previous errors [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastErrorEx` in this scope [INFO] [stdout] --> tests/windows.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | unsafe { SetLastErrorEx(5, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `get_by_pid` in this scope [INFO] [stdout] --> tests/windows.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | let notepad_window = get_by_pid(notepad_id); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_by_pid` in this scope [INFO] [stdout] --> tests/windows.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let notepad_window = get_by_pid(notepad_id); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_get_text` in this scope [INFO] [stdout] --> tests/windows.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | let result = send_get_text(notepad_window); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_set_text` in this scope [INFO] [stdout] --> tests/windows.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | let result = send_set_text(notepad_window, new_title); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_get_text` in this scope [INFO] [stdout] --> tests/windows.rs:136:18 [INFO] [stdout] | [INFO] [stdout] 136 | let result = send_get_text(notepad_window); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_by_pid` in this scope [INFO] [stdout] --> tests/windows.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | let notepad_window = get_by_pid(notepad_id); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_visible` in this scope [INFO] [stdout] --> tests/windows.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | assert!(is_visible(notepad_window) == true); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `raw` in `windows_win` [INFO] [stdout] --> tests/process.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(!windows_win::raw::process::is_self_elevated()); [INFO] [stdout] | ^^^ could not find `raw` in `windows_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_sys_command` in this scope [INFO] [stdout] --> tests/windows.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | assert!(send_sys_command(notepad_window, 0xF060, 0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_visible` in this scope [INFO] [stdout] --> tests/windows.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | assert!(is_visible(notepad_window) == false); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Builder` [INFO] [stdout] --> tests/windows.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | let window = Builder::new().class_name("BUTTON").create(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `destroy` in this scope [INFO] [stdout] --> tests/windows.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | assert!(destroy(window)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastErrorEx` in this scope [INFO] [stdout] --> tests/windows.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | SetLastErrorEx(1, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-win` due to 5 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `windows-win` due to 11 previous errors [INFO] [stderr] error: could not compile `windows-win` due to 6 previous errors [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-win` due to 2 previous errors [INFO] [stderr] error: could not compile `windows-win` due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "fd718edc208b0161c2a1dc0a738fa389d8386f128799450b0d3909083fc0bc20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd718edc208b0161c2a1dc0a738fa389d8386f128799450b0d3909083fc0bc20", kill_on_drop: false }` [INFO] [stdout] fd718edc208b0161c2a1dc0a738fa389d8386f128799450b0d3909083fc0bc20