[INFO] fetching crate quantizr 1.4.2...
[INFO] testing quantizr-1.4.2 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate quantizr 1.4.2 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate quantizr 1.4.2 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate quantizr 1.4.2
[INFO] finished tweaking crates.io crate quantizr 1.4.2
[INFO] tweaked toml for crates.io crate quantizr 1.4.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6b16aa4f64ec3ff147d60d2a7a71d9af5620c296d73dfb0c7139204cab3c7c19
[INFO] running `Command { std: "docker" "start" "-a" "6b16aa4f64ec3ff147d60d2a7a71d9af5620c296d73dfb0c7139204cab3c7c19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b16aa4f64ec3ff147d60d2a7a71d9af5620c296d73dfb0c7139204cab3c7c19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b16aa4f64ec3ff147d60d2a7a71d9af5620c296d73dfb0c7139204cab3c7c19", kill_on_drop: false }`
[INFO] [stdout] 6b16aa4f64ec3ff147d60d2a7a71d9af5620c296d73dfb0c7139204cab3c7c19
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64519591aaa80a9c24fac477af844b96d30a3c37e8784391133a5d941cf024b2
[INFO] running `Command { std: "docker" "start" "-a" "64519591aaa80a9c24fac477af844b96d30a3c37e8784391133a5d941cf024b2", kill_on_drop: false }`
[INFO] [stderr]    Compiling quantizr v1.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "64519591aaa80a9c24fac477af844b96d30a3c37e8784391133a5d941cf024b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64519591aaa80a9c24fac477af844b96d30a3c37e8784391133a5d941cf024b2", kill_on_drop: false }`
[INFO] [stdout] 64519591aaa80a9c24fac477af844b96d30a3c37e8784391133a5d941cf024b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 740d3505200b5218bbe04895c6b3fe4222820d50b17f7d2aad1c0e7a6ea31c0b
[INFO] running `Command { std: "docker" "start" "-a" "740d3505200b5218bbe04895c6b3fe4222820d50b17f7d2aad1c0e7a6ea31c0b", kill_on_drop: false }`
[INFO] [stderr]    Compiling quantizr v1.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "740d3505200b5218bbe04895c6b3fe4222820d50b17f7d2aad1c0e7a6ea31c0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "740d3505200b5218bbe04895c6b3fe4222820d50b17f7d2aad1c0e7a6ea31c0b", kill_on_drop: false }`
[INFO] [stdout] 740d3505200b5218bbe04895c6b3fe4222820d50b17f7d2aad1c0e7a6ea31c0b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 49d1dba0ec7fe21fc064e35863994676e18f782f772da8d3de9d4994b03920e9
[INFO] running `Command { std: "docker" "start" "-a" "49d1dba0ec7fe21fc064e35863994676e18f782f772da8d3de9d4994b03920e9", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quantizr-89a4fe7df4e9fe93)
[INFO] [stderr]    Doc-tests quantizr
[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] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 28) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - (line 5) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 28) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `width` in this scope
[INFO] [stdout]   --> src/lib.rs:46:30
[INFO] [stdout]    |
[INFO] [stdout] 21 | let mut indexes1 = vec![0u8; width * height];
[INFO] [stdout]    |                              ^^^^^ help: a local variable with a similar name exists: `width1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `height` in this scope
[INFO] [stdout]   --> src/lib.rs:46:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | let mut indexes1 = vec![0u8; width * height];
[INFO] [stdout]    |                                      ^^^^^^ help: a local variable with a similar name exists: `height1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `width` in this scope
[INFO] [stdout]   --> src/lib.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 24 | let mut indexes2 = vec![0u8; width * height];
[INFO] [stdout]    |                              ^^^^^ help: a local variable with a similar name exists: `width1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `height` in this scope
[INFO] [stdout]   --> src/lib.rs:49:38
[INFO] [stdout]    |
[INFO] [stdout] 24 | let mut indexes2 = vec![0u8; width * height];
[INFO] [stdout]    |                                      ^^^^^^ help: a local variable with a similar name exists: `height1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_image1` in this scope
[INFO] [stdout]  --> src/lib.rs:32:33
[INFO] [stdout]   |
[INFO] [stdout] 7 | let (bytes1, width1, height1) = load_image1();
[INFO] [stdout]   |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:33:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]   |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let image1 = quantizr::Image::new(bytes1, width1, height1)?;
[INFO] [stdout]   |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_image2` in this scope
[INFO] [stdout]   --> src/lib.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | let (bytes2, width2, height2) = load_image2();
[INFO] [stdout]    |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:37:59
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 12 | let image2 = quantizr::Image::new(bytes2, width2, height2)?;
[INFO] [stdout]    |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:41:25
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 16 | opts.set_max_colors(256)?;
[INFO] [stdout]    |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:44:32
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 19 | result.set_dithering_level(1.0)?;
[INFO] [stdout]    |                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:47:53
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 22 | result.remap_image(&image1, indexes1.as_mut_slice())?;
[INFO] [stdout]    |                                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:50:53
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 25 | result.remap_image(&image2, indexes2.as_mut_slice())?;
[INFO] [stdout]    |                                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `save_image1` in this scope
[INFO] [stdout]   --> src/lib.rs:54:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | save_image1(palette, indexes1, width1, height1);
[INFO] [stdout]    | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `save_image2` in this scope
[INFO] [stdout]   --> src/lib.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | save_image2(palette, indexes2, width2, height2);
[INFO] [stdout]    | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 5) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `load_image` in this scope
[INFO] [stdout]  --> src/lib.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | let (bytes, width, height) = load_image();
[INFO] [stdout]   |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:9:55
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]   |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let image = quantizr::Image::new(bytes, width, height)?;
[INFO] [stdout]   |                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:12:25
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | opts.set_max_colors(256)?;
[INFO] [stdout]    |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:15:32
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 13 | result.set_dithering_level(1.0)?;
[INFO] [stdout]    |                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:18:51
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 16 | result.remap_image(&image, indexes.as_mut_slice())?;
[INFO] [stdout]    |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `save_image` in this scope
[INFO] [stdout]   --> src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | save_image(palette, indexes, width, height);
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 28)
[INFO] [stdout]     src/lib.rs - (line 5)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "49d1dba0ec7fe21fc064e35863994676e18f782f772da8d3de9d4994b03920e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49d1dba0ec7fe21fc064e35863994676e18f782f772da8d3de9d4994b03920e9", kill_on_drop: false }`
[INFO] [stdout] 49d1dba0ec7fe21fc064e35863994676e18f782f772da8d3de9d4994b03920e9
[INFO] testing quantizr-1.4.2 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate quantizr 1.4.2 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate quantizr 1.4.2 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate quantizr 1.4.2
[INFO] finished tweaking crates.io crate quantizr 1.4.2
[INFO] tweaked toml for crates.io crate quantizr 1.4.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9ce449e3a20c770d6e7db5376f118c48faa6e8f025b2101394d30dff52e484a3
[INFO] running `Command { std: "docker" "start" "-a" "9ce449e3a20c770d6e7db5376f118c48faa6e8f025b2101394d30dff52e484a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ce449e3a20c770d6e7db5376f118c48faa6e8f025b2101394d30dff52e484a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ce449e3a20c770d6e7db5376f118c48faa6e8f025b2101394d30dff52e484a3", kill_on_drop: false }`
[INFO] [stdout] 9ce449e3a20c770d6e7db5376f118c48faa6e8f025b2101394d30dff52e484a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1f26073ca0b7107b98f64d56bb15eeca5a50f7c1a09849a53b934121eda7e20e
[INFO] running `Command { std: "docker" "start" "-a" "1f26073ca0b7107b98f64d56bb15eeca5a50f7c1a09849a53b934121eda7e20e", kill_on_drop: false }`
[INFO] [stderr]    Compiling quantizr v1.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s
[INFO] running `Command { std: "docker" "inspect" "1f26073ca0b7107b98f64d56bb15eeca5a50f7c1a09849a53b934121eda7e20e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f26073ca0b7107b98f64d56bb15eeca5a50f7c1a09849a53b934121eda7e20e", kill_on_drop: false }`
[INFO] [stdout] 1f26073ca0b7107b98f64d56bb15eeca5a50f7c1a09849a53b934121eda7e20e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1b842cd008eae22826ce7d217e2b2f20773558074b97faea380064ed59dfd304
[INFO] running `Command { std: "docker" "start" "-a" "1b842cd008eae22826ce7d217e2b2f20773558074b97faea380064ed59dfd304", kill_on_drop: false }`
[INFO] [stderr]    Compiling quantizr v1.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s
[INFO] running `Command { std: "docker" "inspect" "1b842cd008eae22826ce7d217e2b2f20773558074b97faea380064ed59dfd304", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b842cd008eae22826ce7d217e2b2f20773558074b97faea380064ed59dfd304", kill_on_drop: false }`
[INFO] [stdout] 1b842cd008eae22826ce7d217e2b2f20773558074b97faea380064ed59dfd304
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d65e72a3bd31085fb550cd61720e4c6ce197437e0b226dbd833d5120be1c0fbe
[INFO] running `Command { std: "docker" "start" "-a" "d65e72a3bd31085fb550cd61720e4c6ce197437e0b226dbd833d5120be1c0fbe", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quantizr-89a4fe7df4e9fe93)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests quantizr
[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] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 28) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 5) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 28) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `width` in this scope
[INFO] [stdout]   --> src/lib.rs:46:30
[INFO] [stdout]    |
[INFO] [stdout] 21 | let mut indexes1 = vec![0u8; width * height];
[INFO] [stdout]    |                              ^^^^^ help: a local variable with a similar name exists: `width1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `height` in this scope
[INFO] [stdout]   --> src/lib.rs:46:38
[INFO] [stdout]    |
[INFO] [stdout] 21 | let mut indexes1 = vec![0u8; width * height];
[INFO] [stdout]    |                                      ^^^^^^ help: a local variable with a similar name exists: `height1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `width` in this scope
[INFO] [stdout]   --> src/lib.rs:49:30
[INFO] [stdout]    |
[INFO] [stdout] 24 | let mut indexes2 = vec![0u8; width * height];
[INFO] [stdout]    |                              ^^^^^ help: a local variable with a similar name exists: `width1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `height` in this scope
[INFO] [stdout]   --> src/lib.rs:49:38
[INFO] [stdout]    |
[INFO] [stdout] 24 | let mut indexes2 = vec![0u8; width * height];
[INFO] [stdout]    |                                      ^^^^^^ help: a local variable with a similar name exists: `height1`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_image1` in this scope
[INFO] [stdout]  --> src/lib.rs:32:33
[INFO] [stdout]   |
[INFO] [stdout] 7 | let (bytes1, width1, height1) = load_image1();
[INFO] [stdout]   |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:33:59
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]   |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 8 | let image1 = quantizr::Image::new(bytes1, width1, height1)?;
[INFO] [stdout]   |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `load_image2` in this scope
[INFO] [stdout]   --> src/lib.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | let (bytes2, width2, height2) = load_image2();
[INFO] [stdout]    |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:37:59
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 12 | let image2 = quantizr::Image::new(bytes2, width2, height2)?;
[INFO] [stdout]    |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:41:25
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 16 | opts.set_max_colors(256)?;
[INFO] [stdout]    |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:44:32
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 19 | result.set_dithering_level(1.0)?;
[INFO] [stdout]    |                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:47:53
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 22 | result.remap_image(&image1, indexes1.as_mut_slice())?;
[INFO] [stdout]    |                                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:50:53
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 25 | result.remap_image(&image2, indexes2.as_mut_slice())?;
[INFO] [stdout]    |                                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `save_image1` in this scope
[INFO] [stdout]   --> src/lib.rs:54:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | save_image1(palette, indexes1, width1, height1);
[INFO] [stdout]    | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `save_image2` in this scope
[INFO] [stdout]   --> src/lib.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | save_image2(palette, indexes2, width2, height2);
[INFO] [stdout]    | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 5) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `load_image` in this scope
[INFO] [stdout]  --> src/lib.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | let (bytes, width, height) = load_image();
[INFO] [stdout]   |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:9:55
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]   |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let image = quantizr::Image::new(bytes, width, height)?;
[INFO] [stdout]   |                                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:12:25
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | opts.set_max_colors(256)?;
[INFO] [stdout]    |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:15:32
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 13 | result.set_dithering_level(1.0)?;
[INFO] [stdout]    |                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:18:51
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_5_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 16 | result.remap_image(&image, indexes.as_mut_slice())?;
[INFO] [stdout]    |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, quantizr::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `save_image` in this scope
[INFO] [stdout]   --> src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | save_image(palette, indexes, width, height);
[INFO] [stdout]    | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 28)
[INFO] [stdout]     src/lib.rs - (line 5)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "d65e72a3bd31085fb550cd61720e4c6ce197437e0b226dbd833d5120be1c0fbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d65e72a3bd31085fb550cd61720e4c6ce197437e0b226dbd833d5120be1c0fbe", kill_on_drop: false }`
[INFO] [stdout] d65e72a3bd31085fb550cd61720e4c6ce197437e0b226dbd833d5120be1c0fbe
