Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wasm32-wasip2 target support #532

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Add wasm32-wasip2 target to ci check

7d94033
Select commit
Loading
Failed to load commit list.
Open

Add wasm32-wasip2 target support #532

Add wasm32-wasip2 target to ci check
7d94033
Select commit
Loading
Failed to load commit list.
Cirrus CI / FreeBSD failed Nov 24, 2024 in 26s

Task Summary

Instruction i386_test failed in 00:05

Details

✅ 00:00 clone
✅ 00:12 setup
✅ 00:00 cargo
✅ 00:02 build
✅ 00:02 amd64_test
❌ 00:05 i386_test

# affix colons on either side of $PATH to simplify matching
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 libc v0.2.164
   Compiling socket2 v0.5.7 (/tmp/cirrus-ci-build)
warning: unused variable: `cur_tcp_ca`
    --> tests/socket.rs:1697:9
     |
1697 |     let cur_tcp_ca = cur_tcp_ca.splitn(2, |num| *num == 0).next().unwrap();
     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cur_tcp_ca`
     |
     = note: `#[warn(unused_variables)]` on by default

warning: `socket2` (test "socket") generated 1 warning
    Finished `test` profile [unoptimized + debuginfo] target(s) in 2.11s
     Running unittests src/lib.rs (target/i686-unknown-freebsd/debug/deps/socket2-a369d2c88369f5fc)

running 10 tests
test sockaddr::tests::ipv4_eq ... ok
test sockaddr::tests::ipv4 ... ok
test sockaddr::tests::ipv4_hash ... ok
test sockaddr::tests::ipv4_ipv6_eq ... ok
test sockaddr::tests::ipv4_ipv6_hash ... ok
test sockaddr::tests::ipv6_eq ... ok
test sockaddr::tests::ipv6 ... ok
test sockaddr::tests::ipv6_hash ... ok
test sys::in6_addr_convertion ... ok
test sys::in_addr_convertion ... ok

test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/socket.rs (target/i686-unknown-freebsd/debug/deps/socket-dbe7b1c989d9978e)

running 54 tests
test broadcast ... ok
test common_flags ... ok
test connect_timeout_unbound ... ok
test connect_timeout_unrouteable ... ok
test connect_timeout_valid ... ok
test domain_fmt_debug ... ok
test domain_for_address ... error: test failed, to rerun pass `--test socket`

Caused by:
  process didn't exit successfully: `/tmp/cirrus-ci-build/target/i686-unknown-freebsd/debug/deps/socket-dbe7b1c989d9978e` (signal: 11, SIGSEGV: invalid memory reference)

Exit status: 101