Package: rust-xdg
Version: 2.2.0-2
Severity: serious
rust-xdg's autopkgtest is failing
https://ci.debian.net/data/autopkgtest/unstable/amd64/r/rust-xdg/4759045/log.gz
---- test_runtime_good stdout ----
thread 'test_runtime_good' panicked at 'called `Result::unwrap()` on an `Err` value: Os {
code: 1, kind: PermissionDenied, message: "Operation not permitted" }',
src/libcore/result.rs:1165:5
stack backtrace:
0: <std::sys_common::backtrace::_print::DisplayBacktrace as
core::fmt::Display>::fmt
1: core::fmt::write
2: std::io::Write::write_fmt
3: std::io::impls::<impl std::io::Write for alloc::boxed::Box<W>>::write_fmt
4: std::panicking::default_hook::{{closure}}
5: std::panicking::default_hook
6: std::panicking::rust_panic_with_hook
7: std::panicking::continue_panic_fmt
8: rust_begin_unwind
9: core::panicking::panic_fmt
10: core::result::unwrap_failed
11: core::result::Result<T,E>::unwrap
at /usr/src/rustc-1.40.0/src/libcore/result.rs:933
12: xdg::test_runtime_good
at src/lib.rs:775
13: xdg::test_runtime_good::{{closure}}
at src/lib.rs:766
14: core::ops::function::FnOnce::call_once
at /usr/src/rustc-1.40.0/src/libcore/ops/function.rs:227
15: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
16: __rust_maybe_catch_panic
17: test::run_test_in_process
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose
backtrace.
I would guess that this needs a fix similar to
https://salsa.debian.org/rust-team/debcargo-conf/-/commit/d79e7153031cbb2485d722b7bf4aec9d33b9a61e
but implementing such a fix is beyond my skills.
This is blocking the migration of rust-xdg to testing and hence making newsboat
unbuildable in testing.