fix: use std::os::fd on HermitOS #1841
Closed
Cirrus CI / FreeBSD
failed
Oct 25, 2024 in 2m 17s
Task Summary
Instruction i386_test failed in 00:17
Details
✅ 00:01 clone
✅ 00:12 setup
✅ 00:03 cargo
✅ 00:03 build
✅ 01:37 amd64_test
❌ 00:17 i386_test
case ":${PATH}:" in
*:"$HOME/.cargo/bin":*)
;;
*)
# Prepending path in case a system-installed rustc needs to be overridden
export PATH="$HOME/.cargo/bin:$PATH"
;;
esac
rustup target add i686-unknown-freebsd
info: downloading component 'rust-std' for 'i686-unknown-freebsd'
info: installing component 'rust-std' for 'i686-unknown-freebsd'
cargo test --target i686-unknown-freebsd --all-features
Compiling proc-macro2 v1.0.89
Compiling unicode-ident v1.0.13
Compiling libc v0.2.161
Compiling quote v1.0.37
Compiling syn v2.0.85
Compiling cfg-if v1.0.0
Compiling byteorder v1.5.0
Compiling getrandom v0.2.15
Compiling rand_core v0.6.4
Compiling log v0.4.22
Compiling env_logger v0.9.3
Compiling mio v1.0.2 (/tmp/cirrus-ci-build)
Compiling zerocopy-derive v0.7.35
Compiling zerocopy v0.7.35
Compiling ppv-lite86 v0.2.20
Compiling rand_chacha v0.3.1
Compiling rand v0.8.5
Finished `test` profile [unoptimized + debuginfo] target(s) in 14.51s
Running unittests src/lib.rs (target/i686-unknown-freebsd/debug/deps/mio-5f4145ee79e2b929)
running 3 tests
test sys::unix::selector::does_not_register_rw ... ok
test poll::as_raw_fd ... ok
test sys::unix::uds::tests::pathname_address ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/aio.rs (target/i686-unknown-freebsd/debug/deps/aio-51cbcba3931cd318)
running 2 tests
test lio::smoke ... ok
test aio::smoke ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
Running tests/close_on_drop.rs (target/i686-unknown-freebsd/debug/deps/close_on_drop-cc5c6d5abb43c633)
running 1 test
error: test failed, to rerun pass `--test close_on_drop`
Caused by:
process didn't exit successfully: `/tmp/cirrus-ci-build/target/i686-unknown-freebsd/debug/deps/close_on_drop-cc5c6d5abb43c633` (signal: 11, SIGSEGV: invalid memory reference)
Exit status: 101
Loading