[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 beta-2024-12-08 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fidr4n%2Fimage-resizer-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/idr4n/image-resizer-rust on toolchain beta-2024-12-08 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a15a58fd2f34892e5d154e11df2658a00030924eb252189d6ca5725e22a0d1e [INFO] running `Command { std: "docker" "start" "-a" "5a15a58fd2f34892e5d154e11df2658a00030924eb252189d6ca5725e22a0d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a15a58fd2f34892e5d154e11df2658a00030924eb252189d6ca5725e22a0d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a15a58fd2f34892e5d154e11df2658a00030924eb252189d6ca5725e22a0d1e", kill_on_drop: false }` [INFO] [stdout] 5a15a58fd2f34892e5d154e11df2658a00030924eb252189d6ca5725e22a0d1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 304f0bb602ccfc168cf4414df08536455a5b3637b6f10bc94a0efdaf2009ac98 [INFO] running `Command { std: "docker" "start" "-a" "304f0bb602ccfc168cf4414df08536455a5b3637b6f10bc94a0efdaf2009ac98", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling bytemuck v1.16.3 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling bitstream-io v2.5.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling rgb v0.8.48 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [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 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 41.76s [INFO] running `Command { std: "docker" "inspect" "304f0bb602ccfc168cf4414df08536455a5b3637b6f10bc94a0efdaf2009ac98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304f0bb602ccfc168cf4414df08536455a5b3637b6f10bc94a0efdaf2009ac98", kill_on_drop: false }` [INFO] [stdout] 304f0bb602ccfc168cf4414df08536455a5b3637b6f10bc94a0efdaf2009ac98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aeac30fbe5683833e9c2471747b9337b8f1106e9d8ebc21140c5b6d47d7c59a0 [INFO] running `Command { std: "docker" "start" "-a" "aeac30fbe5683833e9c2471747b9337b8f1106e9d8ebc21140c5b6d47d7c59a0", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling fastrand v2.1.0 [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 7.41s [INFO] running `Command { std: "docker" "inspect" "aeac30fbe5683833e9c2471747b9337b8f1106e9d8ebc21140c5b6d47d7c59a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeac30fbe5683833e9c2471747b9337b8f1106e9d8ebc21140c5b6d47d7c59a0", kill_on_drop: false }` [INFO] [stdout] aeac30fbe5683833e9c2471747b9337b8f1106e9d8ebc21140c5b6d47d7c59a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ef7d32be54988d8a405984666d8c2c63e48b027d16ec3434ba356cba5273eca2 [INFO] running `Command { std: "docker" "start" "-a" "ef7d32be54988d8a405984666d8c2c63e48b027d16ec3434ba356cba5273eca2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/image_resizer_rust-4ebb008bb3495e49) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test tests::infer_format_test::test_infer_format_from_path ... ok [INFO] [stdout] test tests::save_image_test::test_save_image_jpg ... ok [INFO] [stdout] test tests::save_image_test::test_save_image_invalid_dimensions ... ok [INFO] [stdout] test tests::infer_format_test::test_infer_format_fallback_to_jpeg ... ok [INFO] [stdout] test tests::save_image_test::test_save_image_different_format ... ok [INFO] [stdout] test tests::save_image_test::test_save_image_failure ... 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] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/image_resizer_rust-849af3af75c6eb38) [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::validate_output_path_tests::invalid_extension ... ok [INFO] [stdout] test cli::tests::determine_output_path_tests::with_absolute_output ... 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::determine_output_path_tests::without_output ... ok [INFO] [stdout] test cli::tests::validate_output_path_tests::from_shell ... ok [INFO] [stdout] test cli::tests::value_parser_for_path_test::nonexistent_file ... 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.02s [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 4.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ef7d32be54988d8a405984666d8c2c63e48b027d16ec3434ba356cba5273eca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7d32be54988d8a405984666d8c2c63e48b027d16ec3434ba356cba5273eca2", kill_on_drop: false }` [INFO] [stdout] ef7d32be54988d8a405984666d8c2c63e48b027d16ec3434ba356cba5273eca2