[Pkg-rust-maintainers] Bug#1121813: rust-debian-copyright: FTBFS: variant or associated item not found in `deb822_lossless::Error`
Sebastian Ramacher
sramacher at debian.org
Wed Dec 3 05:55:05 GMT 2025
Source: rust-debian-copyright
Version: 0.1.34-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org
Dear maintainer,
rust-debian-copyright FTBFS:
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=debian_copyright CARGO_MANIFEST_DIR=/build/reproducible-path/rust-debian-copyright-0.1.34 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-debian-copyright-0.1.34/Cargo.toml CARGO_PKG_AUTHORS='Jelmer Vernooij <jelmer at debian.org>' CARGO_PKG_DESCRIPTION='A parser for Debian copyright files' CARGO_PKG_HOMEPAGE='https://github.com/jelmer/deb822-lossless' CARGO_PKG_LICENSE=Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=debian-copyright CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/jelmer/deb822-lossless' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.34 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=34 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_SBOM_PATH='' LD_LIBRARY_PATH=/build/reproducible-path/rust-debian-copyright-0.1.34/target/debug/deps rustc --crate-name debian_copyright --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="lossless"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "lossless"))' -C metadata=7e441eb7f492428c -C extra-filename=-eeebfcf026c24694 --out-dir /build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/build/reproducible-path/rust-debian-copyright-0.1.34/target/debug/deps --extern deb822_fast=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libdeb822_fast-6f53a3deb1478577.rmeta --extern deb822_lossless=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libdeb822_lossless-8886ac1fb42ae23d.rmeta --extern debversion=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libdebversion-ec1b5bdeaa53a5e7.rmeta --extern regex=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libregex-f9e573da01fcded0.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /build/reproducible-path/rust-debian-copyright-0.1.34=/usr/share/cargo/registry/debian-copyright-0.1.34 --remap-path-prefix /build/reproducible-path/rust-debian-copyright-0.1.34/debian/cargo_registry=/usr/share/cargo/registry`
error[E0599]: no variant or associated item named `InvalidValue` found for enum `deb822_lossless::Error` in the current scope
--> src/lossless.rs:266:37
|
266 | deb822_lossless::Error::InvalidValue(msg) => Error::InvalidValue(msg),
| ^^^^^^^^^^^^ variant or associated item not found in `deb822_lossless::Error`
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=debian_copyright CARGO_MANIFEST_DIR=/build/reproducible-path/rust-debian-copyright-0.1.34 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-debian-copyright-0.1.34/Cargo.toml CARGO_PKG_AUTHORS='Jelmer Vernooij <jelmer at debian.org>' CARGO_PKG_DESCRIPTION='A parser for Debian copyright files' CARGO_PKG_HOMEPAGE='https://github.com/jelmer/deb822-lossless' CARGO_PKG_LICENSE=Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=debian-copyright CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/jelmer/deb822-lossless' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.34 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=34 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_SBOM_PATH='' LD_LIBRARY_PATH=/build/reproducible-path/rust-debian-copyright-0.1.34/target/debug/deps rustc --crate-name debian_copyright --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifact
s,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="lossless"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "lossless"))' -C metadata=75c0935cac34ca2c -C extra-filename=-30b03338a0b91b84 --out-dir /build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/build/reproducible-path/rust-debian-copyright-0.1.34/target/debug/deps --extern deb822_fast=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libdeb822_fast-6f53a3deb1478577.rlib --extern deb822_lossless=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libdeb822_lossless-8886ac1fb42ae23d.rlib --extern debversion=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libdebversion-ec1b5bdeaa53a5e7.rlib --extern regex=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libregex-f9e573da01fcded0.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /build/reproducible-path/rust-debian-copyright-0.1.34=/usr/share/cargo/registry/debian-copyright-0.1.34 --remap-path-prefix /build/reproducible-path/rust-debian-copyright-0.1.34/debian/cargo_registry=/usr/share/cargo/registry`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `debian-copyright` (lib) due to 1 previous error
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=debian_copyright CARGO_MANIFEST_DIR=/build/reproducible-path/rust-debian-copyright-0.1.34 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-debian-copyright-0.1.34/Cargo.toml CARGO_PKG_AUTHORS='Jelmer Vernooij <jelmer at debian.org>' CARGO_PKG_DESCRIPTION='A parser for Debian copyright files' CARGO_PKG_HOMEPAGE='https://github.com/jelmer/deb822-lossless' CARGO_PKG_LICENSE=Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=debian-copyright CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/jelmer/deb822-lossless' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.34 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=34 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_SBOM_PATH='' LD_LIBRARY_PATH=/build/reproducible-path/rust-debian-copyright-0.1.34/target/debug/deps rustc --crate-name debian_copyright --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="lossless"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "lossless"))' -C metadata=7e441eb7f492428c -C extra-filename=-eeebfcf026c24694 --out-dir /build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/build/reproducible-path/rust-debian-copyright-0.1.34/target/debug/deps --extern deb822_fast=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libdeb822_fast-6f53a3deb1478577.rmeta --extern deb822_lossless=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libdeb822_lossless-8886ac1fb42ae23d.rmeta --extern debversion=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libdebversion-ec1b5bdeaa53a5e7.rmeta --extern regex=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libregex-f9e573da01fcded0.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /build/reproducible-path/rust-debian-copyright-0.1.34=/usr/share/cargo/registry/debian-copyright-0.1.34 --remap-path-prefix /build/reproducible-path/rust-debian-copyright-0.1.34/debian/cargo_registry=/usr/share/cargo/registry` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
error: could not compile `debian-copyright` (lib test) due to 1 previous error
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=debian_copyright CARGO_MANIFEST_DIR=/build/reproducible-path/rust-debian-copyright-0.1.34 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-debian-copyright-0.1.34/Cargo.toml CARGO_PKG_AUTHORS='Jelmer Vernooij <jelmer at debian.org>' CARGO_PKG_DESCRIPTION='A parser for Debian copyright files' CARGO_PKG_HOMEPAGE='https://github.com/jelmer/deb822-lossless' CARGO_PKG_LICENSE=Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=debian-copyright CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/jelmer/deb822-lossless' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.34 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=34 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_SBOM_PATH='' LD_LIBRARY_PATH=/build/reproducible-path/rust-debian-copyright-0.1.34/target/debug/deps rustc --crate-name debian_copyright --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="lossless"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "lossless"))' -C metadata=75c0935cac34ca2c -C extra-filename=-30b03338a0b91b84 --out-dir /build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/build/reproducible-path/rust-debian-copyright-0.1.34/target/debug/deps --extern deb822_fast=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libdeb822_fast-6f53a3deb1478577.rlib --extern deb822_lossless=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libdeb822_lossless-8886ac1fb42ae23d.rlib --extern debversion=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libdebversion-ec1b5bdeaa53a5e7.rlib --extern regex=/build/reproducible-path/rust-debian-copyright-0.1.34/target/x86_64-unknown-linux-gnu/debug/deps/libregex-f9e573da01fcded0.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /build/reproducible-path/rust-debian-copyright-0.1.34=/usr/share/cargo/registry/debian-copyright-0.1.34 --remap-path-prefix /build/reproducible-path/rust-debian-copyright-0.1.34/debian/cargo_registry=/usr/share/cargo/registry` (exit status: 1)
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
See
https://buildd.debian.org/status/fetch.php?pkg=rust-debian-copyright&arch=amd64&ver=0.1.34-1&stamp=1764720753&raw=0
for more details.
Cheers
--
Sebastian Ramacher
More information about the Pkg-rust-maintainers
mailing list