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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] f4a722ba2907d24fae40db1480b08aff1664d82dbf377aca82d4c1362a0165c9
[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" "f4a722ba2907d24fae40db1480b08aff1664d82dbf377aca82d4c1362a0165c9", 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-pc-windows-msvc/debug/build/sherpa-rs-sys-401f17124c5a1fad/out/bindings.rs:1785:13
[INFO] [stderr]      |
[INFO] [stderr] 1785 |     #[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-pc-windows-msvc/debug/build/sherpa-rs-sys-401f17124c5a1fad/out/bindings.rs:1785:13
[INFO] [stderr]      |
[INFO] [stderr] 1785 |     #[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-pc-windows-msvc/debug/build/sherpa-rs-sys-401f17124c5a1fad/out/bindings.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 | ... = " 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] 21 | #[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-pc-windows-msvc/debug/build/sherpa-rs-sys-401f17124c5a1fad/out/bindings.rs:836:9
[INFO] [stderr]     |
[INFO] [stderr] 836 | ... = " 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] 836 | #[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 0.98s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-pc-windows-msvc/doc/sherpa_rs_sys/index.html
[INFO] running `Command { std: "docker" "inspect" "f4a722ba2907d24fae40db1480b08aff1664d82dbf377aca82d4c1362a0165c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4a722ba2907d24fae40db1480b08aff1664d82dbf377aca82d4c1362a0165c9", kill_on_drop: false }`
[INFO] [stdout] f4a722ba2907d24fae40db1480b08aff1664d82dbf377aca82d4c1362a0165c9