[INFO] fetching crate ocrs 0.12.2... [INFO] testing ocrs-0.12.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate ocrs 0.12.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate ocrs 0.12.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ocrs 0.12.2 [INFO] tweaked toml for crates.io crate ocrs 0.12.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ocrs 0.12.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ocrs 0.12.2 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c6b4bb6f798dabda7af728490bcc7f3a9fd2c84ff8a66419039b77ab262ea98 [INFO] running `Command { std: "docker" "start" "-a" "2c6b4bb6f798dabda7af728490bcc7f3a9fd2c84ff8a66419039b77ab262ea98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c6b4bb6f798dabda7af728490bcc7f3a9fd2c84ff8a66419039b77ab262ea98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c6b4bb6f798dabda7af728490bcc7f3a9fd2c84ff8a66419039b77ab262ea98", kill_on_drop: false }` [INFO] [stdout] 2c6b4bb6f798dabda7af728490bcc7f3a9fd2c84ff8a66419039b77ab262ea98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6fa325071fc5d9643f3e47370424b08d9b6b7f4fee8bab4d2b66ab94e34505f [INFO] running `Command { std: "docker" "start" "-a" "b6fa325071fc5d9643f3e47370424b08d9b6b7f4fee8bab4d2b66ab94e34505f", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling rten-simd v0.24.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling flatbuffers v24.3.25 [INFO] [stderr] Compiling crossbeam-deque v0.8.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling rten-base v0.24.0 [INFO] [stderr] Compiling rten-tensor v0.24.0 [INFO] [stderr] Compiling rten-vecmath v0.24.0 [INFO] [stderr] Compiling rten-model-file v0.24.0 [INFO] [stderr] Compiling rten-shape-inference v0.24.0 [INFO] [stderr] Compiling rten-gemm v0.24.0 [INFO] [stderr] Compiling rten-imageproc v0.24.0 [INFO] [stderr] Compiling rten v0.24.0 [INFO] [stderr] Compiling ocrs v0.12.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.07s [INFO] running `Command { std: "docker" "inspect" "b6fa325071fc5d9643f3e47370424b08d9b6b7f4fee8bab4d2b66ab94e34505f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6fa325071fc5d9643f3e47370424b08d9b6b7f4fee8bab4d2b66ab94e34505f", kill_on_drop: false }` [INFO] [stdout] b6fa325071fc5d9643f3e47370424b08d9b6b7f4fee8bab4d2b66ab94e34505f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38c57772c50e3fcb2d0512743eebd07347e1b250ac1a91c46948f97edc25a78c [INFO] running `Command { std: "docker" "start" "-a" "38c57772c50e3fcb2d0512743eebd07347e1b250ac1a91c46948f97edc25a78c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling zune-core v0.5.0 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling fdeflate v0.3.3 [INFO] [stderr] Compiling lexopt v0.3.2 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling zune-jpeg v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling png v0.18.1 [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling moxcms v0.7.7 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling ocrs v0.12.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 37.84s [INFO] running `Command { std: "docker" "inspect" "38c57772c50e3fcb2d0512743eebd07347e1b250ac1a91c46948f97edc25a78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38c57772c50e3fcb2d0512743eebd07347e1b250ac1a91c46948f97edc25a78c", kill_on_drop: false }` [INFO] [stdout] 38c57772c50e3fcb2d0512743eebd07347e1b250ac1a91c46948f97edc25a78c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5df30243a2cc5aad0a64fc0b354a509371618f1bf052d3e84cf39209a6fb85d5 [INFO] running `Command { std: "docker" "start" "-a" "5df30243a2cc5aad0a64fc0b354a509371618f1bf052d3e84cf39209a6fb85d5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ocrs-4b7bd724dd5d86cb) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test layout_analysis::empty_rects::tests::test_max_empty_rects ... ok [INFO] [stdout] test layout_analysis::empty_rects::tests::test_max_empty_rects_if_none ... ok [INFO] [stdout] test preprocess::tests::test_prepare_image_greyscale_f32 ... ok [INFO] [stdout] test preprocess::tests::test_image_source_from_data ... ok [INFO] [stdout] test preprocess::tests::test_prepare_image_greyscale_u8 ... ok [INFO] [stdout] test preprocess::tests::test_prepare_image_rgb_f32 ... ok [INFO] [stdout] test preprocess::tests::test_prepare_image_multi_pixel_rgb ... ok [INFO] [stdout] test preprocess::tests::test_prepare_image_rgb_rgba_u8 ... ok [INFO] [stdout] test recognition::tests::test_line_polygon ... ok [INFO] [stdout] test layout_analysis::tests::test_find_block_separators ... ok [INFO] [stdout] test text_items::tests::test_item_display ... ok [INFO] [stdout] test text_items::tests::test_item_rotated_rect ... ok [INFO] [stdout] test text_items::tests::test_line_words ... ok [INFO] [stdout] test tests::test_ocr_engine_recognize_lines ... ok [INFO] [stdout] test tests::test_ocr_engine_prepare_input ... ok [INFO] [stdout] test tests::test_ocr_engine_filter_chars ... ok [INFO] [stdout] test preprocess::tests::test_image_source_from_bytes ... ok [INFO] [stdout] test layout_analysis::tests::test_find_text_lines ... ok [INFO] [stdout] test tests::test_ocr_engine_detect_words ... ok [INFO] [stdout] test detection::tests::test_find_connected_component_rects ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Doc-tests ocrs [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/preprocess.rs - preprocess::ImageSource<'a>::from_bytes (line 72) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5df30243a2cc5aad0a64fc0b354a509371618f1bf052d3e84cf39209a6fb85d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df30243a2cc5aad0a64fc0b354a509371618f1bf052d3e84cf39209a6fb85d5", kill_on_drop: false }` [INFO] [stdout] 5df30243a2cc5aad0a64fc0b354a509371618f1bf052d3e84cf39209a6fb85d5