onnxruntime-sys-patch 0.0.14

Unsafe wrapper around Microsoft's ONNX Runtime
Documentation
Build #2481024 2025-09-06 07:28:09
# rustc version
rustc 1.91.0-nightly (6c699a372 2025-09-05)# docs.rs version
docsrs 0.6.0 (8bbaf878 2025-08-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/onnxruntime-sys-patch-0.0.14/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/onnxruntime-sys-patch-0.0.14/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "disable-sys-build-script" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250905-1.91.0-nightly-6c699a372\", \"--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] 41ae9fd967166f1a1514f7a0c87ff0eecf43a1d2ae298562e15b9dacf801fe89
[INFO] running `Command { std: "docker" "start" "-a" "41ae9fd967166f1a1514f7a0c87ff0eecf43a1d2ae298562e15b9dacf801fe89", kill_on_drop: false }`
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> build.rs:200:20
[INFO] [stderr]     |
[INFO] [stderr] 200 |     fn as_onnx_str(&self) -> Cow<str>;
[INFO] [stderr]     |                    ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 200 |     fn as_onnx_str(&self) -> Cow<'_, str>;
[INFO] [stderr]     |                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> build.rs:226:20
[INFO] [stderr]     |
[INFO] [stderr] 226 |     fn as_onnx_str(&self) -> Cow<str> {
[INFO] [stderr]     |                    ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 226 |     fn as_onnx_str(&self) -> Cow<'_, str> {
[INFO] [stderr]     |                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> build.rs:268:20
[INFO] [stderr]     |
[INFO] [stderr] 268 |     fn as_onnx_str(&self) -> Cow<str> {
[INFO] [stderr]     |                    ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 268 |     fn as_onnx_str(&self) -> Cow<'_, str> {
[INFO] [stderr]     |                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> build.rs:295:20
[INFO] [stderr]     |
[INFO] [stderr] 295 |     fn as_onnx_str(&self) -> Cow<str> {
[INFO] [stderr]     |                    ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 295 |     fn as_onnx_str(&self) -> Cow<'_, str> {
[INFO] [stderr]     |                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> build.rs:311:20
[INFO] [stderr]     |
[INFO] [stderr] 311 |     fn as_onnx_str(&self) -> Cow<str> {
[INFO] [stderr]     |                    ^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                    |
[INFO] [stderr]     |                    the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 311 |     fn as_onnx_str(&self) -> Cow<'_, str> {
[INFO] [stderr]     |                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: `onnxruntime-sys-patch` (build script) generated 5 warnings
[INFO] [stderr] warning: unused attribute `allow`
[INFO] [stderr]   --> src/lib.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr]  8 | #[allow(clippy::all)]
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `include`
[INFO] [stderr]   --> src/lib.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | include!(concat!(
[INFO] [stderr]    | ^^^^^^^
[INFO] [stderr]    = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `onnxruntime-sys-patch` (lib) generated 1 warning (run `cargo fix --lib -p onnxruntime-sys-patch` to apply 1 suggestion)
[INFO] [stderr]     Scraping onnxruntime-sys-patch v0.0.14 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "c_api_sample" in package `onnxruntime-sys-patch` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `onnxruntime-sys-patch` (example "c_api_sample") generated 1 warning
[INFO] [stderr]  Documenting onnxruntime-sys-patch v0.0.14 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/onnxruntime_sys_patch/index.html
[INFO] running `Command { std: "docker" "inspect" "41ae9fd967166f1a1514f7a0c87ff0eecf43a1d2ae298562e15b9dacf801fe89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41ae9fd967166f1a1514f7a0c87ff0eecf43a1d2ae298562e15b9dacf801fe89", kill_on_drop: false }`
[INFO] [stdout] 41ae9fd967166f1a1514f7a0c87ff0eecf43a1d2ae298562e15b9dacf801fe89