[INFO] updating cached repository https://github.com/nof1000/winit-direct2d [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 345e4a7c5f673f515e02ef911685f9bbf18e5737 [INFO] testing nof1000/winit-direct2d against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnof1000%2Fwinit-direct2d" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nof1000/winit-direct2d on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/nof1000/winit-direct2d already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 59780e4c8ebdbe319749ae0a8272e2a7096475756f60d1ccdbc25fcec6b7b079 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "59780e4c8ebdbe319749ae0a8272e2a7096475756f60d1ccdbc25fcec6b7b079"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.50 [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 cfg-if v0.1.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.11 [INFO] [stderr] Compiling ordered-float v1.0.1 [INFO] [stderr] Compiling approx v0.3.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rusttype v0.7.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling andrew v0.2.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [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] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stderr] --> src/app.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::winuser::GetClientRect; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `direct2d` [INFO] [stderr] --> src/app.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use direct2d::render_target::hwnd::builder::HwndRenderTargetBuilder; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `direct2d` [INFO] [stderr] --> src/app.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use direct2d::render_target::HwndRenderTarget; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `direct2d` [INFO] [stderr] --> src/app.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use direct2d::brush::SolidColorBrush; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `direct2d` [INFO] [stderr] --> src/app.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use direct2d::Factory; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `direct2d` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HwndRenderTargetBuilder` [INFO] [stderr] --> src/app.rs:54:22 [INFO] [stderr] | [INFO] [stderr] 54 | let target = HwndRenderTargetBuilder::new(&factory) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `HwndRenderTargetBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `SolidColorBrush` [INFO] [stderr] --> src/app.rs:83:30 [INFO] [stderr] | [INFO] [stderr] 83 | let temp_brush = SolidColorBrush::create(&self.render) [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type or module `SolidColorBrush` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HwndRenderTarget` in this scope [INFO] [stderr] --> src/app.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 39 | render: HwndRenderTarget, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/app.rs:43:11 [INFO] [stderr] | [INFO] [stderr] 43 | hwnd: HWND, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/app.rs:47:28 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn with_size(hwnd: HWND, width: u32, height: u32) -> App { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/app.rs:66:22 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn new(hwnd: HWND) -> App { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/app.rs:107:26 [INFO] [stderr] | [INFO] [stderr] 107 | fn get_client_size(hwnd: HWND) -> (u32, u32) { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RECT` in this scope [INFO] [stderr] --> src/app.rs:109:26 [INFO] [stderr] | [INFO] [stderr] 109 | let mut buffer : RECT = std::mem::uninitialized(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stderr] --> src/app.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | GetClientRect(hwnd, &mut buffer); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Event`, `EventsLoop`, `WindowBuilder`, `WindowEvent` [INFO] [stderr] --> src/main.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winit::{WindowBuilder, WindowEvent, EventsLoop, Event}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winit::dpi::LogicalSize` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use winit::dpi::LogicalSize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `app::App` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use app::App; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/app.rs:109:33 [INFO] [stderr] | [INFO] [stderr] 109 | let mut buffer : RECT = std::mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `winit-direct2d`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "59780e4c8ebdbe319749ae0a8272e2a7096475756f60d1ccdbc25fcec6b7b079"` [INFO] running `"docker" "rm" "-f" "59780e4c8ebdbe319749ae0a8272e2a7096475756f60d1ccdbc25fcec6b7b079"` [INFO] [stdout] 59780e4c8ebdbe319749ae0a8272e2a7096475756f60d1ccdbc25fcec6b7b079