[INFO] fetching crate text-image 0.2.0... [INFO] testing text-image-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate text-image 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate text-image 0.2.0 [INFO] finished tweaking crates.io crate text-image 0.2.0 [INFO] tweaked toml for crates.io crate text-image 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate text-image 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 140 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87af274e64af2d68180c1df564f538fdad3dc83011d644e4eacad8c19a6dec40 [INFO] running `Command { std: "docker" "start" "-a" "87af274e64af2d68180c1df564f538fdad3dc83011d644e4eacad8c19a6dec40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87af274e64af2d68180c1df564f538fdad3dc83011d644e4eacad8c19a6dec40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87af274e64af2d68180c1df564f538fdad3dc83011d644e4eacad8c19a6dec40", kill_on_drop: false }` [INFO] [stdout] 87af274e64af2d68180c1df564f538fdad3dc83011d644e4eacad8c19a6dec40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c30f8d1f4ca1603107dc052f47d5a3a591b39d84840573f0778acba0026164be [INFO] running `Command { std: "docker" "start" "-a" "c30f8d1f4ca1603107dc052f47d5a3a591b39d84840573f0778acba0026164be", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling moxcms v0.7.9 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling imageproc v0.25.0 [INFO] [stderr] Compiling text-image v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | for (y, row) in im.enumerate_rows() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.79s [INFO] running `Command { std: "docker" "inspect" "c30f8d1f4ca1603107dc052f47d5a3a591b39d84840573f0778acba0026164be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c30f8d1f4ca1603107dc052f47d5a3a591b39d84840573f0778acba0026164be", kill_on_drop: false }` [INFO] [stdout] c30f8d1f4ca1603107dc052f47d5a3a591b39d84840573f0778acba0026164be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9c18d3a97d985494c45bb595f878a31988fc716c6c7e8d6708e5331eb0a688d [INFO] running `Command { std: "docker" "start" "-a" "c9c18d3a97d985494c45bb595f878a31988fc716c6c7e8d6708e5331eb0a688d", kill_on_drop: false }` [INFO] [stderr] Compiling text-image v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | for (y, row) in im.enumerate_rows() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | for (y, row) in im.enumerate_rows() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.63s [INFO] running `Command { std: "docker" "inspect" "c9c18d3a97d985494c45bb595f878a31988fc716c6c7e8d6708e5331eb0a688d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9c18d3a97d985494c45bb595f878a31988fc716c6c7e8d6708e5331eb0a688d", kill_on_drop: false }` [INFO] [stdout] c9c18d3a97d985494c45bb595f878a31988fc716c6c7e8d6708e5331eb0a688d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 51874bb13f895a0a4686d98e0766f9e0f6a03c4be9ec66e8f96ee12a1a7a3b02 [INFO] running `Command { std: "docker" "start" "-a" "51874bb13f895a0a4686d98e0766f9e0f6a03c4be9ec66e8f96ee12a1a7a3b02", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/lib.rs:407:10 [INFO] [stderr] | [INFO] [stderr] 407 | for (y, row) in im.enumerate_rows() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `text-image` (lib) generated 1 warning (run `cargo fix --lib -p text-image` to apply 1 suggestion) [INFO] [stderr] warning: `text-image` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/text_image-5f3822e1a9f3aac7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests text_image [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] text_image: ImageOptions { [INFO] [stdout] image: "pattern128x128.png", [INFO] [stdout] channel: 0, [INFO] [stdout] gray_depth: 4, [INFO] [stdout] } [INFO] [stdout] text_image: TextImageOptions { [INFO] [stdout] text: "Hello, world!哈哈这样也行", [INFO] [stdout] font: "LXGWWenKaiScreen.ttf", [INFO] [stdout] font_size: 48.0, [INFO] [stdout] inverse: true, [INFO] [stdout] line_spacing: 0, [INFO] [stdout] gray_depth: 4, [INFO] [stdout] } [INFO] [stdout] test src/lib.rs - text_image (line 139) ... FAILED [INFO] [stdout] test src/lib.rs - gray_image (line 524) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - text_image (line 139) stdout ---- [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/lib.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | let (w, h, raw) = text_image!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 147 | | text = "Hello, world!哈哈这样也行", [INFO] [stdout] 148 | | font = "LXGWWenKaiScreen.ttf", [INFO] [stdout] 149 | | font_size = 48.0, [INFO] [stdout] 150 | | inverse, [INFO] [stdout] 151 | | Gray4, [INFO] [stdout] 152 | | ); [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: message: Can not read font file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `embedded_graphics` [INFO] [stdout] --> src/lib.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | use embedded_graphics::{image::ImageRaw, pixelcolor::Gray8}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `embedded_graphics` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `embedded_graphics`, use `cargo add embedded_graphics` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - gray_image (line 524) stdout ---- [INFO] [stdout] error: proc macro panicked [INFO] [stdout] --> src/lib.rs:526:23 [INFO] [stdout] | [INFO] [stdout] 526 | let (w, h, img_raw) = text_image::gray_image!("pattern128x128.png", Gray4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Can not read image file: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ImageRaw` in this scope [INFO] [stdout] --> src/lib.rs:527:12 [INFO] [stdout] | [INFO] [stdout] 527 | let image: ImageRaw = ImageRaw::new(img_raw, w); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Gray4` in this scope [INFO] [stdout] --> src/lib.rs:527:21 [INFO] [stdout] | [INFO] [stdout] 527 | let image: ImageRaw = ImageRaw::new(img_raw, w); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 525 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_524_0() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LittleEndian` in this scope [INFO] [stdout] --> src/lib.rs:527:28 [INFO] [stdout] | [INFO] [stdout] 527 | let image: ImageRaw = ImageRaw::new(img_raw, w); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 525 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_524_0() { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fb` in this scope [INFO] [stdout] --> src/lib.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | image.draw(&mut fb).unwrap(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImageRaw` [INFO] [stdout] --> src/lib.rs:527:44 [INFO] [stdout] | [INFO] [stdout] 527 | let image: ImageRaw = ImageRaw::new(img_raw, w); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ImageRaw` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - gray_image (line 524) [INFO] [stdout] src/lib.rs - text_image (line 139) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "51874bb13f895a0a4686d98e0766f9e0f6a03c4be9ec66e8f96ee12a1a7a3b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51874bb13f895a0a4686d98e0766f9e0f6a03c4be9ec66e8f96ee12a1a7a3b02", kill_on_drop: false }` [INFO] [stdout] 51874bb13f895a0a4686d98e0766f9e0f6a03c4be9ec66e8f96ee12a1a7a3b02