Your message dated Fri, 07 Apr 2023 02:25:07 +0000
with message-id <e1pkbml-007qju...@fasolo.debian.org>
and subject line Bug#1034032: fixed in rust-bitflags 1.3.2-3
has caused the Debian Bug report #1034032,
regarding rust-bitflags: autopkgtest regression: error[E0277]: the trait bound 
`SerdeFlags: Deserialize<'_>` is not satisfied
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 ow...@bugs.debian.org
immediately.)


-- 
1034032: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034032
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: rust-bitflags
Version: 1.3.2-2
Severity: serious
Control: tags -1 bookworm-ignore
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails. 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. [Release Team member hat on] Because we're currently in the hard freeze for bookworm, I have marked this bug as bookworm-ignore. Targeted fixes are still welcome.

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

Paul

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

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

Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=glob CARGO_MANIFEST_DIR=/tmp/tmp.u55zB0qp8W/registry/glob-0.3.0 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Support for matching file paths against Unix shell style patterns. ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/glob' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=glob CARGO_PKG_REPOSITORY='https://github.com/rust-lang/glob' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.3.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.u55zB0qp8W/target/debug/deps:/usr/lib' rustc --crate-name glob /tmp/tmp.u55zB0qp8W/registry/glob-0.3.0/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 -C metadata=18ed03da62dd1beb -C extra-filename=-18ed03da62dd1beb --out-dir /tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.u55zB0qp8W/target/debug/deps --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitflags-1.3.2=/usr/share/cargo/registry/bitflags-1.3.2 --remap-path-prefix /tmp/tmp.u55zB0qp8W/registry=/usr/share/cargo/registry`
warning: trait objects without an explicit `dyn` are deprecated
   --> /usr/share/cargo/registry/glob-0.3.0/src/lib.rs:294:32
    |
