[INFO] fetching crate gdilib-rs 0.1.3... [INFO] testing gdilib-rs-0.1.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate gdilib-rs 0.1.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate gdilib-rs 0.1.3 [INFO] finished tweaking crates.io crate gdilib-rs 0.1.3 [INFO] tweaked toml for crates.io crate gdilib-rs 0.1.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gdilib-rs 0.1.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d061150d1072a378449082be4647bf6eefcf6f57b22be81131e77ad9793de3fe [INFO] running `Command { std: "docker" "start" "-a" "d061150d1072a378449082be4647bf6eefcf6f57b22be81131e77ad9793de3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d061150d1072a378449082be4647bf6eefcf6f57b22be81131e77ad9793de3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d061150d1072a378449082be4647bf6eefcf6f57b22be81131e77ad9793de3fe", kill_on_drop: false }` [INFO] [stdout] d061150d1072a378449082be4647bf6eefcf6f57b22be81131e77ad9793de3fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cb2fe061263a7b74c7168e7b4a417b311c3f1cf5bcf85af564e3a3264e2791a3 [INFO] running `Command { std: "docker" "start" "-a" "cb2fe061263a7b74c7168e7b4a417b311c3f1cf5bcf85af564e3a3264e2791a3", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling random-number-macro-impl v0.1.8 [INFO] [stderr] Compiling random-number v0.1.9 [INFO] [stderr] Compiling gdilib-rs v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/effects.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | shared::windef::{COLORREF, HDC__, HICON__, HWND__, RECT}, [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/effects.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | um::{wingdi::*, winuser::*}, [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/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | shared::windef::{COLORREF, HICON__, RECT}, [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/utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | um::{wingdi::RGB, winnt::LPCWSTR, winuser::LoadIconW}, [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/advanced/complexeffect.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCINVERT` in this scope [INFO] [stdout] --> src/effects.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | SRCINVERT, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/effects.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCPAINT` in this scope [INFO] [stdout] --> src/effects.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | SRCPAINT, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCAND` in this scope [INFO] [stdout] --> src/effects.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | SRCAND, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PATINVERT` in this scope [INFO] [stdout] --> src/effects.rs:109:61 [INFO] [stdout] | [INFO] [stdout] 109 | PatBlt(self.dc, self.x, self.y + 1, self.w, self.h, PATINVERT); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITENESS` in this scope [INFO] [stdout] --> src/effects.rs:113:57 [INFO] [stdout] | [INFO] [stdout] 113 | PatBlt(self.dc, self.x, self.y, self.w, self.h, WHITENESS); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLACKNESS` in this scope [INFO] [stdout] --> src/effects.rs:117:57 [INFO] [stdout] | [INFO] [stdout] 117 | PatBlt(self.dc, self.x, self.y, self.w, self.h, BLACKNESS); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/effects.rs:128:73 [INFO] [stdout] | [INFO] [stdout] 128 | self.dc, self.x, self.y, width, self.w, self.dc, self.x, 0, SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/effects.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope [INFO] [stdout] --> src/effects.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | SRCCOPY, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DT_CENTER` in this scope [INFO] [stdout] --> src/effects.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | DT_CENTER, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stdout] --> src/effects.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | let w = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stdout] --> src/effects.rs:190:34 [INFO] [stdout] | [INFO] [stdout] 190 | let h = GetSystemMetrics(SM_CYSCREEN); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stdout] --> src/effects.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | let x = SM_CXSCREEN; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stdout] --> src/effects.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | let y = SM_CYSCREEN; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope [INFO] [stdout] --> src/effects.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | ReleaseDC(self.get_hwnd(), self.get_dc()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/effects.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/effects.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/effects.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/effects.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PatBlt` in this scope [INFO] [stdout] --> src/effects.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | PatBlt(self.dc, self.x, self.y + 1, self.w, self.h, PATINVERT); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PatBlt` in this scope [INFO] [stdout] --> src/effects.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | PatBlt(self.dc, self.x, self.y, self.w, self.h, WHITENESS); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PatBlt` in this scope [INFO] [stdout] --> src/effects.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | PatBlt(self.dc, self.x, self.y, self.w, self.h, BLACKNESS); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateSolidBrush` in this scope [INFO] [stdout] --> src/effects.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | FillRect(self.dc, rect, CreateSolidBrush(color)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FillRect` in this scope [INFO] [stdout] --> src/effects.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | FillRect(self.dc, rect, CreateSolidBrush(color)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope [INFO] [stdout] --> src/effects.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | BitBlt( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetPixel` in this scope [INFO] [stdout] --> src/effects.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | SetPixel(self.dc, x, y, color); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StretchBlt` in this scope [INFO] [stdout] --> src/effects.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | StretchBlt( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StretchBlt` in this scope [INFO] [stdout] --> src/effects.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | StretchBlt( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DrawTextW` in this scope [INFO] [stdout] --> src/effects.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | DrawTextW( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DrawIcon` in this scope [INFO] [stdout] --> src/effects.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | DrawIcon(self.dc, x, y, icon); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDesktopWindow` in this scope [INFO] [stdout] --> src/effects.rs:187:20 [INFO] [stdout] | [INFO] [stdout] 187 | let hwnd = GetDesktopWindow(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/effects.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | let dc = GetDC(hwnd); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/effects.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | let w = GetSystemMetrics(SM_CXSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stdout] --> src/effects.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let h = GetSystemMetrics(SM_CYSCREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gdilib-rs` (lib) due to 40 previous errors [INFO] running `Command { std: "docker" "inspect" "cb2fe061263a7b74c7168e7b4a417b311c3f1cf5bcf85af564e3a3264e2791a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb2fe061263a7b74c7168e7b4a417b311c3f1cf5bcf85af564e3a3264e2791a3", kill_on_drop: false }` [INFO] [stdout] cb2fe061263a7b74c7168e7b4a417b311c3f1cf5bcf85af564e3a3264e2791a3