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.89.0-nightly (ce7e97f73 2025-05-11)# docs.rs version
docsrs 0.6.0 (f7595057 2025-05-09)# 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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250511-1.89.0-nightly-ce7e97f73\", \"--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] 1c5d59f2a44c9785843a233f69ce710db1b62bb73628f0f42635640e95122951
[INFO] running `Command { std: "docker" "start" "-a" "1c5d59f2a44c9785843a233f69ce710db1b62bb73628f0f42635640e95122951", 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" "1c5d59f2a44c9785843a233f69ce710db1b62bb73628f0f42635640e95122951", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c5d59f2a44c9785843a233f69ce710db1b62bb73628f0f42635640e95122951", kill_on_drop: false }`
[INFO] [stdout] 1c5d59f2a44c9785843a233f69ce710db1b62bb73628f0f42635640e95122951