The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SocketAddress, reference main (d92d1a), with Swift 6.2 for Wasm on 16 Jul 2026 21:13:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/SocketAddress.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/PADL/SocketAddress
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d92d1ae CLinuxSockAddr: expose <linux/filter.h>
Cloned https://github.com/PADL/SocketAddress.git
Revision (git rev-parse @):
d92d1ae9edfce7df18214e7eb44ecf711b7defaa
SUCCESS checkout https://github.com/PADL/SocketAddress.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PADL/SocketAddress.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-system
[1/6224] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.63s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.7.4 (0.99s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.7.4
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SocketAddress/CMakeLists.txt
Building for debugging...
[0/4] Write sources
[2/4] Compiling CSystem shims.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/41] Compiling SystemPackage Errno.swift
[6/41] Compiling SystemPackage ErrnoWindows.swift
[7/41] Compiling SystemPackage FileDescriptor.swift
[8/41] Compiling SystemPackage FileHelpers.swift
[9/41] Compiling SystemPackage FileOperations.swift
[10/41] Compiling SystemPackage FilePath.swift
[11/46] Compiling SystemPackage Backcompat.swift
[12/46] Compiling SystemPackage CInterop.swift
[13/46] Compiling SystemPackage Constants.swift
[14/46] Compiling SystemPackage Exports.swift
[15/46] Compiling SystemPackage Mocking.swift
[16/46] Compiling SystemPackage IOCompletion.swift
[17/46] Compiling SystemPackage IORequest.swift
[18/46] Compiling SystemPackage IORing+Util.swift
[19/46] Compiling SystemPackage IORing.swift
[20/46] Compiling SystemPackage RawIORequest.swift
[21/46] Compiling SystemPackage FileFlags.swift
[22/46] Compiling SystemPackage FileMode.swift
[23/46] Compiling SystemPackage FileType.swift
[24/46] Compiling SystemPackage Identifiers.swift
[25/46] Compiling SystemPackage Stat.swift
[26/46] Emitting module SystemPackage
[27/46] Compiling SystemPackage RawBuffer.swift
[28/46] Compiling SystemPackage Syscalls.swift
[29/46] Compiling SystemPackage WindowsSyscallAdapters.swift
[30/46] Compiling SystemPackage MachPort.swift
[31/46] Compiling SystemPackage PlatformString.swift
[32/46] Compiling SystemPackage FilePathComponentView.swift
[33/46] Compiling SystemPackage FilePathComponents.swift
[34/46] Compiling SystemPackage FilePathParsing.swift
[35/46] Compiling SystemPackage FilePathString.swift
[36/46] Compiling SystemPackage FilePathSyntax.swift
[37/46] Compiling SystemPackage FilePathTemp.swift
[38/46] Compiling SystemPackage FilePathTempPosix.swift
[39/46] Compiling SystemPackage FilePathTempWindows.swift
[40/46] Compiling SystemPackage FilePathWindows.swift
[41/46] Compiling SystemPackage FilePermissions.swift
[42/46] Compiling SystemPackage SystemString.swift
[43/46] Compiling SystemPackage Util+StringArray.swift
[44/46] Compiling SystemPackage Util.swift
[45/46] Compiling SystemPackage UtilConsumers.swift
[46/46] Compiling SystemPackage WinSDK+Overlay.swift
[48/51] Compiling SocketAddress WinSDKCompat.swift
[49/51] Compiling SocketAddress Utils.swift
/host/spi-builder-workspace/Sources/SocketAddress/Utils.swift:33:29: error: cannot find 'errno' in scope
31 |     let result = body()
32 |     if result < 0 {
33 |       throw Errno(rawValue: errno)
   |                             `- error: cannot find 'errno' in scope
34 |     }
35 |     return result
/host/spi-builder-workspace/Sources/SocketAddress/Utils.swift:38:49: error: cannot find 'errno' in scope
36 |   }
37 |
38 |   static var lastError: Errno { Errno(rawValue: errno) }
   |                                                 `- error: cannot find 'errno' in scope
39 | }
40 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/51] Emitting module SocketAddress
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:63:42: error: cannot find type 'sa_family_t' in scope
 61 | }
 62 |
 63 | private func getSizesForFamily(_ family: sa_family_t) throws -> (Int, Int) {
    |                                          `- error: cannot find type 'sa_family_t' in scope
 64 |   switch Int32(family) {
 65 |   case AF_INET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:83:66: error: cannot find type 'socklen_t' in scope
 81 | }
 82 |
 83 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
    |                                                                  `- error: cannot find type 'socklen_t' in scope
 84 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 85 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:83:77: error: cannot find type 'socklen_t' in scope
 81 | }
 82 |
 83 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
    |                                                                             `- error: cannot find type 'socklen_t' in scope
 84 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 85 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:83:42: error: cannot find type 'sa_family_t' in scope
 81 | }
 82 |
 83 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
    |                                          `- error: cannot find type 'sa_family_t' in scope
 84 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 85 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:89:22: error: cannot find type 'sa_family_t' in scope
 87 |
 88 | public protocol SocketAddress: Sendable {
 89 |   static var family: sa_family_t { get }
    |                      `- error: cannot find type 'sa_family_t' in scope
 90 |
 91 |   init(family: sa_family_t, presentationAddress: String) throws
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:91:16: error: cannot find type 'sa_family_t' in scope
 89 |   static var family: sa_family_t { get }
 90 |
 91 |   init(family: sa_family_t, presentationAddress: String) throws
    |                `- error: cannot find type 'sa_family_t' in scope
 92 |   #if compiler(>=6.0)
 93 |   mutating func withMutableSockAddr<T, E: Error>(
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:94:35: error: cannot find type 'sockaddr' in scope
 92 |   #if compiler(>=6.0)
 93 |   mutating func withMutableSockAddr<T, E: Error>(
 94 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                   `- error: cannot find type 'sockaddr' in scope
 95 |   ) throws(E) -> T
 96 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:94:46: error: cannot find type 'socklen_t' in scope
 92 |   #if compiler(>=6.0)
 93 |   mutating func withMutableSockAddr<T, E: Error>(
 94 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                              `- error: cannot find type 'socklen_t' in scope
 95 |   ) throws(E) -> T
 96 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:102:28: error: cannot find type 'sockaddr' in scope
100 |   #if compiler(>=6.0)
101 |   func withSockAddr<R, E: Error>(
102 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                            `- error: cannot find type 'sockaddr' in scope
103 |   ) throws(E) -> R
104 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:102:39: error: cannot find type 'socklen_t' in scope
100 |   #if compiler(>=6.0)
101 |   func withSockAddr<R, E: Error>(
102 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                                       `- error: cannot find type 'socklen_t' in scope
103 |   ) throws(E) -> R
104 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:111:13: error: cannot find type 'socklen_t' in scope
109 |
110 |   var port: UInt16 { get throws }
111 |   var size: socklen_t { get }
    |             `- error: cannot find type 'socklen_t' in scope
112 | }
113 |
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:115:15: error: cannot find type 'sa_family_t' in scope
113 |
114 | public extension SocketAddress {
115 |   var family: sa_family_t {
    |               `- error: cannot find type 'sa_family_t' in scope
116 |     withSockAddr { sa, _ in sa.pointee.sa_family }
117 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:121:23: error: cannot find type 'sockaddr_storage' in scope
119 |
120 | public extension SocketAddress {
121 |   func asStorage() -> sockaddr_storage {
    |                       `- error: cannot find type 'sockaddr_storage' in scope
122 |     var ss = sockaddr_storage()
123 |     withSockAddr { sa, _ in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:130:11: error: cannot find type 'sockaddr' in scope
128 | }
129 |
130 | extension sockaddr: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr' in scope
131 |   public static var family: sa_family_t {
132 |     sa_family_t(AF_UNSPEC)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:205:11: error: cannot find type 'sockaddr_in' in scope
203 | }
204 |
205 | extension sockaddr_in: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_in' in scope
206 |   public static var family: sa_family_t {
207 |     sa_family_t(AF_INET)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:299:11: error: cannot find type 'sockaddr_in6' in scope
297 | }
298 |
299 | extension sockaddr_in6: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_in6' in scope
300 |   public static var family: sa_family_t {
301 |     sa_family_t(AF_INET6)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:393:11: error: cannot find type 'sockaddr_un' in scope
391 | }
392 |
393 | extension sockaddr_un: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_un' in scope
394 |   public static var family: sa_family_t {
395 |     sa_family_t(AF_LOCAL)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:679:11: error: cannot find type 'sockaddr_storage' in scope
677 | #endif
678 |
679 | extension sockaddr_storage: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_storage' in scope
680 |   public static var family: sa_family_t {
681 |     sa_family_t(AF_UNSPEC)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:864:18: error: cannot find type 'sockaddr_storage' in scope
862 | }
863 |
864 | public extension sockaddr_storage {
    |                  `- error: cannot find type 'sockaddr_storage' in scope
865 |   init(bytes: [UInt8]) throws {
866 |     guard bytes.count >= MemoryLayout<sockaddr>.size else {
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:895:29: error: cannot find type 'sa_family_t' in scope
893 |
894 | extension AnySocketAddress: SocketAddress {
895 |   public static var family: sa_family_t { sa_family_t(AF_UNSPEC) }
    |                             `- error: cannot find type 'sa_family_t' in scope
896 |
897 |   public init(family: sa_family_t, presentationAddress: String) throws {
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:897:23: error: cannot find type 'sa_family_t' in scope
895 |   public static var family: sa_family_t { sa_family_t(AF_UNSPEC) }
896 |
897 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
898 |     switch Int32(family) {
899 |     case AF_INET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:918:35: error: cannot find type 'sockaddr' in scope
916 |   #if compiler(>=6.0)
917 |   public mutating func withMutableSockAddr<T, E: Error>(
918 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                   `- error: cannot find type 'sockaddr' in scope
919 |   ) throws(E) -> T { try _sa.withMutableSockAddr(body) }
920 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:918:46: error: cannot find type 'socklen_t' in scope
916 |   #if compiler(>=6.0)
917 |   public mutating func withMutableSockAddr<T, E: Error>(
918 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                              `- error: cannot find type 'socklen_t' in scope
919 |   ) throws(E) -> T { try _sa.withMutableSockAddr(body) }
920 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:929:28: error: cannot find type 'sockaddr' in scope
927 |   #if compiler(>=6.0)
928 |   public func withSockAddr<R, E: Error>(
929 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                            `- error: cannot find type 'sockaddr' in scope
930 |   ) throws(E) -> R { try _sa.withSockAddr(body) }
931 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:929:39: error: cannot find type 'socklen_t' in scope
927 |   #if compiler(>=6.0)
928 |   public func withSockAddr<R, E: Error>(
929 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                                       `- error: cannot find type 'socklen_t' in scope
930 |   ) throws(E) -> R { try _sa.withSockAddr(body) }
931 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:954:20: error: cannot find type 'socklen_t' in scope
952 |   }
953 |
954 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
955 |     _sa.size
956 |   }
[51/51] Compiling SocketAddress SocketAddress.swift
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:63:42: error: cannot find type 'sa_family_t' in scope
 61 | }
 62 |
 63 | private func getSizesForFamily(_ family: sa_family_t) throws -> (Int, Int) {
    |                                          `- error: cannot find type 'sa_family_t' in scope
 64 |   switch Int32(family) {
 65 |   case AF_INET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:83:66: error: cannot find type 'socklen_t' in scope
 81 | }
 82 |
 83 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
    |                                                                  `- error: cannot find type 'socklen_t' in scope
 84 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 85 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:83:77: error: cannot find type 'socklen_t' in scope
 81 | }
 82 |
 83 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
    |                                                                             `- error: cannot find type 'socklen_t' in scope
 84 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 85 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:83:42: error: cannot find type 'sa_family_t' in scope
 81 | }
 82 |
 83 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
    |                                          `- error: cannot find type 'sa_family_t' in scope
 84 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 85 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:89:22: error: cannot find type 'sa_family_t' in scope
 87 |
 88 | public protocol SocketAddress: Sendable {
 89 |   static var family: sa_family_t { get }
    |                      `- error: cannot find type 'sa_family_t' in scope
 90 |
 91 |   init(family: sa_family_t, presentationAddress: String) throws
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:91:16: error: cannot find type 'sa_family_t' in scope
 89 |   static var family: sa_family_t { get }
 90 |
 91 |   init(family: sa_family_t, presentationAddress: String) throws
    |                `- error: cannot find type 'sa_family_t' in scope
 92 |   #if compiler(>=6.0)
 93 |   mutating func withMutableSockAddr<T, E: Error>(
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:94:35: error: cannot find type 'sockaddr' in scope
 92 |   #if compiler(>=6.0)
 93 |   mutating func withMutableSockAddr<T, E: Error>(
 94 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                   `- error: cannot find type 'sockaddr' in scope
 95 |   ) throws(E) -> T
 96 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:94:46: error: cannot find type 'socklen_t' in scope
 92 |   #if compiler(>=6.0)
 93 |   mutating func withMutableSockAddr<T, E: Error>(
 94 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                              `- error: cannot find type 'socklen_t' in scope
 95 |   ) throws(E) -> T
 96 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:102:28: error: cannot find type 'sockaddr' in scope
100 |   #if compiler(>=6.0)
101 |   func withSockAddr<R, E: Error>(
102 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                            `- error: cannot find type 'sockaddr' in scope
103 |   ) throws(E) -> R
104 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:102:39: error: cannot find type 'socklen_t' in scope
100 |   #if compiler(>=6.0)
101 |   func withSockAddr<R, E: Error>(
102 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                                       `- error: cannot find type 'socklen_t' in scope
103 |   ) throws(E) -> R
104 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:111:13: error: cannot find type 'socklen_t' in scope
109 |
110 |   var port: UInt16 { get throws }
111 |   var size: socklen_t { get }
    |             `- error: cannot find type 'socklen_t' in scope
112 | }
113 |
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:115:15: error: cannot find type 'sa_family_t' in scope
113 |
114 | public extension SocketAddress {
115 |   var family: sa_family_t {
    |               `- error: cannot find type 'sa_family_t' in scope
116 |     withSockAddr { sa, _ in sa.pointee.sa_family }
117 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:121:23: error: cannot find type 'sockaddr_storage' in scope
119 |
120 | public extension SocketAddress {
121 |   func asStorage() -> sockaddr_storage {
    |                       `- error: cannot find type 'sockaddr_storage' in scope
122 |     var ss = sockaddr_storage()
123 |     withSockAddr { sa, _ in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:130:11: error: cannot find type 'sockaddr' in scope
128 | }
129 |
130 | extension sockaddr: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr' in scope
131 |   public static var family: sa_family_t {
132 |     sa_family_t(AF_UNSPEC)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:205:11: error: cannot find type 'sockaddr_in' in scope
203 | }
204 |
205 | extension sockaddr_in: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_in' in scope
206 |   public static var family: sa_family_t {
207 |     sa_family_t(AF_INET)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:299:11: error: cannot find type 'sockaddr_in6' in scope
297 | }
298 |
299 | extension sockaddr_in6: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_in6' in scope
300 |   public static var family: sa_family_t {
301 |     sa_family_t(AF_INET6)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:393:11: error: cannot find type 'sockaddr_un' in scope
391 | }
392 |
393 | extension sockaddr_un: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_un' in scope
394 |   public static var family: sa_family_t {
395 |     sa_family_t(AF_LOCAL)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:679:11: error: cannot find type 'sockaddr_storage' in scope
677 | #endif
678 |
679 | extension sockaddr_storage: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_storage' in scope
680 |   public static var family: sa_family_t {
681 |     sa_family_t(AF_UNSPEC)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:864:18: error: cannot find type 'sockaddr_storage' in scope
862 | }
863 |
864 | public extension sockaddr_storage {
    |                  `- error: cannot find type 'sockaddr_storage' in scope
865 |   init(bytes: [UInt8]) throws {
866 |     guard bytes.count >= MemoryLayout<sockaddr>.size else {
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:895:29: error: cannot find type 'sa_family_t' in scope
893 |
894 | extension AnySocketAddress: SocketAddress {
895 |   public static var family: sa_family_t { sa_family_t(AF_UNSPEC) }
    |                             `- error: cannot find type 'sa_family_t' in scope
896 |
897 |   public init(family: sa_family_t, presentationAddress: String) throws {
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:897:23: error: cannot find type 'sa_family_t' in scope
895 |   public static var family: sa_family_t { sa_family_t(AF_UNSPEC) }
896 |
897 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
898 |     switch Int32(family) {
899 |     case AF_INET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:918:35: error: cannot find type 'sockaddr' in scope
916 |   #if compiler(>=6.0)
917 |   public mutating func withMutableSockAddr<T, E: Error>(
918 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                   `- error: cannot find type 'sockaddr' in scope
919 |   ) throws(E) -> T { try _sa.withMutableSockAddr(body) }
920 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:918:46: error: cannot find type 'socklen_t' in scope
916 |   #if compiler(>=6.0)
917 |   public mutating func withMutableSockAddr<T, E: Error>(
918 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                              `- error: cannot find type 'socklen_t' in scope
919 |   ) throws(E) -> T { try _sa.withMutableSockAddr(body) }
920 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:929:28: error: cannot find type 'sockaddr' in scope
927 |   #if compiler(>=6.0)
928 |   public func withSockAddr<R, E: Error>(
929 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                            `- error: cannot find type 'sockaddr' in scope
930 |   ) throws(E) -> R { try _sa.withSockAddr(body) }
931 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:929:39: error: cannot find type 'socklen_t' in scope
927 |   #if compiler(>=6.0)
928 |   public func withSockAddr<R, E: Error>(
929 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                                       `- error: cannot find type 'socklen_t' in scope
930 |   ) throws(E) -> R { try _sa.withSockAddr(body) }
931 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:954:20: error: cannot find type 'socklen_t' in scope
952 |   }
953 |
954 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
955 |     _sa.size
956 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:66:19: error: cannot find type 'sockaddr_in' in scope
 64 |   switch Int32(family) {
 65 |   case AF_INET:
 66 |     (MemoryLayout<sockaddr_in>.size, MemoryLayout<sockaddr_in>.size)
    |                   `- error: cannot find type 'sockaddr_in' in scope
 67 |   case AF_INET6:
 68 |     (MemoryLayout<sockaddr_in6>.size, MemoryLayout<sockaddr_in6>.size)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:66:51: error: cannot find type 'sockaddr_in' in scope
 64 |   switch Int32(family) {
 65 |   case AF_INET:
 66 |     (MemoryLayout<sockaddr_in>.size, MemoryLayout<sockaddr_in>.size)
    |                                                   `- error: cannot find type 'sockaddr_in' in scope
 67 |   case AF_INET6:
 68 |     (MemoryLayout<sockaddr_in6>.size, MemoryLayout<sockaddr_in6>.size)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:68:19: error: cannot find type 'sockaddr_in6' in scope
 66 |     (MemoryLayout<sockaddr_in>.size, MemoryLayout<sockaddr_in>.size)
 67 |   case AF_INET6:
 68 |     (MemoryLayout<sockaddr_in6>.size, MemoryLayout<sockaddr_in6>.size)
    |                   `- error: cannot find type 'sockaddr_in6' in scope
 69 |   case AF_LOCAL:
 70 |     // For domain sockets, minimum size is offset of sun_path + space for zero-length path
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:68:52: error: cannot find type 'sockaddr_in6' in scope
 66 |     (MemoryLayout<sockaddr_in>.size, MemoryLayout<sockaddr_in>.size)
 67 |   case AF_INET6:
 68 |     (MemoryLayout<sockaddr_in6>.size, MemoryLayout<sockaddr_in6>.size)
    |                                                    `- error: cannot find type 'sockaddr_in6' in scope
 69 |   case AF_LOCAL:
 70 |     // For domain sockets, minimum size is offset of sun_path + space for zero-length path
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:71:19: error: cannot find type 'sockaddr_un' in scope
 69 |   case AF_LOCAL:
 70 |     // For domain sockets, minimum size is offset of sun_path + space for zero-length path
 71 |     (MemoryLayout<sockaddr_un>.offset(of: \.sun_path)! + 1, MemoryLayout<sockaddr_un>.size)
    |                   `- error: cannot find type 'sockaddr_un' in scope
 72 |   #if os(Linux)
 73 |   case AF_PACKET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:71:74: error: cannot find type 'sockaddr_un' in scope
 69 |   case AF_LOCAL:
 70 |     // For domain sockets, minimum size is offset of sun_path + space for zero-length path
 71 |     (MemoryLayout<sockaddr_un>.offset(of: \.sun_path)! + 1, MemoryLayout<sockaddr_un>.size)
    |                                                                          `- error: cannot find type 'sockaddr_un' in scope
 72 |   #if os(Linux)
 73 |   case AF_PACKET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:122:14: error: cannot find 'sockaddr_storage' in scope
120 | public extension SocketAddress {
121 |   func asStorage() -> sockaddr_storage {
122 |     var ss = sockaddr_storage()
    |              `- error: cannot find 'sockaddr_storage' in scope
123 |     withSockAddr { sa, _ in
124 |       _ = memcpy(&ss, sa, Int(size))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:124:11: error: cannot find 'memcpy' in scope
122 |     var ss = sockaddr_storage()
123 |     withSockAddr { sa, _ in
124 |       _ = memcpy(&ss, sa, Int(size))
    |           `- error: cannot find 'memcpy' in scope
125 |     }
126 |     return ss
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:890:15: error: cannot find 'sockaddr_storage' in scope
888 |
889 |   public init(bytes: [UInt8]) throws {
890 |     _sa = try sockaddr_storage(bytes: bytes)
    |               `- error: cannot find 'sockaddr_storage' in scope
891 |   }
892 | }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:899:10: error: cannot find 'AF_INET' in scope
897 |   public init(family: sa_family_t, presentationAddress: String) throws {
898 |     switch Int32(family) {
899 |     case AF_INET:
    |          `- error: cannot find 'AF_INET' in scope
900 |       _sa = try sockaddr_in(family: family, presentationAddress: presentationAddress)
901 |     case AF_INET6:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:901:10: error: cannot find 'AF_INET6' in scope
899 |     case AF_INET:
900 |       _sa = try sockaddr_in(family: family, presentationAddress: presentationAddress)
901 |     case AF_INET6:
    |          `- error: cannot find 'AF_INET6' in scope
902 |       _sa = try sockaddr_in6(family: family, presentationAddress: presentationAddress)
903 |     case AF_LOCAL:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:903:10: error: cannot find 'AF_LOCAL' in scope
901 |     case AF_INET6:
902 |       _sa = try sockaddr_in6(family: family, presentationAddress: presentationAddress)
903 |     case AF_LOCAL:
    |          `- error: cannot find 'AF_LOCAL' in scope
904 |       _sa = try sockaddr_un(family: family, presentationAddress: presentationAddress)
905 |     #if os(Linux)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:900:17: error: cannot find 'sockaddr_in' in scope
898 |     switch Int32(family) {
899 |     case AF_INET:
900 |       _sa = try sockaddr_in(family: family, presentationAddress: presentationAddress)
    |                 `- error: cannot find 'sockaddr_in' in scope
901 |     case AF_INET6:
902 |       _sa = try sockaddr_in6(family: family, presentationAddress: presentationAddress)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:902:17: error: cannot find 'sockaddr_in6' in scope
900 |       _sa = try sockaddr_in(family: family, presentationAddress: presentationAddress)
901 |     case AF_INET6:
902 |       _sa = try sockaddr_in6(family: family, presentationAddress: presentationAddress)
    |                 `- error: cannot find 'sockaddr_in6' in scope
903 |     case AF_LOCAL:
904 |       _sa = try sockaddr_un(family: family, presentationAddress: presentationAddress)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:904:17: error: cannot find 'sockaddr_un' in scope
902 |       _sa = try sockaddr_in6(family: family, presentationAddress: presentationAddress)
903 |     case AF_LOCAL:
904 |       _sa = try sockaddr_un(family: family, presentationAddress: presentationAddress)
    |                 `- error: cannot find 'sockaddr_un' in scope
905 |     #if os(Linux)
906 |     case AF_PACKET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:964:7: error: cannot find 'memcmp' in scope
962 |     var rhs = rhs.asStorage()
963 |     return lhs.size == rhs.size &&
964 |       memcmp(&lhs, &rhs, Int(lhs.size)) == 0
    |       `- error: cannot find 'memcmp' in scope
965 |   }
966 | }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:131:29: error: cannot find type 'sa_family_t' in scope
129 |
130 | extension sockaddr: SocketAddress, @retroactive @unchecked Sendable {
131 |   public static var family: sa_family_t {
    |                             `- error: cannot find type 'sa_family_t' in scope
132 |     sa_family_t(AF_UNSPEC)
133 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:135:23: error: cannot find type 'sa_family_t' in scope
133 |   }
134 |
135 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
136 |     throw Errno.invalidArgument
137 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:139:20: error: cannot find type 'socklen_t' in scope
137 |   }
138 |
139 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
140 |     (try? getSizesForFamily(sa_family))?.1 ?? 0
141 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:143:25: error: cannot find type 'sockaddr_storage' in scope
141 |   }
142 |
143 |   private var _storage: sockaddr_storage {
    |                         `- error: cannot find type 'sockaddr_storage' in scope
144 |     asStorage()
145 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:167:28: error: cannot find type 'sockaddr' in scope
165 |   #if compiler(>=6.0)
166 |   public func withSockAddr<R, E: Error>(
167 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                            `- error: cannot find type 'sockaddr' in scope
168 |   ) throws(E) -> R {
169 |     let size = size
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:167:39: error: cannot find type 'socklen_t' in scope
165 |   #if compiler(>=6.0)
166 |   public func withSockAddr<R, E: Error>(
167 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                                       `- error: cannot find type 'socklen_t' in scope
168 |   ) throws(E) -> R {
169 |     let size = size
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:186:41: error: cannot find type 'sockaddr' in scope
184 |   #if compiler(>=6.0)
185 |   public mutating func withMutableSockAddr<T, E: Error>(
186 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                         `- error: cannot find type 'sockaddr' in scope
187 |   ) throws(E) -> T {
188 |     let len = size
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:186:60: error: cannot find type 'socklen_t' in scope
184 |   #if compiler(>=6.0)
185 |   public mutating func withMutableSockAddr<T, E: Error>(
186 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                            `- error: cannot find type 'socklen_t' in scope
187 |   ) throws(E) -> T {
188 |     let len = size
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:206:29: error: cannot find type 'sa_family_t' in scope
204 |
205 | extension sockaddr_in: SocketAddress, @retroactive @unchecked Sendable {
206 |   public static var family: sa_family_t {
    |                             `- error: cannot find type 'sa_family_t' in scope
207 |     sa_family_t(AF_INET)
208 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:210:23: error: cannot find type 'sa_family_t' in scope
208 |   }
209 |
210 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
211 |     guard family == AF_INET else { throw Errno.invalidArgument }
212 |     self = sockaddr_in()
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:231:20: error: cannot find type 'socklen_t' in scope
229 |   }
230 |
231 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
232 |     socklen_t(MemoryLayout<Self>.size)
233 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:264:34: error: cannot find type 'sockaddr' in scope
262 |   #if compiler(>=6.0)
263 |   public func withSockAddr<T, E: Error>(
264 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                  `- error: cannot find type 'sockaddr' in scope
265 |   ) throws(E) -> T {
266 |     try withUnsafeBytes(of: self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:264:53: error: cannot find type 'socklen_t' in scope
262 |   #if compiler(>=6.0)
263 |   public func withSockAddr<T, E: Error>(
264 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                     `- error: cannot find type 'socklen_t' in scope
265 |   ) throws(E) -> T {
266 |     try withUnsafeBytes(of: self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:282:41: error: cannot find type 'sockaddr' in scope
280 |   #if compiler(>=6.0)
281 |   public mutating func withMutableSockAddr<T, E: Error>(
282 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                         `- error: cannot find type 'sockaddr' in scope
283 |   ) throws(E) -> T {
284 |     try withUnsafeMutableBytes(of: &self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:282:60: error: cannot find type 'socklen_t' in scope
280 |   #if compiler(>=6.0)
281 |   public mutating func withMutableSockAddr<T, E: Error>(
282 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                            `- error: cannot find type 'socklen_t' in scope
283 |   ) throws(E) -> T {
284 |     try withUnsafeMutableBytes(of: &self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:300:29: error: cannot find type 'sa_family_t' in scope
298 |
299 | extension sockaddr_in6: SocketAddress, @retroactive @unchecked Sendable {
300 |   public static var family: sa_family_t {
    |                             `- error: cannot find type 'sa_family_t' in scope
301 |     sa_family_t(AF_INET6)
302 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:304:23: error: cannot find type 'sa_family_t' in scope
302 |   }
303 |
304 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
305 |     guard family == AF_INET6 else { throw Errno.invalidArgument }
306 |     self = sockaddr_in6()
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:325:20: error: cannot find type 'socklen_t' in scope
323 |   }
324 |
325 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
326 |     socklen_t(MemoryLayout<Self>.size)
327 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:358:34: error: cannot find type 'sockaddr' in scope
356 |   #if compiler(>=6.0)
357 |   public func withSockAddr<T, E: Error>(
358 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                  `- error: cannot find type 'sockaddr' in scope
359 |   ) throws(E) -> T {
360 |     try withUnsafeBytes(of: self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:358:53: error: cannot find type 'socklen_t' in scope
356 |   #if compiler(>=6.0)
357 |   public func withSockAddr<T, E: Error>(
358 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                     `- error: cannot find type 'socklen_t' in scope
359 |   ) throws(E) -> T {
360 |     try withUnsafeBytes(of: self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:376:41: error: cannot find type 'sockaddr' in scope
374 |   #if compiler(>=6.0)
375 |   public mutating func withMutableSockAddr<T, E: Error>(
376 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                         `- error: cannot find type 'sockaddr' in scope
377 |   ) throws(E) -> T {
378 |     try withUnsafeMutableBytes(of: &self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:376:60: error: cannot find type 'socklen_t' in scope
374 |   #if compiler(>=6.0)
375 |   public mutating func withMutableSockAddr<T, E: Error>(
376 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                            `- error: cannot find type 'socklen_t' in scope
377 |   ) throws(E) -> T {
378 |     try withUnsafeMutableBytes(of: &self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:394:29: error: cannot find type 'sa_family_t' in scope
392 |
393 | extension sockaddr_un: SocketAddress, @retroactive @unchecked Sendable {
394 |   public static var family: sa_family_t {
    |                             `- error: cannot find type 'sa_family_t' in scope
395 |     sa_family_t(AF_LOCAL)
396 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:398:23: error: cannot find type 'sa_family_t' in scope
396 |   }
397 |
398 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
399 |     guard family == AF_LOCAL else { throw Errno.invalidArgument }
400 |
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:430:20: error: cannot find type 'socklen_t' in scope
428 |   }
429 |
430 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
431 |     #if os(FreeBSD) || canImport(Darwin)
432 |     socklen_t(sun_len)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:466:34: error: cannot find type 'sockaddr' in scope
464 |   #if compiler(>=6.0)
465 |   public func withSockAddr<T, E: Error>(
466 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                  `- error: cannot find type 'sockaddr' in scope
467 |   ) throws(E) -> T {
468 |     try withUnsafeBytes(of: self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:466:53: error: cannot find type 'socklen_t' in scope
464 |   #if compiler(>=6.0)
465 |   public func withSockAddr<T, E: Error>(
466 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                     `- error: cannot find type 'socklen_t' in scope
467 |   ) throws(E) -> T {
468 |     try withUnsafeBytes(of: self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:484:41: error: cannot find type 'sockaddr' in scope
482 |   #if compiler(>=6.0)
483 |   public mutating func withMutableSockAddr<T, E: Error>(
484 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                         `- error: cannot find type 'sockaddr' in scope
485 |   ) throws(E) -> T {
486 |     try withUnsafeMutableBytes(of: &self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:484:60: error: cannot find type 'socklen_t' in scope
482 |   #if compiler(>=6.0)
483 |   public mutating func withMutableSockAddr<T, E: Error>(
484 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                            `- error: cannot find type 'socklen_t' in scope
485 |   ) throws(E) -> T {
486 |     try withUnsafeMutableBytes(of: &self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:680:29: error: cannot find type 'sa_family_t' in scope
678 |
679 | extension sockaddr_storage: SocketAddress, @retroactive @unchecked Sendable {
680 |   public static var family: sa_family_t {
    |                             `- error: cannot find type 'sa_family_t' in scope
681 |     sa_family_t(AF_UNSPEC)
682 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:684:23: error: cannot find type 'sa_family_t' in scope
682 |   }
683 |
684 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
685 |     var ss = Self()
686 |     switch Int32(family) {
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:710:20: error: cannot find type 'socklen_t' in scope
708 |   }
709 |
710 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
711 |     (try? getSizesForFamily(ss_family))?.1 ?? 0
712 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:819:34: error: cannot find type 'sockaddr' in scope
817 |   #if compiler(>=6.0)
818 |   public func withSockAddr<T, E: Error>(
819 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                  `- error: cannot find type 'sockaddr' in scope
820 |   ) throws(E) -> T {
821 |     let family = ss_family
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:819:53: error: cannot find type 'socklen_t' in scope
817 |   #if compiler(>=6.0)
818 |   public func withSockAddr<T, E: Error>(
819 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                     `- error: cannot find type 'socklen_t' in scope
820 |   ) throws(E) -> T {
821 |     let family = ss_family
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:843:41: error: cannot find type 'sockaddr' in scope
841 |   #if compiler(>=6.0)
842 |   public mutating func withMutableSockAddr<T, E: Error>(
843 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                         `- error: cannot find type 'sockaddr' in scope
844 |   ) throws(E) -> T {
845 |     let family = ss_family
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:843:60: error: cannot find type 'socklen_t' in scope
841 |   #if compiler(>=6.0)
842 |   public mutating func withMutableSockAddr<T, E: Error>(
843 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                            `- error: cannot find type 'socklen_t' in scope
844 |   ) throws(E) -> T {
845 |     let family = ss_family
BUILD FAILURE 6.2 wasm