torrust-index-backend 2.0.0-alpha.3

The backend (API) for the Torrust Index project.
Documentation
Build #2582222 2025-10-13 01:10:19
# rustc version
rustc 1.92.0-nightly (be0ade2b6 2025-10-11)# docs.rs version
docsrs 0.6.0 (f42173de 2025-09-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/torrust-index-backend-2.0.0-alpha.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/torrust-index-backend-2.0.0-alpha.3/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251011-1.92.0-nightly-be0ade2b6\", \"--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] 5989f326b70ac45a8b077aac583a3c8f86c9576bd09df21c719d39370be8c961
[INFO] running `Command { std: "docker" "start" "-a" "5989f326b70ac45a8b077aac583a3c8f86c9576bd09df21c719d39370be8c961", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting torrust-index-backend v2.0.0-alpha.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary parentheses around closure body
[INFO] [stderr]    --> src/web/api/v1/contexts/torrent/handlers.rs:278:73
[INFO] [stderr]     |
[INFO] [stderr] 278 |                 while let Some(chunk) = field.chunk().await.map_err(|_| (ServiceError::BadRequest))? {
[INFO] [stderr]     |                                                                         ^                        ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 278 -                 while let Some(chunk) = field.chunk().await.map_err(|_| (ServiceError::BadRequest))? {
[INFO] [stderr] 278 +                 while let Some(chunk) = field.chunk().await.map_err(|_| ServiceError::BadRequest)? {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:205:97
[INFO] [stderr]     |
[INFO] [stderr] 205 | //! For more information about configuration you can visit the documentation for the [`config`](crate::config) module.
[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] 205 - //! For more information about configuration you can visit the documentation for the [`config`](crate::config) module.
[INFO] [stderr] 205 + //! For more information about configuration you can visit the documentation for the [`config`] module.
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/web/api/mod.rs:5:25
[INFO] [stderr]   |
[INFO] [stderr] 5 | //! Refer to the [`v1`](crate::web::api::v1) module for more information.
[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] 5 - //! Refer to the [`v1`](crate::web::api::v1) module for more information.
[INFO] [stderr] 5 + //! Refer to the [`v1`] module for more information.
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/web/api/v1/mod.rs:5:31
[INFO] [stderr]   |
[INFO] [stderr] 5 | //! Refer to the [`contexts`](crate::web::api::v1::contexts) module for more
[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] 5 - //! Refer to the [`contexts`](crate::web::api::v1::contexts) module for more
[INFO] [stderr] 5 + //! Refer to the [`contexts`] module for more
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: `torrust-index-backend` (lib doc) generated 4 warnings (run `cargo fix --lib -p torrust-index-backend` to apply 1 suggestion)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.02s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, rustybuzz v0.4.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/torrust_index_backend/index.html
[INFO] running `Command { std: "docker" "inspect" "5989f326b70ac45a8b077aac583a3c8f86c9576bd09df21c719d39370be8c961", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5989f326b70ac45a8b077aac583a3c8f86c9576bd09df21c719d39370be8c961", kill_on_drop: false }`
[INFO] [stdout] 5989f326b70ac45a8b077aac583a3c8f86c9576bd09df21c719d39370be8c961