The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SocketAddress, reference 0.5.0 (8a586b), with Swift 6.3 for Wasm on 19 Apr 2026 06:50:29 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/SocketAddress.git
Reference: 0.5.0
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
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 8a586b8 Merge pull request #1 from PADL/amp-fixes
Cloned https://github.com/PADL/SocketAddress.git
Revision (git rev-parse @):
8a586b86a77cddb1a70ff7ab539e5c22d729fb84
SUCCESS checkout https://github.com/PADL/SocketAddress.git at 0.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/PADL/SocketAddress.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (3.24s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (4.81s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Building for debugging...
[0/4] Write sources
[2/4] Compiling CSystem shims.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/35] Emitting module SystemPackage
[6/39] Compiling SystemPackage FilePathSyntax.swift
[7/39] Compiling SystemPackage FilePathTemp.swift
[8/39] Compiling SystemPackage FilePathTempPosix.swift
[9/39] Compiling SystemPackage FilePathTempWindows.swift
[10/39] Compiling SystemPackage SystemString.swift
[11/39] Compiling SystemPackage Util+StringArray.swift
[12/39] Compiling SystemPackage Util.swift
[13/39] Compiling SystemPackage UtilConsumers.swift
[14/39] Compiling SystemPackage FilePathWindows.swift
[15/39] Compiling SystemPackage FilePermissions.swift
[16/39] Compiling SystemPackage IOCompletion.swift
[17/39] Compiling SystemPackage IORequest.swift
[18/39] Compiling SystemPackage Errno.swift
[19/39] Compiling SystemPackage ErrnoWindows.swift
[20/39] Compiling SystemPackage FileDescriptor.swift
[21/39] Compiling SystemPackage FileHelpers.swift
[22/39] Compiling SystemPackage FileOperations.swift
[23/39] Compiling SystemPackage FilePath.swift
[24/39] Compiling SystemPackage FilePathComponentView.swift
[25/39] Compiling SystemPackage FilePathComponents.swift
[26/39] Compiling SystemPackage FilePathParsing.swift
[27/39] Compiling SystemPackage FilePathString.swift
[28/39] Compiling SystemPackage Constants.swift
[29/39] Compiling SystemPackage Exports.swift
[30/39] Compiling SystemPackage Mocking.swift
[31/39] Compiling SystemPackage RawBuffer.swift
[32/39] Compiling SystemPackage IORing.swift
[33/39] Compiling SystemPackage RawIORequest.swift
[34/39] Compiling SystemPackage Backcompat.swift
[35/39] Compiling SystemPackage CInterop.swift
[36/39] Compiling SystemPackage Syscalls.swift
[37/39] Compiling SystemPackage WindowsSyscallAdapters.swift
[38/39] Compiling SystemPackage MachPort.swift
[39/39] Compiling SystemPackage PlatformString.swift
[41/43] Compiling SocketAddress Utils.swift
/host/spi-builder-workspace/Sources/SocketAddress/Utils.swift:31:29: error: cannot find 'errno' in scope
29 |     let result = body()
30 |     if result < 0 {
31 |       throw Errno(rawValue: errno)
   |                             `- error: cannot find 'errno' in scope
32 |     }
33 |     return result
/host/spi-builder-workspace/Sources/SocketAddress/Utils.swift:36:49: error: cannot find 'errno' in scope
34 |   }
35 |
36 |   static var lastError: Errno { Errno(rawValue: errno) }
   |                                                 `- error: cannot find 'errno' in scope
37 | }
38 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/43] Emitting module SocketAddress
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:61:42: error: cannot find type 'sa_family_t' in scope
 59 | }
 60 |
 61 | private func getSizesForFamily(_ family: sa_family_t) throws -> (Int, Int) {
    |                                          `- error: cannot find type 'sa_family_t' in scope
 62 |   switch Int32(family) {
 63 |   case AF_INET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:81:66: error: cannot find type 'socklen_t' in scope
 79 | }
 80 |
 81 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
    |                                                                  `- error: cannot find type 'socklen_t' in scope
 82 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 83 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:81:77: error: cannot find type 'socklen_t' in scope
 79 | }
 80 |
 81 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
    |                                                                             `- error: cannot find type 'socklen_t' in scope
 82 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 83 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:81:42: error: cannot find type 'sa_family_t' in scope
 79 | }
 80 |
 81 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
    |                                          `- error: cannot find type 'sa_family_t' in scope
 82 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 83 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:87:22: error: cannot find type 'sa_family_t' in scope
 85 |
 86 | public protocol SocketAddress: Sendable {
 87 |   static var family: sa_family_t { get }
    |                      `- error: cannot find type 'sa_family_t' in scope
 88 |
 89 |   init(family: sa_family_t, presentationAddress: String) throws
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:89:16: error: cannot find type 'sa_family_t' in scope
 87 |   static var family: sa_family_t { get }
 88 |
 89 |   init(family: sa_family_t, presentationAddress: String) throws
    |                `- error: cannot find type 'sa_family_t' in scope
 90 |   #if compiler(>=6.0)
 91 |   mutating func withMutableSockAddr<T, E: Error>(
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:92:35: error: cannot find type 'sockaddr' in scope
 90 |   #if compiler(>=6.0)
 91 |   mutating func withMutableSockAddr<T, E: Error>(
 92 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                   `- error: cannot find type 'sockaddr' in scope
 93 |   ) throws(E) -> T
 94 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:92:46: error: cannot find type 'socklen_t' in scope
 90 |   #if compiler(>=6.0)
 91 |   mutating func withMutableSockAddr<T, E: Error>(
 92 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                              `- error: cannot find type 'socklen_t' in scope
 93 |   ) throws(E) -> T
 94 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:100:28: error: cannot find type 'sockaddr' in scope
 98 |   #if compiler(>=6.0)
 99 |   func withSockAddr<R, E: Error>(
100 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                            `- error: cannot find type 'sockaddr' in scope
101 |   ) throws(E) -> R
102 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:100:39: error: cannot find type 'socklen_t' in scope
 98 |   #if compiler(>=6.0)
 99 |   func withSockAddr<R, E: Error>(
100 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                                       `- error: cannot find type 'socklen_t' in scope
101 |   ) throws(E) -> R
102 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:109:13: error: cannot find type 'socklen_t' in scope
107 |
108 |   var port: UInt16 { get throws }
109 |   var size: socklen_t { get }
    |             `- error: cannot find type 'socklen_t' in scope
110 | }
111 |
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:113:15: error: cannot find type 'sa_family_t' in scope
111 |
112 | public extension SocketAddress {
113 |   var family: sa_family_t {
    |               `- error: cannot find type 'sa_family_t' in scope
114 |     withSockAddr { sa, _ in sa.pointee.sa_family }
115 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:119:23: error: cannot find type 'sockaddr_storage' in scope
117 |
118 | public extension SocketAddress {
119 |   func asStorage() -> sockaddr_storage {
    |                       `- error: cannot find type 'sockaddr_storage' in scope
120 |     var ss = sockaddr_storage()
121 |     withSockAddr { sa, _ in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:128:11: error: cannot find type 'sockaddr' in scope
126 | }
127 |
128 | extension sockaddr: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr' in scope
129 |   public static var family: sa_family_t {
130 |     sa_family_t(AF_UNSPEC)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:203:11: error: cannot find type 'sockaddr_in' in scope
201 | }
202 |
203 | extension sockaddr_in: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_in' in scope
204 |   public static var family: sa_family_t {
205 |     sa_family_t(AF_INET)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:297:11: error: cannot find type 'sockaddr_in6' in scope
295 | }
296 |
297 | extension sockaddr_in6: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_in6' in scope
298 |   public static var family: sa_family_t {
299 |     sa_family_t(AF_INET6)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:391:11: error: cannot find type 'sockaddr_un' in scope
389 | }
390 |
391 | extension sockaddr_un: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_un' in scope
392 |   public static var family: sa_family_t {
393 |     sa_family_t(AF_LOCAL)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:677:11: error: cannot find type 'sockaddr_storage' in scope
675 | #endif
676 |
677 | extension sockaddr_storage: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_storage' in scope
678 |   public static var family: sa_family_t {
679 |     sa_family_t(AF_UNSPEC)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:862:18: error: cannot find type 'sockaddr_storage' in scope
860 | }
861 |
862 | public extension sockaddr_storage {
    |                  `- error: cannot find type 'sockaddr_storage' in scope
863 |   init(bytes: [UInt8]) throws {
864 |     guard bytes.count >= MemoryLayout<sockaddr>.size else {
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:893:29: error: cannot find type 'sa_family_t' in scope
891 |
892 | extension AnySocketAddress: SocketAddress {
893 |   public static var family: sa_family_t { sa_family_t(AF_UNSPEC) }
    |                             `- error: cannot find type 'sa_family_t' in scope
894 |
895 |   public init(family: sa_family_t, presentationAddress: String) throws {
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:895:23: error: cannot find type 'sa_family_t' in scope
893 |   public static var family: sa_family_t { sa_family_t(AF_UNSPEC) }
894 |
895 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
896 |     switch Int32(family) {
897 |     case AF_INET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:916:35: error: cannot find type 'sockaddr' in scope
914 |   #if compiler(>=6.0)
915 |   public mutating func withMutableSockAddr<T, E: Error>(
916 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                   `- error: cannot find type 'sockaddr' in scope
917 |   ) throws(E) -> T { try _sa.withMutableSockAddr(body) }
918 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:916:46: error: cannot find type 'socklen_t' in scope
914 |   #if compiler(>=6.0)
915 |   public mutating func withMutableSockAddr<T, E: Error>(
916 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                              `- error: cannot find type 'socklen_t' in scope
917 |   ) throws(E) -> T { try _sa.withMutableSockAddr(body) }
918 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:927:28: error: cannot find type 'sockaddr' in scope
925 |   #if compiler(>=6.0)
926 |   public func withSockAddr<R, E: Error>(
927 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                            `- error: cannot find type 'sockaddr' in scope
928 |   ) throws(E) -> R { try _sa.withSockAddr(body) }
929 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:927:39: error: cannot find type 'socklen_t' in scope
925 |   #if compiler(>=6.0)
926 |   public func withSockAddr<R, E: Error>(
927 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                                       `- error: cannot find type 'socklen_t' in scope
928 |   ) throws(E) -> R { try _sa.withSockAddr(body) }
929 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:952:20: error: cannot find type 'socklen_t' in scope
950 |   }
951 |
952 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
953 |     _sa.size
954 |   }
[43/43] Compiling SocketAddress SocketAddress.swift
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:61:42: error: cannot find type 'sa_family_t' in scope
 59 | }
 60 |
 61 | private func getSizesForFamily(_ family: sa_family_t) throws -> (Int, Int) {
    |                                          `- error: cannot find type 'sa_family_t' in scope
 62 |   switch Int32(family) {
 63 |   case AF_INET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:81:66: error: cannot find type 'socklen_t' in scope
 79 | }
 80 |
 81 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
    |                                                                  `- error: cannot find type 'socklen_t' in scope
 82 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 83 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:81:77: error: cannot find type 'socklen_t' in scope
 79 | }
 80 |
 81 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
    |                                                                             `- error: cannot find type 'socklen_t' in scope
 82 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 83 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:81:42: error: cannot find type 'sa_family_t' in scope
 79 | }
 80 |
 81 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
    |                                          `- error: cannot find type 'sa_family_t' in scope
 82 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 83 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:87:22: error: cannot find type 'sa_family_t' in scope
 85 |
 86 | public protocol SocketAddress: Sendable {
 87 |   static var family: sa_family_t { get }
    |                      `- error: cannot find type 'sa_family_t' in scope
 88 |
 89 |   init(family: sa_family_t, presentationAddress: String) throws
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:89:16: error: cannot find type 'sa_family_t' in scope
 87 |   static var family: sa_family_t { get }
 88 |
 89 |   init(family: sa_family_t, presentationAddress: String) throws
    |                `- error: cannot find type 'sa_family_t' in scope
 90 |   #if compiler(>=6.0)
 91 |   mutating func withMutableSockAddr<T, E: Error>(
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:92:35: error: cannot find type 'sockaddr' in scope
 90 |   #if compiler(>=6.0)
 91 |   mutating func withMutableSockAddr<T, E: Error>(
 92 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                   `- error: cannot find type 'sockaddr' in scope
 93 |   ) throws(E) -> T
 94 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:92:46: error: cannot find type 'socklen_t' in scope
 90 |   #if compiler(>=6.0)
 91 |   mutating func withMutableSockAddr<T, E: Error>(
 92 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                              `- error: cannot find type 'socklen_t' in scope
 93 |   ) throws(E) -> T
 94 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:100:28: error: cannot find type 'sockaddr' in scope
 98 |   #if compiler(>=6.0)
 99 |   func withSockAddr<R, E: Error>(
100 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                            `- error: cannot find type 'sockaddr' in scope
101 |   ) throws(E) -> R
102 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:100:39: error: cannot find type 'socklen_t' in scope
 98 |   #if compiler(>=6.0)
 99 |   func withSockAddr<R, E: Error>(
100 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                                       `- error: cannot find type 'socklen_t' in scope
101 |   ) throws(E) -> R
102 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:109:13: error: cannot find type 'socklen_t' in scope
107 |
108 |   var port: UInt16 { get throws }
109 |   var size: socklen_t { get }
    |             `- error: cannot find type 'socklen_t' in scope
110 | }
111 |
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:113:15: error: cannot find type 'sa_family_t' in scope
111 |
112 | public extension SocketAddress {
113 |   var family: sa_family_t {
    |               `- error: cannot find type 'sa_family_t' in scope
114 |     withSockAddr { sa, _ in sa.pointee.sa_family }
115 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:119:23: error: cannot find type 'sockaddr_storage' in scope
117 |
118 | public extension SocketAddress {
119 |   func asStorage() -> sockaddr_storage {
    |                       `- error: cannot find type 'sockaddr_storage' in scope
120 |     var ss = sockaddr_storage()
121 |     withSockAddr { sa, _ in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:128:11: error: cannot find type 'sockaddr' in scope
126 | }
127 |
128 | extension sockaddr: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr' in scope
129 |   public static var family: sa_family_t {
130 |     sa_family_t(AF_UNSPEC)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:203:11: error: cannot find type 'sockaddr_in' in scope
201 | }
202 |
203 | extension sockaddr_in: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_in' in scope
204 |   public static var family: sa_family_t {
205 |     sa_family_t(AF_INET)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:297:11: error: cannot find type 'sockaddr_in6' in scope
295 | }
296 |
297 | extension sockaddr_in6: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_in6' in scope
298 |   public static var family: sa_family_t {
299 |     sa_family_t(AF_INET6)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:391:11: error: cannot find type 'sockaddr_un' in scope
389 | }
390 |
391 | extension sockaddr_un: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_un' in scope
392 |   public static var family: sa_family_t {
393 |     sa_family_t(AF_LOCAL)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:677:11: error: cannot find type 'sockaddr_storage' in scope
675 | #endif
676 |
677 | extension sockaddr_storage: SocketAddress, @retroactive @unchecked Sendable {
    |           `- error: cannot find type 'sockaddr_storage' in scope
678 |   public static var family: sa_family_t {
679 |     sa_family_t(AF_UNSPEC)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:862:18: error: cannot find type 'sockaddr_storage' in scope
860 | }
861 |
862 | public extension sockaddr_storage {
    |                  `- error: cannot find type 'sockaddr_storage' in scope
863 |   init(bytes: [UInt8]) throws {
864 |     guard bytes.count >= MemoryLayout<sockaddr>.size else {
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:893:29: error: cannot find type 'sa_family_t' in scope
891 |
892 | extension AnySocketAddress: SocketAddress {
893 |   public static var family: sa_family_t { sa_family_t(AF_UNSPEC) }
    |                             `- error: cannot find type 'sa_family_t' in scope
894 |
895 |   public init(family: sa_family_t, presentationAddress: String) throws {
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:895:23: error: cannot find type 'sa_family_t' in scope
893 |   public static var family: sa_family_t { sa_family_t(AF_UNSPEC) }
894 |
895 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
896 |     switch Int32(family) {
897 |     case AF_INET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:916:35: error: cannot find type 'sockaddr' in scope
914 |   #if compiler(>=6.0)
915 |   public mutating func withMutableSockAddr<T, E: Error>(
916 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                   `- error: cannot find type 'sockaddr' in scope
917 |   ) throws(E) -> T { try _sa.withMutableSockAddr(body) }
918 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:916:46: error: cannot find type 'socklen_t' in scope
914 |   #if compiler(>=6.0)
915 |   public mutating func withMutableSockAddr<T, E: Error>(
916 |     _ body: (UnsafeMutablePointer<sockaddr>, socklen_t) throws(E) -> T
    |                                              `- error: cannot find type 'socklen_t' in scope
917 |   ) throws(E) -> T { try _sa.withMutableSockAddr(body) }
918 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:927:28: error: cannot find type 'sockaddr' in scope
925 |   #if compiler(>=6.0)
926 |   public func withSockAddr<R, E: Error>(
927 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                            `- error: cannot find type 'sockaddr' in scope
928 |   ) throws(E) -> R { try _sa.withSockAddr(body) }
929 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:927:39: error: cannot find type 'socklen_t' in scope
925 |   #if compiler(>=6.0)
926 |   public func withSockAddr<R, E: Error>(
927 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                                       `- error: cannot find type 'socklen_t' in scope
928 |   ) throws(E) -> R { try _sa.withSockAddr(body) }
929 |   #else
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:952:20: error: cannot find type 'socklen_t' in scope
950 |   }
951 |
952 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
953 |     _sa.size
954 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:64:19: error: cannot find type 'sockaddr_in' in scope
 62 |   switch Int32(family) {
 63 |   case AF_INET:
 64 |     (MemoryLayout<sockaddr_in>.size, MemoryLayout<sockaddr_in>.size)
    |                   `- error: cannot find type 'sockaddr_in' in scope
 65 |   case AF_INET6:
 66 |     (MemoryLayout<sockaddr_in6>.size, MemoryLayout<sockaddr_in6>.size)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:64:51: error: cannot find type 'sockaddr_in' in scope
 62 |   switch Int32(family) {
 63 |   case AF_INET:
 64 |     (MemoryLayout<sockaddr_in>.size, MemoryLayout<sockaddr_in>.size)
    |                                                   `- error: cannot find type 'sockaddr_in' in scope
 65 |   case AF_INET6:
 66 |     (MemoryLayout<sockaddr_in6>.size, MemoryLayout<sockaddr_in6>.size)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:66:19: error: cannot find type 'sockaddr_in6' in scope
 64 |     (MemoryLayout<sockaddr_in>.size, MemoryLayout<sockaddr_in>.size)
 65 |   case AF_INET6:
 66 |     (MemoryLayout<sockaddr_in6>.size, MemoryLayout<sockaddr_in6>.size)
    |                   `- error: cannot find type 'sockaddr_in6' in scope
 67 |   case AF_LOCAL:
 68 |     // For domain sockets, minimum size is offset of sun_path + space for zero-length path
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:66:52: error: cannot find type 'sockaddr_in6' in scope
 64 |     (MemoryLayout<sockaddr_in>.size, MemoryLayout<sockaddr_in>.size)
 65 |   case AF_INET6:
 66 |     (MemoryLayout<sockaddr_in6>.size, MemoryLayout<sockaddr_in6>.size)
    |                                                    `- error: cannot find type 'sockaddr_in6' in scope
 67 |   case AF_LOCAL:
 68 |     // For domain sockets, minimum size is offset of sun_path + space for zero-length path
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:69:19: error: cannot find type 'sockaddr_un' in scope
 67 |   case AF_LOCAL:
 68 |     // For domain sockets, minimum size is offset of sun_path + space for zero-length path
 69 |     (MemoryLayout<sockaddr_un>.offset(of: \.sun_path)! + 1, MemoryLayout<sockaddr_un>.size)
    |                   `- error: cannot find type 'sockaddr_un' in scope
 70 |   #if os(Linux)
 71 |   case AF_PACKET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:69:74: error: cannot find type 'sockaddr_un' in scope
 67 |   case AF_LOCAL:
 68 |     // For domain sockets, minimum size is offset of sun_path + space for zero-length path
 69 |     (MemoryLayout<sockaddr_un>.offset(of: \.sun_path)! + 1, MemoryLayout<sockaddr_un>.size)
    |                                                                          `- error: cannot find type 'sockaddr_un' in scope
 70 |   #if os(Linux)
 71 |   case AF_PACKET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:83:11: error: cannot find 'socklen_t' in scope
 81 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
 82 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 83 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
    |           `- error: cannot find 'socklen_t' in scope
 84 | }
 85 |
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:83:31: error: cannot find 'socklen_t' in scope
 81 | private func getSizesForFamily(_ family: sa_family_t) throws -> (socklen_t, socklen_t) {
 82 |   let sizes: (Int, Int) = try getSizesForFamily(family)
 83 |   return (socklen_t(sizes.0), socklen_t(sizes.1))
    |                               `- error: cannot find 'socklen_t' in scope
 84 | }
 85 |
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:120:14: error: cannot find 'sockaddr_storage' in scope
118 | public extension SocketAddress {
119 |   func asStorage() -> sockaddr_storage {
120 |     var ss = sockaddr_storage()
    |              `- error: cannot find 'sockaddr_storage' in scope
121 |     withSockAddr { sa, _ in
122 |       _ = memcpy(&ss, sa, Int(size))
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:122:11: error: cannot find 'memcpy' in scope
120 |     var ss = sockaddr_storage()
121 |     withSockAddr { sa, _ in
122 |       _ = memcpy(&ss, sa, Int(size))
    |           `- error: cannot find 'memcpy' in scope
123 |     }
124 |     return ss
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:888:15: error: cannot find 'sockaddr_storage' in scope
886 |
887 |   public init(bytes: [UInt8]) throws {
888 |     _sa = try sockaddr_storage(bytes: bytes)
    |               `- error: cannot find 'sockaddr_storage' in scope
889 |   }
890 | }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:893:43: error: cannot find 'sa_family_t' in scope
891 |
892 | extension AnySocketAddress: SocketAddress {
893 |   public static var family: sa_family_t { sa_family_t(AF_UNSPEC) }
    |                                           `- error: cannot find 'sa_family_t' in scope
894 |
895 |   public init(family: sa_family_t, presentationAddress: String) throws {
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:893:55: error: cannot find 'AF_UNSPEC' in scope
891 |
892 | extension AnySocketAddress: SocketAddress {
893 |   public static var family: sa_family_t { sa_family_t(AF_UNSPEC) }
    |                                                       `- error: cannot find 'AF_UNSPEC' in scope
894 |
895 |   public init(family: sa_family_t, presentationAddress: String) throws {
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:897:10: error: cannot find 'AF_INET' in scope
895 |   public init(family: sa_family_t, presentationAddress: String) throws {
896 |     switch Int32(family) {
897 |     case AF_INET:
    |          `- error: cannot find 'AF_INET' in scope
898 |       _sa = try sockaddr_in(family: family, presentationAddress: presentationAddress)
899 |     case AF_INET6:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:899:10: error: cannot find 'AF_INET6' in scope
897 |     case AF_INET:
898 |       _sa = try sockaddr_in(family: family, presentationAddress: presentationAddress)
899 |     case AF_INET6:
    |          `- error: cannot find 'AF_INET6' in scope
900 |       _sa = try sockaddr_in6(family: family, presentationAddress: presentationAddress)
901 |     case AF_LOCAL:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:901:10: error: cannot find 'AF_LOCAL' in scope
899 |     case AF_INET6:
900 |       _sa = try sockaddr_in6(family: family, presentationAddress: presentationAddress)
901 |     case AF_LOCAL:
    |          `- error: cannot find 'AF_LOCAL' in scope
902 |       _sa = try sockaddr_un(family: family, presentationAddress: presentationAddress)
903 |     #if os(Linux)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:898:17: error: cannot find 'sockaddr_in' in scope
896 |     switch Int32(family) {
897 |     case AF_INET:
898 |       _sa = try sockaddr_in(family: family, presentationAddress: presentationAddress)
    |                 `- error: cannot find 'sockaddr_in' in scope
899 |     case AF_INET6:
900 |       _sa = try sockaddr_in6(family: family, presentationAddress: presentationAddress)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:900:17: error: cannot find 'sockaddr_in6' in scope
898 |       _sa = try sockaddr_in(family: family, presentationAddress: presentationAddress)
899 |     case AF_INET6:
900 |       _sa = try sockaddr_in6(family: family, presentationAddress: presentationAddress)
    |                 `- error: cannot find 'sockaddr_in6' in scope
901 |     case AF_LOCAL:
902 |       _sa = try sockaddr_un(family: family, presentationAddress: presentationAddress)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:902:17: error: cannot find 'sockaddr_un' in scope
900 |       _sa = try sockaddr_in6(family: family, presentationAddress: presentationAddress)
901 |     case AF_LOCAL:
902 |       _sa = try sockaddr_un(family: family, presentationAddress: presentationAddress)
    |                 `- error: cannot find 'sockaddr_un' in scope
903 |     #if os(Linux)
904 |     case AF_PACKET:
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:962:7: error: cannot find 'memcmp' in scope
960 |     var rhs = rhs.asStorage()
961 |     return lhs.size == rhs.size &&
962 |       memcmp(&lhs, &rhs, Int(lhs.size)) == 0
    |       `- error: cannot find 'memcmp' in scope
963 |   }
964 | }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:129:29: error: cannot find type 'sa_family_t' in scope
127 |
128 | extension sockaddr: SocketAddress, @retroactive @unchecked Sendable {
129 |   public static var family: sa_family_t {
    |                             `- error: cannot find type 'sa_family_t' in scope
130 |     sa_family_t(AF_UNSPEC)
131 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:133:23: error: cannot find type 'sa_family_t' in scope
131 |   }
132 |
133 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
134 |     throw Errno.invalidArgument
135 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:137:20: error: cannot find type 'socklen_t' in scope
135 |   }
136 |
137 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
138 |     (try? getSizesForFamily(sa_family))?.1 ?? 0
139 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:141:25: error: cannot find type 'sockaddr_storage' in scope
139 |   }
140 |
141 |   private var _storage: sockaddr_storage {
    |                         `- error: cannot find type 'sockaddr_storage' in scope
142 |     asStorage()
143 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:165:28: error: cannot find type 'sockaddr' in scope
163 |   #if compiler(>=6.0)
164 |   public func withSockAddr<R, E: Error>(
165 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                            `- error: cannot find type 'sockaddr' in scope
166 |   ) throws(E) -> R {
167 |     let size = size
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:165:39: error: cannot find type 'socklen_t' in scope
163 |   #if compiler(>=6.0)
164 |   public func withSockAddr<R, E: Error>(
165 |     _ body: (UnsafePointer<sockaddr>, socklen_t) throws(E) -> R
    |                                       `- error: cannot find type 'socklen_t' in scope
166 |   ) throws(E) -> R {
167 |     let size = size
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:184:41: error: cannot find type 'sockaddr' in scope
182 |   #if compiler(>=6.0)
183 |   public mutating func withMutableSockAddr<T, E: Error>(
184 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                         `- error: cannot find type 'sockaddr' in scope
185 |   ) throws(E) -> T {
186 |     let len = size
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:184:60: error: cannot find type 'socklen_t' in scope
182 |   #if compiler(>=6.0)
183 |   public mutating func withMutableSockAddr<T, E: Error>(
184 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                            `- error: cannot find type 'socklen_t' in scope
185 |   ) throws(E) -> T {
186 |     let len = size
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:204:29: error: cannot find type 'sa_family_t' in scope
202 |
203 | extension sockaddr_in: SocketAddress, @retroactive @unchecked Sendable {
204 |   public static var family: sa_family_t {
    |                             `- error: cannot find type 'sa_family_t' in scope
205 |     sa_family_t(AF_INET)
206 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:208:23: error: cannot find type 'sa_family_t' in scope
206 |   }
207 |
208 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
209 |     guard family == AF_INET else { throw Errno.invalidArgument }
210 |     self = sockaddr_in()
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:229:20: error: cannot find type 'socklen_t' in scope
227 |   }
228 |
229 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
230 |     socklen_t(MemoryLayout<Self>.size)
231 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:262:34: error: cannot find type 'sockaddr' in scope
260 |   #if compiler(>=6.0)
261 |   public func withSockAddr<T, E: Error>(
262 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                  `- error: cannot find type 'sockaddr' in scope
263 |   ) throws(E) -> T {
264 |     try withUnsafeBytes(of: self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:262:53: error: cannot find type 'socklen_t' in scope
260 |   #if compiler(>=6.0)
261 |   public func withSockAddr<T, E: Error>(
262 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                     `- error: cannot find type 'socklen_t' in scope
263 |   ) throws(E) -> T {
264 |     try withUnsafeBytes(of: self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:280:41: error: cannot find type 'sockaddr' in scope
278 |   #if compiler(>=6.0)
279 |   public mutating func withMutableSockAddr<T, E: Error>(
280 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                         `- error: cannot find type 'sockaddr' in scope
281 |   ) throws(E) -> T {
282 |     try withUnsafeMutableBytes(of: &self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:280:60: error: cannot find type 'socklen_t' in scope
278 |   #if compiler(>=6.0)
279 |   public mutating func withMutableSockAddr<T, E: Error>(
280 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                            `- error: cannot find type 'socklen_t' in scope
281 |   ) throws(E) -> T {
282 |     try withUnsafeMutableBytes(of: &self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:298:29: error: cannot find type 'sa_family_t' in scope
296 |
297 | extension sockaddr_in6: SocketAddress, @retroactive @unchecked Sendable {
298 |   public static var family: sa_family_t {
    |                             `- error: cannot find type 'sa_family_t' in scope
299 |     sa_family_t(AF_INET6)
300 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:302:23: error: cannot find type 'sa_family_t' in scope
300 |   }
301 |
302 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
303 |     guard family == AF_INET6 else { throw Errno.invalidArgument }
304 |     self = sockaddr_in6()
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:323:20: error: cannot find type 'socklen_t' in scope
321 |   }
322 |
323 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
324 |     socklen_t(MemoryLayout<Self>.size)
325 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:356:34: error: cannot find type 'sockaddr' in scope
354 |   #if compiler(>=6.0)
355 |   public func withSockAddr<T, E: Error>(
356 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                  `- error: cannot find type 'sockaddr' in scope
357 |   ) throws(E) -> T {
358 |     try withUnsafeBytes(of: self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:356:53: error: cannot find type 'socklen_t' in scope
354 |   #if compiler(>=6.0)
355 |   public func withSockAddr<T, E: Error>(
356 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                     `- error: cannot find type 'socklen_t' in scope
357 |   ) throws(E) -> T {
358 |     try withUnsafeBytes(of: self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:374:41: error: cannot find type 'sockaddr' in scope
372 |   #if compiler(>=6.0)
373 |   public mutating func withMutableSockAddr<T, E: Error>(
374 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                         `- error: cannot find type 'sockaddr' in scope
375 |   ) throws(E) -> T {
376 |     try withUnsafeMutableBytes(of: &self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:374:60: error: cannot find type 'socklen_t' in scope
372 |   #if compiler(>=6.0)
373 |   public mutating func withMutableSockAddr<T, E: Error>(
374 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                            `- error: cannot find type 'socklen_t' in scope
375 |   ) throws(E) -> T {
376 |     try withUnsafeMutableBytes(of: &self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:392:29: error: cannot find type 'sa_family_t' in scope
390 |
391 | extension sockaddr_un: SocketAddress, @retroactive @unchecked Sendable {
392 |   public static var family: sa_family_t {
    |                             `- error: cannot find type 'sa_family_t' in scope
393 |     sa_family_t(AF_LOCAL)
394 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:396:23: error: cannot find type 'sa_family_t' in scope
394 |   }
395 |
396 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
397 |     guard family == AF_LOCAL else { throw Errno.invalidArgument }
398 |
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:428:20: error: cannot find type 'socklen_t' in scope
426 |   }
427 |
428 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
429 |     #if os(FreeBSD) || canImport(Darwin)
430 |     socklen_t(sun_len)
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:464:34: error: cannot find type 'sockaddr' in scope
462 |   #if compiler(>=6.0)
463 |   public func withSockAddr<T, E: Error>(
464 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                  `- error: cannot find type 'sockaddr' in scope
465 |   ) throws(E) -> T {
466 |     try withUnsafeBytes(of: self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:464:53: error: cannot find type 'socklen_t' in scope
462 |   #if compiler(>=6.0)
463 |   public func withSockAddr<T, E: Error>(
464 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                     `- error: cannot find type 'socklen_t' in scope
465 |   ) throws(E) -> T {
466 |     try withUnsafeBytes(of: self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:482:41: error: cannot find type 'sockaddr' in scope
480 |   #if compiler(>=6.0)
481 |   public mutating func withMutableSockAddr<T, E: Error>(
482 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                         `- error: cannot find type 'sockaddr' in scope
483 |   ) throws(E) -> T {
484 |     try withUnsafeMutableBytes(of: &self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:482:60: error: cannot find type 'socklen_t' in scope
480 |   #if compiler(>=6.0)
481 |   public mutating func withMutableSockAddr<T, E: Error>(
482 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                            `- error: cannot find type 'socklen_t' in scope
483 |   ) throws(E) -> T {
484 |     try withUnsafeMutableBytes(of: &self) { p throws(E) -> T in
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:678:29: error: cannot find type 'sa_family_t' in scope
676 |
677 | extension sockaddr_storage: SocketAddress, @retroactive @unchecked Sendable {
678 |   public static var family: sa_family_t {
    |                             `- error: cannot find type 'sa_family_t' in scope
679 |     sa_family_t(AF_UNSPEC)
680 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:682:23: error: cannot find type 'sa_family_t' in scope
680 |   }
681 |
682 |   public init(family: sa_family_t, presentationAddress: String) throws {
    |                       `- error: cannot find type 'sa_family_t' in scope
683 |     var ss = Self()
684 |     switch Int32(family) {
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:708:20: error: cannot find type 'socklen_t' in scope
706 |   }
707 |
708 |   public var size: socklen_t {
    |                    `- error: cannot find type 'socklen_t' in scope
709 |     (try? getSizesForFamily(ss_family))?.1 ?? 0
710 |   }
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:817:34: error: cannot find type 'sockaddr' in scope
815 |   #if compiler(>=6.0)
816 |   public func withSockAddr<T, E: Error>(
817 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                  `- error: cannot find type 'sockaddr' in scope
818 |   ) throws(E) -> T {
819 |     let family = ss_family
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:817:53: error: cannot find type 'socklen_t' in scope
815 |   #if compiler(>=6.0)
816 |   public func withSockAddr<T, E: Error>(
817 |     _ body: (_ sa: UnsafePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                     `- error: cannot find type 'socklen_t' in scope
818 |   ) throws(E) -> T {
819 |     let family = ss_family
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:841:41: error: cannot find type 'sockaddr' in scope
839 |   #if compiler(>=6.0)
840 |   public mutating func withMutableSockAddr<T, E: Error>(
841 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                         `- error: cannot find type 'sockaddr' in scope
842 |   ) throws(E) -> T {
843 |     let family = ss_family
/host/spi-builder-workspace/Sources/SocketAddress/SocketAddress.swift:841:60: error: cannot find type 'socklen_t' in scope
839 |   #if compiler(>=6.0)
840 |   public mutating func withMutableSockAddr<T, E: Error>(
841 |     _ body: (_ sa: UnsafeMutablePointer<sockaddr>, _ size: socklen_t) throws(E) -> T
    |                                                            `- error: cannot find type 'socklen_t' in scope
842 |   ) throws(E) -> T {
843 |     let family = ss_family
BUILD FAILURE 6.3 wasm