layoutparser-ort 0.1.0

A simplified port of LayoutParser for detecting layout elements on documents.
Documentation
Build #2679323 2025-11-22 21:50:15

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.93.0-nightly (27b076af7 2025-11-21)# docs.rs version
docsrs 0.6.0 (46df4db8 2025-11-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251121-1.93.0-nightly-27b076af7\", \"--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] f1f45b75fed135f7e0a114ac0d39226a1303b18bbb71f11b262ed6af0dc1bd61
[INFO] running `Command { std: "docker" "start" "-a" "f1f45b75fed135f7e0a114ac0d39226a1303b18bbb71f11b262ed6af0dc1bd61", 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" "f1f45b75fed135f7e0a114ac0d39226a1303b18bbb71f11b262ed6af0dc1bd61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1f45b75fed135f7e0a114ac0d39226a1303b18bbb71f11b262ed6af0dc1bd61", kill_on_drop: false }`
[INFO] [stdout] f1f45b75fed135f7e0a114ac0d39226a1303b18bbb71f11b262ed6af0dc1bd61