[Pkg-rust-maintainers] Bug#1108774: : autopkgtest regression: could not find `ZSTD_paramSwitch_e` in `zstd_sys`

Paul Gevers elbrus at debian.org
Sat Jul 5 07:07:13 BST 2025


Source: rust-zstd
Version: 0.13.2-1
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails since April 
2025. Can you please investigate the situation and fix it? I copied some 
of the output at the bottom of this report.

The release team has announced [1] that failing autopkgtest on amd64 and 
arm64 are considered RC in testing.

More information about this bug and the reason for filing it can be 
found on 
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

With my Release Team member hat on I allow you to tag this bug as 
trixie-ignore if this is nearly completely a test issue as it's so late 
in the freeze and it's not worth removing the package from trixie 
because of a failing test at this moment unless it exposes a much bigger 
issue. Having said that, if this is a test only issue and a fix is 
possible without fully removing the autopkgtest and without making the 
test superficial, it's still welcome, but it would need to happen soon.

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/data/autopkgtest/testing/amd64/r/rust-zstd/61528230/log.gz

  57s error[E0433]: failed to resolve: could not find 
`ZSTD_paramSwitch_e` in `zstd_sys`
  57s     --> /usr/share/cargo/registry/zstd-safe-7.2.1/src/lib.rs:2081:22
  57s      |
  57s 2081 |     Auto = zstd_sys::ZSTD_paramSwitch_e::ZSTD_ps_auto as u32,
  57s      |                      ^^^^^^^^^^^^^^^^^^
  57s      |                      |
  57s      |                      could not find `ZSTD_paramSwitch_e` in 
`zstd_sys`
  57s      |                      help: an enum with a similar name 
exists: `ZSTD_ParamSwitch_e`
  57s
  57s error[E0433]: failed to resolve: could not find 
`ZSTD_paramSwitch_e` in `zstd_sys`
  57s     --> /usr/share/cargo/registry/zstd-safe-7.2.1/src/lib.rs:2082:24
  57s      |
  57s 2082 |     Enable = zstd_sys::ZSTD_paramSwitch_e::ZSTD_ps_enable 
as u32,
  57s      |                        ^^^^^^^^^^^^^^^^^^
  57s      |                        |
  57s      |                        could not find `ZSTD_paramSwitch_e` 
in `zstd_sys`
  57s      |                        help: an enum with a similar name 
exists: `ZSTD_ParamSwitch_e`
  57s
  57s error[E0433]: failed to resolve: could not find 
`ZSTD_paramSwitch_e` in `zstd_sys`
  57s     --> /usr/share/cargo/registry/zstd-safe-7.2.1/src/lib.rs:2083:25
  57s      |
  57s 2083 |     Disable = zstd_sys::ZSTD_paramSwitch_e::ZSTD_ps_disable 
as u32,
  57s      |                         ^^^^^^^^^^^^^^^^^^
  57s      |                         |
  57s      |                         could not find `ZSTD_paramSwitch_e` 
in `zstd_sys`
  57s      |                         help: an enum with a similar name 
exists: `ZSTD_ParamSwitch_e`
  57s
  57s warning: unexpected `cfg` condition value: `zstdmt`
  57s     --> /usr/share/cargo/registry/zstd-safe-7.2.1/src/lib.rs:1437:37
  57s      |
  57s 1437 | #[cfg(all(feature = "experimental", feature = "zstdmt"))]
  57s      |                                     ^^^^^^^^^^^^^^^^^^
  57s      |
  57s      = note: expected values for `feature` are: `arrays`, 
`default`, `doc-cfg`, `experimental`, `legacy`, `pkg-config`, `std`, and 
`zdict_builder`
  57s      = help: consider adding `zstdmt` as a feature in `Cargo.toml`
  57s      = note: see 
<https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 
for more information about checking conditional configuration
  57s      = note: `#[warn(unexpected_cfgs)]` on by default
  57s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 585 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20250705/6051a920/attachment.sig>


More information about the Pkg-rust-maintainers mailing list