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 (7b84c9e9c 2025-05-10)# docs.rs version
docsrs 0.6.0 (f7595057 2025-05-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/module-utils-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/module-utils-0.2.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:7db696df4788c7959fb3c8937f476e454519eadb74729e5c46412f804eeee96e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250510-1.89.0-nightly-7b84c9e9c\", \"--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] 6b747b40ca3268aa32c5c96c07977de1999d39aceabf8423b50cddc672dc3166
[INFO] running `Command { std: "docker" "start" "-a" "6b747b40ca3268aa32c5c96c07977de1999d39aceabf8423b50cddc672dc3166", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Checking pingora-core v0.2.0
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pingora-core-0.2.0/src/protocols/http/compression/mod.rs:335:39
[INFO] [stderr] |
[INFO] [stderr] 335 | match sfv::Parser::parse_list(ac.as_bytes()) {
[INFO] [stderr] | ----------------------- ^^^^^^^^^^^^^ expected `Parser<'_>`, found `&[u8]`
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] note: method defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sfv-0.11.0/src/parser.rs:166:12
[INFO] [stderr] |
[INFO] [stderr] 166 | pub fn parse_list(self) -> SFVResult<List> {
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `Algorithm: From<&TokenRef>` is not satisfied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pingora-core-0.2.0/src/protocols/http/compression/mod.rs:341:45
[INFO] [stderr] |
[INFO] [stderr] 341 | ... let algorithm = Algorithm::from(s);
[INFO] [stderr] | ^^^^^^^^^ the trait `From<&TokenRef>` is not implemented for `Algorithm`
[INFO] [stderr] |
[INFO] [stderr] = help: the trait `From<&TokenRef>` is not implemented for `Algorithm`
[INFO] [stderr] but trait `From<&str>` is implemented for it
[INFO] [stderr] = help: for that trait implementation, expected `str`, found `TokenRef`
[INFO] [stderr]
[INFO] [stderr] error[E0277]: the trait bound `Algorithm: From<&TokenRef>` is not satisfied
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pingora-core-0.2.0/src/protocols/http/compression/mod.rs:344:43
[INFO] [stderr] |
[INFO] [stderr] 344 | ... list.push(Algorithm::from(s));
[INFO] [stderr] | ^^^^^^^^^ the trait `From<&TokenRef>` is not implemented for `Algorithm`
[INFO] [stderr] |
[INFO] [stderr] = help: the trait `From<&TokenRef>` is not implemented for `Algorithm`
[INFO] [stderr] but trait `From<&str>` is implemented for it
[INFO] [stderr] = help: for that trait implementation, expected `str`, found `TokenRef`
[INFO] [stderr]
[INFO] [stderr] Some errors have detailed explanations: E0277, E0308.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `pingora-core` (lib) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "6b747b40ca3268aa32c5c96c07977de1999d39aceabf8423b50cddc672dc3166", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b747b40ca3268aa32c5c96c07977de1999d39aceabf8423b50cddc672dc3166", kill_on_drop: false }`
[INFO] [stdout] 6b747b40ca3268aa32c5c96c07977de1999d39aceabf8423b50cddc672dc3166