[INFO] cloning repository https://github.com/henghuang/ddz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henghuang/ddz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenghuang%2Fddz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenghuang%2Fddz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 508e96222e7b2caa52902d8bf860847dbdb222af [INFO] testing henghuang/ddz against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenghuang%2Fddz" "/workspace/builds/worker-108/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-108/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/henghuang/ddz 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 git repo https://github.com/henghuang/ddz [INFO] finished tweaking git repo https://github.com/henghuang/ddz [INFO] tweaked toml for git repo https://github.com/henghuang/ddz written to /workspace/builds/worker-108/source/Cargo.toml [INFO] crate git repo https://github.com/henghuang/ddz 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded image v0.23.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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] 825679e1b73cad180f6addd5fa3e0c8a608d99653d3e808c33b22ea275e218f0 [INFO] running `Command { std: "docker" "start" "-a" "825679e1b73cad180f6addd5fa3e0c8a608d99653d3e808c33b22ea275e218f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "825679e1b73cad180f6addd5fa3e0c8a608d99653d3e808c33b22ea275e218f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "825679e1b73cad180f6addd5fa3e0c8a608d99653d3e808c33b22ea275e218f0", kill_on_drop: false }` [INFO] [stdout] 825679e1b73cad180f6addd5fa3e0c8a608d99653d3e808c33b22ea275e218f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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] 0f068c4e3ce519a222cdb03213bed504a7bb7cd92a0301c16f890689316924fc [INFO] running `Command { std: "docker" "start" "-a" "0f068c4e3ce519a222cdb03213bed504a7bb7cd92a0301c16f890689316924fc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling png v0.16.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.23.6 [INFO] [stderr] Compiling ddz v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::minwindef::LPVOID; [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/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::ntdef::{LPCWSTR, PVOID}; [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/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::windef::{HWND, LPRECT, 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/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::wingdi::{ [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/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::wingdi::{GetDeviceCaps, BI_RGB, DIB_RGB_COLORS, HORZRES, SRCCOPY, VERTRES}; [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/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::winuser::CF_BITMAP; [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/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::ctypes::{c_int, c_void}; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope [INFO] [stdout] --> src/main.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | let targetHWND = FindWindowW(0 as LPCWSTR, winName.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> src/main.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | let targetHWND = FindWindowW(0 as LPCWSTR, winName.as_ptr()); [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/main.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let mut 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/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | GetWindowRect(targetHWND, &mut rect); [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/main.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | let hScreen = GetDC(0 as HWND); [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:34 [INFO] [stdout] | [INFO] [stdout] 55 | let hScreen = GetDC(0 as HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope [INFO] [stdout] --> src/main.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let hDC = CreateCompatibleDC(hScreen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope [INFO] [stdout] --> src/main.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | let hBitmap = CreateCompatibleBitmap(hScreen, w, h); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/main.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | let old_obj = SelectObject(hDC, hBitmap as *mut c_void); [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/main.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | let bRet = BitBlt(hDC, 0, 0, w, h, hScreen, x1, y1, 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/main.rs:59:61 [INFO] [stdout] | [INFO] [stdout] 59 | let bRet = BitBlt(hDC, 0, 0, w, h, hScreen, x1, y1, SRCCOPY); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/main.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let bmiHeader = BITMAPINFOHEADER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope [INFO] [stdout] --> src/main.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 28 | fn capture_screen( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 62 | biSize: size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope [INFO] [stdout] --> src/main.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | biCompression: BI_RGB, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RGBQUAD` in this scope [INFO] [stdout] --> src/main.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | let bmiColors = [RGBQUAD { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope [INFO] [stdout] --> src/main.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | let mut bitmapInform = BITMAPINFO { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDIBits` in this scope [INFO] [stdout] --> src/main.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | GetDIBits( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/main.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | buffer.as_mut_ptr() as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope [INFO] [stdout] --> src/main.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | DIB_RGB_COLORS, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope [INFO] [stdout] --> src/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | SelectObject(hDC, old_obj); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope [INFO] [stdout] --> src/main.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | DeleteDC(hDC); [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/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | ReleaseDC(0 as HWND, hScreen); [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:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | ReleaseDC(0 as HWND, hScreen); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope [INFO] [stdout] --> src/main.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | DeleteObject(hBitmap as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | let className: Vec = OsStr::new(className).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:37:53 [INFO] [stdout] | [INFO] [stdout] 37 | let winName: Vec = OsStr::new(winName).encode_wide().chain(once(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ddz` due to 36 previous errors [INFO] running `Command { std: "docker" "inspect" "0f068c4e3ce519a222cdb03213bed504a7bb7cd92a0301c16f890689316924fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f068c4e3ce519a222cdb03213bed504a7bb7cd92a0301c16f890689316924fc", kill_on_drop: false }` [INFO] [stdout] 0f068c4e3ce519a222cdb03213bed504a7bb7cd92a0301c16f890689316924fc