Skip to content

Fix cfg attr in lib.rs to allow unused code #233

Fix cfg attr in lib.rs to allow unused code

Fix cfg attr in lib.rs to allow unused code #233

Triggered via pull request May 9, 2024 12:14
Status Failure
Total duration 1m 8s
Artifacts

exhaustive.yml

on: pull_request
cargo test --shallow-minimal-versions
35s
cargo test --shallow-minimal-versions
cargo test minimal-versions
24s
cargo test minimal-versions
cargo hack check --feature-powerset
46s
cargo hack check --feature-powerset
cargo hack check --all-targets --feature-powerset
1m 0s
cargo hack check --all-targets --feature-powerset
Matrix: cargo test
Fit to window
Zoom out
Zoom in

Annotations

31 errors
cargo test (stable, x86_64-unknown-linux-gnu, ubuntu-latest): src/codec/gzip/decoder.rs#L86
unnecessary parentheses around `if` condition
cargo test (stable, x86_64-unknown-linux-gnu, ubuntu-latest)
Process completed with exit code 101.
cargo test minimal-versions: src/codec/gzip/decoder.rs#L86
unnecessary parentheses around `if` condition
cargo test minimal-versions: src/codec/zstd/encoder.rs#L2
unused import: `CParameter`
cargo test minimal-versions: src/codec/brotli/decoder.rs#L28
variable does not need to be mutable
cargo test minimal-versions: src/codec/brotli/encoder.rs#L28
variable does not need to be mutable
cargo test minimal-versions: src/codec/zstd/decoder.rs#L20
variable does not need to be mutable
cargo test minimal-versions: src/codec/zstd/encoder.rs#L29
variable does not need to be mutable
cargo test minimal-versions: src/codec/gzip/header.rs#L6
field `ascii` is never read
cargo test minimal-versions: src/util.rs#L27
method `get_mut` is never used
cargo test minimal-versions
Process completed with exit code 101.
cargo test (stable, x86_64-apple-darwin, macos-latest)
The job was canceled because "stable_x86_64-unknown-lin" failed.
cargo test (stable, i686-pc-windows-msvc, windows-latest)
The job was canceled because "stable_x86_64-unknown-lin" failed.
cargo test --shallow-minimal-versions: src/codec/gzip/decoder.rs#L86
unnecessary parentheses around `if` condition
cargo test --shallow-minimal-versions: src/codec/zstd/encoder.rs#L2
unused import: `CParameter`
cargo test --shallow-minimal-versions: src/codec/brotli/decoder.rs#L28
variable does not need to be mutable
cargo test --shallow-minimal-versions: src/codec/brotli/encoder.rs#L28
variable does not need to be mutable
cargo test --shallow-minimal-versions: src/codec/zstd/decoder.rs#L20
variable does not need to be mutable
cargo test --shallow-minimal-versions: src/codec/zstd/encoder.rs#L29
variable does not need to be mutable
cargo test --shallow-minimal-versions: src/codec/gzip/header.rs#L6
field `ascii` is never read
cargo test --shallow-minimal-versions: src/util.rs#L27
method `get_mut` is never used
cargo test --shallow-minimal-versions
Process completed with exit code 101.
cargo test (stable, x86_64-pc-windows-msvc, windows-latest)
The job was canceled because "stable_x86_64-unknown-lin" failed.
cargo test (stable, i686-unknown-linux-gnu, ubuntu-latest)
The job was canceled because "stable_x86_64-unknown-lin" failed.