Package: src:meli Version: 0.8.13+dfsg-3 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202602/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:meli, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean dh_auto_clean --buildsystem=rust /usr/share/dh-rust/bin/cargo clean debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] [] ['-j2'] 0 debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True} Removed 0 files dh_clean -XCargo.toml.orig debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure --buildsystem=rust /usr/share/dh-rust/bin/cargo prepare-debian debian/cargo_registry [... snipped ...] warning: trait `WriteAsFd` is more private than the item `terminal::screen::Tty::set_draw_fn` --> meli/src/terminal/screen.rs:185:5 | 185 | / pub fn set_draw_fn( 186 | | &mut self, 187 | | draw_horizontal_segment_fn: DrawHorizontalSegmentFn, 188 | | ) -> &mut Self { | |__________________^ method `terminal::screen::Tty::set_draw_fn` is reachable at visibility `pub` | note: but trait `WriteAsFd` is only usable at visibility `pub(crate)` --> meli/src/terminal/screen.rs:46:1 | 46 | pub (crate) unsafe trait WriteAsFd: std::io::Write + AsFd {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `BufWriterWithFd<Box<(dyn WriteAsFd + 'static)>>` is more private than the item `terminal::screen::Screen::<terminal::screen::Tty>::draw_horizontal_segment` --> meli/src/terminal/screen.rs:481:5 | 481 | / pub fn draw_horizontal_segment( 482 | | grid: &mut CellBuffer, 483 | | stdout: &mut StateStdout, 484 | | xs: std::ops::Range<usize>, 485 | | y: usize, 486 | | ) { | |_____^ associated function `terminal::screen::Screen::<terminal::screen::Tty>::draw_horizontal_segment` is reachable at visibility `pub` | note: but type `BufWriterWithFd<Box<(dyn WriteAsFd + 'static)>>` is only usable at visibility `pub(crate)` --> meli/src/terminal/screen.rs:51:1 | 51 | pub (crate) struct BufWriterWithFd<W: WriteAsFd> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: trait `WriteAsFd` is more private than the item `terminal::screen::Screen::<terminal::screen::Tty>::draw_horizontal_segment` --> meli/src/terminal/screen.rs:481:5 | 481 | / pub fn draw_horizontal_segment( 482 | | grid: &mut CellBuffer, 483 | | stdout: &mut StateStdout, 484 | | xs: std::ops::Range<usize>, 485 | | y: usize, 486 | | ) { | |_____^ associated function `terminal::screen::Screen::<terminal::screen::Tty>::draw_horizontal_segment` is reachable at visibility `pub` | note: but trait `WriteAsFd` is only usable at visibility `pub(crate)` --> meli/src/terminal/screen.rs:46:1 | 46 | pub (crate) unsafe trait WriteAsFd: std::io::Write + AsFd {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `BufWriterWithFd<Box<(dyn WriteAsFd + 'static)>>` is more private than the item `terminal::screen::Screen::<terminal::screen::Tty>::draw_horizontal_segment_no_color` --> meli/src/terminal/screen.rs:520:5 | 520 | / pub fn draw_horizontal_segment_no_color( 521 | | grid: &mut CellBuffer, 522 | | stdout: &mut StateStdout, 523 | | xs: std::ops::Range<usize>, 524 | | y: usize, 525 | | ) { | |_____^ associated function `terminal::screen::Screen::<terminal::screen::Tty>::draw_horizontal_segment_no_color` is reachable at visibility `pub` | note: but type `BufWriterWithFd<Box<(dyn WriteAsFd + 'static)>>` is only usable at visibility `pub(crate)` --> meli/src/terminal/screen.rs:51:1 | 51 | pub (crate) struct BufWriterWithFd<W: WriteAsFd> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: trait `WriteAsFd` is more private than the item `terminal::screen::Screen::<terminal::screen::Tty>::draw_horizontal_segment_no_color` --> meli/src/terminal/screen.rs:520:5 | 520 | / pub fn draw_horizontal_segment_no_color( 521 | | grid: &mut CellBuffer, 522 | | stdout: &mut StateStdout, 523 | | xs: std::ops::Range<usize>, 524 | | y: usize, 525 | | ) { | |_____^ associated function `terminal::screen::Screen::<terminal::screen::Tty>::draw_horizontal_segment_no_color` is reachable at visibility `pub` | note: but trait `WriteAsFd` is only usable at visibility `pub(crate)` --> meli/src/terminal/screen.rs:46:1 | 46 | pub (crate) unsafe trait WriteAsFd: std::io::Write + AsFd {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type `BufWriterWithFd<Box<(dyn WriteAsFd + 'static)>>` is more private than the item `cells::Attr::write` --> meli/src/terminal/cells.rs:1354:5 | 1354 | pub fn write(self, prev: Self, stdout: &mut crate::StateStdout) -> std::io::Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `cells::Attr::write` is reachable at visibility `pub` | note: but type `BufWriterWithFd<Box<(dyn WriteAsFd + 'static)>>` is only usable at visibility `pub(crate)` --> meli/src/terminal/screen.rs:51:1 | 51 | pub (crate) struct BufWriterWithFd<W: WriteAsFd> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: trait `WriteAsFd` is more private than the item `cells::Attr::write` --> meli/src/terminal/cells.rs:1354:5 | 1354 | pub fn write(self, prev: Self, stdout: &mut crate::StateStdout) -> std::io::Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `cells::Attr::write` is reachable at visibility `pub` | note: but trait `WriteAsFd` is only usable at visibility `pub(crate)` --> meli/src/terminal/screen.rs:46:1 | 46 | pub (crate) unsafe trait WriteAsFd: std::io::Write + AsFd {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused `std::result::Result` that must be used --> meli/src/terminal/screen.rs:83:9 | 83 | self.inner.borrow_mut().flush(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this `Result` may be an `Err` variant, which should be handled = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default help: use `let _ = ...` to ignore the resulting value | 83 | let _ = self.inner.borrow_mut().flush(); | +++++++ Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=jmap CAR [too-long-redacted] tive=/usr/lib/x86_64-linux-gnu` error: cannot find derive macro `Deserialize` in this scope --> melib/tests/jmap/main.rs:57:21 | 57 | #[derive(Debug, Deserialize)] | ^^^^^^^^^^^ | note: `Deserialize` is imported here, but it is only a trait, without a derive macro --> melib/tests/jmap/main.rs:54:17 | 54 | use serde::{Deserialize, Serialize}; | ^^^^^^^^^^^ help: consider importing this derive macro | 37 + use serde_derive::Deserialize; | error: cannot find attribute `serde` in this scope --> melib/tests/jmap/main.rs:58:7 | 58 | #[serde(rename_all = "camelCase")] | ^^^^^ | = note: `serde` is in scope, but it is a crate, not an attribute help: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute | 59 + #[derive(Deserialize, Serialize)] 60 | pub struct ClientRequest { | error: cannot find derive macro `Serialize` in this scope --> melib/tests/jmap/main.rs:64:28 | 64 | #[derive(Clone, Debug, Serialize)] | ^^^^^^^^^ | note: `Serialize` is imported here, but it is only a trait, without a derive macro --> melib/tests/jmap/main.rs:54:30 | 54 | use serde::{Deserialize, Serialize}; | ^^^^^^^^^ help: consider importing this derive macro | 37 + use serde_derive::Serialize; | error: cannot find attribute `serde` in this scope --> melib/tests/jmap/main.rs:65:7 | 65 | #[serde(rename_all = "camelCase")] | ^^^^^ | = note: `serde` is in scope, but it is a crate, not an attribute help: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute | 66 + #[derive(Deserialize, Serialize)] 67 | pub struct ClientMethodResponse { | error: cannot find attribute `serde` in this scope --> melib/tests/jmap/main.rs:67:11 | 67 | #[serde(serialize_with = "method_response_ser")] | ^^^^^ | = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute = note: `serde` is in scope, but it is a crate, not an attribute error: cannot find attribute `serde` in this scope --> melib/tests/jmap/main.rs:69:11 | 69 | #[serde(default)] | ^^^^^ | = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute = note: `serde` is in scope, but it is a crate, not an attribute error[E0277]: the trait bound `ClientMethodResponse: serde::Serialize` is not satisfied --> melib/tests/jmap/main.rs:673:33 | 672 | ... serde_json::to_string( | --------------------- required by a bound introduced by this call 673 | / ... &state 674 | | ... .lock() 675 | | ... .unwrap() 676 | | ... .api(lossy.lines().rev().nth(0).unwrap()), | |_______________________________________________________________________^ unsatisfied trait bound | help: the trait `Serialize` is not implemented for `ClientMethodResponse` --> melib/tests/jmap/main.rs:66:5 | 66 | pub struct ClientMethodResponse { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: for local types consider adding `#[derive(serde::Serialize)]` to your `ClientMethodResponse` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 369 others note: required by a bound in `serde_json::to_string` --> /<<PKGBUILDDIR>>/debian/cargo_registry/serde_json-1.0.145/src/ser.rs:2247:17 | 2245 | pub fn to_string<T>(value: &T) -> Result<String> | --------- required by a bound in this function 2246 | where 2247 | T: ?Sized + Serialize, | ^^^^^^^^^ required by this bound in `to_string` error[E0277]: the trait bound `ClientRequest: serde::Deserialize<'de>` is not satisfied --> melib/tests/jmap/main.rs:188:42 | 188 | let request: ClientRequest = serde_json::from_str(request).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound | help: the trait `Deserialize<'_>` is not implemented for `ClientRequest` --> melib/tests/jmap/main.rs:59:5 | 59 | pub struct ClientRequest { | ^^^^^^^^^^^^^^^^^^^^^^^^ = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `ClientRequest` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `Deserialize<'de>`: &'a [u8] &'a serde_json::value::RawValue &'a std::path::Path &'a str () (T,) (T0, T1) (T0, T1, T2) and 373 others note: required by a bound in `serde_json::from_str` --> /<<PKGBUILDDIR>>/debian/cargo_registry/serde_json-1.0.145/src/de.rs:2699:8 | 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result<T> | -------- required by a bound in this function 2698 | where 2699 | T: de::Deserialize<'a>, | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` For more information about this error, try `rustc --explain E0277`. error: could not compile `melib` (test "jmap") due to 8 previous errors Caused by: process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] _64-linux-gnu` (exit status: 1) warning: build failed, waiting for other jobs to finish... warning: `meli` (lib) generated 23 warnings (run `cargo fix --lib -p meli` to apply 2 suggestions) dh_auto_test: error: /usr/share/dh-rust/bin/cargo test returned exit code 101 make[1]: *** [debian/rules:23: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:16: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

