onnxruntime-sys 0.0.14

Unsafe wrapper around Microsoft's ONNX Runtime
Documentation

Build #2465147 2025-09-01 01:47:23

# rustc version rustc 1.91.0-nightly (07d246fc6 2025-08-31)

# 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-0.0.14/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/onnxruntime-sys-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\", \"-20250831-1.91.0-nightly-07d246fc6\", \"--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] 21b98694091c55b924945c25813ab8d7c06976cd4958d1afef771b4e1470a089 [INFO] running `Command { std: "docker" "start" "-a" "21b98694091c55b924945c25813ab8d7c06976cd4958d1afef771b4e1470a089", 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` (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` (lib) generated 1 warning (run `cargo fix --lib -p onnxruntime-sys` to apply 1 suggestion) [INFO] [stderr] Scraping onnxruntime-sys v0.0.14 (/opt/rustwide/workdir) [INFO] [stderr] Documenting onnxruntime-sys v0.0.14 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/onnxruntime_sys/index.html [INFO] running `Command { std: "docker" "inspect" "21b98694091c55b924945c25813ab8d7c06976cd4958d1afef771b4e1470a089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b98694091c55b924945c25813ab8d7c06976cd4958d1afef771b4e1470a089", kill_on_drop: false }` [INFO] [stdout] 21b98694091c55b924945c25813ab8d7c06976cd4958d1afef771b4e1470a089