Your message dated Wed, 3 Dec 2025 16:06:23 +0000
with message-id <[email protected]>
and subject line Re: Bug#1121813: rust-debian-copyright: FTBFS: variant or
associated item not found in `deb822_lossless::Error`
has caused the Debian Bug report #1121813,
regarding rust-debian-copyright: FTBFS: variant or associated item not found in
`deb822_lossless::Error`
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1121813: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1121813
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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: [email protected]
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 <[email protected]>'
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 <[email protected]>'
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 <[email protected]>'
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 <[email protected]>'
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
--- End Message ---
--- Begin Message ---
On Wed, Dec 03, 2025 at 06:55:05AM +0100, Sebastian Ramacher wrote:
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
<[email protected]>' 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`
Looks like there was just a bit of an ordering problem - it builds fine
with rust-deb822-lossless 0.5.0-1, as seen in
https://buildd.debian.org/status/fetch.php?pkg=rust-debian-copyright&arch=arm64&ver=0.1.34-1&stamp=1764777772&raw=0.
I'll give back builds as needed.
--
Colin Watson (he/him) [[email protected]]
--- End Message ---