[INFO] fetching crate direct2d 0.3.0-alpha1... [INFO] checking direct2d-0.3.0-alpha1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate direct2d 0.3.0-alpha1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate direct2d 0.3.0-alpha1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate direct2d 0.3.0-alpha1 [INFO] finished tweaking crates.io crate direct2d 0.3.0-alpha1 [INFO] tweaked toml for crates.io crate direct2d 0.3.0-alpha1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 52 packages to latest compatible versions [INFO] [stderr] Adding image v0.18.0 (available: v0.25.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded math2d v0.2.0-alpha8 [INFO] [stderr] Downloaded derive-com-wrapper v0.1.0 [INFO] [stderr] Downloaded inflate v0.3.4 [INFO] [stderr] Downloaded num-rational v0.1.42 [INFO] [stderr] Downloaded gif v0.9.2 [INFO] [stderr] Downloaded auto-enum v0.2.0-alpha1 [INFO] [stderr] Downloaded png v0.11.0 [INFO] [stderr] Downloaded derive-com-impl v0.1.1 [INFO] [stderr] Downloaded dcommon v0.3.0-alpha1 [INFO] [stderr] Downloaded checked-enum v0.1.1-alpha1 [INFO] [stderr] Downloaded image v0.18.0 [INFO] [stderr] Downloaded com-impl v0.1.1 [INFO] [stderr] Downloaded com-wrapper v0.1.0 [INFO] [stderr] Downloaded dxgi v0.3.0-alpha4 [INFO] [stderr] Downloaded direct3d11 v0.3.0-alpha2 [INFO] [stderr] Downloaded directwrite v0.3.0-alpha4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0a713e9309fcc1e63ace6bb03d8a0847b8c74738183caa200d4df875516d1b6 [INFO] running `Command { std: "docker" "start" "-a" "b0a713e9309fcc1e63ace6bb03d8a0847b8c74738183caa200d4df875516d1b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0a713e9309fcc1e63ace6bb03d8a0847b8c74738183caa200d4df875516d1b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a713e9309fcc1e63ace6bb03d8a0847b8c74738183caa200d4df875516d1b6", kill_on_drop: false }` [INFO] [stdout] b0a713e9309fcc1e63ace6bb03d8a0847b8c74738183caa200d4df875516d1b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0a62ae4b21ccee086fdea0314983ee84317adf65f51dc4ba70d127c8f96c636 [INFO] running `Command { std: "docker" "start" "-a" "e0a62ae4b21ccee086fdea0314983ee84317adf65f51dc4ba70d127c8f96c636", kill_on_drop: false }` [INFO] [stderr] Checking direct2d v0.3.0-alpha1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `direct2d::brush` [INFO] [stdout] --> examples/draw_hexagons.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use direct2d::brush::SolidColorBrush; [INFO] [stdout] | ^^^^^ could not find `brush` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `enums` in `direct2d` [INFO] [stdout] --> examples/draw_hexagons.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use direct2d::enums::{BitmapOptions, FigureBegin::*, FigureEnd::*}; [INFO] [stdout] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `math2d` [INFO] [stdout] --> tests/brush.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate math2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `direct3d11` [INFO] [stdout] --> tests/brush.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate direct3d11; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::enums` [INFO] [stdout] --> examples/draw_hexagons.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use direct2d::enums::{BitmapOptions, FigureBegin::*, FigureEnd::*}; [INFO] [stdout] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::geometry` [INFO] [stdout] --> examples/draw_hexagons.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use direct2d::geometry::PathGeometry; [INFO] [stdout] | ^^^^^^^^ could not find `geometry` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rand` [INFO] [stdout] --> tests/bad_hwnd_test.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `com_wrapper` [INFO] [stdout] --> examples/render_to_texture.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use com_wrapper::ComWrapper; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `com_wrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> tests/bad_hwnd_test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::brush` [INFO] [stdout] --> examples/render_to_texture.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use direct2d::brush::SolidColorBrush; [INFO] [stdout] | ^^^^^ could not find `brush` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::render_target` [INFO] [stdout] --> tests/bad_hwnd_test.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use direct2d::render_target::HwndRenderTarget; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `render_target` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::enums` [INFO] [stdout] --> examples/render_to_texture.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use direct2d::enums::{BitmapOptions, DrawTextOptions}; [INFO] [stdout] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::factory` [INFO] [stdout] --> tests/bad_hwnd_test.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use direct2d::factory::Factory1; [INFO] [stdout] | ^^^^^^^ could not find `factory` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `direct3d11` [INFO] [stdout] --> tests/bitmap.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate direct3d11; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `dxgi` [INFO] [stdout] --> tests/bitmap.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate dxgi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::brush` [INFO] [stdout] --> tests/dxgi_textures.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use direct2d::brush::SolidColorBrush; [INFO] [stdout] | ^^^^^ could not find `brush` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::enums` [INFO] [stdout] --> tests/dxgi_textures.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use direct2d::enums::{BitmapOptions, DrawTextOptions}; [INFO] [stdout] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `math2d` [INFO] [stdout] --> tests/geometry.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate math2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::enums` [INFO] [stdout] --> tests/geometry.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use direct2d::enums::FillMode; [INFO] [stdout] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::factory` [INFO] [stdout] --> tests/geometry.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use direct2d::factory::Factory; [INFO] [stdout] | ^^^^^^^ could not find `factory` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `enums` in `direct2d` [INFO] [stdout] --> tests/geometry.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | use direct2d::enums::FillMode::*; [INFO] [stdout] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `enums` in `direct2d` [INFO] [stdout] --> tests/geometry.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | use direct2d::enums::{FigureBegin::*, FigureEnd::*}; [INFO] [stdout] | ^^^^^ could not find `enums` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::geometry` [INFO] [stdout] --> tests/geometry.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use direct2d::geometry::{GroupGeometry, PathGeometry, RectangleGeometry}; [INFO] [stdout] | ^^^^^^^^ could not find `geometry` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::image` [INFO] [stdout] --> examples/draw_hexagons.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use direct2d::image::Bitmap1; [INFO] [stdout] | ^^^^^ could not find `image` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::image` [INFO] [stdout] --> tests/dxgi_textures.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use direct2d::image::Bitmap1; [INFO] [stdout] | ^^^^^ could not find `image` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `direct2d::Device`, `direct2d::DeviceContext` [INFO] [stdout] --> examples/draw_hexagons.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use direct2d::{Device, DeviceContext}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ no `DeviceContext` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Device` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> examples/draw_hexagons.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use direct3d11::enums::{BindFlags, CpuAccessFlags, CreateDeviceFlags, Usage}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | use direct2d::enums::{BindFlags, CpuAccessFlags, CreateDeviceFlags, Usage}; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::brush` [INFO] [stdout] --> tests/brush.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use direct2d::brush::SolidColorBrush; [INFO] [stdout] | ^^^^^ could not find `brush` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `direct2d::Device`, `direct2d::DeviceContext` [INFO] [stdout] --> tests/dxgi_textures.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use direct2d::{Device, DeviceContext}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ no `DeviceContext` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Device` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi` [INFO] [stdout] --> examples/draw_hexagons.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dxgi::enums::{Format, MapFlags}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `dxgi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `com_wrapper` [INFO] [stdout] --> examples/draw_hexagons.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use com_wrapper::ComWrapper; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `com_wrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> tests/dxgi_textures.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use direct3d11::enums::{BindFlags, CreateDeviceFlags}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use direct2d::enums::{BindFlags, CreateDeviceFlags}; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `math2d` [INFO] [stdout] --> examples/draw_hexagons.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use math2d::{Matrix3x2f, Point2f}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `math2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dcommon` [INFO] [stdout] --> tests/dxgi_textures.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dcommon::Error; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `dcommon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi` [INFO] [stdout] --> tests/dxgi_textures.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dxgi::enums::Format; [INFO] [stdout] | ^^^^ use of undeclared crate or module `dxgi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::image` [INFO] [stdout] --> examples/render_to_texture.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use direct2d::image::Bitmap1; [INFO] [stdout] | ^^^^^ could not find `image` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `directwrite` [INFO] [stdout] --> tests/dxgi_textures.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use directwrite::{TextFormat, TextLayout}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `directwrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `direct2d::Device`, `direct2d::DeviceContext`, `direct2d::factory` [INFO] [stdout] --> tests/brush.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use direct2d::{Device, DeviceContext, factory::Factory1}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ could not find `factory` in `direct2d` [INFO] [stdout] | | | [INFO] [stdout] | | no `DeviceContext` in the root [INFO] [stdout] | no `Device` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> examples/render_to_texture.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use direct3d11::enums::{BindFlags, CpuAccessFlags, CreateDeviceFlags, Usage}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use direct2d::enums::{BindFlags, CpuAccessFlags, CreateDeviceFlags, Usage}; [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `direct2d::Device`, `direct2d::DeviceContext` [INFO] [stdout] --> examples/render_to_texture.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use direct2d::{Device, DeviceContext}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ no `DeviceContext` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Device` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dxgi` [INFO] [stdout] --> examples/render_to_texture.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dxgi::enums::{Format, MapFlags}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `dxgi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `directwrite` [INFO] [stdout] --> examples/render_to_texture.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use directwrite::{TextFormat, TextLayout}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `directwrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> tests/brush.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let color = Color { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `factory` in `direct2d` [INFO] [stdout] --> examples/draw_hexagons.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let d2d = direct2d::factory::Factory1::new().unwrap(); [INFO] [stdout] | ^^^^^^^ could not find `factory` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `directwrite` [INFO] [stdout] --> tests/dxgi_textures.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let dwrite = directwrite::Factory::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `directwrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `direct2d::image` [INFO] [stdout] --> tests/bitmap.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use direct2d::image::Bitmap; [INFO] [stdout] | ^^^^^ could not find `image` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `direct2d::Device`, `direct2d::DeviceContext`, `direct2d::factory` [INFO] [stdout] --> tests/bitmap.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use direct2d::{Device, DeviceContext, factory::Factory1}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ could not find `factory` in `direct2d` [INFO] [stdout] | | | [INFO] [stdout] | | no `DeviceContext` in the root [INFO] [stdout] | no `Device` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> examples/draw_hexagons.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | let (_, d3d, d3d_ctx) = direct3d11::device::Device::create() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 23 | let (_, d3d, d3d_ctx) = direct2d::device::Device::create() [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `factory` in `direct2d` [INFO] [stdout] --> tests/dxgi_textures.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let d2d = direct2d::factory::Factory1::new().unwrap(); [INFO] [stdout] | ^^^^^^^ could not find `factory` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `directwrite` [INFO] [stdout] --> examples/render_to_texture.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let dwrite = directwrite::Factory::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `directwrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> tests/dxgi_textures.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | let (_, d3d, _) = direct3d11::device::Device::create() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 21 | let (_, d3d, _) = direct2d::device::Device::create() [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `factory` in `direct2d` [INFO] [stdout] --> tests/factory_test.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(direct2d::factory::Factory1::new().is_ok()); [INFO] [stdout] | ^^^^^^^ could not find `factory` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `factory` in `direct2d` [INFO] [stdout] --> examples/render_to_texture.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let d2d = direct2d::factory::Factory1::new().unwrap(); [INFO] [stdout] | ^^^^^^^ could not find `factory` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> examples/draw_hexagons.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let tex = direct3d11::texture2d::Texture2D::create(&d3d) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | let tex = direct2d::texture2d::Texture2D::create(&d3d) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `math2d` [INFO] [stdout] --> examples/draw_hexagons.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | .with_color(math2d::Color::RED) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `math2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> tests/dxgi_textures.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let tex = direct3d11::texture2d::Texture2D::create(&d3d) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 31 | let tex = direct2d::texture2d::Texture2D::create(&d3d) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> examples/render_to_texture.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | let (_, d3d, d3d_ctx) = direct3d11::device::Device::create() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 23 | let (_, d3d, d3d_ctx) = direct2d::device::Device::create() [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `factory` in `direct2d` [INFO] [stdout] --> tests/dxgi_textures.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let d2d = direct2d::factory::Factory1::new().unwrap(); [INFO] [stdout] | ^^^^^^^ could not find `factory` in `direct2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> examples/draw_hexagons.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | let temp_texture = direct3d11::texture2d::Texture2D::create(&d3d) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 92 | let temp_texture = direct2d::texture2d::Texture2D::create(&d3d) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> examples/render_to_texture.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let tex = direct3d11::texture2d::Texture2D::create(&d3d) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | let tex = direct2d::texture2d::Texture2D::create(&d3d) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> tests/dxgi_textures.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | let (_, d3d, _) = direct3d11::device::Device::create() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 93 | let (_, d3d, _) = direct2d::device::Device::create() [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> examples/render_to_texture.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let temp_texture = direct3d11::texture2d::Texture2D::create(&d3d) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 102 | let temp_texture = direct2d::texture2d::Texture2D::create(&d3d) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `image` [INFO] [stdout] --> examples/draw_hexagons.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | image::ColorType::RGBA(8), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Filled` in this scope [INFO] [stdout] --> examples/draw_hexagons.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | .with_line_figure(Filled, Closed, &[ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Closed` in this scope [INFO] [stdout] --> examples/draw_hexagons.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | .with_line_figure(Filled, Closed, &[ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `direct3d11` [INFO] [stdout] --> tests/dxgi_textures.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | let tex = direct3d11::texture2d::Texture2D::create(&d3d) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `direct3d11` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 103 | let tex = direct2d::texture2d::Texture2D::create(&d3d) [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `direct2d` (test "brush") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `direct2d` (test "bad_hwnd_test") due to 4 previous errors [INFO] [stderr] error: could not compile `direct2d` (test "factory_test") due to 1 previous error [INFO] [stderr] error: could not compile `direct2d` (test "bitmap") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `image` [INFO] [stdout] --> examples/render_to_texture.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | image::ColorType::RGBA(8), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `image` [INFO] [stdout] --> examples/draw_hexagons.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | image::save_buffer( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `image` [INFO] [stdout] --> examples/render_to_texture.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | image::save_buffer( [INFO] [stdout] | ^^^^^ use of undeclared crate or module `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `direct2d` (example "draw_hexagons") due to 19 previous errors [INFO] [stdout] error[E0425]: cannot find value `Winding` in this scope [INFO] [stdout] --> tests/geometry.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | let combined = GroupGeometry::create(&factory, Winding, &list).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Filled` in this scope [INFO] [stdout] --> tests/geometry.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | .with_line_figure(Filled, Closed, &[ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Closed` in this scope [INFO] [stdout] --> tests/geometry.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | .with_line_figure(Filled, Closed, &[ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Filled` in this scope [INFO] [stdout] --> tests/geometry.rs:119:27 [INFO] [stdout] | [INFO] [stdout] 119 | .with_line_figure(Filled, Closed, &[ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Closed` in this scope [INFO] [stdout] --> tests/geometry.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | .with_line_figure(Filled, Closed, &[ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Filled` in this scope [INFO] [stdout] --> tests/geometry.rs:126:27 [INFO] [stdout] | [INFO] [stdout] 126 | .with_line_figure(Filled, Closed, &[ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Closed` in this scope [INFO] [stdout] --> tests/geometry.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | .with_line_figure(Filled, Closed, &[ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `direct2d` (example "render_to_texture") due to 15 previous errors [INFO] [stderr] error: could not compile `direct2d` (test "dxgi_textures") due to 15 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectf` [INFO] [stdout] --> tests/geometry.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let rect = Rectf::new(0.0, 0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Rectf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectf` [INFO] [stdout] --> tests/geometry.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | let rect = Rectf::new(0.0, 0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Rectf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectf` [INFO] [stdout] --> tests/geometry.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let rect1 = Rectf::new(0.0, 0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Rectf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectf` [INFO] [stdout] --> tests/geometry.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let rect2 = Rectf::new(0.0, 1.0, 1.0, 2.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Rectf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectf` [INFO] [stdout] --> tests/geometry.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | let rect = Rectf::new(0.0, 0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Rectf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix3x2f` [INFO] [stdout] --> tests/geometry.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | let transform = Matrix3x2f::new([ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Matrix3x2f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `direct2d` (test "geometry") due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "e0a62ae4b21ccee086fdea0314983ee84317adf65f51dc4ba70d127c8f96c636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0a62ae4b21ccee086fdea0314983ee84317adf65f51dc4ba70d127c8f96c636", kill_on_drop: false }` [INFO] [stdout] e0a62ae4b21ccee086fdea0314983ee84317adf65f51dc4ba70d127c8f96c636