Bug#1098620: railway-gtk: FTBFS: 2/2 cargo-test FAIL 8.81s exit status 101
Santiago Vila
sanvila at debian.org
Fri Feb 21 23:29:21 GMT 2025
Package: src:railway-gtk
Version: 2.7.1-2
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
rm -rf debian/cargo_registry
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
[... snipped ...]
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fieldoffset_assert_in_const_fn)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fieldoffset_assert_in_const_fn)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
warning: unexpected `cfg` condition name: `fieldoffset_has_alloc`
--> /usr/share/cargo/registry/field-offset-0.3.6/src/lib.rs:8:17
|
8 | #[cfg(all(test, fieldoffset_has_alloc))]
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fieldoffset_has_alloc)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fieldoffset_has_alloc)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `fieldoffset_maybe_uninit`
--> /usr/share/cargo/registry/field-offset-0.3.6/src/lib.rs:73:11
|
73 | #[cfg(fieldoffset_maybe_uninit)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fieldoffset_maybe_uninit)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fieldoffset_maybe_uninit)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `fieldoffset_maybe_uninit`
--> /usr/share/cargo/registry/field-offset-0.3.6/src/lib.rs:81:15
|
81 | #[cfg(not(fieldoffset_maybe_uninit))]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fieldoffset_maybe_uninit)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fieldoffset_maybe_uninit)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `fieldoffset_assert_in_const_fn`
--> /usr/share/cargo/registry/field-offset-0.3.6/src/lib.rs:124:15
|
124 | #[cfg(fieldoffset_assert_in_const_fn)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fieldoffset_assert_in_const_fn)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fieldoffset_assert_in_const_fn)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: field `0` is never read
--> /usr/share/cargo/registry/field-offset-0.3.6/src/lib.rs:60:25
|
60 | struct PhantomContra<T>(fn(T));
| ------------- ^^^^^
| |
| field in this struct
|
= help: consider removing this field
= note: `#[warn(dead_code)]` on by default
Fresh md-5 v0.10.6
warning: `field-offset` (lib) generated 6 warnings
Fresh gtk4-macros v0.9.5
Fresh uuid v1.10.0
Fresh colorchoice v1.0.0
Fresh anstyle v1.0.8
Fresh anstyle-query v1.0.0
Fresh hex v0.4.3
Fresh lazy_static v1.5.0
warning: elided lifetime has a name
--> /usr/share/cargo/registry/lazy_static-1.5.0/src/inline_lazy.rs:26:43
|
26 | pub fn get<F>(&'static self, f: F) -> &T
| ^ this elided lifetime gets resolved as `'static`
|
= note: `#[warn(elided_named_lifetimes)]` on by default
help: consider specifying it explicitly
|
26 | pub fn get<F>(&'static self, f: F) -> &'static T
| +++++++
Fresh railway-provider-hafas v0.1.2
warning: `lazy_static` (lib) generated 1 warning
Fresh locale_config v0.3.0
warning: elided lifetime has a name
--> /usr/share/cargo/registry/locale_config-0.3.0/src/lib.rs:241:39
|
228 | impl<'a> LanguageRange<'a> {
| -- lifetime `'a` declared here
...
241 | pub fn new(lt: &'a str) -> Result<LanguageRange> {
| ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a`
|
= note: `#[warn(elided_named_lifetimes)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> /usr/share/cargo/registry/locale_config-0.3.0/src/lib.rs:501:13
|
501 | try!(LanguageRange::new(
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated macro `try`: use the `?` operator instead
--> /usr/share/cargo/registry/locale_config-0.3.0/src/lib.rs:505:27
|
505 | let tag = try!(LanguageRange::new(
| ^^^
warning: use of deprecated macro `try`: use the `?` operator instead
--> /usr/share/cargo/registry/locale_config-0.3.0/src/lib.rs:506:25
|
506 | try!(caps.name("tag").map(|m| m.as_str()).ok_or(Error::NotWellFormed))));
| ^^^
warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
--> /usr/share/cargo/registry/locale_config-0.3.0/src/lib.rs:756:28
|
756 | out.write_str(self.description())
| ^^^^^^^^^^^
Fresh anstream v0.6.15
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/lib.rs:48:20
|
48 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/lib.rs:53:20
|
53 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/stream.rs:4:24
|
4 | #[cfg(not(all(windows, feature = "wincon")))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/stream.rs:8:20
|
8 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/buffer.rs:46:20
|
46 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/buffer.rs:58:20
|
58 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:5:20
|
5 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:27:24
|
27 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:137:28
|
137 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:143:32
|
143 | #[cfg(not(all(windows, feature = "wincon")))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:155:32
|
155 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:166:32
|
166 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:180:32
|
180 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:225:32
|
225 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:243:32
|
243 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:260:32
|
260 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:269:32
|
269 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:279:32
|
279 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:288:32
|
288 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition value: `wincon`
--> /usr/share/cargo/registry/anstream-0.6.15/src/auto.rs:298:32
|
298 | #[cfg(all(windows, feature = "wincon"))]
| ^^^^^^^^^^^^^^^^^^
|
= note: expected values for `feature` are: `auto`, `default`, and `test`
= help: consider adding `wincon` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: `locale_config` (lib) generated 5 warnings
warning: `anstream` (lib) generated 20 warnings
Fresh gtk4 v0.9.5
Fresh railway-provider-db-movas v0.1.1
Fresh gettext-sys v0.21.3
Fresh libadwaita-sys v0.7.1
Fresh railway-api-derive v0.1.1
Fresh env_filter v0.1.3
Fresh railway-provider-motis v0.1.0
warning: unexpected `cfg` condition value: `poylines`
--> /usr/share/cargo/registry/railway-provider-motis-0.1.0/src/types.rs:309:23
|
309 | #[cfg(feature = "poylines")]
| ^^^^^^^^^^----------
| |
| help: there is a expected value with a similar name: `"polylines"`
|
= note: expected values for `feature` are: `polylines` and `rt-multi-thread`
= help: consider adding `poylines` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
Fresh railway-provider-search-ch v0.1.0
warning: `railway-provider-motis` (lib) generated 1 warning
Fresh humantime v2.1.0
warning: unexpected `cfg` condition value: `cloudabi`
--> /usr/share/cargo/registry/humantime-2.1.0/src/date.rs:6:7
|
6 | #[cfg(target_os="cloudabi")]
| ^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
warning: unexpected `cfg` condition value: `cloudabi`
--> /usr/share/cargo/registry/humantime-2.1.0/src/date.rs:14:9
|
14 | not(target_os="cloudabi"),
| ^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
Fresh railway-api v0.1.1
warning: `humantime` (lib) generated 2 warnings
Fresh env_logger v0.11.5
Fresh gettext-rs v0.7.0
Fresh libadwaita v0.7.1
warning: use of deprecated struct `auto::flap::Flap`: Since 1.4
--> /usr/share/cargo/registry/libadwaita-0.7.1/src/auto/mod.rs:137:21
|
137 | pub use self::flap::Flap;
| ^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated struct `auto::leaflet::Leaflet`: Since 1.4
--> /usr/share/cargo/registry/libadwaita-0.7.1/src/auto/mod.rs:159:24
|
159 | pub use self::leaflet::Leaflet;
| ^^^^^^^
warning: use of deprecated struct `auto::leaflet_page::LeafletPage`: Since 1.4
--> /usr/share/cargo/registry/libadwaita-0.7.1/src/auto/mod.rs:164:29
|
164 | pub use self::leaflet_page::LeafletPage;
| ^^^^^^^^^^^
warning: use of deprecated struct `auto::squeezer::Squeezer`: Since 1.4
--> /usr/share/cargo/registry/libadwaita-0.7.1/src/auto/mod.rs:275:25
|
275 | pub use self::squeezer::Squeezer;
| ^^^^^^^^
warning: use of deprecated struct `auto::squeezer_page::SqueezerPage`: Since 1.4
--> /usr/share/cargo/registry/libadwaita-0.7.1/src/auto/mod.rs:280:30
|
280 | pub use self::squeezer_page::SqueezerPage;
| ^^^^^^^^^^^^
warning: use of deprecated struct `auto::view_switcher_title::ViewSwitcherTitle`: Since 1.4
--> /usr/share/cargo/registry/libadwaita-0.7.1/src/auto/mod.rs:362:36
|
362 | pub use self::view_switcher_title::ViewSwitcherTitle;
| ^^^^^^^^^^^^^^^^^
warning: use of deprecated struct `auto::flap::FlapBuilder`: Since 1.4
--> /usr/share/cargo/registry/libadwaita-0.7.1/src/auto/mod.rs:509:26
|
509 | pub use super::flap::FlapBuilder;
| ^^^^^^^^^^^
warning: use of deprecated struct `auto::leaflet::LeafletBuilder`: Since 1.4
--> /usr/share/cargo/registry/libadwaita-0.7.1/src/auto/mod.rs:515:29
|
515 | pub use super::leaflet::LeafletBuilder;
| ^^^^^^^^^^^^^^
warning: use of deprecated struct `auto::squeezer::SqueezerBuilder`: Since 1.4
--> /usr/share/cargo/registry/libadwaita-0.7.1/src/auto/mod.rs:555:30
|
555 | pub use super::squeezer::SqueezerBuilder;
| ^^^^^^^^^^^^^^^
warning: use of deprecated struct `auto::view_switcher_title::ViewSwitcherTitleBuilder`: Since 1.4
--> /usr/share/cargo/registry/libadwaita-0.7.1/src/auto/mod.rs:578:41
|
578 | pub use super::view_switcher_title::ViewSwitcherTitleBuilder;
| ^^^^^^^^^^^^^^^^^^^^^^^^
warning: `libadwaita` (lib) generated 10 warnings
Compiling railway-gtk v2.7.1 (/<<PKGBUILDDIR>>)
Running `CARGO=/usr/share/cargo/bin/cargo CARGO_BIN_NAME=railway-gtk CARGO_CRATE_NAME=railway_gtk CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Julian Schmidhuber <mobile at schmidhuberj.de>:Markus Göllnitz <camelcasenick at bewares.it>' CARGO_PKG_DESCRIPTION='Find all your travel information' CARGO_PKG_HOMEPAGE='https://mobile.schmidhuberj.de/railway' CARGO_PKG_LICENSE=GPL-3.0-or-later CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=railway-gtk CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://gitlab.com/schmiddi-on-mobile/railway' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=2.7.1 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/release/deps rustc --crate-name railway_gtk --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=422cd76da294f648 -C extra-filename=-091699c641c674b6 --out-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/release/deps --extern chrono=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/libchrono-973962b564a85eca.rlib --extern chrono_tz=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/libchrono_tz-b23bc3c6086a2fae.rlib --extern env_logger=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/libenv_logger-9d16fd703fa2e4cf.rlib --extern gdk=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/libgdk4-38e2e79eb2a5bcc7.rlib --extern gettextrs=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/libgettextrs-3ba6672b682b9f8c.rlib --extern gtk=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/libgtk4-03defefd9141178a.rlib --extern libadwaita=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/liblibadwaita-a55681eb15ca69ec.rlib --extern log=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/liblog-790d35b438852c79.rlib --extern once_cell=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/libonce_cell-a9d311017d4078eb.rlib --extern rapi=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/librailway_api-beae350f19cc3aae.rlib --extern rcore=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/librailway_core-bee6cb7e9e56949e.rlib --extern serde=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/libserde-f82bda2b68dfc572.rlib --extern serde_json=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/libserde_json-96daef5c012e4cd1.rlib --extern tokio=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/libtokio-3c31523e92bb90f3.rlib -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro -C link-arg=-Wl,-z,now --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/railway-gtk-2.7.1 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry -L native=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/build/ring-cc11f592027e4ccf/out`
warning: use of deprecated struct `railway_core::HyperRustlsRequester`: Use ReqwestRequester instead
--> src/backend/client.rs:14:49
|
14 | type ApiProvider = rapi::RailwayProvider<rcore::HyperRustlsRequester>;
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated struct `railway_core::HyperRustlsRequesterBuilder`: Use ReqwestRequesterBuilder instead
--> src/backend/client.rs:355:20
|
355 | rcore::HyperRustlsRequesterBuilder::default(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: `railway-gtk` (bin "railway-gtk" test) generated 2 warnings
Finished `release` profile [optimized + debuginfo] target(s) in 9.08s
Running `CARGO=/usr/share/cargo/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Julian Schmidhuber <mobile at schmidhuberj.de>:Markus Göllnitz <camelcasenick at bewares.it>' CARGO_PKG_DESCRIPTION='Find all your travel information' CARGO_PKG_HOMEPAGE='https://mobile.schmidhuberj.de/railway' CARGO_PKG_LICENSE=GPL-3.0-or-later CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=railway-gtk CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://gitlab.com/schmiddi-on-mobile/railway' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=2.7.1 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/build/ring-cc11f592027e4ccf/out:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/target/x86_64-unknown-linux-gnu/release/deps/railway_gtk-091699c641c674b6`
error: test failed, to rerun pass `--bin railway-gtk`
==============================================================================
Summary of Failures:
2/2 cargo-test FAIL 9.26s exit status 101
Ok: 1
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
dh_auto_test: error: cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=2 meson test --verbose returned exit code 1
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202502/
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 could not 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:railway-gtk, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-gnome-maintainers
mailing list