[INFO] fetching crate print_image 0.1.2... [INFO] testing print_image-0.1.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate print_image 0.1.2 into /workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate print_image 0.1.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5ae798fc804e659b48e6f5a550cc32ea09a802d06054a83510d0dcd1ae1534e [INFO] running `Command { std: "docker" "start" "-a" "c5ae798fc804e659b48e6f5a550cc32ea09a802d06054a83510d0dcd1ae1534e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5ae798fc804e659b48e6f5a550cc32ea09a802d06054a83510d0dcd1ae1534e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ae798fc804e659b48e6f5a550cc32ea09a802d06054a83510d0dcd1ae1534e", kill_on_drop: false }` [INFO] [stdout] c5ae798fc804e659b48e6f5a550cc32ea09a802d06054a83510d0dcd1ae1534e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 866e13551aa3b3254760be59e3650c4033f421696476a4c15657037a01bf4e2c [INFO] running `Command { std: "docker" "start" "-a" "866e13551aa3b3254760be59e3650c4033f421696476a4c15657037a01bf4e2c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling bitstream-io v2.2.0 [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 nom v7.1.3 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [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 41.33s [INFO] running `Command { std: "docker" "inspect" "866e13551aa3b3254760be59e3650c4033f421696476a4c15657037a01bf4e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "866e13551aa3b3254760be59e3650c4033f421696476a4c15657037a01bf4e2c", kill_on_drop: false }` [INFO] [stdout] 866e13551aa3b3254760be59e3650c4033f421696476a4c15657037a01bf4e2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 586892a3784b5e7ebb1d197a98c10f1fb3fc25ad766404658bdf71650bf29fde [INFO] running `Command { std: "docker" "start" "-a" "586892a3784b5e7ebb1d197a98c10f1fb3fc25ad766404658bdf71650bf29fde", 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.35s [INFO] running `Command { std: "docker" "inspect" "586892a3784b5e7ebb1d197a98c10f1fb3fc25ad766404658bdf71650bf29fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "586892a3784b5e7ebb1d197a98c10f1fb3fc25ad766404658bdf71650bf29fde", kill_on_drop: false }` [INFO] [stdout] 586892a3784b5e7ebb1d197a98c10f1fb3fc25ad766404658bdf71650bf29fde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 75465930b6109a4b54b5b7017ae88e834a521a85bf8aae33e8163e95064ddabe [INFO] running `Command { std: "docker" "start" "-a" "75465930b6109a4b54b5b7017ae88e834a521a85bf8aae33e8163e95064ddabe", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/print_image-f435ec51da5df10f) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/print_image-310dc97ce70476f9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests print_image [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 5 tests [INFO] [stdout] test src/printimage.rs - printimage::handle_pixel_ascii (line 91) ... FAILED [INFO] [stdout] test src/printimage.rs - printimage::print_img (line 124) ... FAILED [INFO] [stdout] test src/printimage.rs - printimage::handle_pixel_rgb (line 74) ... FAILED [INFO] [stdout] test src/printimage.rs - printimage::PrintImageError (line 44) ... FAILED [INFO] [stdout] test src/printimage.rs - printimage::img_load (line 60) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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::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::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] ---- 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] [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.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "75465930b6109a4b54b5b7017ae88e834a521a85bf8aae33e8163e95064ddabe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75465930b6109a4b54b5b7017ae88e834a521a85bf8aae33e8163e95064ddabe", kill_on_drop: false }` [INFO] [stdout] 75465930b6109a4b54b5b7017ae88e834a521a85bf8aae33e8163e95064ddabe