294 |     fn cause(&self) -> Option<&Error> {
    |                                ^^^^^
    |
    = note: `#[warn(bare_trait_objects)]` on by default
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
help: use `dyn`
    |
294 -     fn cause(&self) -> Option<&Error> {
294 +     fn cause(&self) -> Option<&dyn Error> {
    |

warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
   --> /usr/share/cargo/registry/glob-0.3.0/src/lib.rs:291:20
    |
291 |         self.error.description()
    |                    ^^^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

warning: `glob` (lib) generated 2 warnings
   Compiling once_cell v1.17.0
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=once_cell CARGO_MANIFEST_DIR=/tmp/tmp.u55zB0qp8W/registry/once_cell-1.17.0 CARGO_PKG_AUTHORS='Aleksey Kladov <aleksey.kla...@gmail.com>' CARGO_PKG_DESCRIPTION='Single assignment cells and lazy values.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=once_cell CARGO_PKG_REPOSITORY='https://github.com/matklad/once_cell' CARGO_PKG_RUST_VERSION=1.56 CARGO_PKG_VERSION=1.17.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=17 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.u55zB0qp8W/target/debug/deps:/usr/lib' rustc --crate-name once_cell --edition=2021 /tmp/tmp.u55zB0qp8W/registry/once_cell-1.17.0/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="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=de70ba2dc91f60b7 -C extra-filename=-de70ba2dc91f60b7 --out-dir /tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.u55zB0qp8W/target/debug/deps --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitflags-1.3.2=/usr/share/cargo/registry/bitflags-1.3.2 --remap-path-prefix /tmp/tmp.u55zB0qp8W/registry=/usr/share/cargo/registry`
   Compiling termcolor v1.1.2
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=termcolor CARGO_MANIFEST_DIR=/tmp/tmp.u55zB0qp8W/registry/termcolor-1.1.2 CARGO_PKG_AUTHORS='Andrew Gallant <jams...@gmail.com>' CARGO_PKG_DESCRIPTION='A simple cross platform library for writing colored text to a terminal. ' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/termcolor' CARGO_PKG_LICENSE='Unlicense OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=termcolor CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/termcolor' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.1.2 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.u55zB0qp8W/target/debug/deps:/usr/lib' rustc --crate-name termcolor --edition=2018 /tmp/tmp.u55zB0qp8W/registry/termcolor-1.1.2/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 -C metadata=8e29c39ffba1a803 -C extra-filename=-8e29c39ffba1a803 --out-dir /tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.u55zB0qp8W/target/debug/deps --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitflags-1.3.2=/usr/share/cargo/registry/bitflags-1.3.2 --remap-path-prefix /tmp/tmp.u55zB0qp8W/registry=/usr/share/cargo/registry`
   Compiling walkdir v2.3.2
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=walkdir CARGO_MANIFEST_DIR=/tmp/tmp.u55zB0qp8W/registry/walkdir-2.3.2 CARGO_PKG_AUTHORS='Andrew Gallant <jams...@gmail.com>' CARGO_PKG_DESCRIPTION='Recursively walk a directory.' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/walkdir' CARGO_PKG_LICENSE=Unlicense/MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=walkdir CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/walkdir' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=2.3.2 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.u55zB0qp8W/target/debug/deps:/usr/lib' rustc --crate-name walkdir --edition=2018 /tmp/tmp.u55zB0qp8W/registry/walkdir-2.3.2/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 -C metadata=445f2ac7b7216d52 -C extra-filename=-445f2ac7b7216d52 --out-dir /tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.u55zB0qp8W/target/debug/deps --extern same_file=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libsame_file-526ffa5e664b3cea.rmeta --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitflags-1.3.2=/usr/share/cargo/registry/bitflags-1.3.2 --remap-path-prefix /tmp/tmp.u55zB0qp8W/registry=/usr/share/cargo/registry` Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rustversion CARGO_MANIFEST_DIR=/tmp/tmp.u55zB0qp8W/registry/rustversion-1.0.6 CARGO_PKG_AUTHORS='David Tolnay <dtol...@gmail.com>' CARGO_PKG_DESCRIPTION='Conditional compilation according to rustc compiler version' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=rustversion CARGO_PKG_REPOSITORY='https://github.com/dtolnay/rustversion' CARGO_PKG_RUST_VERSION=1.31 CARGO_PKG_VERSION=1.0.6 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=6 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.u55zB0qp8W/target/debug/deps:/usr/lib' OUT_DIR=/tmp/tmp.u55zB0qp8W/target/debug/build/rustversion-af70ca9cbb936230/out rustc --crate-name rustversion --edition=2018 /tmp/tmp.u55zB0qp8W/registry/rustversion-1.0.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debuginfo=2 -C metadata=0a763140cb017f0f -C extra-filename=-0a763140cb017f0f --out-dir /tmp/tmp.u55zB0qp8W/target/debug/deps -L dependency=/tmp/tmp.u55zB0qp8W/target/debug/deps --extern proc_macro --cap-lints warn`
   Compiling bitflags v1.3.2 (/usr/share/cargo/registry/bitflags-1.3.2)
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bitflags CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitflags-1.3.2 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A macro to generate structures which behave like bitflags. ' CARGO_PKG_HOMEPAGE='https://github.com/bitflags/bitflags' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitflags CARGO_PKG_REPOSITORY='https://github.com/bitflags/bitflags' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.3.2 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/tmp/tmp.u55zB0qp8W/target/debug/deps:/usr/lib' rustc --crate-name bitflags --edition=2018 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 -C metadata=581c71ce3b5fb373 -C extra-filename=-581c71ce3b5fb373 --out-dir /tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.u55zB0qp8W/target/debug/deps -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitflags-1.3.2=/usr/share/cargo/registry/bitflags-1.3.2 --remap-path-prefix /tmp/tmp.u55zB0qp8W/registry=/usr/share/cargo/registry` Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=trybuild CARGO_MANIFEST_DIR=/tmp/tmp.u55zB0qp8W/registry/trybuild-1.0.76 CARGO_PKG_AUTHORS='David Tolnay <dtol...@gmail.com>' CARGO_PKG_DESCRIPTION='Test harness for ui tests of compiler diagnostics' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=trybuild CARGO_PKG_REPOSITORY='https://github.com/dtolnay/trybuild' CARGO_PKG_RUST_VERSION=1.45 CARGO_PKG_VERSION=1.0.76 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=76 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/tmp/tmp.u55zB0qp8W/target/debug/deps:/usr/lib' OUT_DIR=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/build/trybuild-3dc14f36f00cbde0/out rustc --crate-name trybuild --edition=2018 /tmp/tmp.u55zB0qp8W/registry/trybuild-1.0.76/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 -C metadata=813824af549a3fe4 -C extra-filename=-813824af549a3fe4 --out-dir /tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.u55zB0qp8W/target/debug/deps --extern glob=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libglob-18ed03da62dd1beb.rmeta --extern once_cell=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libonce_cell-de70ba2dc91f60b7.rmeta --extern serde=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libserde-9bdc07005ba01914.rmeta --extern serde_derive=/tmp/tmp.u55zB0qp8W/target/debug/deps/libserde_derive-3bb669a81ca8552e.so --extern serde_json=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libserde_json-aa32d2aba754a8a0.rmeta --extern termcolor=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libtermcolor-8e29c39ffba1a803.rmeta --extern toml=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libtoml-7af6e150d3a5c92c.rmeta --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitflags-1.3.2=/usr/share/cargo/registry/bitflags-1.3.2 --remap-path-prefix /tmp/tmp.u55zB0qp8W/registry=/usr/share/cargo/registry` Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bitflags CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitflags-1.3.2 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A macro to generate structures which behave like bitflags. ' CARGO_PKG_HOMEPAGE='https://github.com/bitflags/bitflags' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitflags CARGO_PKG_REPOSITORY='https://github.com/bitflags/bitflags' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.3.2 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/tmp/tmp.u55zB0qp8W/target/debug/deps:/usr/lib' rustc --crate-name bitflags --edition=2018 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 -C metadata=3deea61b7b8b7d17 -C extra-filename=-3deea61b7b8b7d17 --out-dir /tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.u55zB0qp8W/target/debug/deps --extern rustversion=/tmp/tmp.u55zB0qp8W/target/debug/deps/librustversion-0a763140cb017f0f.so --extern serde=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libserde-9bdc07005ba01914.rlib --extern serde_derive=/tmp/tmp.u55zB0qp8W/target/debug/deps/libserde_derive-3bb669a81ca8552e.so --extern serde_json=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libserde_json-aa32d2aba754a8a0.rlib --extern trybuild=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libtrybuild-813824af549a3fe4.rlib --extern walkdir=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libwalkdir-445f2ac7b7216d52.rlib -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitflags-1.3.2=/usr/share/cargo/registry/bitflags-1.3.2 --remap-path-prefix /tmp/tmp.u55zB0qp8W/registry=/usr/share/cargo/registry` Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=basic CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitflags-1.3.2 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A macro to generate structures which behave like bitflags. ' CARGO_PKG_HOMEPAGE='https://github.com/bitflags/bitflags' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitflags CARGO_PKG_REPOSITORY='https://github.com/bitflags/bitflags' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.3.2 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/tmp LD_LIBRARY_PATH='/tmp/tmp.u55zB0qp8W/target/debug/deps:/usr/lib' rustc --crate-name basic --edition=2018 tests/basic.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=0ee53e66b952f83f -C extra-filename=-0ee53e66b952f83f --out-dir /tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.u55zB0qp8W/target/debug/deps --extern bitflags=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libbitflags-581c71ce3b5fb373.rlib --extern rustversion=/tmp/tmp.u55zB0qp8W/target/debug/deps/librustversion-0a763140cb017f0f.so --extern serde=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libserde-9bdc07005ba01914.rlib --extern serde_derive=/tmp/tmp.u55zB0qp8W/target/debug/deps/libserde_derive-3bb669a81ca8552e.so --extern serde_json=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libserde_json-aa32d2aba754a8a0.rlib --extern trybuild=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libtrybuild-813824af549a3fe4.rlib --extern walkdir=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libwalkdir-445f2ac7b7216d52.rlib -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitflags-1.3.2=/usr/share/cargo/registry/bitflags-1.3.2 --remap-path-prefix /tmp/tmp.u55zB0qp8W/registry=/usr/share/cargo/registry`
error[E0433]: failed to resolve: could not find `Serialize` in `serde`
    --> src/lib.rs:1721:25
     |
1721 |         #[derive(serde::Serialize, serde::Deserialize)]
| ^^^^^^^^^ could not find `Serialize` in `serde`

error[E0433]: failed to resolve: could not find `Deserialize` in `serde`
    --> src/lib.rs:1721:43
     |
1721 |         #[derive(serde::Serialize, serde::Deserialize)]
| ^^^^^^^^^^^ could not find `Deserialize` in `serde`

Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=compile CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitflags-1.3.2 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A macro to generate structures which behave like bitflags. ' CARGO_PKG_HOMEPAGE='https://github.com/bitflags/bitflags' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitflags CARGO_PKG_REPOSITORY='https://github.com/bitflags/bitflags' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.3.2 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_TARGET_TMPDIR=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/tmp LD_LIBRARY_PATH='/tmp/tmp.u55zB0qp8W/target/debug/deps:/usr/lib' rustc --crate-name compile --edition=2018 tests/compile.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=3c0911627ebbc5c8 -C extra-filename=-3c0911627ebbc5c8 --out-dir /tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.u55zB0qp8W/target/debug/deps --extern bitflags=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libbitflags-581c71ce3b5fb373.rlib --extern rustversion=/tmp/tmp.u55zB0qp8W/target/debug/deps/librustversion-0a763140cb017f0f.so --extern serde=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libserde-9bdc07005ba01914.rlib --extern serde_derive=/tmp/tmp.u55zB0qp8W/target/debug/deps/libserde_derive-3bb669a81ca8552e.so --extern serde_json=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libserde_json-aa32d2aba754a8a0.rlib --extern trybuild=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libtrybuild-813824af549a3fe4.rlib --extern walkdir=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libwalkdir-445f2ac7b7216d52.rlib -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitflags-1.3.2=/usr/share/cargo/registry/bitflags-1.3.2 --remap-path-prefix /tmp/tmp.u55zB0qp8W/registry=/usr/share/cargo/registry`
error[E0277]: the trait bound `SerdeFlags: Serialize` is not satisfied
    --> src/lib.rs:1697:48
     |
1697 |         let serialized = serde_json::to_string(&flags).unwrap();
| --------------------- ^^^^^^ the trait `Serialize` is not implemented for `SerdeFlags`
     |                          |
     |                          required by a bound introduced by this call
     |
     = help: the following other types implement trait `Serialize`:
               &'a T
               &'a mut T
               ()
               (T0, T1)
               (T0, T1, T2)
               (T0, T1, T2, T3)
               (T0, T1, T2, T3, T4)
               (T0, T1, T2, T3, T4, T5)
             and 127 others
note: required by a bound in `serde_json::to_string`

error[E0277]: the trait bound `SerdeFlags: Deserialize<'_>` is not satisfied
    --> src/lib.rs:1704:40
     |
1704 | let deserialized: SerdeFlags = serde_json::from_str(r#"{"bits":12}"#).unwrap(); | ^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `SerdeFlags`
     |
     = help: the following other types implement trait `Deserialize<'de>`:
               &'a Path
               &'a [u8]
               &'a str
               ()
               (T0, T1)
               (T0, T1, T2)
               (T0, T1, T2, T3)
               (T0, T1, T2, T3, T4)
             and 135 others
note: required by a bound in `serde_json::from_str`

error[E0277]: the trait bound `SerdeFlags: Serialize` is not satisfied
    --> src/lib.rs:1715:84
     |
1715 | let deserialized: SerdeFlags = serde_json::from_str(&serde_json::to_string(&flags).unwrap()).unwrap(); | --------------------- ^^^^^^ the trait `Serialize` is not implemented for `SerdeFlags`
     |                                                              |
| required by a bound introduced by this call
     |
     = help: the following other types implement trait `Serialize`:
               &'a T
               &'a mut T
               ()
               (T0, T1)
               (T0, T1, T2)
               (T0, T1, T2, T3)
               (T0, T1, T2, T3, T4)
               (T0, T1, T2, T3, T4, T5)
             and 127 others
note: required by a bound in `serde_json::to_string`

error[E0277]: the trait bound `SerdeFlags: Deserialize<'_>` is not satisfied
    --> src/lib.rs:1715:40
     |
1715 | let deserialized: SerdeFlags = serde_json::from_str(&serde_json::to_string(&flags).unwrap()).unwrap(); | ^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `SerdeFlags`
     |
     = help: the following other types implement trait `Deserialize<'de>`:
               &'a Path
               &'a [u8]
               &'a str
               ()
               (T0, T1)
               (T0, T1, T2)
               (T0, T1, T2, T3)
               (T0, T1, T2, T3, T4)
             and 135 others
note: required by a bound in `serde_json::from_str`

Some errors have detailed explanations: E0277, E0433.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `bitflags` due to 6 previous errors

Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bitflags CARGO_MANIFEST_DIR=/usr/share/cargo/registry/bitflags-1.3.2 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A macro to generate structures which behave like bitflags. ' CARGO_PKG_HOMEPAGE='https://github.com/bitflags/bitflags' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bitflags CARGO_PKG_REPOSITORY='https://github.com/bitflags/bitflags' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.3.2 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/tmp/tmp.u55zB0qp8W/target/debug/deps:/usr/lib' rustc --crate-name bitflags --edition=2018 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 -C metadata=3deea61b7b8b7d17 -C extra-filename=-3deea61b7b8b7d17 --out-dir /tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/tmp/tmp.u55zB0qp8W/target/debug/deps --extern rustversion=/tmp/tmp.u55zB0qp8W/target/debug/deps/librustversion-0a763140cb017f0f.so --extern serde=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libserde-9bdc07005ba01914.rlib --extern serde_derive=/tmp/tmp.u55zB0qp8W/target/debug/deps/libserde_derive-3bb669a81ca8552e.so --extern serde_json=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libserde_json-aa32d2aba754a8a0.rlib --extern trybuild=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libtrybuild-813824af549a3fe4.rlib --extern walkdir=/tmp/tmp.u55zB0qp8W/target/x86_64-unknown-linux-gnu/debug/deps/libwalkdir-445f2ac7b7216d52.rlib -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /usr/share/cargo/registry/bitflags-1.3.2=/usr/share/cargo/registry/bitflags-1.3.2 --remap-path-prefix /tmp/tmp.u55zB0qp8W/registry=/usr/share/cargo/registry` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
warning: function `prepare_stderr_files` is never used
  --> tests/compile.rs:32:4
   |
32 | fn prepare_stderr_files(path: impl AsRef<Path>) -> io::Result<()> {
   |    ^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: function `rename_beta_stderr` is never used
  --> tests/compile.rs:61:4
   |
61 | fn rename_beta_stderr(_: impl AsRef<Path>, _: impl AsRef<Path>) -> io::Result<()> {
   |    ^^^^^^^^^^^^^^^^^^

warning: `bitflags` (test "compile") generated 2 warnings

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: rust-bitflags
Source-Version: 1.3.2-3
Done: Peter Michael Green <plugw...@debian.org>

We believe that the bug you reported is fixed in the latest version of
rust-bitflags, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1034...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Michael Green <plugw...@debian.org> (supplier of updated rust-bitflags 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 07 Apr 2023 01:24:25 +0000
Source: rust-bitflags
Architecture: source
Version: 1.3.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Rust Maintainers 
<pkg-rust-maintain...@alioth-lists.debian.net>
Changed-By: Peter Michael Green <plugw...@debian.org>
Closes: 1034032
Changes:
 rust-bitflags (1.3.2-3) unstable; urgency=medium
 .
   * Team upload.
   * Package bitflags 1.3.2 from crates.io using debcargo 2.6.0
   * Add "derive" feature to dev-dependency on serde, this seems to be
     needed since serde 1.0.142 (Closes: #1034032)
Checksums-Sha1:
 9a37ba4db1635dc7100ac2f19eb151ef6c7a00e8 2413 rust-bitflags_1.3.2-3.dsc
 a2869b7547ab9a6cfe6cda48642ff98c4b987274 3644 
rust-bitflags_1.3.2-3.debian.tar.xz
 ecad3709011cec6d04b287ef9563dbde90656d0e 7242 
rust-bitflags_1.3.2-3_source.buildinfo
Checksums-Sha256:
 d31f84a05ef36a9c0583a5b83303a3e753f9635fae46579ca52a2dc3cb2c3880 2413 
rust-bitflags_1.3.2-3.dsc
 f6d339cfe23b3423244cca5f9d740c91cfc14797cf525b09e2a47c2cb10f2621 3644 
rust-bitflags_1.3.2-3.debian.tar.xz
 2e61de2b940cef039d312e90e20eca2aa01a8b3d6d61236dd37a315924bdeb69 7242 
rust-bitflags_1.3.2-3_source.buildinfo
Files:
 965b21f2394c8b7dce82a0bdbab20e46 2413 rust optional rust-bitflags_1.3.2-3.dsc
 0b47bd4df8b464e74a6ef78c4d0eaff1 3644 rust optional 
rust-bitflags_1.3.2-3.debian.tar.xz
 b9a5424de0958488fc21accbe0be06a3 7242 rust optional 
rust-bitflags_1.3.2-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEU0DQATYMplbjSX63DEjqKnqP/XsFAmQvc4AUHHBsdWd3YXNo
QGRlYmlhbi5vcmcACgkQDEjqKnqP/Xtl0w//c422zoeQzDYaUX23mc3Cn9HiZ+UP
VnZOcf1vd+4cPsVuCypv2XMDXFWfwdG6PKxrHxDd9IkUIe7HAJmKbAaaqujcDn2z
5RDlIDQt9PSBZ6XLrGKwOVw4KCBkvF61GhjabYzBOY/dqUTur/IIzOsYaOi2DLQe
87UI4Z9NVqfW1XWsprnPIoizQOegEMRdxtv71hRXslJ0tfaZ/jdKUJ3GEEQJWgh2
QkOD7Bjf8QN3wLKoxjq4o7VRCmU5KkMLhHN66vNPTbZUfxgF4AocIGrz6ox7d6E7
CNU+MVIixVSPJycHARY5g7VNJmvCsW0MjrJ49bFmqANCVAqDnfyQHI8hsJctp8Aw
yK4Z58v0+z6RnbSPyk4QcLMa2lqnwXB5zYdYPq+JH6z2xKLBhjhq6A+knyP1UkRA
UK/E3lbekdYnwX69nmza5BuhzYkEQYta9G6C+TrnnlGNgIAHxPbwZ+OcolYpXK1b
8y9dkJJ9MPjgFYO6Yj7u18DfSykmwxvUoBBrRWMbQgGP4O4vAeZKn7rsS/QUBB/l
FrEPXaXj3MGnD2hMtkUaLNbYQHuHyJM0vMdKOU88GLW0zvBDg2rAKWwJ8vnb5kQW
++xfKV3GaOeBa+x+Cm+Q95wsJHwzYyiaZFoRyh2nEjEdeZ8N8XebIxShZt/dq2xX
sqliCLon6yVzl6o=
=gQ4K
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to