rust-bert 0.22.0

Ready-to-use NLP pipelines and language models
Documentation
Build #1095959 2024-01-20T09:46:30.403124+00:00
# rustc version
rustc 1.77.0-nightly (88189a71e 2024-01-19)
# docs.rs version
docsrs 0.6.0 (7667f348 2024-01-17)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rust-bert-0.22.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rust-bert-0.22.0/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "doc-only" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240119-1.77.0-nightly-88189a71e\", \"--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] 8c855c1f679ee585a1c4220931d419aeef9694f0ad72cee65bc08a889c66b5ca
[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" "8c855c1f679ee585a1c4220931d419aeef9694f0ad72cee65bc08a889c66b5ca", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: onnx-text-generation, translation_m2m100, translation_builder, generation_reformer, summarization_pegasus, sentence_embeddings_local, generation_xlnet, summarization_t5, sentence_embeddings, async-sentiment, question_answering_squad, onnx-token-classification, part_of_speech_tagging, generation_gpt2_hf_tokenizers, generation_gptj, onnx-sequence-classification, sequence_classification_multilabel, translation_mbart, sentiment_analysis_sst2, conversation, named_entities_recognition, natural_language_inference_deberta, translation_t5, keyword_extraction, onnx-masked-lm, onnx-translation, summarization_prophetnet, question_answering, masked_language, question_answering_longformer, question_answering_bert, sentiment_analysis_fnet, onnx-question-answering, zero_shot_classification, translation_marian, sequence_classification, sentiment_analysis, generation_gpt2, generation_gpt_neo, buffer_resource, summarization_bart, codebert, token_classification
[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 rust-bert v0.22.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/pipelines/sentence_embeddings/layers.rs:9:35
[INFO] [stderr]   |
[INFO] [stderr] 9 | /// Configuration for [`Pooling`](Pooling) layer.
[INFO] [stderr]   |                        ---------  ^^^^^^^ explicit target is redundant
[INFO] [stderr]   |                        |
[INFO] [stderr]   |                        because label contains path that resolves to same destination
[INFO] [stderr]   |
[INFO] [stderr]   = note: when a link's destination is not specified,
[INFO] [stderr]           the label is used to resolve intra-doc links
[INFO] [stderr]   = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 9 | /// Configuration for [`Pooling`] layer.
[INFO] [stderr]   |                       ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/pipelines/sentence_embeddings/layers.rs:77:33
[INFO] [stderr]    |
[INFO] [stderr] 77 | /// Configuration for [`Dense`](Dense) layer.
[INFO] [stderr]    |                        -------  ^^^^^ explicit target is redundant
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        because label contains path that resolves to same destination
[INFO] [stderr]    |
[INFO] [stderr]    = note: when a link's destination is not specified,
[INFO] [stderr]            the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]    |
[INFO] [stderr] 77 | /// Configuration for [`Dense`] layer.
[INFO] [stderr]    |                       ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-bert` (lib doc) generated 2 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.11s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/rust_bert/index.html
[INFO] running `Command { std: "docker" "inspect" "8c855c1f679ee585a1c4220931d419aeef9694f0ad72cee65bc08a889c66b5ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c855c1f679ee585a1c4220931d419aeef9694f0ad72cee65bc08a889c66b5ca", kill_on_drop: false }`
[INFO] [stdout] 8c855c1f679ee585a1c4220931d419aeef9694f0ad72cee65bc08a889c66b5ca