[INFO] fetching crate embedded-graphics-core 0.1.0... [INFO] checking embedded-graphics-core-0.1.0 against try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] extracting crate embedded-graphics-core 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate embedded-graphics-core 0.1.0 on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate embedded-graphics-core 0.1.0 [INFO] finished tweaking crates.io crate embedded-graphics-core 0.1.0 [INFO] tweaked toml for crates.io crate embedded-graphics-core 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simba v0.3.1 [INFO] [stderr] Downloaded nalgebra v0.23.1 [INFO] [stderr] Downloaded approx v0.4.0 [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "metadata" "--no-deps" "--format-version=1", 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] cbb1848aa2026246da489b57c97b4d08181570a7552bf3e6de8a0f1283ad226e [INFO] running `Command { std: "docker" "start" "-a" "cbb1848aa2026246da489b57c97b4d08181570a7552bf3e6de8a0f1283ad226e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbb1848aa2026246da489b57c97b4d08181570a7552bf3e6de8a0f1283ad226e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb1848aa2026246da489b57c97b4d08181570a7552bf3e6de8a0f1283ad226e", kill_on_drop: false }` [INFO] [stdout] cbb1848aa2026246da489b57c97b4d08181570a7552bf3e6de8a0f1283ad226e [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85a7c76c2c77687b0bfb73c1f47f6b9f3954b8f0945a53083cf0881439718e9e [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" "85a7c76c2c77687b0bfb73c1f47f6b9f3954b8f0945a53083cf0881439718e9e", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking embedded-graphics-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_graphics` [INFO] [stdout] --> src/draw_target/clipped.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_graphics` [INFO] [stdout] --> src/draw_target/cropped.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_graphics` [INFO] [stdout] --> src/draw_target/clipped.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_graphics` [INFO] [stdout] --> src/draw_target/translated.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_graphics` [INFO] [stdout] --> src/draw_target/cropped.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_graphics` [INFO] [stdout] --> src/draw_target/mod.rs:663:9 [INFO] [stdout] | [INFO] [stdout] 663 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_graphics` [INFO] [stdout] --> src/draw_target/translated.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_graphics` [INFO] [stdout] --> src/drawable.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_graphics` [INFO] [stdout] --> src/draw_target/mod.rs:663:9 [INFO] [stdout] | [INFO] [stdout] 663 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_graphics` [INFO] [stdout] --> src/iterator/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_graphics` [INFO] [stdout] --> src/drawable.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_graphics` [INFO] [stdout] --> src/iterator/mod.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | use embedded_graphics::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/clipped.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | Pixel(Point::new(0, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | Pixel(Point::new(1, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | Pixel(Point::new(2, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 109 | Pixel(Point::new(3, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | Pixel(Point::new(4, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | Pixel(Point::new(2, 0), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | Pixel(Point::new(2, 2), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | Pixel(Point::new(2, 3), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | Pixel(Point::new(2, 4), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | Pixel(Point::new(2, 5), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/clipped.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/clipped.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/clipped.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/clipped.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:169:35 [INFO] [stdout] | [INFO] [stdout] 169 | clipped.fill_solid(&area, BinaryColor::On).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/clipped.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/clipped.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 184 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | clipped.clear(BinaryColor::On).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/clipped.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | let mut expected = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrimitiveStyle` [INFO] [stdout] --> src/draw_target/clipped.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | area.into_styled(PrimitiveStyle::with_fill(BinaryColor::On)) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PrimitiveStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:191:52 [INFO] [stdout] | [INFO] [stdout] 191 | area.into_styled(PrimitiveStyle::with_fill(BinaryColor::On)) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/clipped.rs:200:53 [INFO] [stdout] | [INFO] [stdout] 200 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/clipped.rs:210:53 [INFO] [stdout] | [INFO] [stdout] 210 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/cropped.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/cropped.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | Pixel(Point::new(0, 0), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/cropped.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | Pixel(Point::new(1, 2), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/cropped.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/cropped.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/cropped.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/cropped.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/cropped.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | cropped.fill_solid(&area, BinaryColor::On).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/cropped.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/cropped.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/cropped.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | cropped.clear(BinaryColor::On).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/cropped.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | let mut expected = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrimitiveStyle` [INFO] [stdout] --> src/draw_target/cropped.rs:180:26 [INFO] [stdout] | [INFO] [stdout] 180 | area.into_styled(PrimitiveStyle::with_fill(BinaryColor::On)) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PrimitiveStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/cropped.rs:180:52 [INFO] [stdout] | [INFO] [stdout] 180 | area.into_styled(PrimitiveStyle::with_fill(BinaryColor::On)) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/cropped.rs:189:53 [INFO] [stdout] | [INFO] [stdout] 189 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/cropped.rs:200:53 [INFO] [stdout] | [INFO] [stdout] 200 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/translated.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/translated.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | Pixel(Point::new(0, 0), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/translated.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | Pixel(Point::new(1, 2), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/translated.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/translated.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/translated.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/translated.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/translated.rs:154:38 [INFO] [stdout] | [INFO] [stdout] 154 | translated.fill_solid(&area, BinaryColor::On).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/translated.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/translated.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/translated.rs:175:26 [INFO] [stdout] | [INFO] [stdout] 175 | translated.clear(BinaryColor::On).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/translated.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | let mut expected = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/translated.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | expected.clear(BinaryColor::On).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/translated.rs:185:53 [INFO] [stdout] | [INFO] [stdout] 185 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/mod.rs:675:27 [INFO] [stdout] | [INFO] [stdout] 675 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:681:37 [INFO] [stdout] | [INFO] [stdout] 681 | Pixel(Point::new(0, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:682:37 [INFO] [stdout] | [INFO] [stdout] 682 | Pixel(Point::new(1, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:683:37 [INFO] [stdout] | [INFO] [stdout] 683 | Pixel(Point::new(2, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:684:37 [INFO] [stdout] | [INFO] [stdout] 684 | Pixel(Point::new(3, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:685:37 [INFO] [stdout] | [INFO] [stdout] 685 | Pixel(Point::new(4, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:686:37 [INFO] [stdout] | [INFO] [stdout] 686 | Pixel(Point::new(2, 0), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:687:37 [INFO] [stdout] | [INFO] [stdout] 687 | Pixel(Point::new(2, 2), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:688:37 [INFO] [stdout] | [INFO] [stdout] 688 | Pixel(Point::new(2, 3), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:689:37 [INFO] [stdout] | [INFO] [stdout] 689 | Pixel(Point::new(2, 4), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:690:37 [INFO] [stdout] | [INFO] [stdout] 690 | Pixel(Point::new(2, 5), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/mod.rs:696:13 [INFO] [stdout] | [INFO] [stdout] 696 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/mod.rs:708:27 [INFO] [stdout] | [INFO] [stdout] 708 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/mod.rs:726:13 [INFO] [stdout] | [INFO] [stdout] 726 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/mod.rs:738:27 [INFO] [stdout] | [INFO] [stdout] 738 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:744:35 [INFO] [stdout] | [INFO] [stdout] 744 | clipped.fill_solid(&area, BinaryColor::On).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/mod.rs:748:13 [INFO] [stdout] | [INFO] [stdout] 748 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/mod.rs:759:27 [INFO] [stdout] | [INFO] [stdout] 759 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:763:23 [INFO] [stdout] | [INFO] [stdout] 763 | clipped.clear(BinaryColor::On).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/mod.rs:765:28 [INFO] [stdout] | [INFO] [stdout] 765 | let mut expected = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrimitiveStyle` [INFO] [stdout] --> src/draw_target/mod.rs:766:26 [INFO] [stdout] | [INFO] [stdout] 766 | area.into_styled(PrimitiveStyle::with_fill(BinaryColor::On)) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PrimitiveStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:766:52 [INFO] [stdout] | [INFO] [stdout] 766 | area.into_styled(PrimitiveStyle::with_fill(BinaryColor::On)) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/mod.rs:775:53 [INFO] [stdout] | [INFO] [stdout] 775 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/draw_target/mod.rs:785:53 [INFO] [stdout] | [INFO] [stdout] 785 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/drawable.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/drawable.rs:135:33 [INFO] [stdout] | [INFO] [stdout] 135 | Pixel(Point::new(0, 0), BinaryColor::On).draw(&mut display)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/drawable.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | Pixel(Point::new(2, 1), BinaryColor::On).draw(&mut display)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/drawable.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | Pixel(Point::new(1, 2), BinaryColor::On).draw(&mut display)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/drawable.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/iterator/mod.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | Pixel(Point::new(0, 0), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/iterator/mod.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | Pixel(Point::new(1, 0), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/iterator/mod.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | Pixel(Point::new(2, 0), BinaryColor::On), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/iterator/mod.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | Pixel(Point::new(2, 1), BinaryColor::Off), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BinaryColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/iterator/mod.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | let mut display = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MockDisplay` [INFO] [stdout] --> src/iterator/mod.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | MockDisplay::from_pattern(&[ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MockDisplay` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/clipped.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | let area = Rectangle::new(Point::new(2, 1), Size::new(2, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | let area = Rectangle::new(Point::new(2, 1), Size::new(2, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/clipped.rs:102:53 [INFO] [stdout] | [INFO] [stdout] 102 | let area = Rectangle::new(Point::new(2, 1), Size::new(2, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 102 | let area = Rectangle::new(Point::new(2, 1), Sized::new(2, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | Pixel(Point::new(0, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | Pixel(Point::new(1, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | Pixel(Point::new(2, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | Pixel(Point::new(3, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | Pixel(Point::new(4, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | Pixel(Point::new(2, 0), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | Pixel(Point::new(2, 2), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | Pixel(Point::new(2, 3), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | Pixel(Point::new(2, 4), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | Pixel(Point::new(2, 5), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/clipped.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | let area = Rectangle::new(Point::new(3, 2), Size::new(2, 3)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:135:35 [INFO] [stdout] | [INFO] [stdout] 135 | let area = Rectangle::new(Point::new(3, 2), Size::new(2, 3)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/clipped.rs:135:53 [INFO] [stdout] | [INFO] [stdout] 135 | let area = Rectangle::new(Point::new(3, 2), Size::new(2, 3)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 135 | let area = Rectangle::new(Point::new(3, 2), Sized::new(2, 3)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/clipped.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | let area = Rectangle::new(Point::new(1, 2), Size::new(5, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:144:35 [INFO] [stdout] | [INFO] [stdout] 144 | let area = Rectangle::new(Point::new(1, 2), Size::new(5, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/clipped.rs:144:53 [INFO] [stdout] | [INFO] [stdout] 144 | let area = Rectangle::new(Point::new(1, 2), Size::new(5, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 144 | let area = Rectangle::new(Point::new(1, 2), Sized::new(5, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/clipped.rs:146:59 [INFO] [stdout] | [INFO] [stdout] 146 | .fill_contiguous(&area, colors.iter().map(|c| BinaryColor::from(*c != 0))) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 87 | use crate::pixelcolor::BinaryColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/clipped.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | let area = Rectangle::new(Point::new(3, 2), Size::new(4, 2)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | let area = Rectangle::new(Point::new(3, 2), Size::new(4, 2)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/clipped.rs:165:53 [INFO] [stdout] | [INFO] [stdout] 165 | let area = Rectangle::new(Point::new(3, 2), Size::new(4, 2)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 165 | let area = Rectangle::new(Point::new(3, 2), Sized::new(4, 2)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/clipped.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | let area = Rectangle::new(Point::new(2, 1), Size::new(6, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:168:35 [INFO] [stdout] | [INFO] [stdout] 168 | let area = Rectangle::new(Point::new(2, 1), Size::new(6, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/clipped.rs:168:53 [INFO] [stdout] | [INFO] [stdout] 168 | let area = Rectangle::new(Point::new(2, 1), Size::new(6, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 168 | let area = Rectangle::new(Point::new(2, 1), Sized::new(6, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/clipped.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | let area = Rectangle::new(Point::new(1, 3), Size::new(3, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:186:35 [INFO] [stdout] | [INFO] [stdout] 186 | let area = Rectangle::new(Point::new(1, 3), Size::new(3, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/clipped.rs:186:53 [INFO] [stdout] | [INFO] [stdout] 186 | let area = Rectangle::new(Point::new(1, 3), Size::new(3, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 186 | let area = Rectangle::new(Point::new(1, 3), Sized::new(3, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDisplay` in this scope [INFO] [stdout] --> src/draw_target/clipped.rs:200:26 [INFO] [stdout] | [INFO] [stdout] 200 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinaryColor` in this scope [INFO] [stdout] --> src/draw_target/clipped.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 87 | use crate::pixelcolor::BinaryColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/clipped.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 202 | let area = Rectangle::new(Point::new(1, 3), Size::new(2, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:202:35 [INFO] [stdout] | [INFO] [stdout] 202 | let area = Rectangle::new(Point::new(1, 3), Size::new(2, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/clipped.rs:202:53 [INFO] [stdout] | [INFO] [stdout] 202 | let area = Rectangle::new(Point::new(1, 3), Size::new(2, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 202 | let area = Rectangle::new(Point::new(1, 3), Sized::new(2, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDisplay` in this scope [INFO] [stdout] --> src/draw_target/clipped.rs:210:26 [INFO] [stdout] | [INFO] [stdout] 210 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinaryColor` in this scope [INFO] [stdout] --> src/draw_target/clipped.rs:210:38 [INFO] [stdout] | [INFO] [stdout] 210 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 87 | use crate::pixelcolor::BinaryColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/clipped.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 213 | let top_left = Point::new(10, 20); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/clipped.rs:214:20 [INFO] [stdout] | [INFO] [stdout] 214 | let size = Size::new(1000, 1000); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 214 | let size = Sized::new(1000, 1000); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/clipped.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | let area = Rectangle::new(top_left, size); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/clipped.rs:218:47 [INFO] [stdout] | [INFO] [stdout] 218 | let expected_size = display_bb.size - Size::new(top_left.x as u32, top_left.y as u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 218 | let expected_size = display_bb.size - Sized::new(top_left.x as u32, top_left.y as u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/clipped.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | Rectangle::new(top_left, expected_size), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/cropped.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | let area = Rectangle::new(Point::new(2, 3), Size::new(10, 10)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/cropped.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | let area = Rectangle::new(Point::new(2, 3), Size::new(10, 10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/cropped.rs:91:53 [INFO] [stdout] | [INFO] [stdout] 91 | let area = Rectangle::new(Point::new(2, 3), Size::new(10, 10)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 91 | let area = Rectangle::new(Point::new(2, 3), Sized::new(10, 10)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/cropped.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | Pixel(Point::new(0, 0), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/cropped.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | Pixel(Point::new(1, 2), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/cropped.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | let area = Rectangle::new(Point::new(3, 2), Size::new(10, 10)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/cropped.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | let area = Rectangle::new(Point::new(3, 2), Size::new(10, 10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/cropped.rs:117:53 [INFO] [stdout] | [INFO] [stdout] 117 | let area = Rectangle::new(Point::new(3, 2), Size::new(10, 10)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 117 | let area = Rectangle::new(Point::new(3, 2), Sized::new(10, 10)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/cropped.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let area = Rectangle::new(Point::new(1, 2), Size::new(5, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/cropped.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | let area = Rectangle::new(Point::new(1, 2), Size::new(5, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/cropped.rs:126:53 [INFO] [stdout] | [INFO] [stdout] 126 | let area = Rectangle::new(Point::new(1, 2), Size::new(5, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 126 | let area = Rectangle::new(Point::new(1, 2), Sized::new(5, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/cropped.rs:128:59 [INFO] [stdout] | [INFO] [stdout] 128 | .fill_contiguous(&area, colors.iter().map(|c| BinaryColor::from(*c != 0))) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 76 | use crate::pixelcolor::BinaryColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/cropped.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | let area = Rectangle::new(Point::new(1, 3), Size::new(10, 10)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/cropped.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | let area = Rectangle::new(Point::new(1, 3), Size::new(10, 10)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/cropped.rs:150:53 [INFO] [stdout] | [INFO] [stdout] 150 | let area = Rectangle::new(Point::new(1, 3), Size::new(10, 10)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 150 | let area = Rectangle::new(Point::new(1, 3), Sized::new(10, 10)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/cropped.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | let area = Rectangle::new(Point::new(2, 1), Size::new(3, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/cropped.rs:153:35 [INFO] [stdout] | [INFO] [stdout] 153 | let area = Rectangle::new(Point::new(2, 1), Size::new(3, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/cropped.rs:153:53 [INFO] [stdout] | [INFO] [stdout] 153 | let area = Rectangle::new(Point::new(2, 1), Size::new(3, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 153 | let area = Rectangle::new(Point::new(2, 1), Sized::new(3, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/cropped.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | let area = Rectangle::new(Point::new(1, 3), Size::new(3, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/cropped.rs:175:35 [INFO] [stdout] | [INFO] [stdout] 175 | let area = Rectangle::new(Point::new(1, 3), Size::new(3, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/cropped.rs:175:53 [INFO] [stdout] | [INFO] [stdout] 175 | let area = Rectangle::new(Point::new(1, 3), Size::new(3, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 175 | let area = Rectangle::new(Point::new(1, 3), Sized::new(3, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDisplay` in this scope [INFO] [stdout] --> src/draw_target/cropped.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinaryColor` in this scope [INFO] [stdout] --> src/draw_target/cropped.rs:189:38 [INFO] [stdout] | [INFO] [stdout] 189 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 76 | use crate::pixelcolor::BinaryColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/cropped.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 191 | let size = Size::new(3, 4); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 191 | let size = Sized::new(3, 4); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/cropped.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | let area = Rectangle::new(Point::new(1, 3), size); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/cropped.rs:192:35 [INFO] [stdout] | [INFO] [stdout] 192 | let area = Rectangle::new(Point::new(1, 3), size); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/cropped.rs:195:44 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(cropped.bounding_box(), Rectangle::new(Point::zero(), size)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/cropped.rs:195:59 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(cropped.bounding_box(), Rectangle::new(Point::zero(), size)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDisplay` in this scope [INFO] [stdout] --> src/draw_target/cropped.rs:200:26 [INFO] [stdout] | [INFO] [stdout] 200 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinaryColor` in this scope [INFO] [stdout] --> src/draw_target/cropped.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 76 | use crate::pixelcolor::BinaryColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/cropped.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | let top_left = Point::new(10, 20); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/cropped.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | let size = Size::new(1000, 1000); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 204 | let size = Sized::new(1000, 1000); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/cropped.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | let area = Rectangle::new(top_left, size); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/cropped.rs:208:47 [INFO] [stdout] | [INFO] [stdout] 208 | let expected_size = display_bb.size - Size::new(top_left.x as u32, top_left.y as u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 208 | let expected_size = display_bb.size - Sized::new(top_left.x as u32, top_left.y as u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/cropped.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | Rectangle::new(Point::zero(), expected_size), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/cropped.rs:212:28 [INFO] [stdout] | [INFO] [stdout] 212 | Rectangle::new(Point::zero(), expected_size), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/translated.rs:94:49 [INFO] [stdout] | [INFO] [stdout] 94 | let mut translated = display.translated(Point::new(2, 3)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/translated.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | Pixel(Point::new(0, 0), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/translated.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | Pixel(Point::new(1, 2), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/translated.rs:119:49 [INFO] [stdout] | [INFO] [stdout] 119 | let mut translated = display.translated(Point::new(3, 2)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/translated.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | let area = Rectangle::new(Point::new(1, 2), Size::new(5, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/translated.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | let area = Rectangle::new(Point::new(1, 2), Size::new(5, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/translated.rs:127:53 [INFO] [stdout] | [INFO] [stdout] 127 | let area = Rectangle::new(Point::new(1, 2), Size::new(5, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 127 | let area = Rectangle::new(Point::new(1, 2), Sized::new(5, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/translated.rs:129:59 [INFO] [stdout] | [INFO] [stdout] 129 | .fill_contiguous(&area, colors.iter().map(|c| BinaryColor::from(*c != 0))) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 79 | use crate::pixelcolor::BinaryColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/translated.rs:151:49 [INFO] [stdout] | [INFO] [stdout] 151 | let mut translated = display.translated(Point::new(1, 3)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/translated.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | let area = Rectangle::new(Point::new(2, 1), Size::new(3, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/translated.rs:153:35 [INFO] [stdout] | [INFO] [stdout] 153 | let area = Rectangle::new(Point::new(2, 1), Size::new(3, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/translated.rs:153:53 [INFO] [stdout] | [INFO] [stdout] 153 | let area = Rectangle::new(Point::new(2, 1), Size::new(3, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 153 | let area = Rectangle::new(Point::new(2, 1), Sized::new(3, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/translated.rs:174:49 [INFO] [stdout] | [INFO] [stdout] 174 | let mut translated = display.translated(Point::new(1, 3)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDisplay` in this scope [INFO] [stdout] --> src/draw_target/translated.rs:185:26 [INFO] [stdout] | [INFO] [stdout] 185 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinaryColor` in this scope [INFO] [stdout] --> src/draw_target/translated.rs:185:38 [INFO] [stdout] | [INFO] [stdout] 185 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 79 | use crate::pixelcolor::BinaryColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/translated.rs:188:45 [INFO] [stdout] | [INFO] [stdout] 188 | let translated = display.translated(Point::new(1, 3)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/translated.rs:191:35 [INFO] [stdout] | [INFO] [stdout] 191 | display_bb.translate(-Point::new(1, 3)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/mod.rs:677:20 [INFO] [stdout] | [INFO] [stdout] 677 | let area = Rectangle::new(Point::new(2, 1), Size::new(2, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:677:35 [INFO] [stdout] | [INFO] [stdout] 677 | let area = Rectangle::new(Point::new(2, 1), Size::new(2, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/mod.rs:677:53 [INFO] [stdout] | [INFO] [stdout] 677 | let area = Rectangle::new(Point::new(2, 1), Size::new(2, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 677 | let area = Rectangle::new(Point::new(2, 1), Sized::new(2, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:681:19 [INFO] [stdout] | [INFO] [stdout] 681 | Pixel(Point::new(0, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:682:19 [INFO] [stdout] | [INFO] [stdout] 682 | Pixel(Point::new(1, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:683:19 [INFO] [stdout] | [INFO] [stdout] 683 | Pixel(Point::new(2, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:684:19 [INFO] [stdout] | [INFO] [stdout] 684 | Pixel(Point::new(3, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:685:19 [INFO] [stdout] | [INFO] [stdout] 685 | Pixel(Point::new(4, 1), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:686:19 [INFO] [stdout] | [INFO] [stdout] 686 | Pixel(Point::new(2, 0), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:687:19 [INFO] [stdout] | [INFO] [stdout] 687 | Pixel(Point::new(2, 2), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:688:19 [INFO] [stdout] | [INFO] [stdout] 688 | Pixel(Point::new(2, 3), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:689:19 [INFO] [stdout] | [INFO] [stdout] 689 | Pixel(Point::new(2, 4), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:690:19 [INFO] [stdout] | [INFO] [stdout] 690 | Pixel(Point::new(2, 5), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/mod.rs:710:20 [INFO] [stdout] | [INFO] [stdout] 710 | let area = Rectangle::new(Point::new(3, 2), Size::new(2, 3)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:710:35 [INFO] [stdout] | [INFO] [stdout] 710 | let area = Rectangle::new(Point::new(3, 2), Size::new(2, 3)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/mod.rs:710:53 [INFO] [stdout] | [INFO] [stdout] 710 | let area = Rectangle::new(Point::new(3, 2), Size::new(2, 3)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 710 | let area = Rectangle::new(Point::new(3, 2), Sized::new(2, 3)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/mod.rs:719:20 [INFO] [stdout] | [INFO] [stdout] 719 | let area = Rectangle::new(Point::new(1, 2), Size::new(5, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:719:35 [INFO] [stdout] | [INFO] [stdout] 719 | let area = Rectangle::new(Point::new(1, 2), Size::new(5, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/mod.rs:719:53 [INFO] [stdout] | [INFO] [stdout] 719 | let area = Rectangle::new(Point::new(1, 2), Size::new(5, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 719 | let area = Rectangle::new(Point::new(1, 2), Sized::new(5, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinaryColor` [INFO] [stdout] --> src/draw_target/mod.rs:721:59 [INFO] [stdout] | [INFO] [stdout] 721 | .fill_contiguous(&area, colors.iter().map(|c| BinaryColor::from(*c != 0))) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 663 | use crate::pixelcolor::BinaryColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/mod.rs:740:20 [INFO] [stdout] | [INFO] [stdout] 740 | let area = Rectangle::new(Point::new(3, 2), Size::new(4, 2)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:740:35 [INFO] [stdout] | [INFO] [stdout] 740 | let area = Rectangle::new(Point::new(3, 2), Size::new(4, 2)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/mod.rs:740:53 [INFO] [stdout] | [INFO] [stdout] 740 | let area = Rectangle::new(Point::new(3, 2), Size::new(4, 2)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 740 | let area = Rectangle::new(Point::new(3, 2), Sized::new(4, 2)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/mod.rs:743:20 [INFO] [stdout] | [INFO] [stdout] 743 | let area = Rectangle::new(Point::new(2, 1), Size::new(6, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:743:35 [INFO] [stdout] | [INFO] [stdout] 743 | let area = Rectangle::new(Point::new(2, 1), Size::new(6, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/mod.rs:743:53 [INFO] [stdout] | [INFO] [stdout] 743 | let area = Rectangle::new(Point::new(2, 1), Size::new(6, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 743 | let area = Rectangle::new(Point::new(2, 1), Sized::new(6, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/mod.rs:761:20 [INFO] [stdout] | [INFO] [stdout] 761 | let area = Rectangle::new(Point::new(1, 3), Size::new(3, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:761:35 [INFO] [stdout] | [INFO] [stdout] 761 | let area = Rectangle::new(Point::new(1, 3), Size::new(3, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/mod.rs:761:53 [INFO] [stdout] | [INFO] [stdout] 761 | let area = Rectangle::new(Point::new(1, 3), Size::new(3, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 761 | let area = Rectangle::new(Point::new(1, 3), Sized::new(3, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDisplay` in this scope [INFO] [stdout] --> src/draw_target/mod.rs:775:26 [INFO] [stdout] | [INFO] [stdout] 775 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinaryColor` in this scope [INFO] [stdout] --> src/draw_target/mod.rs:775:38 [INFO] [stdout] | [INFO] [stdout] 775 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 663 | use crate::pixelcolor::BinaryColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/mod.rs:777:20 [INFO] [stdout] | [INFO] [stdout] 777 | let area = Rectangle::new(Point::new(1, 3), Size::new(2, 4)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:777:35 [INFO] [stdout] | [INFO] [stdout] 777 | let area = Rectangle::new(Point::new(1, 3), Size::new(2, 4)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/mod.rs:777:53 [INFO] [stdout] | [INFO] [stdout] 777 | let area = Rectangle::new(Point::new(1, 3), Size::new(2, 4)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 777 | let area = Rectangle::new(Point::new(1, 3), Sized::new(2, 4)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MockDisplay` in this scope [INFO] [stdout] --> src/draw_target/mod.rs:785:26 [INFO] [stdout] | [INFO] [stdout] 785 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinaryColor` in this scope [INFO] [stdout] --> src/draw_target/mod.rs:785:38 [INFO] [stdout] | [INFO] [stdout] 785 | let mut display: MockDisplay = MockDisplay::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 663 | use crate::pixelcolor::BinaryColor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/draw_target/mod.rs:788:24 [INFO] [stdout] | [INFO] [stdout] 788 | let top_left = Point::new(10, 20); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/mod.rs:789:20 [INFO] [stdout] | [INFO] [stdout] 789 | let size = Size::new(1000, 1000); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 789 | let size = Sized::new(1000, 1000); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/mod.rs:790:20 [INFO] [stdout] | [INFO] [stdout] 790 | let area = Rectangle::new(top_left, size); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Size` [INFO] [stdout] --> src/draw_target/mod.rs:793:47 [INFO] [stdout] | [INFO] [stdout] 793 | let expected_size = display_bb.size - Size::new(top_left.x as u32, top_left.y as u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 793 | let expected_size = display_bb.size - Sized::new(top_left.x as u32, top_left.y as u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::prelude::Size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rectangle` [INFO] [stdout] --> src/draw_target/mod.rs:797:13 [INFO] [stdout] | [INFO] [stdout] 797 | Rectangle::new(top_left, expected_size), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 663 | use crate::primitives::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/drawable.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | Pixel(Point::new(0, 0), BinaryColor::On).draw(&mut display)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 128 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/drawable.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | Pixel(Point::new(2, 1), BinaryColor::On).draw(&mut display)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 128 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/drawable.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | Pixel(Point::new(1, 2), BinaryColor::On).draw(&mut display)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 128 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/iterator/mod.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | Pixel(Point::new(0, 0), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/iterator/mod.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | Pixel(Point::new(1, 0), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/iterator/mod.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | Pixel(Point::new(2, 0), BinaryColor::On), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Point` [INFO] [stdout] --> src/iterator/mod.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | Pixel(Point::new(2, 1), BinaryColor::Off), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 87 | use crate::prelude::Point; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 243 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `embedded-graphics-core` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "85a7c76c2c77687b0bfb73c1f47f6b9f3954b8f0945a53083cf0881439718e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85a7c76c2c77687b0bfb73c1f47f6b9f3954b8f0945a53083cf0881439718e9e", kill_on_drop: false }` [INFO] [stdout] 85a7c76c2c77687b0bfb73c1f47f6b9f3954b8f0945a53083cf0881439718e9e