sherpa-rs-sys 0.6.1

Rust bindings to https://github.com/k2-fsa/sherpa-onnx
Documentation
Build #1599563 2024-12-25T08:37:30.772881+00:00
# rustc version
rustc 1.85.0-nightly (409998c4e 2024-12-24)# docs.rs version
docsrs 0.6.0 (a9496dd3 2024-12-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sherpa-rs-sys-0.6.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sherpa-rs-sys-0.6.1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241224-1.85.0-nightly-409998c4e\", \"--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}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] a42fa0678cad5bb7cd485cbbc3f50dddf2b759a31a5b020a3da13c92234c293b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a42fa0678cad5bb7cd485cbbc3f50dddf2b759a31a5b020a3da13c92234c293b", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling sherpa-rs-sys v0.6.1 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting sherpa-rs-sys v0.6.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `i`
[INFO] [stderr]     --> /opt/rustwide/target/i686-unknown-linux-gnu/debug/build/sherpa-rs-sys-476dea0011c48766/out/bindings.rs:1972:13
[INFO] [stderr]      |
[INFO] [stderr] 1972 |     #[doc = " timestamps.size() == tokens.size()\n timestamps[i] records the time in seconds when tokens[i] is decoded."]
[INFO] [stderr]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: the link appears in this line:
[INFO] [stderr]              
[INFO] [stderr]              timestamps[i] records the time in seconds when tokens[i] is decoded.
[INFO] [stderr]                         ^
[INFO] [stderr]      = note: no item named `i` in scope
[INFO] [stderr]      = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]      = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `i`
[INFO] [stderr]     --> /opt/rustwide/target/i686-unknown-linux-gnu/debug/build/sherpa-rs-sys-476dea0011c48766/out/bindings.rs:1972:13
[INFO] [stderr]      |
[INFO] [stderr] 1972 |     #[doc = " timestamps.size() == tokens.size()\n timestamps[i] records the time in seconds when tokens[i] is decoded."]
[INFO] [stderr]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: the link appears in this line:
[INFO] [stderr]              
[INFO] [stderr]              timestamps[i] records the time in seconds when tokens[i] is decoded.
[INFO] [stderr]                                                                    ^
[INFO] [stderr]      = note: no item named `i` in scope
[INFO] [stderr]      = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> /opt/rustwide/target/i686-unknown-linux-gnu/debug/build/sherpa-rs-sys-476dea0011c48766/out/bindings.rs:208:9
[INFO] [stderr]     |
[INFO] [stderr] 208 | ... = " Please refer to\n https://k2-fsa.github.io/sherpa/onnx/pretrained_models/index.html\n to download pre-trained models. That is, you can find encoder-xxx.onnx\n decoder-xxx.onnx, joiner-xxx.onnx, and tokens.txt for this struct\n from there...
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]     = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 208 | #[doc = <" Please refer to\n https://k2-fsa.github.io/sherpa/onnx/pretrained_models/index.html\n to download pre-trained models. That is, you can find encoder-xxx.onnx\n decoder-xxx.onnx, joiner-xxx.onnx, and tokens.txt for this struct\n from there.">]
[INFO] [stderr]     |         +                                                                                                                                                                                                                                                 +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/i686-unknown-linux-gnu/debug/build/sherpa-rs-sys-476dea0011c48766/out/bindings.rs:1023:9
[INFO] [stderr]      |
[INFO] [stderr] 1023 | ... = " Please refer to\n https://k2-fsa.github.io/sherpa/onnx/pretrained_models/index.html\n to download pre-trained models. That is, you can find encoder-xxx.onnx\n decoder-xxx.onnx, and joiner-xxx.onnx for this struct\n from there...
[INFO] [stderr]      |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]      |
[INFO] [stderr] 1023 | #[doc = <" Please refer to\n https://k2-fsa.github.io/sherpa/onnx/pretrained_models/index.html\n to download pre-trained models. That is, you can find encoder-xxx.onnx\n decoder-xxx.onnx, and joiner-xxx.onnx for this struct\n from there.">]
[INFO] [stderr]      |         +                                                                                                                                                                                                                                     +
[INFO] [stderr] 
[INFO] [stderr] warning: `sherpa-rs-sys` (lib doc) generated 4 warnings (run `cargo fix --lib -p sherpa-rs-sys` to apply 2 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.05s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/sherpa_rs_sys/index.html
[INFO] running `Command { std: "docker" "inspect" "a42fa0678cad5bb7cd485cbbc3f50dddf2b759a31a5b020a3da13c92234c293b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a42fa0678cad5bb7cd485cbbc3f50dddf2b759a31a5b020a3da13c92234c293b", kill_on_drop: false }`
[INFO] [stdout] a42fa0678cad5bb7cd485cbbc3f50dddf2b759a31a5b020a3da13c92234c293b