[INFO] cloning repository https://github.com/raisfeld-ori/image_splitting
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raisfeld-ori/image_splitting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraisfeld-ori%2Fimage_splitting", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraisfeld-ori%2Fimage_splitting'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a49f5dfd6145b1798323b055078fca37665ecebf
[INFO] testing raisfeld-ori/image_splitting against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraisfeld-ori%2Fimage_splitting" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/raisfeld-ori/image_splitting
[INFO] finished tweaking git repo https://github.com/raisfeld-ori/image_splitting
[INFO] tweaked toml for git repo https://github.com/raisfeld-ori/image_splitting written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/raisfeld-ori/image_splitting on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/raisfeld-ori/image_splitting 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ravif v0.11.11
[INFO] [stderr]   Downloaded proc-macro2 v1.0.94
[INFO] [stderr]   Downloaded smallvec v1.14.0
[INFO] [stderr]   Downloaded toml v0.8.20
[INFO] [stderr]   Downloaded half v2.5.0
[INFO] [stderr]   Downloaded indexmap v2.8.0
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.24
[INFO] [stderr]   Downloaded winnow v0.7.4
[INFO] [stderr]   Downloaded toml_edit v0.22.24
[INFO] [stderr]   Downloaded cc v1.2.17
[INFO] [stderr]   Downloaded anyhow v1.0.97
[INFO] [stderr]   Downloaded zerocopy v0.8.24
[INFO] [stderr]   Downloaded libc v0.2.171
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3ecac7ef90fe73581cdfd32c80b34f38109a48fbed7cd37b6a3fad34fbdbdefb
[INFO] running `Command { std: "docker" "start" "-a" "3ecac7ef90fe73581cdfd32c80b34f38109a48fbed7cd37b6a3fad34fbdbdefb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ecac7ef90fe73581cdfd32c80b34f38109a48fbed7cd37b6a3fad34fbdbdefb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ecac7ef90fe73581cdfd32c80b34f38109a48fbed7cd37b6a3fad34fbdbdefb", kill_on_drop: false }`
[INFO] [stdout] 3ecac7ef90fe73581cdfd32c80b34f38109a48fbed7cd37b6a3fad34fbdbdefb
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 55bbcd4a84b6dcc396eab0b45135b2995dca980f46592c545489b20b34272d44
[INFO] running `Command { std: "docker" "start" "-a" "55bbcd4a84b6dcc396eab0b45135b2995dca980f46592c545489b20b34272d44", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling built v0.7.7
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling avif-serialize v0.8.3
[INFO] [stderr]    Compiling half v2.5.0
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling bytemuck v1.22.0
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling zune-jpeg v0.4.14
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling image-webp v0.2.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling av1-grain v0.2.3
[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 arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[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 42.08s
[INFO] running `Command { std: "docker" "inspect" "55bbcd4a84b6dcc396eab0b45135b2995dca980f46592c545489b20b34272d44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55bbcd4a84b6dcc396eab0b45135b2995dca980f46592c545489b20b34272d44", kill_on_drop: false }`
[INFO] [stdout] 55bbcd4a84b6dcc396eab0b45135b2995dca980f46592c545489b20b34272d44
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5c2a13d34c6e281d9458644df7e56cad95808265a423817212cea61c5f504286
[INFO] running `Command { std: "docker" "start" "-a" "5c2a13d34c6e281d9458644df7e56cad95808265a423817212cea61c5f504286", 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.21s
[INFO] running `Command { std: "docker" "inspect" "5c2a13d34c6e281d9458644df7e56cad95808265a423817212cea61c5f504286", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c2a13d34c6e281d9458644df7e56cad95808265a423817212cea61c5f504286", kill_on_drop: false }`
[INFO] [stdout] 5c2a13d34c6e281d9458644df7e56cad95808265a423817212cea61c5f504286
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1e5551ebe1f6fa838eb68686565aee3eafcc2fc34824e6b24290837779f94588
[INFO] running `Command { std: "docker" "start" "-a" "1e5551ebe1f6fa838eb68686565aee3eafcc2fc34824e6b24290837779f94588", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/image_splitting-bc8aa31179b50cdc)
[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 0.88s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests image_splitting
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - split_image (line 21) ... FAILED
[INFO] [stdout] test src/lib.rs - split_image_with_size (line 74) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 22 | 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] 25 | 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] 22 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_21_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 23 | use image_splitting::split_image;
[INFO] [stdout] ...
[INFO] [stdout] 26 | assert_eq!(sub_images.len(), 9);
[INFO] [stdout] 27 +     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_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] 75 | 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] 78 | 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] 75 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_74_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 76 | use image_splitting::split_image_with_size;
[INFO] [stdout] 77 |  
[INFO] [stdout] 78 | let sub_images = split_image_with_size("path/to/image.png", 100, 100)?;
[INFO] [stdout] 79 +     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.16s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1e5551ebe1f6fa838eb68686565aee3eafcc2fc34824e6b24290837779f94588", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e5551ebe1f6fa838eb68686565aee3eafcc2fc34824e6b24290837779f94588", kill_on_drop: false }`
[INFO] [stdout] 1e5551ebe1f6fa838eb68686565aee3eafcc2fc34824e6b24290837779f94588
