compression-module 0.2.0

A helper module to configure Pingora's built-in compression.
Documentation

Build #3522083 2026-06-09 03:01:25

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.

# error kind ExecutionFailed

# pre-build errors command failed: exit status: 101

# rustc version rustc 1.98.0-nightly (cb46fbb8c 2026-06-08)

# docs.rs version docsrs 0.0.0 (39849b9c22c419f6b690c8d2213455bc7426a6b8 2026-06-03 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "00558053f499afa1fd5c5fb043cdfc913d5c82b791d5ea506b3038fba7163bde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260608-1.98.0-nightly-cb46fbb8c\", \"--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: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking pingora-core v0.2.0 [INFO] [stderr] error[E0599]: no associated function or constant named `parse_list` found for struct `Parser<'de>` in the current scope [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pingora-core-0.2.0/src/protocols/http/compression/mod.rs:335:28 [INFO] [stderr] | [INFO] [stderr] 335 | match sfv::Parser::parse_list(ac.as_bytes()) { [INFO] [stderr] | ^^^^^^^^^^ associated function or constant not found in `Parser<'_>` [INFO] [stderr] | [INFO] [stderr] note: if you're trying to build a new `Parser<'_>`, consider using `Parser::<'de>::new` which returns `Parser<'_>` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sfv-0.14.0/src/parser.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn new(input: &'de (impl ?Sized + AsRef<[u8]>)) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: there is a method `parse` with a similar name, but with different arguments [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sfv-0.14.0/src/parser.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn parse<T: crate::FieldType>(self) -> SFVResult<T> { [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] | ^^^^^^^^^ unsatisfied trait bound [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pingora-core-0.2.0/src/protocols/http/compression/mod.rs:299:1 [INFO] [stderr] | [INFO] [stderr] 299 | impl From<&str> for Algorithm { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^^^^^^^^^ unsatisfied trait bound [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pingora-core-0.2.0/src/protocols/http/compression/mod.rs:299:1 [INFO] [stderr] | [INFO] [stderr] 299 | impl From<&str> for Algorithm { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for that trait implementation, expected `str`, found `TokenRef` [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [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" "00558053f499afa1fd5c5fb043cdfc913d5c82b791d5ea506b3038fba7163bde", kill_on_drop: false }`