layoutparser-ort 0.1.0

A simplified port of LayoutParser for detecting layout elements on documents.
Documentation
Build #2343887 2025-07-23 17:23:35

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version
rustc 1.90.0-nightly (a7a1618e6 2025-07-22)# docs.rs version
docsrs 0.6.0 (4b4a3779 2025-07-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/layoutparser-ort-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/layoutparser-ort-0.1.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250722-1.90.0-nightly-a7a1618e6\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d57766f57dfe89ecb378ff1ca66415da538b28154d1a7cdfef2fc64096e25eff
[INFO] running `Command { std: "docker" "start" "-a" "d57766f57dfe89ecb378ff1ca66415da538b28154d1a7cdfef2fc64096e25eff", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting layoutparser-ort v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `ort::Session`, `ort::SessionBuilder`, `ort::SessionOutputs`
[INFO] [stderr]  --> src/models/detectron2.rs:3:11
[INFO] [stderr]   |
[INFO] [stderr] 3 | use ort::{Session, SessionBuilder, SessionOutputs};
[INFO] [stderr]   |           ^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^ no `SessionOutputs` in the root
[INFO] [stderr]   |           |        |
[INFO] [stderr]   |           |        no `SessionBuilder` in the root
[INFO] [stderr]   |           no `Session` in the root
[INFO] [stderr]   |           help: a similar name exists in the module (notice the capitalization): `session`
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider importing one of these structs instead:
[INFO] [stderr]           crate::ort::session::Session
[INFO] [stderr]           ort::session::Session
[INFO] [stderr]   = help: consider importing one of these structs instead:
[INFO] [stderr]           crate::ort::session::builder::SessionBuilder
[INFO] [stderr]           ort::session::builder::SessionBuilder
[INFO] [stderr]   = help: consider importing one of these structs instead:
[INFO] [stderr]           crate::ort::session::SessionOutputs
[INFO] [stderr]           ort::session::SessionOutputs
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `ort::Session`, `ort::SessionBuilder`, `ort::SessionOutputs`
[INFO] [stderr]  --> src/models/yolox.rs:6:11
[INFO] [stderr]   |
[INFO] [stderr] 6 | use ort::{Session, SessionBuilder, SessionOutputs};
[INFO] [stderr]   |           ^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^ no `SessionOutputs` in the root
[INFO] [stderr]   |           |        |
[INFO] [stderr]   |           |        no `SessionBuilder` in the root
[INFO] [stderr]   |           no `Session` in the root
[INFO] [stderr]   |           help: a similar name exists in the module (notice the capitalization): `session`
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider importing one of these structs instead:
[INFO] [stderr]           crate::ort::session::Session
[INFO] [stderr]           ort::session::Session
[INFO] [stderr]   = help: consider importing one of these structs instead:
[INFO] [stderr]           crate::ort::session::builder::SessionBuilder
[INFO] [stderr]           ort::session::builder::SessionBuilder
[INFO] [stderr]   = help: consider importing one of these structs instead:
[INFO] [stderr]           crate::ort::session::SessionOutputs
[INFO] [stderr]           ort::session::SessionOutputs
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Session` in crate `ort`
[INFO] [stderr]   --> src/models/detectron2.rs:11:17
[INFO] [stderr]    |
[INFO] [stderr] 11 |     model: ort::Session,
[INFO] [stderr]    |                 ^^^^^^^ not found in `ort`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing one of these structs
[INFO] [stderr]    |
[INFO] [stderr] 1  + use crate::ort::session::Session;
[INFO] [stderr]    |
[INFO] [stderr] 1  + use ort::session::Session;
[INFO] [stderr]    |
[INFO] [stderr] help: if you import `Session`, refer to it directly
[INFO] [stderr]    |
[INFO] [stderr] 11 -     model: ort::Session,
[INFO] [stderr] 11 +     model: Session,
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Session` in crate `ort`
[INFO] [stderr]   --> src/models/yolox.rs:14:17
[INFO] [stderr]    |
[INFO] [stderr] 14 |     model: ort::Session,
[INFO] [stderr]    |                 ^^^^^^^ not found in `ort`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing one of these structs
[INFO] [stderr]    |
[INFO] [stderr] 1  + use crate::ort::session::Session;
[INFO] [stderr]    |
[INFO] [stderr] 1  + use ort::session::Session;
[INFO] [stderr]    |
[INFO] [stderr] help: if you import `Session`, refer to it directly
[INFO] [stderr]    |
[INFO] [stderr] 14 -     model: ort::Session,
[INFO] [stderr] 14 +     model: Session,
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not document `layoutparser-ort`
[INFO] running `Command { std: "docker" "inspect" "d57766f57dfe89ecb378ff1ca66415da538b28154d1a7cdfef2fc64096e25eff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d57766f57dfe89ecb378ff1ca66415da538b28154d1a7cdfef2fc64096e25eff", kill_on_drop: false }`
[INFO] [stdout] d57766f57dfe89ecb378ff1ca66415da538b28154d1a7cdfef2fc64096e25eff