<div dir="auto">Package: rust-urlshortener<br>
Version: 3.0.2-1<br>
Severity: grave<br>
<br>
Justification for severity: Policy violation<br>
<br>
During a rebuild of Debian testing, we ran into this test failing during an sbuild controlled build on a VM with limit network connectivity (only configured APT repositories usable). See log excerpt below.<div dir="auto"><br></div><div dir="auto">This network access is a violation of policy section 4.9:</div><div dir="auto"><br></div><div dir="auto">For packages in the main archive, required targets must not attempt network access, except, via loopback interface, to services on the build host that have been started by the build.</div><div dir="auto"><br></div><div dir="auto">Inspection of the source reveals that this test indeed tries to reach targets in the internet.</div><div dir="auto">
<br>
---- client::tests::providers stdout ----<br>
IsGd -> Connection<br>
VGd -> Connection<br>
BamBz -> Connection<br>
TinyPh -> Connection<br>
FifoCc -> Connection<br>
SCoop -> Connection<br>
Bmeo -> Connection<br>
UrlShortenerIo -> Connection<br>
HmmRs -> Connection<br>
TnyIm -> Connection<br>
SirBz -> Connection<br>
Rlu -> Connection<br>
HecSu -> Connection<br>
Abv8 -> Connection<br>
TinyUrl -> Connection<br>
PsbeCo -> Connection<br>
NowLinks -> Connection<br>
thread 'client::tests::providers' panicked at 'There are no valid providers to use.', src/client.rs:158:9<br>
stack backtrace:<br>
0: std::panicking::begin_panic<br>
at /usr/src/rustc-1.70.0/library/std/src/panicking.rs:610:12<br>
1: urlshortener::client::tests::providers<br>
at /usr/share/cargo/registry/urlshortener-3.0.2/src/client.rs:158:9<br>
2: urlshortener::client::tests::providers::{{closure}}<br>
at /usr/share/cargo/registry/urlshortener-3.0.2/src/client.rs:144:20<br>
3: core::ops::function::FnOnce::call_once<br>
at /usr/src/rustc-1.70.0/library/core/src/ops/function.rs:250:5<br>
4: core::ops::function::FnOnce::call_once<br>
at /usr/src/rustc-1.70.0/library/core/src/ops/function.rs:250:5<br>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.<br></div></div>