layoutparser-ort 0.1.0

A simplified port of LayoutParser for detecting layout elements on documents.
Documentation

Build #4287127 2026-09-01 10:22:21

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.

# error kind ExecutionFailed

# pre-build errors command failed: exit status: 101

# rustc version rustc 1.100.0-nightly (0dfb098f3 2026-08-31)

# docs.rs version docsrs 0.0.0 (c6ca30c0fecf66cc5a0859ac541222ca6c912d59 2026-09-01 )

# build log [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" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "4482d88b83f55d9726f8070ad9a6a55383aad771c36f4311932453cc81df1322" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20260831-1.100.0-nightly-0dfb098f3\", \"--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\"" "-j12" "--target" "x86_64-unknown-linux-gnu" "-Zrustdoc-scrape-examples", 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] | [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] help: a similar name exists in the module (notice the capitalization) [INFO] [stderr] | [INFO] [stderr] 3 - use ort::{Session, SessionBuilder, SessionOutputs}; [INFO] [stderr] 3 + use ort::{session, SessionBuilder, SessionOutputs}; [INFO] [stderr] | [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] | [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] help: a similar name exists in the module (notice the capitalization) [INFO] [stderr] | [INFO] [stderr] 6 - use ort::{Session, SessionBuilder, SessionOutputs}; [INFO] [stderr] 6 + use ort::{session, SessionBuilder, SessionOutputs}; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: 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[E0425]: 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: E0425, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not document `layoutparser-ort` [INFO] running `Command { std: "docker" "inspect" "4482d88b83f55d9726f8070ad9a6a55383aad771c36f4311932453cc81df1322", kill_on_drop: false }`