[INFO] fetching crate print_image 0.1.2... [INFO] testing print_image-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate print_image 0.1.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate print_image 0.1.2 [INFO] finished tweaking crates.io crate print_image 0.1.2 [INFO] tweaked toml for crates.io crate print_image 0.1.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate print_image 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate print_image 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded built v0.7.1 [INFO] [stderr] Downloaded bitstream-io v2.2.0 [INFO] [stderr] Downloaded toml_edit v0.22.9 [INFO] [stderr] Downloaded image-webp v0.1.1 [INFO] [stderr] Downloaded winnow v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f24effc3bebc7e72eab39a7c4b444b1c59b4a3ac12036abeaf5c2e697e935331 [INFO] running `Command { std: "docker" "start" "-a" "f24effc3bebc7e72eab39a7c4b444b1c59b4a3ac12036abeaf5c2e697e935331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f24effc3bebc7e72eab39a7c4b444b1c59b4a3ac12036abeaf5c2e697e935331", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f24effc3bebc7e72eab39a7c4b444b1c59b4a3ac12036abeaf5c2e697e935331", kill_on_drop: false }` [INFO] [stdout] f24effc3bebc7e72eab39a7c4b444b1c59b4a3ac12036abeaf5c2e697e935331 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9c34e304fb53cd150446e84a572873e0196088d0ca6efe7f0146569a40df813 [INFO] running `Command { std: "docker" "start" "-a" "a9c34e304fb53cd150446e84a572873e0196088d0ca6efe7f0146569a40df813", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling bitstream-io v2.2.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling image-webp v0.1.1 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling print_image v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "a9c34e304fb53cd150446e84a572873e0196088d0ca6efe7f0146569a40df813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c34e304fb53cd150446e84a572873e0196088d0ca6efe7f0146569a40df813", kill_on_drop: false }` [INFO] [stdout] a9c34e304fb53cd150446e84a572873e0196088d0ca6efe7f0146569a40df813 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ca80b7f421f7ccabdca1effae384e92ebbfd14ea57e10ce81971c2353a25446 [INFO] running `Command { std: "docker" "start" "-a" "9ca80b7f421f7ccabdca1effae384e92ebbfd14ea57e10ce81971c2353a25446", kill_on_drop: false }` [INFO] [stderr] Compiling print_image v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "9ca80b7f421f7ccabdca1effae384e92ebbfd14ea57e10ce81971c2353a25446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca80b7f421f7ccabdca1effae384e92ebbfd14ea57e10ce81971c2353a25446", kill_on_drop: false }` [INFO] [stdout] 9ca80b7f421f7ccabdca1effae384e92ebbfd14ea57e10ce81971c2353a25446 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9b65d3958a146a7bafae404e23db1ccb4082996fc6ebbc0121de3c4347888e37 [INFO] running `Command { std: "docker" "start" "-a" "9b65d3958a146a7bafae404e23db1ccb4082996fc6ebbc0121de3c4347888e37", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/print_image-f435ec51da5df10f) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/print_image-310dc97ce70476f9) [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] [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 print_image [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/printimage.rs - printimage::handle_pixel_rgb (line 74) ... FAILED [INFO] [stdout] test src/printimage.rs - printimage::handle_pixel_ascii (line 91) ... FAILED [INFO] [stdout] test src/printimage.rs - printimage::img_load (line 60) ... FAILED [INFO] [stdout] test src/printimage.rs - printimage::print_img (line 124) ... FAILED [INFO] [stdout] test src/printimage.rs - printimage::PrintImageError (line 44) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/printimage.rs - printimage::handle_pixel_rgb (line 74) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `print_img` in this scope [INFO] [stdout] --> src/printimage.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = print_img(path, None, handle_pixel_rgb); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use print_image::print_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/printimage.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = print_img(path, None, handle_pixel_rgb); [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle_pixel_rgb` in this scope [INFO] [stdout] --> src/printimage.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = print_img(path, None, handle_pixel_rgb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use print_image::handle_pixel_rgb; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printimage.rs - printimage::handle_pixel_ascii (line 91) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `print_img` in this scope [INFO] [stdout] --> src/printimage.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = print_img(path, None, handle_pixel_ascii); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use print_image::print_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/printimage.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = print_img(path, None, handle_pixel_ascii); [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle_pixel_ascii` in this scope [INFO] [stdout] --> src/printimage.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = print_img(path, None, handle_pixel_ascii); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use print_image::handle_pixel_ascii; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printimage.rs - printimage::img_load (line 60) stdout ---- [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/printimage.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 3 | let img = img_load(path)?; [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `img_load` in this scope [INFO] [stdout] --> src/printimage.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 3 | let img = img_load(path)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printimage.rs - printimage::print_img (line 124) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/printimage.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 8 | }) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 9 | } _doctest_main_src_printimage_rs_124_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print_img` in this scope [INFO] [stdout] --> src/printimage.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = print_img(path, Some((width, height)), |pixel| { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use print_image::print_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/printimage.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = print_img(path, Some((width, height)), |pixel| { [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `width` in this scope [INFO] [stdout] --> src/printimage.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = print_img(path, Some((width, height)), |pixel| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `height` in this scope [INFO] [stdout] --> src/printimage.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = print_img(path, Some((width, height)), |pixel| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/printimage.rs - printimage::PrintImageError (line 44) stdout ---- [INFO] [stdout] error: `match` arm body without braces [INFO] [stdout] --> src/printimage.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 5 | Err(e) => return Err(e); [INFO] [stdout] | -- ^^^^^^^^^^^^^ this statement is not surrounded by a body [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] | [INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression [INFO] [stdout] | [INFO] [stdout] 5 - Err(e) => return Err(e); [INFO] [stdout] 5 + Err(e) => return Err(e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/printimage.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 6 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 7 | } _doctest_main_src_printimage_rs_44_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print_img` in this scope [INFO] [stdout] --> src/printimage.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = match print_img(path, None, handle_pixel_rgb) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use print_image::print_img; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/printimage.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = match print_img(path, None, handle_pixel_rgb) { [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `handle_pixel_rgb` in this scope [INFO] [stdout] --> src/printimage.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 3 | let _ = match print_img(path, None, handle_pixel_rgb) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use print_image::handle_pixel_rgb; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/printimage.rs - printimage::PrintImageError (line 44) [INFO] [stdout] src/printimage.rs - printimage::handle_pixel_ascii (line 91) [INFO] [stdout] src/printimage.rs - printimage::handle_pixel_rgb (line 74) [INFO] [stdout] src/printimage.rs - printimage::img_load (line 60) [INFO] [stdout] src/printimage.rs - printimage::print_img (line 124) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9b65d3958a146a7bafae404e23db1ccb4082996fc6ebbc0121de3c4347888e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b65d3958a146a7bafae404e23db1ccb4082996fc6ebbc0121de3c4347888e37", kill_on_drop: false }` [INFO] [stdout] 9b65d3958a146a7bafae404e23db1ccb4082996fc6ebbc0121de3c4347888e37