Build #2391776 2025-08-08 08:21:38
# rustc version
rustc 1.91.0-nightly (2fd855fbf 2025-08-07)# docs.rs version
docsrs 0.6.0 (e18d034e 2025-07-29)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/llama-cpp-sys-4-0.1.94/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/llama-cpp-sys-4-0.1.94/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250807-1.91.0-nightly-2fd855fbf\", \"--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] 6cbcbf1fead131b9477370bedeb7e4e47cfa2bd4680b1d6d50497f97f39cf991
[INFO] running `Command { std: "docker" "start" "-a" "6cbcbf1fead131b9477370bedeb7e4e47cfa2bd4680b1d6d50497f97f39cf991", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Compiling llama-cpp-sys-4 v0.1.94 (/opt/rustwide/workdir)
[INFO] [stderr] Documenting llama-cpp-sys-4 v0.1.94 (/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-4-8ce703a293988ad6/out/bindings.rs:4420:335
[INFO] [stderr] |
[INFO] [stderr] 4420 | ... template. See more: https://github.com/ggerganov/llama.cpp/wiki/Templates-supported-by-llama_chat_apply_template\n @param tmpl A Jinj...
[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] 4420 | #[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-4-8ce703a293988ad6/out/bindings.rs:4533:116
[INFO] [stderr] |
[INFO] [stderr] 4533 | ...r \"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] 4533 | #[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-4-8ce703a293988ad6/out/bindings.rs:4537:118
[INFO] [stderr] |
[INFO] [stderr] 4537 | ...r \"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] 4537 | #[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-4-8ce703a293988ad6/out/bindings.rs:4541:59
[INFO] [stderr] |
[INFO] [stderr] 4541 | #[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] 4541 | #[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-4-8ce703a293988ad6/out/bindings.rs:4545:87
[INFO] [stderr] |
[INFO] [stderr] 4545 | #[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] 4545 | #[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-4-8ce703a293988ad6/out/bindings.rs:4553:99
[INFO] [stderr] |
[INFO] [stderr] 4553 | #[doc = " @details Dynamic temperature implementation (a.k.a. entropy) 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] 4553 | #[doc = " @details Dynamic temperature implementation (a.k.a. entropy) 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-4-8ce703a293988ad6/out/bindings.rs:4557:52
[INFO] [stderr] |
[INFO] [stderr] 4557 | #[doc = " @details XTC sampler as described in https://github.com/oobabooga/text-generation-webui/pull/6335"]
[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] 4557 | #[doc = " @details XTC sampler as described in <https://github.com/oobabooga/text-generation-webui/pull/6335>"]
[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-4-8ce703a293988ad6/out/bindings.rs:4562:70
[INFO] [stderr] |
[INFO] [stderr] 4562 | #[doc = " @details Mirostat 1.0 algorithm described in the paper https://arxiv.org/abs/2007.14966. Uses tokens instead of words.\n @p...
[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] 4562 | #[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-4-8ce703a293988ad6/out/bindings.rs:4572:70
[INFO] [stderr] |
[INFO] [stderr] 4572 | #[doc = " @details Mirostat 2.0 algorithm described in the paper https://arxiv.org/abs/2007.14966. Uses tokens instead of words.\n @p...
[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] 4572 | #[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: this URL is not a hyperlink
[INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/llama-cpp-sys-4-8ce703a293988ad6/out/bindings.rs:4583:60
[INFO] [stderr] |
[INFO] [stderr] 4583 | #[doc = " @details Lazy grammar sampler, introduced in https://github.com/ggerganov/llama.cpp/pull/9639\n @param trigger_words A list...
[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] 4583 | #[doc = " @details Lazy grammar sampler, introduced in <https://github.com/ggerganov/llama.cpp/pull/9639>\n @param trigger_words A list of words that will trigger the grammar sampler. This may be updated to a loose regex syntax (w/ ^) in a near future.\n @param trigger_tokens A list of tokens that will trigger the grammar sampler."]
[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-4-8ce703a293988ad6/out/bindings.rs:4604:74
[INFO] [stderr] |
[INFO] [stderr] 4604 | #[doc = " @details DRY sampler, designed by p-e-w, as described in: https://github.com/oobabooga/text-generation-webui/pull/5677, po...
[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] 4604 | #[doc = " @details DRY sampler, designed by p-e-w, as described in: <https://github.com/oobabooga/text-generation-webui/pull/5677>, porting Koboldcpp implementation authored by pi6am: https://github.com/LostRuins/koboldcpp/pull/982"]
[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-4-8ce703a293988ad6/out/bindings.rs:4604:188
[INFO] [stderr] |
[INFO] [stderr] 4604 | ...oboldcpp implementation authored by pi6am: https://github.com/LostRuins/koboldcpp/pull/982"]
[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] 4604 | #[doc = " @details DRY sampler, designed by p-e-w, as described in: https://github.com/oobabooga/text-generation-webui/pull/5677, porting Koboldcpp implementation authored by pi6am: <https://github.com/LostRuins/koboldcpp/pull/982>"]
[INFO] [stderr] | + +
[INFO] [stderr]
[INFO] [stderr] warning: `llama-cpp-sys-4` (lib doc) generated 12 warnings (run `cargo fix --lib -p llama-cpp-sys-4` to apply 12 suggestions)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.40s
[INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/llama_cpp_sys_4/index.html
[INFO] running `Command { std: "docker" "inspect" "6cbcbf1fead131b9477370bedeb7e4e47cfa2bd4680b1d6d50497f97f39cf991", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6cbcbf1fead131b9477370bedeb7e4e47cfa2bd4680b1d6d50497f97f39cf991", kill_on_drop: false }`
[INFO] [stdout] 6cbcbf1fead131b9477370bedeb7e4e47cfa2bd4680b1d6d50497f97f39cf991