[INFO] fetching crate wblp 0.1.11...
[INFO] testing wblp-0.1.11 against 1.100.0-beta.1 for beta-1.100-2
[INFO] extracting crate wblp 0.1.11 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate wblp 0.1.11
[INFO] finished tweaking crates.io crate wblp 0.1.11
[INFO] tweaked toml for crates.io crate wblp 0.1.11 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate wblp 0.1.11 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate wblp 0.1.11 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" "+1.100.0-beta.1" "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-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a
[INFO] running `Command { std: "docker" "start" "7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling simd-adler32 v0.3.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling as-slice v0.2.1
[INFO] [stderr]    Compiling cc v1.2.60
[INFO] [stderr]    Compiling built v0.8.0
[INFO] [stderr]    Compiling av-scenechange v0.14.1
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling no_std_io2 v0.9.3
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling y4m v0.8.0
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling pastey v0.1.1
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling aligned v0.4.3
[INFO] [stderr]    Compiling bitstream-io v4.10.0
[INFO] [stderr]    Compiling zune-core v0.5.1
[INFO] [stderr]    Compiling weezl v0.1.12
[INFO] [stderr]    Compiling imgref v1.12.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling avif-serialize v0.8.8
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling zune-jpeg v0.5.15
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling bytemuck v1.25.0
[INFO] [stderr]    Compiling rav1e v0.8.1
[INFO] [stderr]    Compiling bit_field v0.10.3
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling rgb v0.8.53
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling pxfm v0.1.29
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling lebe v0.5.3
[INFO] [stderr]    Compiling image-webp v0.2.4
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling gif v0.14.2
[INFO] [stderr]    Compiling console v0.16.3
[INFO] [stderr]    Compiling unit-prefix v0.5.2
[INFO] [stderr]    Compiling gcd v2.3.0
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling indicatif v0.18.4
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling png v0.18.1
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling turbojpeg-sys v1.1.1
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling moxcms v0.8.1
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling zerocopy-derive v0.8.48
[INFO] [stderr]    Compiling profiling-procmacros v1.0.17
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling fax_derive v0.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling profiling v1.0.17
[INFO] [stderr]    Compiling fax v0.2.6
[INFO] [stderr]    Compiling equator v0.4.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling aligned-vec v0.6.4
[INFO] [stderr]    Compiling v_frame v0.3.9
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling av1-grain v0.2.5
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling turbojpeg v1.4.0
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling exr v1.74.0
[INFO] [stderr]    Compiling tiff v0.11.3
[INFO] [stderr]    Compiling ravif v0.13.0
[INFO] [stderr]    Compiling image v0.25.10
[INFO] [stderr]    Compiling wblp v0.1.11 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `decode_blp_all_mipmaps` is never used
[INFO] [stdout]    --> src/lib.rs:374:4
[INFO] [stdout]     |
[INFO] [stdout] 374 | fn decode_blp_all_mipmaps(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_rgba_to_rgb_fast` is never used
[INFO] [stdout]  --> src/encoder/utils/pack_rgba_to_rgb_fast.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn pack_rgba_to_rgb_fast(src: &[u8], w: usize, h: usize) -> (Vec<u8>, usize) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_rgba_to_cmyk_fast` is never used
[INFO] [stdout]   --> src/encoder/utils/pack_rgba_to_rgb_fast.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn pack_rgba_to_cmyk_fast(src: &[u8], w: usize, h: usize) -> (Vec<u8>, usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_rgba_to_rgb_fast` is never used
[INFO] [stdout]  --> src/encoder/utils/pack_rgba_to_cmyk_fast.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn pack_rgba_to_rgb_fast(src: &[u8], w: usize, h: usize) -> (Vec<u8>, usize) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s
[INFO] running `Command { std: "docker" "inspect" "7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stdout] warning: function `decode_blp_all_mipmaps` is never used
[INFO] [stdout]    --> src/lib.rs:374:4
[INFO] [stdout]     |
[INFO] [stdout] 374 | fn decode_blp_all_mipmaps(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_rgba_to_rgb_fast` is never used
[INFO] [stdout]  --> src/encoder/utils/pack_rgba_to_rgb_fast.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn pack_rgba_to_rgb_fast(src: &[u8], w: usize, h: usize) -> (Vec<u8>, usize) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_rgba_to_cmyk_fast` is never used
[INFO] [stdout]   --> src/encoder/utils/pack_rgba_to_rgb_fast.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn pack_rgba_to_cmyk_fast(src: &[u8], w: usize, h: usize) -> (Vec<u8>, usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_rgba_to_rgb_fast` is never used
[INFO] [stdout]  --> src/encoder/utils/pack_rgba_to_cmyk_fast.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn pack_rgba_to_rgb_fast(src: &[u8], w: usize, h: usize) -> (Vec<u8>, usize) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling wblp v0.1.11 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `decode_blp_all_mipmaps` is never used
[INFO] [stdout]    --> src/lib.rs:374:4
[INFO] [stdout]     |
[INFO] [stdout] 374 | fn decode_blp_all_mipmaps(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_rgba_to_rgb_fast` is never used
[INFO] [stdout]  --> src/encoder/utils/pack_rgba_to_rgb_fast.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn pack_rgba_to_rgb_fast(src: &[u8], w: usize, h: usize) -> (Vec<u8>, usize) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_rgba_to_cmyk_fast` is never used
[INFO] [stdout]   --> src/encoder/utils/pack_rgba_to_rgb_fast.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn pack_rgba_to_cmyk_fast(src: &[u8], w: usize, h: usize) -> (Vec<u8>, usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pack_rgba_to_rgb_fast` is never used
[INFO] [stdout]  --> src/encoder/utils/pack_rgba_to_cmyk_fast.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn pack_rgba_to_rgb_fast(src: &[u8], w: usize, h: usize) -> (Vec<u8>, usize) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 10.78s
[INFO] running `Command { std: "docker" "inspect" "7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: function `decode_blp_all_mipmaps` is never used
[INFO] [stderr]    --> src/lib.rs:374:4
[INFO] [stderr]     |
[INFO] [stderr] 374 | fn decode_blp_all_mipmaps(
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `pack_rgba_to_rgb_fast` is never used
[INFO] [stderr]  --> src/encoder/utils/pack_rgba_to_rgb_fast.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub fn pack_rgba_to_rgb_fast(src: &[u8], w: usize, h: usize) -> (Vec<u8>, usize) {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `pack_rgba_to_cmyk_fast` is never used
[INFO] [stderr]   --> src/encoder/utils/pack_rgba_to_rgb_fast.rs:18:8
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub fn pack_rgba_to_cmyk_fast(src: &[u8], w: usize, h: usize) -> (Vec<u8>, usize) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `pack_rgba_to_rgb_fast` is never used
[INFO] [stderr]  --> src/encoder/utils/pack_rgba_to_cmyk_fast.rs:2:8
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub fn pack_rgba_to_rgb_fast(src: &[u8], w: usize, h: usize) -> (Vec<u8>, usize) {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `wblp` (lib) generated 4 warnings
[INFO] [stderr] warning: `wblp` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/wblp/f5436d9b75838fb6/out/wblp-f5436d9b75838fb6)
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/wblp/edc6be596eefab5d/out/wblp-edc6be596eefab5d)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test decoder::header::tests::test_header_size ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 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 wblp
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/encoder/blp.rs - encoder::blp::BLPEncoder::resize (line 196) ... FAILED
[INFO] [stdout] test src/encoder/blp.rs - encoder::blp::BLPEncoder (line 54) ... FAILED
[INFO] [stdout] test src/encoder/blp.rs - encoder::blp::BLPEncoder::resize_scale (line 163) ... FAILED
[INFO] [stdout] test src/encoder/blp.rs - encoder::blp::BLPEncoder::resize_max (line 214) ... FAILED
[INFO] [stdout] test src/encoder/blp.rs - encoder::blp::encode_rgba_to_blp (line 328) ... FAILED
[INFO] [stdout] test src/encoder/blp.rs - encoder::blp::encode_raw_rgba (line 361) ... FAILED
[INFO] [stdout] test src/lib.rs - BLPImage::to_blp (line 256) ... FAILED
[INFO] [stdout] test src/encoder/blp.rs - encoder::blp (line 5) ... FAILED
[INFO] [stdout] test src/encoder/blp.rs - encoder::blp::encode_to_blp_file (line 305) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] ---- src/encoder/blp.rs - encoder::blp::BLPEncoder::resize (line 196) 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/encoder/blp.rs:200:49
[INFO] [stdout]     |
[INFO] [stdout] 197 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_196_0() {
[INFO] [stdout]     |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 200 | let encoder = BLPEncoder::from_path("input.png")?
[INFO] [stdout]     |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 197 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_196_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 198 | use wblp::BLPEncoder;
[INFO] [stdout] ...
[INFO] [stdout] 201 |     .resize(256, 256, image::imageops::FilterType::Triangle);
[INFO] [stdout] 202 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/encoder/blp.rs - encoder::blp::BLPEncoder (line 54) 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/encoder/blp.rs:58:49
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_54_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 58 | let encoder = BLPEncoder::from_path("input.png")?
[INFO] [stdout]    |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 55 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_54_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 56 | use wblp::BLPEncoder;
[INFO] [stdout] ...
[INFO] [stdout] 62 | let blp_bytes = encoder.encode()?;
[INFO] [stdout] 63 +     Ok(())
[INFO] [stdout]    |
[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/encoder/blp.rs:62:33
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_54_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 62 | let blp_bytes = encoder.encode()?;
[INFO] [stdout]    |                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 55 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_54_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 56 | use wblp::BLPEncoder;
[INFO] [stdout] ...
[INFO] [stdout] 62 | let blp_bytes = encoder.encode()?;
[INFO] [stdout] 63 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/encoder/blp.rs - encoder::blp::BLPEncoder::resize_scale (line 163) 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/encoder/blp.rs:167:49
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_163_0() {
[INFO] [stdout]     |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 167 | let encoder = BLPEncoder::from_path("input.png")?
[INFO] [stdout]     |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 164 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_163_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 165 | use wblp::BLPEncoder;
[INFO] [stdout] ...
[INFO] [stdout] 168 |     .resize_scale(0.5, image::imageops::FilterType::Triangle);
[INFO] [stdout] 169 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/encoder/blp.rs - encoder::blp::BLPEncoder::resize_max (line 214) 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/encoder/blp.rs:219:49
[INFO] [stdout]     |
[INFO] [stdout] 215 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_214_0() {
[INFO] [stdout]     |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 219 | let encoder = BLPEncoder::from_path("input.png")?
[INFO] [stdout]     |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 215 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_214_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 216 | use wblp::BLPEncoder;
[INFO] [stdout] ...
[INFO] [stdout] 220 |     .resize_max(128, image::imageops::FilterType::Triangle);
[INFO] [stdout] 221 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/encoder/blp.rs - encoder::blp::encode_rgba_to_blp (line 328) 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/encoder/blp.rs:335:45
[INFO] [stdout]     |
[INFO] [stdout] 329 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_328_0() {
[INFO] [stdout]     |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 335 | let blp_bytes = encode_rgba_to_blp(&img, 85)?;
[INFO] [stdout]     |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 329 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_328_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 330 | use wblp::encode_rgba_to_blp;
[INFO] [stdout] ...
[INFO] [stdout] 335 | let blp_bytes = encode_rgba_to_blp(&img, 85)?;
[INFO] [stdout] 336 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/encoder/blp.rs - encoder::blp::encode_raw_rgba (line 361) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `encode_raw_rgba` in this scope
[INFO] [stdout]    --> src/encoder/blp.rs:363:17
[INFO] [stdout]     |
[INFO] [stdout] 363 | let blp_bytes = encode_raw_rgba(&pixels, 512, 512, 85)?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - BLPImage::to_blp (line 256) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `decoded_img` in this scope
[INFO] [stdout]    --> src/lib.rs:257:17
[INFO] [stdout]     |
[INFO] [stdout] 257 | let blp_bytes = decoded_img.to_blp()?;
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/encoder/blp.rs - encoder::blp (line 5) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `rgba_img` in this scope
[INFO] [stdout]   --> src/encoder/blp.rs:20:25
[INFO] [stdout]    |
[INFO] [stdout] 20 | BLPEncoder::from_image(&rgba_img)?
[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/encoder/blp.rs:10:51
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_5_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 10 | let blp_bytes = BLPEncoder::from_path("input.png")?
[INFO] [stdout]    |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  6 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_5_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  7 | use wblp::BLPEncoder;
[INFO] [stdout] ...
[INFO] [stdout] 22 |     .encode()?;
[INFO] [stdout] 23 +     Ok(())
[INFO] [stdout]    |
[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/encoder/blp.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_5_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     .encode()?;
[INFO] [stdout]    |              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  6 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_5_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  7 | use wblp::BLPEncoder;
[INFO] [stdout] ...
[INFO] [stdout] 22 |     .encode()?;
[INFO] [stdout] 23 +     Ok(())
[INFO] [stdout]    |
[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/encoder/blp.rs:15:35
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_5_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 15 | BLPEncoder::from_path("input.png")?
[INFO] [stdout]    |                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  6 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_5_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  7 | use wblp::BLPEncoder;
[INFO] [stdout] ...
[INFO] [stdout] 22 |     .encode()?;
[INFO] [stdout] 23 +     Ok(())
[INFO] [stdout]    |
[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/encoder/blp.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_5_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 17 |     .save("output.blp")?;
[INFO] [stdout]    |                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  6 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_5_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  7 | use wblp::BLPEncoder;
[INFO] [stdout] ...
[INFO] [stdout] 22 |     .encode()?;
[INFO] [stdout] 23 +     Ok(())
[INFO] [stdout]    |
[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/encoder/blp.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_5_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 20 | BLPEncoder::from_image(&rgba_img)?
[INFO] [stdout]    |                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  6 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_5_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  7 | use wblp::BLPEncoder;
[INFO] [stdout] ...
[INFO] [stdout] 22 |     .encode()?;
[INFO] [stdout] 23 +     Ok(())
[INFO] [stdout]    |
[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/encoder/blp.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout]  6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_5_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 22 |     .encode()?;
[INFO] [stdout]    |              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  6 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_encoder_blp_rs_5_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  7 | use wblp::BLPEncoder;
[INFO] [stdout] ...
[INFO] [stdout] 22 |     .encode()?;
[INFO] [stdout] 23 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 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/encoder/blp.rs - encoder::blp::encode_to_blp_file (line 305) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `encode_to_blp_file` in this scope
[INFO] [stdout]    --> src/encoder/blp.rs:306:1
[INFO] [stdout]     |
[INFO] [stdout] 306 | encode_to_blp_file("input.png", "output.blp", 85)?;
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/encoder/blp.rs - encoder::blp (line 5)
[INFO] [stdout]     src/encoder/blp.rs - encoder::blp::BLPEncoder (line 54)
[INFO] [stdout]     src/encoder/blp.rs - encoder::blp::BLPEncoder::resize (line 196)
[INFO] [stdout]     src/encoder/blp.rs - encoder::blp::BLPEncoder::resize_max (line 214)
[INFO] [stdout]     src/encoder/blp.rs - encoder::blp::BLPEncoder::resize_scale (line 163)
[INFO] [stdout]     src/encoder/blp.rs - encoder::blp::encode_raw_rgba (line 361)
[INFO] [stdout]     src/encoder/blp.rs - encoder::blp::encode_rgba_to_blp (line 328)
[INFO] [stdout]     src/encoder/blp.rs - encoder::blp::encode_to_blp_file (line 305)
[INFO] [stdout]     src/lib.rs - BLPImage::to_blp (line 256)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a", kill_on_drop: false }`
[INFO] [stdout] 7855cdd439a75f2c389b2902d69c2456df6918710daedff189b6ab05f990cf7a
