tor-hsclient test failure on riscv64
A test is failing in Alpinelinux CI on riscv64
for the 1.2.2 upgrade (https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/65582/diffs)
Running unittests src/lib.rs (target/debug/deps/tor_hsclient-858d5a144ebb88d0)
running 6 tests
test isol_map::test::simple ... ok
test isol_map::test::retain ... ok
Using RNG seed ARTI_TEST_PRNG=f1da14464b577ad42cfdd977125e895920ae378e8839558251e52a9df7096eac
2024-05-07T22:39:37.723461Z TRACE test_connect: tor_hsclient::connect: HS desc fetch for paozpdhgz2okvc6kgbxvh2bnfsmt4xergrtcl4obkhopyvwxkpjzvoad.onion, using 6 hsdirs
2024-05-07T22:39:37.726959Z TRACE test_connect: tor_hsclient::connect: hsdir for paozpdhgz2okvc6kgbxvh2bnfsmt4xergrtcl4obkhopyvwxkpjzvoad.onion, trying BwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwc/$07
07070707070707070707070707070707070707, request HsDescDownloadRequest { hsid: HsBlindId(706628758208395d461aa0f460a5e76e7b828c66b5e794768592b451302e961d), max_len: 50000 } (http request Ok(Request {
method: GET, uri: /tor/hs/3/cGYodYIIOV1GGqD0YKXnbnuCjGa155R2hZK0UTAulh0, version: HTTP/1.1, headers: {"accept-encoding": "deflate, identity"}, body: "" }))
thread 'connect::test::test_connect' panicked at library/core/src/panicking.rs:156:5:
unsafe precondition(s) violated: slice::from_raw_parts_mut requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
error: test failed, to rerun pass `-p tor-hsclient --lib`
Caused by:
process didn't exit successfully: `/builds/alpine/aports/community/arti/src/arti-arti-v1.2.2/target/debug/deps/tor_hsclient-858d5a144ebb88d0` (signal: 6, SIGABRT: process abort signal)
Full build log: https://gitlab.alpinelinux.org/alpine/aports/-/jobs/1377482 (raw, available a couple of weeks)
Previous successful 1.2.1 build log: https://build.alpinelinux.org/buildlogs/build-edge-riscv64/community/arti/arti-1.2.1-r0.log
Edited by omni