llm_client 0.0.4

llm_client: An Interface for Deterministic Signals from Probabilistic LLM Vibes
Documentation
Build #1340408 2024-08-28T22:13:52.989338+00:00
# rustc version
rustc 1.82.0-nightly (1f12b9b0f 2024-08-27)# docs.rs version
docsrs 0.6.0 (a6155e2c 2024-08-13)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/llm_client-0.0.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/llm_client-0.0.4/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240827-1.82.0-nightly-1f12b9b0f\", \"--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] [stdout] c9f63995ed66506803cb795aff4112a822014e554ca803005bb0201f65bca526
[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" "c9f63995ed66506803cb795aff4112a822014e554ca803005bb0201f65bca526", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: basic_completion, basic_primitive, decision, extract_urls, reason
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting llm_client v0.0.4 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]   --> src/components/base_request.rs:45:19
[INFO] [stderr]    |
[INFO] [stderr] 45 |             #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]   --> src/components/base_request.rs:81:19
[INFO] [stderr]    |
[INFO] [stderr] 81 |             #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]    --> src/components/base_request.rs:361:19
[INFO] [stderr]     |
[INFO] [stderr] 361 |             #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]    --> src/components/base_request.rs:433:23
[INFO] [stderr]     |
[INFO] [stderr] 433 |                 #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]  --> src/components/response.rs:6:7
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]   --> src/components/response.rs:45:11
[INFO] [stderr]    |
[INFO] [stderr] 45 |     #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]  --> src/llm_backends/mod.rs:3:7
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]   --> src/llm_backends/mod.rs:14:7
[INFO] [stderr]    |
[INFO] [stderr] 14 | #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]   --> src/llm_backends/mod.rs:23:11
[INFO] [stderr]    |
[INFO] [stderr] 23 |     #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]   --> src/llm_backends/mod.rs:34:19
[INFO] [stderr]    |
[INFO] [stderr] 34 |             #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]   --> src/llm_backends/mod.rs:50:19
[INFO] [stderr]    |
[INFO] [stderr] 50 |             #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]   --> src/llm_backends/mod.rs:68:19
[INFO] [stderr]    |
[INFO] [stderr] 68 |             #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]   --> src/llm_backends/mod.rs:77:19
[INFO] [stderr]    |
[INFO] [stderr] 77 |             #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]   --> src/llm_backends/mod.rs:88:19
[INFO] [stderr]    |
[INFO] [stderr] 88 |             #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]  --> src/prelude.rs:1:7
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `mistralrs_backend`
[INFO] [stderr]   --> src/lib.rs:24:11
[INFO] [stderr]    |
[INFO] [stderr] 24 |     #[cfg(feature = "mistralrs_backend")]
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `mistralrs_backend` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `AzureConfig`
[INFO] [stderr]  --> src/llm_backends/llama_cpp/api/config.rs:1:55
[INFO] [stderr]   |
[INFO] [stderr] 1 | //! Client configurations: [LlamaConfig] for OpenAI, [AzureConfig] for Azure OpenAI Service.
[INFO] [stderr]   |                                                       ^^^^^^^^^^^ no item named `AzureConfig` in scope
[INFO] [stderr]   |
[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 `crate::Client`
[INFO] [stderr]   --> src/llm_backends/llama_cpp/api/config.rs:13:6
[INFO] [stderr]    |
[INFO] [stderr] 13 | /// [crate::Client] relies on this for every API call on OpenAI
[INFO] [stderr]    |      ^^^^^^^^^^^^^ no item named `Client` in module `llm_client`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `LlamaBackendBuilder`
[INFO] [stderr]   --> src/lib.rs:19:41
[INFO] [stderr]    |
[INFO] [stderr] 19 |     /// Creates a new instance of the [`LlamaBackendBuilder`]. This builder that allows you to specify the model and other parameters. It...
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^ no item named `LlamaBackendBuilder` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `OpenAiBackendBuilder`
[INFO] [stderr]   --> src/lib.rs:30:41
[INFO] [stderr]    |
[INFO] [stderr] 30 |     /// Creates a new instance of the [`OpenAiBackendBuilder`]. This builder that allows you to specify the model and other parameters. I...
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^^ no item named `OpenAiBackendBuilder` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `AnthropicBackendBuilder`
[INFO] [stderr]   --> src/lib.rs:35:41
[INFO] [stderr]    |
[INFO] [stderr] 35 |     /// Creates a new instance of the [`AnthropicBackendBuilder`]. This builder that allows you to specify the model and other parameters...
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^ no item named `AnthropicBackendBuilder` in scope
[INFO] [stderr]    |
[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]   --> src/llm_backends/llama_cpp/api/types/mod.rs:55:14
[INFO] [stderr]    |
[INFO] [stderr] 55 |     /// See: https://github.com/richardanaya/gbnf/blob/main/gbnf/src/lib.rs
[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] 55 |     /// See: <https://github.com/richardanaya/gbnf/blob/main/gbnf/src/lib.rs>
[INFO] [stderr]    |              +                                                              +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/llm_backends/llama_cpp/api/types/mod.rs:54:5
[INFO] [stderr]    |
[INFO] [stderr] 54 | /     /// A formatted "Grammar" as a string.
[INFO] [stderr] 55 | |     /// See: https://github.com/richardanaya/gbnf/blob/main/gbnf/src/lib.rs
[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] 54 ~     </// A formatted "Grammar" as a string.
[INFO] [stderr] 55 ~     /// See: https://github.com/richardanaya/gbnf/blob/main/gbnf/src/lib.rs>
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `llm_client` (lib doc) generated 23 warnings (run `cargo fix --lib -p llm_client` to apply 2 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.60s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/llm_client/index.html
[INFO] running `Command { std: "docker" "inspect" "c9f63995ed66506803cb795aff4112a822014e554ca803005bb0201f65bca526", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9f63995ed66506803cb795aff4112a822014e554ca803005bb0201f65bca526", kill_on_drop: false }`
[INFO] [stdout] c9f63995ed66506803cb795aff4112a822014e554ca803005bb0201f65bca526