llama_cpp_sys 0.3.2

Automatically-generated bindings to llama.cpp's C API
Documentation
Build #2666670 2025-11-17 06:25:33
# rustc version
rustc 1.93.0-nightly (518b42830 2025-11-16)# docs.rs version
docsrs 0.6.0 (f953a7fd 2025-11-16 )# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/llama_cpp_sys-0.3.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/llama_cpp_sys-0.3.2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251116-1.93.0-nightly-518b42830\", \"--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] f43c10c211ccbbd1f2de29b8b48246516f2d810a01c2a0e51bbe0eb077b1cc0a
[INFO] running `Command { std: "docker" "start" "-a" "f43c10c211ccbbd1f2de29b8b48246516f2d810a01c2a0e51bbe0eb077b1cc0a", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] warning: unexpected `cfg` condition value: `opencl`
[INFO] [stderr]    --> build.rs:647:20
[INFO] [stderr]     |
[INFO] [stderr] 647 |     } else if cfg!(feature = "opencl") {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `accel`, `avx`, `avx2`, `avx512`, `avx512_vmbi`, `avx512_vnni`, `blas`, `clblast`, `compat`, `cuda`, `cuda_dmmv`, `cuda_f16`, `cuda_mmq`, `default`, `f16c`, `fma`, `hipblas`, `metal`, `mpi`, `native`, and `vulkan`
[INFO] [stderr]     = help: consider adding `opencl` 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: `openblas`
[INFO] [stderr]    --> build.rs:650:20
[INFO] [stderr]     |
[INFO] [stderr] 650 |     } else if cfg!(feature = "openblas") {
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `accel`, `avx`, `avx2`, `avx512`, `avx512_vmbi`, `avx512_vnni`, `blas`, `clblast`, `compat`, `cuda`, `cuda_dmmv`, `cuda_f16`, `cuda_mmq`, `default`, `f16c`, `fma`, `hipblas`, `metal`, `mpi`, `native`, and `vulkan`
[INFO] [stderr]     = help: consider adding `openblas` 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: `blis`
[INFO] [stderr]    --> build.rs:653:20
[INFO] [stderr]     |
[INFO] [stderr] 653 |     } else if cfg!(feature = "blis") {
[INFO] [stderr]     |                    ^^^^^^^^^^------
[INFO] [stderr]     |                              |
[INFO] [stderr]     |                              help: there is a expected value with a similar name: `"blas"`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `accel`, `avx`, `avx2`, `avx512`, `avx512_vmbi`, `avx512_vnni`, `blas`, `clblast`, `compat`, `cuda`, `cuda_dmmv`, `cuda_f16`, `cuda_mmq`, `default`, `f16c`, `fma`, `hipblas`, `metal`, `mpi`, `native`, and `vulkan`
[INFO] [stderr]     = help: consider adding `blis` 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: use of deprecated method `cc::Build::static_flag`: cc only creates static libraries, setting this does nothing
[INFO] [stderr]    --> build.rs:152:8
[INFO] [stderr]     |
[INFO] [stderr] 152 |     cx.static_flag(true)
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `cc::Build::static_flag`: cc only creates static libraries, setting this does nothing
[INFO] [stderr]    --> build.rs:155:9
[INFO] [stderr]     |
[INFO] [stderr] 155 |     cxx.static_flag(true)
[INFO] [stderr]     |         ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> build.rs:498:9
[INFO] [stderr]     |
[INFO] [stderr] 498 |     let mut output_file = File::create(&ggml_metal_shader_out_path).expect("Failed to create output file");
[INFO] [stderr]     |         ----^^^^^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `llama_cpp_sys` (build script) generated 6 warnings
[INFO] [stderr] warning: llama_cpp_sys@0.3.2: ./thirdparty/llama.cpp/ggml.c:155: warning: "GGML_DEBUG" redefined
[INFO] [stderr] warning: llama_cpp_sys@0.3.2:   155 | #define GGML_DEBUG 0
[INFO] [stderr] warning: llama_cpp_sys@0.3.2:       |
[INFO] [stderr] warning: llama_cpp_sys@0.3.2: <command-line>: note: this is the location of the previous definition
[INFO] [stderr] warning: llama_cpp_sys@0.3.2: ./thirdparty/llama.cpp/ggml-alloc.c:436:13: warning: 'ggml_gallocr_set_node_offset' defined but not used [-Wunused-function]
[INFO] [stderr] warning: llama_cpp_sys@0.3.2:   436 | static void ggml_gallocr_set_node_offset(ggml_gallocr_t galloc, struct ggml_tensor * node, int buffer_id, size_t offset) {
[INFO] [stderr] warning: llama_cpp_sys@0.3.2:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: llama_cpp_sys@0.3.2: ./thirdparty/llama.cpp/ggml-backend.c:1188:13: warning: 'ggml_backend_sched_print_assignments' defined but not used [-Wunused-function]
[INFO] [stderr] warning: llama_cpp_sys@0.3.2:  1188 | static void ggml_backend_sched_print_assignments(ggml_backend_sched_t sched, struct ggml_cgraph * graph) {
[INFO] [stderr] warning: llama_cpp_sys@0.3.2:       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: llama_cpp_sys@0.3.2: ./thirdparty/llama.cpp/ggml-quants.c:11700:12: warning: 'iq1_find_best_neighbour' defined but not used [-Wunused-function]
[INFO] [stderr] warning: llama_cpp_sys@0.3.2: 11700 | static int iq1_find_best_neighbour(const uint16_t * restrict neighbours, const uint64_t * restrict grid,
[INFO] [stderr] warning: llama_cpp_sys@0.3.2:       |            ^~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: llama_cpp_sys@0.3.2: ./thirdparty/llama.cpp/ggml-quants.c:1447:14: warning: 'make_qkx1_quants' defined but not used [-Wunused-function]
[INFO] [stderr] warning: llama_cpp_sys@0.3.2:  1447 | static float make_qkx1_quants(int n, int nmax, const float * restrict x, uint8_t * restrict L, float * restrict the_min,
[INFO] [stderr] warning: llama_cpp_sys@0.3.2:       |              ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: llama_cpp_sys@0.3.2: ./thirdparty/llama.cpp/ggml.c:19396:13: warning: 'ggml_opt_get_grad' defined but not used [-Wunused-function]
[INFO] [stderr] warning: llama_cpp_sys@0.3.2: 19396 | static void ggml_opt_get_grad(int np, struct ggml_tensor * const ps[], float * g) {
[INFO] [stderr] warning: llama_cpp_sys@0.3.2:       |             ^~~~~~~~~~~~~~~~~
[INFO] [stderr]  Documenting llama_cpp_sys v0.3.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama_cpp_sys-0fa24bac00fe274e/out/bindings.rs:6819:335
[INFO] [stderr]      |
[INFO] [stderr] 6819 | ...plate. See more: https://github.com/ggerganov/llama.cpp/wiki/Templates-supported-by-llama_chat_apply_template\n @param tmpl A J...
[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] 6819 |     #[doc = " Apply chat template. Inspired by hf apply_chat_template() on python.\n Both \"model\" and \"custom_template\" are optional, but at least one is required. \"custom_template\" has higher precedence than \"model\"\n NOTE: This function does not use a jinja parser. It only support a pre-defined list of template. See more: <https://github.com/ggerganov/llama.cpp/wiki/Templates-supported-by-llama_chat_apply_template>\n @param tmpl A Jinja template to use for this chat. If this is nullptr, the model’s default chat template will be used instead.\n @param chat Pointer to a list of multiple llama_chat_message\n @param n_msg Number of llama_chat_message in this chat\n @param add_ass Whether to end the prompt with the token(s) that indicate the start of an assistant message.\n @param buf A buffer to hold the output formatted prompt. The recommended alloc size is 2 * (total number of characters of all messages)\n @param length The size of the allocated buffer\n @return The total number of bytes of the formatted prompt. If is it larger than the size of buffer, you may need to re-alloc it and then re-apply the template."]
[INFO] [stderr]      |                                                                                                                                                                                                                                                                                                                                               +                                                                                            +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama_cpp_sys-0fa24bac00fe274e/out/bindings.rs:6847:76
[INFO] [stderr]      |
[INFO] [stderr] 6847 |     #[doc = " @details Repetition penalty described in CTRL academic paper https://arxiv.org/abs/1909.05858, with negative logit f...
[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] 6847 |     #[doc = " @details Repetition penalty described in CTRL academic paper <https://arxiv.org/abs/1909.05858>, with negative logit fix.\n @details Frequency and presence penalties described in OpenAI API https://platform.openai.com/docs/api-reference/parameter-details."]
[INFO] [stderr]      |                                                                            +                                +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama_cpp_sys-0fa24bac00fe274e/out/bindings.rs:6847:203
[INFO] [stderr]      |
[INFO] [stderr] 6847 | ...alties described in OpenAI API https://platform.openai.com/docs/api-reference/parameter-details."]
[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] 6847 |     #[doc = " @details Repetition penalty described in CTRL academic paper https://arxiv.org/abs/1909.05858, with negative logit fix.\n @details Frequency and presence penalties described in OpenAI API <https://platform.openai.com/docs/api-reference/parameter-details.>"]
[INFO] [stderr]      |                                                                                                                                                                                                           +                                                                 +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama_cpp_sys-0fa24bac00fe274e/out/bindings.rs:6859:148
[INFO] [stderr]      |
[INFO] [stderr] 6859 | ..."Stay on topic with Classifier-Free Guidance\" https://arxiv.org/abs/2306.17806\n @param logits Logits extracted from the origi...
[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] 6859 |     #[doc = " @details Apply classifier-free guidance to the logits as described in academic paper \"Stay on topic with Classifier-Free Guidance\" <https://arxiv.org/abs/2306.17806>\n @param logits Logits extracted from the original generation context.\n @param logits_guidance Logits extracted from a separate context from the same model. Other than a negative prompt at the beginning, it should have all generated and user input tokens copied from the main context.\n @param scale Guidance strength. 1.0f means no guidance. Higher values mean stronger guidance."]
[INFO] [stderr]      |                                                                                                                                                    +                                +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama_cpp_sys-0fa24bac00fe274e/out/bindings.rs:6872:116
[INFO] [stderr]      |
[INFO] [stderr] 6872 | ...The Curious Case of Neural Text Degeneration\" https://arxiv.org/abs/1904.09751"]
[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] 6872 |     #[doc = " @details Top-K sampling described in academic paper \"The Curious Case of Neural Text Degeneration\" <https://arxiv.org/abs/1904.09751>"]
[INFO] [stderr]      |                                                                                                                    +                                +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama_cpp_sys-0fa24bac00fe274e/out/bindings.rs:6881:118
[INFO] [stderr]      |
[INFO] [stderr] 6881 | ...The Curious Case of Neural Text Degeneration\" https://arxiv.org/abs/1904.09751"]
[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] 6881 |     #[doc = " @details Nucleus sampling described in academic paper \"The Curious Case of Neural Text Degeneration\" <https://arxiv.org/abs/1904.09751>"]
[INFO] [stderr]      |                                                                                                                      +                                +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama_cpp_sys-0fa24bac00fe274e/out/bindings.rs:6890:59
[INFO] [stderr]      |
[INFO] [stderr] 6890 |     #[doc = " @details Minimum P sampling as described in https://github.com/ggerganov/llama.cpp/pull/3841"]
[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] 6890 |     #[doc = " @details Minimum P sampling as described in <https://github.com/ggerganov/llama.cpp/pull/3841>"]
[INFO] [stderr]      |                                                           +                                                +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama_cpp_sys-0fa24bac00fe274e/out/bindings.rs:6899:56
[INFO] [stderr]      |
[INFO] [stderr] 6899 |     #[doc = " @details Tail Free Sampling described in https://www.trentonbricken.com/Tail-Free-Sampling/."]
[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] 6899 |     #[doc = " @details Tail Free Sampling described in <https://www.trentonbricken.com/Tail-Free-Sampling/.>"]
[INFO] [stderr]      |                                                        +                                                   +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama_cpp_sys-0fa24bac00fe274e/out/bindings.rs:6908:87
[INFO] [stderr]      |
[INFO] [stderr] 6908 |     #[doc = " @details Locally Typical Sampling implementation described in the paper https://arxiv.org/abs/2202.00666."]
[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] 6908 |     #[doc = " @details Locally Typical Sampling implementation described in the paper <https://arxiv.org/abs/2202.00666.>"]
[INFO] [stderr]      |                                                                                       +                                 +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama_cpp_sys-0fa24bac00fe274e/out/bindings.rs:6917:82
[INFO] [stderr]      |
[INFO] [stderr] 6917 |     #[doc = " @details Dynamic temperature implementation described in the paper https://arxiv.org/abs/2309.02772."]
[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] 6917 |     #[doc = " @details Dynamic temperature implementation described in the paper <https://arxiv.org/abs/2309.02772.>"]
[INFO] [stderr]      |                                                                                  +                                 +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama_cpp_sys-0fa24bac00fe274e/out/bindings.rs:6942:70
[INFO] [stderr]      |
[INFO] [stderr] 6942 |     #[doc = " @details Mirostat 1.0 algorithm described in the paper https://arxiv.org/abs/2007.14966. Uses tokens instead of word...
[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] 6942 |     #[doc = " @details Mirostat 1.0 algorithm described in the paper <https://arxiv.org/abs/2007.14966.> Uses tokens instead of words.\n @param candidates A vector of `llama_token_data` containing the candidate tokens, their probabilities (p), and log-odds (logit) for the current position in the generated text.\n @param tau  The target cross-entropy (or surprise) value you want to achieve for the generated text. A higher value corresponds to more surprising or less predictable text, while a lower value corresponds to less surprising or more predictable text.\n @param eta The learning rate used to update `mu` based on the error between the target and observed surprisal of the sampled word. A larger learning rate will cause `mu` to be updated more quickly, while a smaller learning rate will result in slower updates.\n @param m The number of tokens considered in the estimation of `s_hat`. This is an arbitrary value that is used to calculate `s_hat`, which in turn helps to calculate the value of `k`. In the paper, they use `m = 100`, but you can experiment with different values to see how it affects the performance of the algorithm.\n @param mu Maximum cross-entropy. This value is initialized to be twice the target cross-entropy (`2 * tau`) and is updated in the algorithm based on the error between the target and observed surprisal."]
[INFO] [stderr]      |                                                                      +                                 +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama_cpp_sys-0fa24bac00fe274e/out/bindings.rs:6953:70
[INFO] [stderr]      |
[INFO] [stderr] 6953 |     #[doc = " @details Mirostat 2.0 algorithm described in the paper https://arxiv.org/abs/2007.14966. Uses tokens instead of word...
[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] 6953 |     #[doc = " @details Mirostat 2.0 algorithm described in the paper <https://arxiv.org/abs/2007.14966.> Uses tokens instead of words.\n @param candidates A vector of `llama_token_data` containing the candidate tokens, their probabilities (p), and log-odds (logit) for the current position in the generated text.\n @param tau  The target cross-entropy (or surprise) value you want to achieve for the generated text. A higher value corresponds to more surprising or less predictable text, while a lower value corresponds to less surprising or more predictable text.\n @param eta The learning rate used to update `mu` based on the error between the target and observed surprisal of the sampled word. A larger learning rate will cause `mu` to be updated more quickly, while a smaller learning rate will result in slower updates.\n @param mu Maximum cross-entropy. This value is initialized to be twice the target cross-entropy (`2 * tau`) and is updated in the algorithm based on the error between the target and observed surprisal."]
[INFO] [stderr]      |                                                                      +                                 +
[INFO] [stderr] 
[INFO] [stderr] warning: `llama_cpp_sys` (lib doc) generated 12 warnings (run `cargo fix --lib -p llama_cpp_sys` to apply 12 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.71s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/llama_cpp_sys/index.html
[INFO] running `Command { std: "docker" "inspect" "f43c10c211ccbbd1f2de29b8b48246516f2d810a01c2a0e51bbe0eb077b1cc0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f43c10c211ccbbd1f2de29b8b48246516f2d810a01c2a0e51bbe0eb077b1cc0a", kill_on_drop: false }`
[INFO] [stdout] f43c10c211ccbbd1f2de29b8b48246516f2d810a01c2a0e51bbe0eb077b1cc0a