[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 master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenghuang%2Fddz" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/henghuang/ddz on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/henghuang/ddz already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lzw v0.10.0 [INFO] [stderr] Downloaded adler32 v1.1.0 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded memoffset v0.5.4 [INFO] [stderr] Downloaded hermit-abi v0.1.14 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded num-iter v0.1.41 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded bytemuck v1.2.0 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded rayon-core v1.7.1 [INFO] [stderr] Downloaded deflate v0.8.4 [INFO] [stderr] Downloaded png v0.16.5 [INFO] [stderr] Downloaded num-rational v0.3.0 [INFO] [stderr] Downloaded tiff v0.5.0 [INFO] [stderr] Downloaded rayon v1.3.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.19 [INFO] [stderr] Downloaded image v0.23.6 [INFO] [stderr] Downloaded libc v0.2.71 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 918742350d81bf3660717bdc1763b31342a24102ad4ee028751a3ce0aca20878 [INFO] running `Command { std: "docker" "start" "-a" "918742350d81bf3660717bdc1763b31342a24102ad4ee028751a3ce0aca20878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "918742350d81bf3660717bdc1763b31342a24102ad4ee028751a3ce0aca20878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "918742350d81bf3660717bdc1763b31342a24102ad4ee028751a3ce0aca20878", kill_on_drop: false }` [INFO] [stdout] 918742350d81bf3660717bdc1763b31342a24102ad4ee028751a3ce0aca20878 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edfd6510a63631bb2f7a9e99f3adb987a7c484d8f0862f72fcd0c444bccbcc64 [INFO] running `Command { std: "docker" "start" "-a" "edfd6510a63631bb2f7a9e99f3adb987a7c484d8f0862f72fcd0c444bccbcc64", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [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 rayon-core v1.7.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling deflate v0.8.4 [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 num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling png v0.16.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [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]: cannot 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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[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] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ddz` (bin "ddz") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "edfd6510a63631bb2f7a9e99f3adb987a7c484d8f0862f72fcd0c444bccbcc64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edfd6510a63631bb2f7a9e99f3adb987a7c484d8f0862f72fcd0c444bccbcc64", kill_on_drop: false }` [INFO] [stdout] edfd6510a63631bb2f7a9e99f3adb987a7c484d8f0862f72fcd0c444bccbcc64