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

feat: add support for original_dst for windows #529

Merged
merged 8 commits into from
Nov 27, 2024

Remove extra line

08d6ca0
Select commit
Loading
Failed to load commit list.
Merged

feat: add support for original_dst for windows #529

Remove extra line
08d6ca0
Select commit
Loading
Failed to load commit list.
Cirrus CI / FreeBSD failed Nov 27, 2024 in 24s

Task Summary

Instruction i386_test failed in 00:05

Details

ℹ️ Scheduling was delayed due to a concurrency limit on community tasks

✅ 00:00 clone
✅ 00:10 setup
✅ 00:00 cargo
✅ 00:02 build
✅ 00:01 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.166
   Compiling socket2 v0.5.7 (/tmp/cirrus-ci-build)
warning: unused variable: `cur_tcp_ca`
    --> tests/socket.rs:1677:9
     |
1677 |     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.17s
     Running unittests src/lib.rs (target/i686-unknown-freebsd/debug/deps/socket2-08f987ca52ae0cd2)

running 10 tests
test sockaddr::tests::ipv4 ... ok
test sockaddr::tests::ipv4_eq ... 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 ... ok
test sockaddr::tests::ipv6_eq ... 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-4f327e237bdbd5cd)

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-4f327e237bdbd5cd` (signal: 11, SIGSEGV: invalid memory reference)

Exit status: 101