[INFO] fetching crate image_splitting 0.1.0... [INFO] testing image_splitting-0.1.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate image_splitting 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate image_splitting 0.1.0 [INFO] finished tweaking crates.io crate image_splitting 0.1.0 [INFO] tweaked toml for crates.io crate image_splitting 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate image_splitting 0.1.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate image_splitting 0.1.0 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" "+beta-2025-09-21" "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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cec65f1302edb4c0574b6837827b05cd8ee8182260c7fb2cdfaa6c56851333da [INFO] running `Command { std: "docker" "start" "-a" "cec65f1302edb4c0574b6837827b05cd8ee8182260c7fb2cdfaa6c56851333da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cec65f1302edb4c0574b6837827b05cd8ee8182260c7fb2cdfaa6c56851333da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec65f1302edb4c0574b6837827b05cd8ee8182260c7fb2cdfaa6c56851333da", kill_on_drop: false }` [INFO] [stdout] cec65f1302edb4c0574b6837827b05cd8ee8182260c7fb2cdfaa6c56851333da [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3589b8bb18fec6e020d33e5d0c27341a9cf112b411e0e86aa1eb4d02d64e8ef [INFO] running `Command { std: "docker" "start" "-a" "d3589b8bb18fec6e020d33e5d0c27341a9cf112b411e0e86aa1eb4d02d64e8ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling image_splitting v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "d3589b8bb18fec6e020d33e5d0c27341a9cf112b411e0e86aa1eb4d02d64e8ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3589b8bb18fec6e020d33e5d0c27341a9cf112b411e0e86aa1eb4d02d64e8ef", kill_on_drop: false }` [INFO] [stdout] d3589b8bb18fec6e020d33e5d0c27341a9cf112b411e0e86aa1eb4d02d64e8ef [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36e249c96fffa247a6df1a0ee177aa5f602a93f701a0b5f030c8d79b3be4a72e [INFO] running `Command { std: "docker" "start" "-a" "36e249c96fffa247a6df1a0ee177aa5f602a93f701a0b5f030c8d79b3be4a72e", kill_on_drop: false }` [INFO] [stderr] Compiling image_splitting v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "36e249c96fffa247a6df1a0ee177aa5f602a93f701a0b5f030c8d79b3be4a72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36e249c96fffa247a6df1a0ee177aa5f602a93f701a0b5f030c8d79b3be4a72e", kill_on_drop: false }` [INFO] [stdout] 36e249c96fffa247a6df1a0ee177aa5f602a93f701a0b5f030c8d79b3be4a72e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 66db5d6c805d49045e85d2e86304c57324aad6207b4ccf8cfa8b99080301dff9 [INFO] running `Command { std: "docker" "start" "-a" "66db5d6c805d49045e85d2e86304c57324aad6207b4ccf8cfa8b99080301dff9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/image_splitting-7b73ac8e4c189981) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_split_image ... ok [INFO] [stdout] test tests::test_split_image_with_size ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.20s [INFO] [stdout] [INFO] [stderr] Doc-tests image_splitting [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - split_image_with_size (line 74) ... FAILED [INFO] [stdout] test src/lib.rs - split_image (line 21) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - split_image_with_size (line 74) 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:78:70 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_74_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let sub_images = split_image_with_size("path/to/image.png", 100, 100)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_74_0() -> Result<(), Box> { [INFO] [stdout] 5 | use image_splitting::split_image_with_size; [INFO] [stdout] 6 | [INFO] [stdout] 7 | let sub_images = split_image_with_size("path/to/image.png", 100, 100)?; [INFO] [stdout] 8 + 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/lib.rs - split_image (line 21) 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:25:50 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_21_0() { [INFO] [stdout] | ---------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let sub_images = split_image("path/to/image.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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_21_0() -> Result<(), Box> { [INFO] [stdout] 5 | use image_splitting::split_image; [INFO] [stdout] ... [INFO] [stdout] 8 | assert_eq!(sub_images.len(), 9); [INFO] [stdout] 9 + 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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - split_image (line 21) [INFO] [stdout] src/lib.rs - split_image_with_size (line 74) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "66db5d6c805d49045e85d2e86304c57324aad6207b4ccf8cfa8b99080301dff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66db5d6c805d49045e85d2e86304c57324aad6207b4ccf8cfa8b99080301dff9", kill_on_drop: false }` [INFO] [stdout] 66db5d6c805d49045e85d2e86304c57324aad6207b4ccf8cfa8b99080301dff9