[INFO] cloning repository https://github.com/robertknight/ocrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robertknight/ocrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertknight%2Focrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertknight%2Focrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0f8ae6f24f1dc71980a7505613231c2665829dd [INFO] testing robertknight/ocrs against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertknight%2Focrs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robertknight/ocrs on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robertknight/ocrs [INFO] finished tweaking git repo https://github.com/robertknight/ocrs [INFO] tweaked toml for git repo https://github.com/robertknight/ocrs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/robertknight/ocrs 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ureq-proto v0.3.0 [INFO] [stderr] Downloaded idna_adapter v1.0.0 [INFO] [stderr] Downloaded rten-vecmath v0.18.0 [INFO] [stderr] Downloaded rten-imageproc v0.18.0 [INFO] [stderr] Downloaded rten-simd v0.18.0 [INFO] [stderr] Downloaded rten-tensor v0.18.0 [INFO] [stderr] Downloaded ureq v3.0.5 [INFO] [stderr] Downloaded rten v0.18.0 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5b309f77a21aea3d070bbeed3ec0c41279abdaea9fdd23a4ebfcc8331ad9fe9 [INFO] running `Command { std: "docker" "start" "-a" "d5b309f77a21aea3d070bbeed3ec0c41279abdaea9fdd23a4ebfcc8331ad9fe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5b309f77a21aea3d070bbeed3ec0c41279abdaea9fdd23a4ebfcc8331ad9fe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b309f77a21aea3d070bbeed3ec0c41279abdaea9fdd23a4ebfcc8331ad9fe9", kill_on_drop: false }` [INFO] [stdout] d5b309f77a21aea3d070bbeed3ec0c41279abdaea9fdd23a4ebfcc8331ad9fe9 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e39853314083e0fb2929fb03fd320535a6f7d2cd494be26d3bd6dcccad1da4ec [INFO] running `Command { std: "docker" "start" "-a" "e39853314083e0fb2929fb03fd320535a6f7d2cd494be26d3bd6dcccad1da4ec", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling flatbuffers v24.3.25 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling crossbeam-deque v0.8.4 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling rten-tensor v0.18.0 [INFO] [stderr] Compiling rten-simd v0.18.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling rustls v0.23.22 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling rten-vecmath v0.18.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling fdeflate v0.3.3 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling idna_adapter v1.0.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling ureq-proto v0.3.0 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rten v0.18.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rten-imageproc v0.18.0 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling lexopt v0.3.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling ureq v3.0.5 [INFO] [stderr] Compiling ocrs v0.10.3 (/opt/rustwide/workdir/ocrs) [INFO] [stderr] Compiling ocrs-cli v0.10.3 (/opt/rustwide/workdir/ocrs-cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "e39853314083e0fb2929fb03fd320535a6f7d2cd494be26d3bd6dcccad1da4ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39853314083e0fb2929fb03fd320535a6f7d2cd494be26d3bd6dcccad1da4ec", kill_on_drop: false }` [INFO] [stdout] e39853314083e0fb2929fb03fd320535a6f7d2cd494be26d3bd6dcccad1da4ec [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5334376434a4f2d8a37845fa008736fdac7930ac9218366df55837e960894e7f [INFO] running `Command { std: "docker" "start" "-a" "5334376434a4f2d8a37845fa008736fdac7930ac9218366df55837e960894e7f", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling ocrs-cli v0.10.3 (/opt/rustwide/workdir/ocrs-cli) [INFO] [stderr] Compiling ocrs v0.10.3 (/opt/rustwide/workdir/ocrs) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.78s [INFO] running `Command { std: "docker" "inspect" "5334376434a4f2d8a37845fa008736fdac7930ac9218366df55837e960894e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5334376434a4f2d8a37845fa008736fdac7930ac9218366df55837e960894e7f", kill_on_drop: false }` [INFO] [stdout] 5334376434a4f2d8a37845fa008736fdac7930ac9218366df55837e960894e7f [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6320aea0adb805dbaf78aafa01db52f1e96167eb775c39b5d32a41cad7d93d5f [INFO] running `Command { std: "docker" "start" "-a" "6320aea0adb805dbaf78aafa01db52f1e96167eb775c39b5d32a41cad7d93d5f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ocrs-e630b90298f7c43f) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test layout_analysis::empty_rects::tests::test_max_empty_rects_if_none ... ok [INFO] [stdout] test layout_analysis::tests::test_find_block_separators ... ok [INFO] [stdout] test preprocess::tests::test_image_source_from_bytes ... ok [INFO] [stdout] test layout_analysis::empty_rects::tests::test_max_empty_rects ... ok [INFO] [stdout] test recognition::tests::test_line_polygon ... ok [INFO] [stdout] test preprocess::tests::test_image_source_from_data ... 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_filter_chars ... ok [INFO] [stdout] test layout_analysis::tests::test_find_text_lines ... ok [INFO] [stdout] test tests::test_ocr_engine_prepare_input ... ok [INFO] [stdout] test detection::tests::test_find_connected_component_rects ... ok [INFO] [stdout] test tests::test_ocr_engine_detect_words ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ocrs-952fb7aa7e588554) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test output::tests::test_generate_annotated_png ... ok [INFO] [stdout] test output::tests::test_format_json_output ... ok [INFO] [stdout] test output::tests::test_format_text_output ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests ocrs [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test ocrs/src/preprocess.rs - preprocess::ImageSource<'a>::from_bytes (line 80) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6320aea0adb805dbaf78aafa01db52f1e96167eb775c39b5d32a41cad7d93d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6320aea0adb805dbaf78aafa01db52f1e96167eb775c39b5d32a41cad7d93d5f", kill_on_drop: false }` [INFO] [stdout] 6320aea0adb805dbaf78aafa01db52f1e96167eb775c39b5d32a41cad7d93d5f