[INFO] cloning repository https://github.com/rujirapongsn2/Anydoc-ocr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rujirapongsn2/Anydoc-ocr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frujirapongsn2%2FAnydoc-ocr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frujirapongsn2%2FAnydoc-ocr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e914f723fa08e83d1aa62abbe9a1c969a060329b
[INFO] checking rujirapongsn2/Anydoc-ocr against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frujirapongsn2%2FAnydoc-ocr" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rujirapongsn2/Anydoc-ocr
[INFO] finished tweaking git repo https://github.com/rujirapongsn2/Anydoc-ocr
[INFO] tweaked toml for git repo https://github.com/rujirapongsn2/Anydoc-ocr written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rujirapongsn2/Anydoc-ocr on toolchain 52995a223f2919dd3e2e427231db90a257350ded
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rujirapongsn2/Anydoc-ocr 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 56308dfcf29677b1ed4f3b36001d0f9ed737be55d5807ec5d9f32cb3cc41f98e
[INFO] running `Command { std: "docker" "start" "56308dfcf29677b1ed4f3b36001d0f9ed737be55d5807ec5d9f32cb3cc41f98e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56308dfcf29677b1ed4f3b36001d0f9ed737be55d5807ec5d9f32cb3cc41f98e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56308dfcf29677b1ed4f3b36001d0f9ed737be55d5807ec5d9f32cb3cc41f98e" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56308dfcf29677b1ed4f3b36001d0f9ed737be55d5807ec5d9f32cb3cc41f98e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "56308dfcf29677b1ed4f3b36001d0f9ed737be55d5807ec5d9f32cb3cc41f98e" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]     Checking memchr v2.8.3
[INFO] [stderr]     Checking typenum v1.20.1
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]     Checking simd-adler32 v0.3.10
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.20
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.7
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking regex-syntax v0.8.11
[INFO] [stderr]     Checking hashbrown v0.17.1
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking zlib-rs v0.6.6
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]     Checking tinyvec v1.12.0
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]     Checking jiff-core v0.1.0
[INFO] [stderr]    Compiling thiserror v2.0.19
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking anstyle-parse v1.0.0
[INFO] [stderr]     Checking aho-corasick v1.1.5
[INFO] [stderr]     Checking chacha20 v0.10.1
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]     Checking num-conv v0.2.2
[INFO] [stderr]     Checking bumpalo v3.20.3
[INFO] [stderr]     Checking time-core v0.1.9
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking either v1.17.0
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking jiff v0.2.35
[INFO] [stderr]     Checking colorchoice v1.0.5
[INFO] [stderr]     Checking unicode-properties v0.1.4
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking zopfli v0.8.3
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking rand v0.10.2
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking debug_unsafe v0.1.4
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]     Checking weezl v0.1.12
[INFO] [stderr]     Checking typed-path v0.12.3
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking rangemap v1.7.1
[INFO] [stderr]     Checking atoi_simd v0.18.1
[INFO] [stderr]     Checking quick-xml v0.41.0
[INFO] [stderr]     Checking codepage v0.1.2
[INFO] [stderr]     Checking csv-core v0.1.13
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking uuid v1.24.0
[INFO] [stderr]     Checking fast-float2 v0.2.3
[INFO] [stderr]     Checking regex-automata v0.4.16
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.126
[INFO] [stderr]     Checking futures-core v0.3.33
[INFO] [stderr]    Compiling target-lexicon v0.13.5
[INFO] [stderr]     Checking futures-sink v0.3.33
[INFO] [stderr]     Checking hybrid-array v0.4.14
[INFO] [stderr]     Checking cfb v0.14.0
[INFO] [stderr]     Checking futures-channel v0.3.33
[INFO] [stderr]     Checking time v0.3.55
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-padding v0.3.3
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking futures-io v0.3.33
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking csv v1.4.0
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking zip v8.6.0
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking ecb v0.1.2
[INFO] [stderr]     Checking cbc v0.1.2
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking futures-task v0.3.33
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]     Checking crypto-common v0.2.2
[INFO] [stderr]    Compiling pyo3-build-config v0.29.1
[INFO] [stderr]     Checking block-buffer v0.12.1
[INFO] [stderr]     Checking fastrand v2.5.0
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]     Checking const-oid v0.10.2
[INFO] [stderr]     Checking console v0.16.4
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]    Compiling napi-build v2.4.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.126
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]     Checking unicode-ident v1.0.24
[INFO] [stderr]     Checking sha2 v0.11.0
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling thiserror-impl v2.0.19
[INFO] [stderr]    Compiling unicode-segmentation v1.13.3
[INFO] [stderr]    Compiling napi v3.12.0
[INFO] [stderr]     Checking libloading v0.9.0
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]    Compiling anydoc-node v0.1.0 (/opt/rustwide/workdir/node)
[INFO] [stderr]    Compiling ctor v1.0.12
[INFO] [stderr]     Checking napi-sys v3.3.0
[INFO] [stderr]     Checking rustc-hash v2.1.3
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking serde_bytes v0.11.19
[INFO] [stderr]    Compiling pyo3-ffi v0.29.1
[INFO] [stderr]    Compiling pyo3 v0.29.1
[INFO] [stderr]    Compiling convert_case v0.11.0
[INFO] [stderr]     Checking regex v1.13.1
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking env_filter v2.0.0
[INFO] [stderr]     Checking insta v1.48.0
[INFO] [stderr]     Checking env_logger v0.11.11
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.126
[INFO] [stderr]    Compiling pyo3-macros-backend v0.29.1
[INFO] [stderr]    Compiling napi-derive-backend v6.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.33
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking futures-util v0.3.33
[INFO] [stderr]     Checking lopdf v0.41.0
[INFO] [stderr]     Checking calamine v0.36.1
[INFO] [stderr]    Compiling napi-derive v3.6.2
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.126
[INFO] [stderr]    Compiling pyo3-macros v0.29.1
[INFO] [stderr]     Checking futures-executor v0.3.33
[INFO] [stderr]     Checking futures v0.3.33
[INFO] [stderr]     Checking js-sys v0.3.103
[INFO] [stderr]     Checking pdf-inspector v0.1.7
[INFO] [stderr]     Checking anydoc v0.1.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking serde-wasm-bindgen v0.6.5
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/formats/pdf/fallback.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut engines: Vec<(String, Box<dyn OcrEngine>)> = Vec::new();
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking anydoc-python v0.1.7 (/opt/rustwide/workdir/python)
[INFO] [stderr]     Checking anydoc-wasm v0.1.7 (/opt/rustwide/workdir/wasm)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/formats/pdf/fallback.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let mut engines: Vec<(String, Box<dyn OcrEngine>)> = Vec::new();
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> python/src/lib.rs:155:50
[INFO] [stdout]     |
[INFO] [stdout] 155 | fn to_markdown(py: Python<'_>, path: PathBuf) -> PyResult<String> {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> python/src/lib.rs:164:78
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn to_markdown_bytes(py: Python<'_>, data: Vec<u8>, format: Option<&str>) -> PyResult<String> {
[INFO] [stdout]     |                                                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> python/src/lib.rs:229:6
[INFO] [stdout]     |
[INFO] [stdout] 229 | ) -> PyResult<String> {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> python/src/lib.rs:263:6
[INFO] [stdout]     |
[INFO] [stdout] 263 | ) -> PyResult<document::Document> {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> python/src/lib.rs:155:50
[INFO] [stdout]     |
[INFO] [stdout] 155 | fn to_markdown(py: Python<'_>, path: PathBuf) -> PyResult<String> {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> python/src/lib.rs:164:78
[INFO] [stdout]     |
[INFO] [stdout] 164 | fn to_markdown_bytes(py: Python<'_>, data: Vec<u8>, format: Option<&str>) -> PyResult<String> {
[INFO] [stdout]     |                                                                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> python/src/lib.rs:229:6
[INFO] [stdout]     |
[INFO] [stdout] 229 | ) -> PyResult<String> {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> python/src/lib.rs:263:6
[INFO] [stdout]     |
[INFO] [stdout] 263 | ) -> PyResult<document::Document> {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `anydoc-python` (lib test) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `anydoc-python` (lib) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "56308dfcf29677b1ed4f3b36001d0f9ed737be55d5807ec5d9f32cb3cc41f98e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56308dfcf29677b1ed4f3b36001d0f9ed737be55d5807ec5d9f32cb3cc41f98e", kill_on_drop: false }`
[INFO] [stdout] 56308dfcf29677b1ed4f3b36001d0f9ed737be55d5807ec5d9f32cb3cc41f98e
