[INFO] cloning repository https://github.com/fschutt/tesseract-static-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fschutt/tesseract-static-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Ftesseract-static-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Ftesseract-static-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68a9a9ced9fbe57e942eb4680ebf1d2e90d646b3 [INFO] checking fschutt/tesseract-static-rs/68a9a9ced9fbe57e942eb4680ebf1d2e90d646b3 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Ftesseract-static-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fschutt/tesseract-static-rs on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/fschutt/tesseract-static-rs [INFO] finished tweaking git repo https://github.com/fschutt/tesseract-static-rs [INFO] tweaked toml for git repo https://github.com/fschutt/tesseract-static-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fschutt/tesseract-static-rs 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework-sys v2.8.0 [INFO] [stderr] Downloaded phf_macros v0.8.0 [INFO] [stderr] Downloaded cssparser-macros v0.6.1 [INFO] [stderr] Downloaded phf_generator v0.8.0 [INFO] [stderr] Downloaded phf_codegen v0.8.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.34 [INFO] [stderr] Downloaded security-framework v2.8.2 [INFO] [stderr] Downloaded markup5ever v0.10.1 [INFO] [stderr] Downloaded kuchiki v0.8.1 [INFO] [stderr] Downloaded dtoa-short v0.3.5 [INFO] [stderr] Downloaded selectors v0.22.0 [INFO] [stderr] Downloaded cssparser v0.27.2 [INFO] [stderr] Downloaded html5ever v0.25.2 [INFO] [stderr] Downloaded tokio-util v0.7.7 [INFO] [stderr] Downloaded serde v1.0.160 [INFO] [stderr] Downloaded reqwest v0.11.16 [INFO] [stderr] Downloaded base64 v0.21.0 [INFO] [stderr] Downloaded h2 v0.3.18 [INFO] [stderr] Downloaded openssl-sys v0.9.86 [INFO] [stderr] Downloaded openssl v0.10.51 [INFO] [stderr] Downloaded rustix v0.37.13 [INFO] [stderr] Downloaded libc v0.2.142 [INFO] [stderr] Downloaded tokio v1.27.0 [INFO] [stderr] Downloaded linux-raw-sys v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00167ae2d510712b0651a2821da52e374a8d985c632a0342f0b1458c06f8cd33 [INFO] running `Command { std: "docker" "start" "-a" "00167ae2d510712b0651a2821da52e374a8d985c632a0342f0b1458c06f8cd33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00167ae2d510712b0651a2821da52e374a8d985c632a0342f0b1458c06f8cd33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00167ae2d510712b0651a2821da52e374a8d985c632a0342f0b1458c06f8cd33", kill_on_drop: false }` [INFO] [stdout] 00167ae2d510712b0651a2821da52e374a8d985c632a0342f0b1458c06f8cd33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0220b447e717a4437ba199887935651c833e365cd99f430538ffd4ff83d746f4 [INFO] running `Command { std: "docker" "start" "-a" "0220b447e717a4437ba199887935651c833e365cd99f430538ffd4ff83d746f4", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde v1.0.160 [INFO] [stderr] Compiling tokio v1.27.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling openssl v0.10.51 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-sys v0.9.86 [INFO] [stderr] Compiling link-cplusplus v1.0.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling filetime v0.2.21 [INFO] [stderr] Compiling xattr v0.2.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling ipnet v2.7.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling tesseract-static v0.1.0 (/opt/rustwide/workdir/tesseract-static) [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking tokio-util v0.7.7 [INFO] [stderr] Checking h2 v0.3.18 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.40 [INFO] [stdout] error: couldn't read `tesseract-static/src/leptonica_plumbing/../image.png`: No such file or directory (os error 2) [INFO] [stdout] --> tesseract-static/src/leptonica_plumbing/pix.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | let pix = Pix::read_mem(include_bytes!("../image.png"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tesseract-static/src/libtesseract_rs/../img.txt`: No such file or directory (os error 2) [INFO] [stdout] --> tesseract-static/src/libtesseract_rs/mod.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | include_str!("../img.txt").to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tesseract-static/src/libtesseract_rs/../img.tiff`: No such file or directory (os error 2) [INFO] [stdout] --> tesseract-static/src/libtesseract_rs/mod.rs:258:24 [INFO] [stdout] | [INFO] [stdout] 258 | ocr_from_frame(include_bytes!("../img.tiff"), 2256, 324, 3, 2256 * 3, "eng")?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tesseract-static/src/libtesseract_rs/../img.txt`: No such file or directory (os error 2) [INFO] [stdout] --> tesseract-static/src/libtesseract_rs/mod.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | include_str!("../img.txt").to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tesseract-static/src/libtesseract_rs/../img.tiff`: No such file or directory (os error 2) [INFO] [stdout] --> tesseract-static/src/libtesseract_rs/mod.rs:267:29 [INFO] [stdout] | [INFO] [stdout] 267 | .set_image_from_mem(include_bytes!("../img.tiff"))? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tesseract-static/src/libtesseract_rs/../img.txt`: No such file or directory (os error 2) [INFO] [stdout] --> tesseract-static/src/libtesseract_rs/mod.rs:269:35 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(&cube.get_text()?, include_str!("../img.txt")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tesseract-static/src/libtesseract_rs/../img.txt`: No such file or directory (os error 2) [INFO] [stdout] --> tesseract-static/src/libtesseract_rs/mod.rs:279:35 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(&cube.get_text()?, include_str!("../img.txt")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tesseract-static/src/libtesseract_rs/../img.txt`: No such file or directory (os error 2) [INFO] [stdout] --> tesseract-static/src/libtesseract_rs/mod.rs:315:31 [INFO] [stdout] | [INFO] [stdout] 315 | assert_eq!(only_lstm_str, include_str!("../img.txt")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image` [INFO] [stdout] --> tesseract-static/src/libtesseract_rs/../tesseract_plumbing/tess_base_api.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | use image::GenericImageView; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `leptonica_sys` [INFO] [stdout] --> tesseract-static/src/leptonica_plumbing/box.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | let lbox: &leptonica_sys::Box = r#box.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `leptonica_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::leptonica_sys; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `leptonica_sys` [INFO] [stdout] --> tesseract-static/src/leptonica_plumbing/boxa.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let lboxa: &leptonica_sys::Boxa = boxa.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `leptonica_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::leptonica_sys; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `leptonica_sys` [INFO] [stdout] --> tesseract-static/src/leptonica_plumbing/pix.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | let lpix: &leptonica_sys::Pix = pix.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `leptonica_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::leptonica_sys; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `leptonica_sys` [INFO] [stdout] --> tesseract-static/src/leptonica_plumbing/pix.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | let lpix: &leptonica_sys::Pix = pix.as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `leptonica_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::leptonica_sys; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stdout] error[E0609]: no field `n` on type `&leptonica_sys::Pixa` [INFO] [stdout] --> tesseract-static/src/leptonica_plumbing/pixa.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(pixa.as_ref().n, 2); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `w` on type `&leptonica_sys::Pix` [INFO] [stdout] --> tesseract-static/src/leptonica_plumbing/pixa.rs:77:50 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(pixa.get_pix(0).unwrap().as_ref().w, 165); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `h` on type `&leptonica_sys::Pix` [INFO] [stdout] --> tesseract-static/src/leptonica_plumbing/pixa.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(pixa.get_pix(0).unwrap().as_ref().h, 67); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `w` on type `&leptonica_sys::Pix` [INFO] [stdout] --> tesseract-static/src/leptonica_plumbing/pixa.rs:79:50 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(pixa.get_pix(1).unwrap().as_ref().w, 165); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `h` on type `&leptonica_sys::Pix` [INFO] [stdout] --> tesseract-static/src/leptonica_plumbing/pixa.rs:80:50 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(pixa.get_pix(1).unwrap().as_ref().h, 67); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stdout] error[E0609]: no field `w` on type `leptonica_sys::Pix` [INFO] [stdout] --> tesseract-static/src/leptonica_sys/lib.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!((*image).w, 1000); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `h` on type `leptonica_sys::Pix` [INFO] [stdout] --> tesseract-static/src/leptonica_sys/lib.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!((*image).h, 500); [INFO] [stdout] | ^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available field is: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `image` [INFO] [stdout] --> tesseract-static/src/libtesseract_rs/../tesseract_plumbing/tess_base_api.rs:431:15 [INFO] [stdout] | [INFO] [stdout] 431 | let img = image::open("image.png").unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tesseract-static` (lib test) due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0220b447e717a4437ba199887935651c833e365cd99f430538ffd4ff83d746f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0220b447e717a4437ba199887935651c833e365cd99f430538ffd4ff83d746f4", kill_on_drop: false }` [INFO] [stdout] 0220b447e717a4437ba199887935651c833e365cd99f430538ffd4ff83d746f4