[INFO] fetching crate winrs 0.1.0... [INFO] testing winrs-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate winrs 0.1.0 into /workspace/builds/worker-67/source [INFO] validating manifest of crates.io crate winrs 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate winrs 0.1.0 [INFO] finished tweaking crates.io crate winrs 0.1.0 [INFO] tweaked toml for crates.io crate winrs 0.1.0 written to /workspace/builds/worker-67/source/Cargo.toml [INFO] crate crates.io crate winrs 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64f82d29e4b6ba920be9a62ba383140fd98eed10e1e0eaf13e63dc43b1f7c1be [INFO] running `Command { std: "docker" "start" "-a" "64f82d29e4b6ba920be9a62ba383140fd98eed10e1e0eaf13e63dc43b1f7c1be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64f82d29e4b6ba920be9a62ba383140fd98eed10e1e0eaf13e63dc43b1f7c1be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64f82d29e4b6ba920be9a62ba383140fd98eed10e1e0eaf13e63dc43b1f7c1be", kill_on_drop: false }` [INFO] [stdout] 64f82d29e4b6ba920be9a62ba383140fd98eed10e1e0eaf13e63dc43b1f7c1be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fb549ac0dc6343793e0c7922ff870234d0d22bd538a13c56afed5554ab31df6 [INFO] running `Command { std: "docker" "start" "-a" "3fb549ac0dc6343793e0c7922ff870234d0d22bd538a13c56afed5554ab31df6", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling winrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/common.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | pub use winapi::shared::minwindef::{UINT, DWORD}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/common.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub use winapi::shared::windef::{HWND}; [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/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::errhandlingapi::GetLastError; [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/error.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::errhandlingapi::SetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/clipboard.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::HWND`, `winuser::OpenClipboard`, `winuser::CloseClipboard`, `winuser::EnumClipboardFormats`, `winuser::GetClipboardFormatNameW` [INFO] [stdout] --> src/clipboard.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{SysResult, HWND}; [INFO] [stdout] | ^^^^ no `HWND` in the root [INFO] [stdout] ... [INFO] [stdout] 11 | use winuser::OpenClipboard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | use winuser::CloseClipboard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | use winuser::EnumClipboardFormats; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use winuser::GetClipboardFormatNameW; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/error.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | unsafe { GetLastError() } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetLastError` in this scope [INFO] [stdout] --> src/error.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe { SetLastError(errcode) } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenClipboard` in this scope [INFO] [stdout] --> src/clipboard.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | error_if_zero!((), unsafe { OpenClipboard(hwnd) }) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseClipboard` in this scope [INFO] [stdout] --> src/clipboard.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | error_if_zero!((), unsafe { CloseClipboard() }) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumClipboardFormats` in this scope [INFO] [stdout] --> src/clipboard.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let new_format = unsafe { EnumClipboardFormats(format) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClipboardFormatNameW` in this scope [INFO] [stdout] --> src/clipboard.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | let length = unsafe { GetClipboardFormatNameW(format, buf.as_mut_ptr(), 256) } as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winrs` due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "3fb549ac0dc6343793e0c7922ff870234d0d22bd538a13c56afed5554ab31df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fb549ac0dc6343793e0c7922ff870234d0d22bd538a13c56afed5554ab31df6", kill_on_drop: false }` [INFO] [stdout] 3fb549ac0dc6343793e0c7922ff870234d0d22bd538a13c56afed5554ab31df6