[INFO] fetching crate winc 0.3.0... [INFO] testing winc-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate winc 0.3.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate winc 0.3.0 [INFO] finished tweaking crates.io crate winc 0.3.0 [INFO] tweaked toml for crates.io crate winc 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate winc 0.3.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 140 packages to latest compatible versions [INFO] [stderr] Adding windows v0.58.0 (available: v0.61.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18bece4c4c8793346bd5df832581dc21dfe56300a11b7e101d27bac4dd99a0f7 [INFO] running `Command { std: "docker" "start" "-a" "18bece4c4c8793346bd5df832581dc21dfe56300a11b7e101d27bac4dd99a0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18bece4c4c8793346bd5df832581dc21dfe56300a11b7e101d27bac4dd99a0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18bece4c4c8793346bd5df832581dc21dfe56300a11b7e101d27bac4dd99a0f7", kill_on_drop: false }` [INFO] [stdout] 18bece4c4c8793346bd5df832581dc21dfe56300a11b7e101d27bac4dd99a0f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f647cc71b9de40d6e1143fdb0e0cadfb9d73c13423ffb547ef7eb0286fba417 [INFO] running `Command { std: "docker" "start" "-a" "3f647cc71b9de40d6e1143fdb0e0cadfb9d73c13423ffb547ef7eb0286fba417", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling pxfm v0.1.20 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling widestring v1.2.0 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling moxcms v0.7.5 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.7 [INFO] [stderr] Compiling winc v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/monitor.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::core::Result; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Foundation::E_INVALIDARG; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::Graphics::Gdi::CreateDCW; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Graphics::Gdi::HDC; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/monitor.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_info.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::Win32::Foundation::BOOL; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_info.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Foundation::LPARAM; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_info.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::Foundation::RECT; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_info.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::Graphics::Gdi::EnumDisplayMonitors; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_info.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::Graphics::Gdi::GetMonitorInfoW; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_info.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::Graphics::Gdi::HDC; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_info.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::Graphics::Gdi::HMONITOR; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_info.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Graphics::Gdi::MONITORINFOEXW; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/monitor_info.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::core::Result; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::Foundation::RECT; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::Foundation::S_FALSE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::Graphics::Gdi::CreateCompatibleBitmap; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::Graphics::Gdi::CreateCompatibleDC; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::Graphics::Gdi::DeleteDC; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::Graphics::Gdi::DeleteObject; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::Graphics::Gdi::GetDIBits; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::Graphics::Gdi::GetObjectW; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use windows::Win32::Graphics::Gdi::SelectObject; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use windows::Win32::Graphics::Gdi::SetStretchBltMode; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use windows::Win32::Graphics::Gdi::StretchBlt; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use windows::Win32::Graphics::Gdi::BITMAP; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use windows::Win32::Graphics::Gdi::BITMAPINFO; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use windows::Win32::Graphics::Gdi::BITMAPINFOHEADER; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | use windows::Win32::Graphics::Gdi::DIB_RGB_COLORS; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | use windows::Win32::Graphics::Gdi::HBITMAP; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use windows::Win32::Graphics::Gdi::HDC; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | use windows::Win32::Graphics::Gdi::RGBQUAD; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | use windows::Win32::Graphics::Gdi::SRCCOPY; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | use windows::Win32::Graphics::Gdi::STRETCH_HALFTONE; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/rect_extensions.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::Foundation::RECT; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | pub use windows::Win32::Foundation::RECT; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/monitor_region_capturer.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use windows::core::Result; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/monitor.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | windows::core::Error::new( [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - windows::core::Error::new( [INFO] [stdout] 24 + Error::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | return Err(windows::core::Error::new(S_FALSE, "No RGBA data returned")); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 152 - return Err(windows::core::Error::new(S_FALSE, "No RGBA data returned")); [INFO] [stdout] 152 + return Err(Error::new(S_FALSE, "No RGBA data returned")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/monitor_region_capturer.rs:180:37 [INFO] [stdout] | [INFO] [stdout] 180 | data.ok_or_else(|| windows::core::Error::new(S_FALSE, "Invalid image data")) [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 180 - data.ok_or_else(|| windows::core::Error::new(S_FALSE, "Invalid image data")) [INFO] [stdout] 180 + data.ok_or_else(|| Error::new(S_FALSE, "Invalid image data")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&Box<_>` [INFO] [stdout] --> src/monitor_info.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let results = unsafe { &Box::from_raw(results) }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | .iter() [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 42 | let results: &Box = unsafe { &Box::from_raw(results) }; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Box<_>` [INFO] [stdout] --> src/monitor_info.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let results = unsafe { Box::from_raw(data.0 as *mut Vec) }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | results.push(monitor_info_exw); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 69 | let results: Box = unsafe { Box::from_raw(data.0 as *mut Vec) }; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winc` (lib) due to 42 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3f647cc71b9de40d6e1143fdb0e0cadfb9d73c13423ffb547ef7eb0286fba417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f647cc71b9de40d6e1143fdb0e0cadfb9d73c13423ffb547ef7eb0286fba417", kill_on_drop: false }` [INFO] [stdout] 3f647cc71b9de40d6e1143fdb0e0cadfb9d73c13423ffb547ef7eb0286fba417