[INFO] cloning repository https://github.com/nof1000/winit-direct2d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nof1000/winit-direct2d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnof1000%2Fwinit-direct2d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnof1000%2Fwinit-direct2d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 345e4a7c5f673f515e02ef911685f9bbf18e5737 [INFO] testing nof1000/winit-direct2d against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnof1000%2Fwinit-direct2d" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nof1000/winit-direct2d 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 git repo https://github.com/nof1000/winit-direct2d [INFO] finished tweaking git repo https://github.com/nof1000/winit-direct2d [INFO] tweaked toml for git repo https://github.com/nof1000/winit-direct2d written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/nof1000/winit-direct2d already has a lockfile, it will not be regenerated [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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f6de371d5ffc6109839a6ae68bd74517f7b9b7582d9ce511a843c7746b676dd2 [INFO] running `Command { std: "docker" "start" "-a" "f6de371d5ffc6109839a6ae68bd74517f7b9b7582d9ce511a843c7746b676dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6de371d5ffc6109839a6ae68bd74517f7b9b7582d9ce511a843c7746b676dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6de371d5ffc6109839a6ae68bd74517f7b9b7582d9ce511a843c7746b676dd2", kill_on_drop: false }` [INFO] [stdout] f6de371d5ffc6109839a6ae68bd74517f7b9b7582d9ce511a843c7746b676dd2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b3c567d0e9296c82ca9740ba0531cebd311af609eccf57e990af3944b970bc1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1b3c567d0e9296c82ca9740ba0531cebd311af609eccf57e990af3944b970bc1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling cc v1.0.30 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling approx v0.3.1 [INFO] [stderr] Compiling ordered-float v1.0.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.11 [INFO] [stderr] Compiling rusttype v0.7.5 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Compiling andrew v0.2.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling wayland-commons v0.21.11 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.5 [INFO] [stderr] Compiling winit v0.19.0 [INFO] [stderr] Compiling winit-direct2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/app.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::GetClientRect; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct2d` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use direct2d::render_target::hwnd::builder::HwndRenderTargetBuilder; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct2d` [INFO] [stdout] --> src/app.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use direct2d::render_target::HwndRenderTarget; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct2d` [INFO] [stdout] --> src/app.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use direct2d::brush::SolidColorBrush; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d` [INFO] [stdout] --> src/app.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use direct2d::Factory; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HwndRenderTargetBuilder` [INFO] [stdout] --> src/app.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | let target = HwndRenderTargetBuilder::new(&factory) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `HwndRenderTargetBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SolidColorBrush` [INFO] [stdout] --> src/app.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | let temp_brush = SolidColorBrush::create(&self.render) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SolidColorBrush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HwndRenderTarget` in this scope [INFO] [stdout] --> src/app.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | render: HwndRenderTarget, [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/app.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | hwnd: 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/app.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn with_size(hwnd: HWND, width: u32, height: u32) -> App { [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/app.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(hwnd: HWND) -> App { [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/app.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | fn get_client_size(hwnd: HWND) -> (u32, u32) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/app.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let mut buffer : RECT = std::mem::uninitialized(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/app.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | GetClientRect(hwnd, &mut buffer); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `EventsLoop`, `WindowBuilder`, `WindowEvent` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winit::{WindowBuilder, WindowEvent, EventsLoop, Event}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::LogicalSize` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use winit::dpi::LogicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app::App` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use app::App; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/app.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | let mut buffer : RECT = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winit-direct2d` due to 15 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1b3c567d0e9296c82ca9740ba0531cebd311af609eccf57e990af3944b970bc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b3c567d0e9296c82ca9740ba0531cebd311af609eccf57e990af3944b970bc1", kill_on_drop: false }` [INFO] [stdout] 1b3c567d0e9296c82ca9740ba0531cebd311af609eccf57e990af3944b970bc1