[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] checking nof1000/winit-direct2d against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnof1000%2Fwinit-direct2d" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nof1000/winit-direct2d on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a261b24d4dba282ce10591f619e852da4a6e866ad1a5bf363358118080523dfe [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" "a261b24d4dba282ce10591f619e852da4a6e866ad1a5bf363358118080523dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a261b24d4dba282ce10591f619e852da4a6e866ad1a5bf363358118080523dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a261b24d4dba282ce10591f619e852da4a6e866ad1a5bf363358118080523dfe", kill_on_drop: false }` [INFO] [stdout] a261b24d4dba282ce10591f619e852da4a6e866ad1a5bf363358118080523dfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 6038672bc5d84c80aed9c7b44e56604b09ef7547a19bf32dd2ccc0b4d0040449 [INFO] running `Command { std: "docker" "start" "-a" "6038672bc5d84c80aed9c7b44e56604b09ef7547a19bf32dd2ccc0b4d0040449", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.30 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Checking rusttype v0.7.5 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking andrew v0.2.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.21.11 [INFO] [stderr] Checking wayland-commons v0.21.11 [INFO] [stderr] Checking smithay-client-toolkit v0.4.5 [INFO] [stderr] Checking winit v0.19.0 [INFO] [stderr] Checking 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 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:33 [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[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: 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] [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:33 [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] [stderr] error: could not compile `winit-direct2d` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "6038672bc5d84c80aed9c7b44e56604b09ef7547a19bf32dd2ccc0b4d0040449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6038672bc5d84c80aed9c7b44e56604b09ef7547a19bf32dd2ccc0b4d0040449", kill_on_drop: false }` [INFO] [stdout] 6038672bc5d84c80aed9c7b44e56604b09ef7547a19bf32dd2ccc0b4d0040449