Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.
# rustc version
rustc 1.89.0-nightly (777d37277 2025-05-17)# docs.rs version
docsrs 0.6.0 (d8ea4838 2025-05-14)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/torrust-tracker-3.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/torrust-tracker-3.0.0/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250517-1.89.0-nightly-777d37277\", \"--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" "--config" "build.rustdocflags=[\"-Zmetrics-dir=/opt/rustwide/target/metrics\"]", 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] 801fcfd786641e48ed60824d4a98ee978bb430f58f6f850c58c1a3bb2ead6f51
[INFO] running `Command { std: "docker" "start" "-a" "801fcfd786641e48ed60824d4a98ee978bb430f58f6f850c58c1a3bb2ead6f51", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Compiling zstd-safe v7.2.4
[INFO] [stderr] Checking zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr] Compiling aws-lc-rs v1.13.1
[INFO] [stderr] Checking aws-lc-sys v0.29.0
[INFO] [stderr] Compiling rustls v0.23.27
[INFO] [stderr] Checking axum v0.8.4
[INFO] [stderr] Compiling fs-err v3.1.0
[INFO] [stderr] Checking torrust-tracker-primitives v3.0.0
[INFO] [stderr] Compiling io-enum v1.2.0
[INFO] [stderr] Checking serde_with v3.12.0
[INFO] [stderr] error[E0599]: no function or associated item named `read_from` found for struct `aquatic_udp_protocol::InfoHash` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/torrust-tracker-primitives-3.0.0/src/info_hash.rs:24:52
[INFO] [stderr] |
[INFO] [stderr] 24 | let data = aquatic_udp_protocol::InfoHash::read_from(bytes).expect("it should have the exact amount of bytes");
[INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `InfoHash`
[INFO] [stderr] |
[INFO] [stderr] note: there are multiple different versions of crate `zerocopy` in the dependency graph
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zerocopy-0.7.35/src/lib.rs:1824:1
[INFO] [stderr] |
[INFO] [stderr] 1824 | pub unsafe trait FromBytes: FromZeroes {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed
[INFO] [stderr] ...
[INFO] [stderr] 2417 | / fn read_from(bytes: &[u8]) -> Option<Self>
[INFO] [stderr] 2418 | | where
[INFO] [stderr] 2419 | | Self: Sized,
[INFO] [stderr] | |____________________- the associated function is available for `aquatic_udp_protocol::InfoHash` here
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/torrust-tracker-primitives-3.0.0/src/info_hash.rs:6:5
[INFO] [stderr] |
[INFO] [stderr] 6 | use zerocopy::FromBytes;
[INFO] [stderr] | ------------------- `FromBytes` imported here doesn't correspond to the right version of crate `zerocopy`
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zerocopy-0.8.25/src/lib.rs:3510:1
[INFO] [stderr] |
[INFO] [stderr] 3510 | pub unsafe trait FromBytes: FromZeros {
[INFO] [stderr] | ------------------------------------- this is the trait that was imported
[INFO] [stderr] help: there is an associated function `read_from_prefix` with a similar name
[INFO] [stderr] |
[INFO] [stderr] 24 | let data = aquatic_udp_protocol::InfoHash::read_from_prefix(bytes).expect("it should have the exact amount of bytes");
[INFO] [stderr] | +++++++
[INFO] [stderr]
[INFO] [stderr] error[E0599]: no function or associated item named `read_from` found for struct `aquatic_udp_protocol::PeerId` in the current scope
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/torrust-tracker-primitives-3.0.0/src/peer.rs:293:28
[INFO] [stderr] |
[INFO] [stderr] 293 | let data = PeerId::read_from(&bytes).expect("it should have the correct amount of bytes");
[INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `PeerId`
[INFO] [stderr] |
[INFO] [stderr] note: there are multiple different versions of crate `zerocopy` in the dependency graph
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zerocopy-0.7.35/src/lib.rs:1824:1
[INFO] [stderr] |
[INFO] [stderr] 1824 | pub unsafe trait FromBytes: FromZeroes {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the trait that is needed
[INFO] [stderr] ...
[INFO] [stderr] 2417 | / fn read_from(bytes: &[u8]) -> Option<Self>
[INFO] [stderr] 2418 | | where
[INFO] [stderr] 2419 | | Self: Sized,
[INFO] [stderr] | |____________________- the associated function is available for `aquatic_udp_protocol::PeerId` here
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/torrust-tracker-primitives-3.0.0/src/peer.rs:31:5
[INFO] [stderr] |
[INFO] [stderr] 31 | use zerocopy::FromBytes as _;
[INFO] [stderr] | ------------------- `FromBytes` imported here doesn't correspond to the right version of crate `zerocopy`
[INFO] [stderr] |
[INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zerocopy-0.8.25/src/lib.rs:3510:1
[INFO] [stderr] |
[INFO] [stderr] 3510 | pub unsafe trait FromBytes: FromZeros {
[INFO] [stderr] | ------------------------------------- this is the trait that was imported
[INFO] [stderr] help: there is an associated function `read_from_prefix` with a similar name
[INFO] [stderr] |
[INFO] [stderr] 293 | let data = PeerId::read_from_prefix(&bytes).expect("it should have the correct amount of bytes");
[INFO] [stderr] | +++++++
[INFO] [stderr]
[INFO] [stderr] Checking zstd v0.13.3
[INFO] [stderr] For more information about this error, try `rustc --explain E0599`.
[INFO] [stderr] error: could not compile `torrust-tracker-primitives` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "801fcfd786641e48ed60824d4a98ee978bb430f58f6f850c58c1a3bb2ead6f51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "801fcfd786641e48ed60824d4a98ee978bb430f58f6f850c58c1a3bb2ead6f51", kill_on_drop: false }`
[INFO] [stdout] 801fcfd786641e48ed60824d4a98ee978bb430f58f6f850c58c1a3bb2ead6f51