[INFO] fetching crate direct2d 0.3.0-alpha1... [INFO] checking direct2d-0.3.0-alpha1 against beta for pr-78714 [INFO] extracting crate direct2d 0.3.0-alpha1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate direct2d 0.3.0-alpha1 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 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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 2ba113413177d25bcaa68b588d8b2b4aea3b09b19cccd6837a6503bc1b4bdea0 [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" "2ba113413177d25bcaa68b588d8b2b4aea3b09b19cccd6837a6503bc1b4bdea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ba113413177d25bcaa68b588d8b2b4aea3b09b19cccd6837a6503bc1b4bdea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ba113413177d25bcaa68b588d8b2b4aea3b09b19cccd6837a6503bc1b4bdea0", kill_on_drop: false }` [INFO] [stdout] 2ba113413177d25bcaa68b588d8b2b4aea3b09b19cccd6837a6503bc1b4bdea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] b28a46d82a1d17bc4341467caace4bcb376d83792da92806a28445ad9cf6431d [INFO] running `Command { std: "docker" "start" "-a" "b28a46d82a1d17bc4341467caace4bcb376d83792da92806a28445ad9cf6431d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking direct2d v0.3.0-alpha1 (/opt/rustwide/workdir) [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `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[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/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[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] --> 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 `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] [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 `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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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[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 `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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDeviceFlags` [INFO] [stdout] --> tests/dxgi_textures.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | .with_flags(CreateDeviceFlags::BGRA_SUPPORT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CreateDeviceFlags` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Format` [INFO] [stdout] --> tests/dxgi_textures.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | .with_format(Format::B8G8R8A8Unorm) [INFO] [stdout] | ^^^^^^ use of undeclared type `Format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindFlags` [INFO] [stdout] --> tests/dxgi_textures.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | .with_bind_flags(BindFlags::RENDER_TARGET | BindFlags::SHADER_RESOURCE) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindFlags` [INFO] [stdout] --> tests/dxgi_textures.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | .with_bind_flags(BindFlags::RENDER_TARGET | BindFlags::SHADER_RESOURCE) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BindFlags` [INFO] [stdout] [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[E0463]: can't find crate for `lazy_static` [INFO] [stdout] --> tests/window_test.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDeviceFlags` [INFO] [stdout] --> tests/dxgi_textures.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | .with_flags(CreateDeviceFlags::BGRA_SUPPORT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CreateDeviceFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Format` [INFO] [stdout] --> tests/dxgi_textures.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | .with_format(Format::B8G8R8A8Unorm) [INFO] [stdout] | ^^^^^^ use of undeclared type `Format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindFlags` [INFO] [stdout] --> tests/dxgi_textures.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | .with_bind_flags(BindFlags::RENDER_TARGET | BindFlags::SHADER_RESOURCE) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindFlags` [INFO] [stdout] --> tests/dxgi_textures.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | .with_bind_flags(BindFlags::RENDER_TARGET | BindFlags::SHADER_RESOURCE) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Format` [INFO] [stdout] --> tests/dxgi_textures.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | .with_format(Format::R8G8B8A8Unorm) [INFO] [stdout] | ^^^^^^ use of undeclared type `Format` [INFO] [stdout] [INFO] [stdout] [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[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[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 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] [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 imports `com_wrapper`, `direct3d11::enums::BindFlags`, `direct3d11::enums::CpuAccessFlags`, `direct3d11::enums::CreateDeviceFlags`, `direct3d11::enums::Usage`, `dxgi::enums::Format`, `dxgi::enums::MapFlags` [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] 7 | use direct3d11::enums::{BindFlags, CpuAccessFlags, CreateDeviceFlags, Usage}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 8 | use dxgi::enums::{Format, MapFlags}; [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[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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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[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::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::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[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] [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[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/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: aborting due to previous error [INFO] [stdout] [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] --> 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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDeviceFlags` [INFO] [stdout] --> examples/draw_hexagons.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | .with_flags(CreateDeviceFlags::BGRA_SUPPORT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CreateDeviceFlags` [INFO] [stdout] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Format` [INFO] [stdout] --> examples/draw_hexagons.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | .with_format(Format::R8G8B8A8Unorm) [INFO] [stdout] | ^^^^^^ use of undeclared type `Format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindFlags` [INFO] [stdout] --> examples/draw_hexagons.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | .with_bind_flags(BindFlags::RENDER_TARGET | BindFlags::SHADER_RESOURCE) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindFlags` [INFO] [stdout] --> examples/draw_hexagons.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | .with_bind_flags(BindFlags::RENDER_TARGET | BindFlags::SHADER_RESOURCE) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BindFlags` [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] --> 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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Format` [INFO] [stdout] --> examples/draw_hexagons.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | .with_format(Format::R8G8B8A8Unorm) [INFO] [stdout] | ^^^^^^ use of undeclared type `Format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindFlags` [INFO] [stdout] --> examples/draw_hexagons.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | .with_bind_flags(BindFlags::NONE) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Usage` [INFO] [stdout] --> examples/draw_hexagons.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | .with_usage(Usage::Staging) [INFO] [stdout] | ^^^^^ use of undeclared type `Usage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuAccessFlags` [INFO] [stdout] --> examples/draw_hexagons.rs:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | .with_cpu_access(CpuAccessFlags::READ) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CpuAccessFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [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] error[E0433]: failed to resolve: use of undeclared type `MapFlags` [INFO] [stdout] --> examples/draw_hexagons.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | let map = surface.map(MapFlags::READ).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MapFlags` [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] 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 `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: 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] 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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateDeviceFlags` [INFO] [stdout] --> examples/render_to_texture.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | .with_flags(CreateDeviceFlags::BGRA_SUPPORT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `CreateDeviceFlags` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Format` [INFO] [stdout] --> examples/render_to_texture.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | .with_format(Format::R8G8B8A8Unorm) [INFO] [stdout] | ^^^^^^ use of undeclared type `Format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindFlags` [INFO] [stdout] --> examples/render_to_texture.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | .with_bind_flags(BindFlags::RENDER_TARGET | BindFlags::SHADER_RESOURCE) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindFlags` [INFO] [stdout] --> examples/render_to_texture.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | .with_bind_flags(BindFlags::RENDER_TARGET | BindFlags::SHADER_RESOURCE) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BindFlags` [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Format` [INFO] [stdout] --> examples/render_to_texture.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | .with_format(Format::R8G8B8A8Unorm) [INFO] [stdout] | ^^^^^^ use of undeclared type `Format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindFlags` [INFO] [stdout] --> examples/render_to_texture.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | .with_bind_flags(BindFlags::NONE) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BindFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Usage` [INFO] [stdout] --> examples/render_to_texture.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | .with_usage(Usage::Staging) [INFO] [stdout] | ^^^^^ use of undeclared type `Usage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpuAccessFlags` [INFO] [stdout] --> examples/render_to_texture.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | .with_cpu_access(CpuAccessFlags::READ) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CpuAccessFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MapFlags` [INFO] [stdout] --> examples/render_to_texture.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | let map = surface.map(MapFlags::READ).unwrap(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MapFlags` [INFO] [stdout] [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] 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: aborting due to 28 previous errors [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: aborting due to 24 previous errors [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b28a46d82a1d17bc4341467caace4bcb376d83792da92806a28445ad9cf6431d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b28a46d82a1d17bc4341467caace4bcb376d83792da92806a28445ad9cf6431d", kill_on_drop: false }` [INFO] [stdout] b28a46d82a1d17bc4341467caace4bcb376d83792da92806a28445ad9cf6431d