[INFO] cloning repository https://github.com/idr4n/image-resizer-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/idr4n/image-resizer-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidr4n%2Fimage-resizer-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidr4n%2Fimage-resizer-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2de834a26bab8dd44ceebc29d9d7403f64796215 [INFO] testing idr4n/image-resizer-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidr4n%2Fimage-resizer-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/idr4n/image-resizer-rust [INFO] finished tweaking git repo https://github.com/idr4n/image-resizer-rust [INFO] tweaked toml for git repo https://github.com/idr4n/image-resizer-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/idr4n/image-resizer-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/idr4n/image-resizer-rust 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.207 [INFO] [stderr] Downloaded clap v4.5.15 [INFO] [stderr] Downloaded fast_image_resize v4.2.1 [INFO] [stderr] Downloaded cc v1.1.11 [INFO] [stderr] Downloaded serde v1.0.207 [INFO] [stderr] Downloaded syn v2.0.74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 169dfd718fedae1070ce294c372f6f025071aa75f461455b04b771eb56a4c86e [INFO] running `Command { std: "docker" "start" "-a" "169dfd718fedae1070ce294c372f6f025071aa75f461455b04b771eb56a4c86e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "169dfd718fedae1070ce294c372f6f025071aa75f461455b04b771eb56a4c86e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "169dfd718fedae1070ce294c372f6f025071aa75f461455b04b771eb56a4c86e", kill_on_drop: false }` [INFO] [stdout] 169dfd718fedae1070ce294c372f6f025071aa75f461455b04b771eb56a4c86e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d8ba4ab3f0be72bcdcc4a5bd0f73bca1a8f5e836ced67a02d352396e5d531ab [INFO] running `Command { std: "docker" "start" "-a" "1d8ba4ab3f0be72bcdcc4a5bd0f73bca1a8f5e836ced67a02d352396e5d531ab", kill_on_drop: false }` [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling bitstream-io v2.5.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling rgb v0.8.48 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling fast_image_resize v4.2.1 [INFO] [stderr] Compiling clap v4.5.15 [INFO] [stderr] Compiling ravif v0.11.10 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling image-resizer-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.35s [INFO] running `Command { std: "docker" "inspect" "1d8ba4ab3f0be72bcdcc4a5bd0f73bca1a8f5e836ced67a02d352396e5d531ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d8ba4ab3f0be72bcdcc4a5bd0f73bca1a8f5e836ced67a02d352396e5d531ab", kill_on_drop: false }` [INFO] [stdout] 1d8ba4ab3f0be72bcdcc4a5bd0f73bca1a8f5e836ced67a02d352396e5d531ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56496e52df28324d4080b88ddf412ddd191e290b33a46dbb2987933df6199b13 [INFO] running `Command { std: "docker" "start" "-a" "56496e52df28324d4080b88ddf412ddd191e290b33a46dbb2987933df6199b13", kill_on_drop: false }` [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling image-resizer-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "56496e52df28324d4080b88ddf412ddd191e290b33a46dbb2987933df6199b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56496e52df28324d4080b88ddf412ddd191e290b33a46dbb2987933df6199b13", kill_on_drop: false }` [INFO] [stdout] 56496e52df28324d4080b88ddf412ddd191e290b33a46dbb2987933df6199b13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b69150c0ea6791d4a6ccddacb2789f59579cff2811004c219f11b1f23568103b [INFO] running `Command { std: "docker" "start" "-a" "b69150c0ea6791d4a6ccddacb2789f59579cff2811004c219f11b1f23568103b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/image_resizer_rust-5e86da961155059d) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test tests::infer_format_test::test_infer_format_fallback_to_jpeg ... ok [INFO] [stdout] test tests::infer_format_test::test_infer_format_jpeg ... ok [INFO] [stdout] test tests::infer_format_test::test_infer_format_png ... ok [INFO] [stdout] test tests::infer_format_test::test_infer_format_from_path ... ok [INFO] [stdout] test tests::save_image_test::test_save_image_invalid_dimensions ... ok [INFO] [stdout] test tests::save_image_test::test_save_image_different_format ... ok [INFO] [stdout] test tests::save_image_test::test_save_image_jpg ... ok [INFO] [stdout] test tests::save_image_test::test_save_image_failure ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/image_resizer_rust-e037d462ce5897ad) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test cli::tests::determine_output_path_tests::with_current_dir ... ok [INFO] [stdout] test cli::tests::determine_output_path_tests::with_output ... ok [INFO] [stdout] test cli::tests::determine_output_path_tests::without_output ... ok [INFO] [stdout] test cli::tests::determine_output_path_tests::with_absolute_output ... ok [INFO] [stdout] test cli::tests::validate_output_path_tests::invalid_extension ... ok [INFO] [stdout] test cli::tests::validate_output_path_tests::nonexistent_directory ... ok [INFO] [stdout] test cli::tests::validate_output_path_tests::valid_path ... ok [INFO] [stdout] test cli::tests::value_parser_for_path_test::nonexistent_file ... ok [INFO] [stdout] test cli::tests::validate_output_path_tests::from_shell ... ok [INFO] [stdout] test cli::tests::value_parser_for_path_test::from_shell ... ok [INFO] [stdout] test cli::tests::determine_output_path_tests::from_shell_relative ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests image_resizer_rust [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - image_format_to_string (line 372) ... ok [INFO] [stdout] test src/lib.rs - determine_save_format_and_path (line 328) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b69150c0ea6791d4a6ccddacb2789f59579cff2811004c219f11b1f23568103b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b69150c0ea6791d4a6ccddacb2789f59579cff2811004c219f11b1f23568103b", kill_on_drop: false }` [INFO] [stdout] b69150c0ea6791d4a6ccddacb2789f59579cff2811004c219f11b1f23568103b