Build Information
Failed to build SwiftOCA, reference 0.7.5 (8846dc), with Swift 6.3 for Wasm on 16 Apr 2026 03:27:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/SwiftOCA.git
Reference: 0.7.5
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/SwiftOCA
* tag 0.7.5 -> FETCH_HEAD
HEAD is now at 8846dc5 fix socket FD leak during reconnection in IORing connection backends
Cloned https://github.com/PADL/SwiftOCA.git
Revision (git rev-parse @):
8846dc55ff0f0be3ecdfbb2e5de60df1d89ba4fc
SUCCESS checkout https://github.com/PADL/SwiftOCA.git at 0.7.5
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/PADL/SwiftOCA.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/PADL/IORingSwift
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/swhitty/FlyingFox
Fetching https://github.com/1024jp/GzipSwift
[1/782] Fetching anycodable
[95/6693] Fetching anycodable, flyingfox
[586/8250] Fetching anycodable, flyingfox, gzipswift
[844/10937] Fetching anycodable, flyingfox, gzipswift, ioringswift
[6818/22061] Fetching anycodable, flyingfox, gzipswift, ioringswift, sqlite.swift
Fetched https://github.com/1024jp/GzipSwift from cache (0.50s)
[6707/20504] Fetching anycodable, flyingfox, ioringswift, sqlite.swift
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/PADL/SocketAddress
Fetched https://github.com/PADL/IORingSwift from cache (0.65s)
Fetching https://github.com/apple/swift-system
[8251/17817] Fetching anycodable, flyingfox, sqlite.swift
[13369/19637] Fetching anycodable, flyingfox, sqlite.swift, swift-atomics
[13970/19929] Fetching anycodable, flyingfox, sqlite.swift, swift-atomics, socketaddress
[15481/25530] Fetching anycodable, flyingfox, sqlite.swift, swift-atomics, socketaddress, swift-system
Fetched https://github.com/PADL/SocketAddress from cache (0.42s)
[17147/25238] Fetching anycodable, flyingfox, sqlite.swift, swift-atomics, swift-system
Fetching https://github.com/apple/swift-log
Fetched https://github.com/apple/swift-atomics from cache (0.65s)
Fetching https://github.com/apple/swift-async-algorithms
[19303/23418] Fetching anycodable, flyingfox, sqlite.swift, swift-system
Fetched https://github.com/apple/swift-system from cache (0.76s)
Fetching https://github.com/lhoward/AsyncExtensions
[1/6583] Fetching swift-log
[989/12824] Fetching swift-log, swift-async-algorithms
[8542/13714] Fetching swift-log, swift-async-algorithms, asyncextensions
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.51s)
Fetched https://github.com/Flight-School/AnyCodable from cache (1.96s)
Fetched https://github.com/swhitty/FlyingFox from cache (1.96s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.74s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.98s)
Fetched https://github.com/apple/swift-log from cache (0.91s)
Computing version for https://github.com/PADL/IORingSwift
Computed https://github.com/PADL/IORingSwift at 1.0.0 (2.86s)
Fetching https://github.com/dfed/swift-async-queue
[1/1691] Fetching swift-async-queue
Fetched https://github.com/dfed/swift-async-queue from cache (0.27s)
Computing version for https://github.com/swhitty/FlyingFox
Computed https://github.com/swhitty/FlyingFox at 0.26.2 (2.50s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.16.0 (0.61s)
Fetching https://github.com/stephencelis/CSQLite
[1/200] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite from cache (1.07s)
Computing version for https://github.com/1024jp/GzipSwift
warning: 'gzipswift': /Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
3 | import PackageDescription
4 |
5 | let package = Package(
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
6 | name: "GzipSwift",
7 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/1024jp/GzipSwift at 6.1.0 (1.64s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (2.88s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.48s)
Computing version for https://github.com/stephencelis/CSQLite
Computed https://github.com/stephencelis/CSQLite at 3.50.4 (0.43s)
Computing version for https://github.com/PADL/SocketAddress
Computed https://github.com/PADL/SocketAddress at 0.5.0 (0.40s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.44s)
Computing version for https://github.com/dfed/swift-async-queue
Computed https://github.com/dfed/swift-async-queue at 1.0.1 (0.40s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.5 (0.43s)
Fetching https://github.com/apple/swift-collections.git
[1/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.60s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (2.14s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (2.80s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.53s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
Creating working copy for https://github.com/PADL/IORingSwift
Working copy of https://github.com/PADL/IORingSwift resolved at 1.0.0
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.16.0
Creating working copy for https://github.com/swhitty/FlyingFox
Working copy of https://github.com/swhitty/FlyingFox resolved at 0.26.2
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at 0.9.5
Creating working copy for https://github.com/PADL/SocketAddress
Working copy of https://github.com/PADL/SocketAddress resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/stephencelis/CSQLite
Working copy of https://github.com/stephencelis/CSQLite resolved at 3.50.4
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.3
Creating working copy for https://github.com/dfed/swift-async-queue
Working copy of https://github.com/dfed/swift-async-queue resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.1.0
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
warning: 'gzipswift': /host/spi-builder-workspace/.build/checkouts/GzipSwift/Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
3 | import PackageDescription
4 |
5 | let package = Package(
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
6 | name: "GzipSwift",
7 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: 'spi-builder-workspace': ignoring duplicate product 'FlyingFox' from package 'flyingfox'
warning: 'spi-builder-workspace': ignoring duplicate product 'FlyingFox' from package 'flyingfox'
Building for debugging...
[0/62] Write sources
[0/62] Copying PrivacyInfo.xcprivacy
[0/62] Write sources
[21/62] Compiling system-zlib anchor.c
[22/62] Write sources
[27/62] Compiling CSystem shims.c
[28/62] Compiling _AtomicsShims.c
[29/62] Write swift-version-24593BA9C3E375BF.txt
[31/169] Emitting module SystemPackage
[32/173] Emitting module AnyCodable
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/173] Emitting module FlyingSocks
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[34/176] Emitting module Atomics
[35/178] Compiling SystemPackage RawIORequest.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[36/178] Compiling SystemPackage Backcompat.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[37/178] Compiling SystemPackage CInterop.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[38/178] Compiling SystemPackage Constants.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[39/178] Compiling SystemPackage FilePathTemp.swift
[40/178] Compiling SystemPackage FilePathTempPosix.swift
[41/180] Compiling SystemPackage WindowsSyscallAdapters.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[42/180] Compiling SystemPackage MachPort.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[43/180] Compiling SystemPackage PlatformString.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[44/180] Compiling SystemPackage IORing.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[45/180] Compiling InternalCollectionsUtilities _SortedCollection.swift
[46/180] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[47/180] Compiling SystemPackage FileOperations.swift
[48/180] Compiling SystemPackage FilePathWindows.swift
[49/180] Compiling SystemPackage ErrnoWindows.swift
[50/180] Compiling SystemPackage FileDescriptor.swift
[51/180] Compiling SystemPackage FileHelpers.swift
[52/180] Compiling SystemPackage FilePath.swift
[53/180] Compiling SystemPackage FilePathComponentView.swift
[54/180] Compiling SystemPackage FilePathComponents.swift
[55/180] Compiling SystemPackage FilePathParsing.swift
[56/180] Compiling SystemPackage FilePathString.swift
[57/180] Compiling SystemPackage Errno.swift
[60/180] Emitting module InternalCollectionsUtilities
[64/180] Compiling SystemPackage IORequest.swift
[65/180] Compiling SystemPackage FilePathSyntax.swift
[70/180] Compiling SystemPackage FilePermissions.swift
[71/180] Compiling SystemPackage IOCompletion.swift
[76/181] Compiling SystemPackage SystemString.swift
[77/181] Compiling SystemPackage Util+StringArray.swift
[78/181] Compiling SystemPackage Util.swift
[79/181] Compiling SystemPackage UtilConsumers.swift
[87/181] Compiling Logging LogEvent.swift
[112/192] Compiling FlyingSocks SwiftSupport.swift
[113/192] Compiling FlyingSocks Task+Timeout.swift
[114/192] Compiling FlyingSocks Transferring.swift
[119/214] Compiling Logging MetadataProvider.swift
[120/225] Emitting module Logging
[121/225] Compiling Logging Locks.swift
[123/308] Compiling _RopeModule BigString+Chunk+UTF8.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[124/308] Compiling _RopeModule BigString+Chunk+UnicodeScalar.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[125/308] Compiling _RopeModule BigString+Builder.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[126/308] Compiling _RopeModule BigString+Contents.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[127/311] Compiling _RopeModule BigString+ReplaceSubrange.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[128/311] Compiling _RopeModule BigString+Split.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[129/311] Compiling _RopeModule Range+BigString.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[130/311] Compiling _RopeModule BigString+Chunk+Breaks.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[131/311] Compiling _RopeModule BigString+Chunk+Character.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[132/311] Compiling _RopeModule BigString+Chunk+Counts.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[133/311] Compiling _RopeModule BigString+Chunk+Description.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[134/311] Compiling _RopeModule BigString+Chunk+Index.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[135/311] Compiling _RopeModule BigString+Chunk+RopeElement.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[136/311] Compiling _RopeModule BigString+Chunk+Splitting.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[137/311] Compiling _RopeModule BigString+Chunk+UTF16.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[138/311] Compiling _RopeModule BigString+Metrics.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[139/311] Compiling _RopeModule BigString+Summary.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[140/311] Compiling _RopeModule BigString.swift
/host/spi-builder-workspace/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[141/311] Compiling SocketAddress Utils.swift
/host/spi-builder-workspace/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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 |
[142/311] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[143/311] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:34:12: error: no such module 'zlib'
32 | import zlibLinux
33 | #else
34 | import zlib
| `- error: no such module 'zlib'
35 | #endif
36 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[144/311] Emitting module SocketAddress
/host/spi-builder-workspace/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/SocketAddress/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/.build/checkouts/FlyingFox/FlyingSocks/Sources/SocketPool.swift:32:8: error: no such module 'Dispatch'
30 | //
31 |
32 | import Dispatch
| `- error: no such module 'Dispatch'
33 | import Foundation
34 |
[144/311] Compiling SQLiteSwiftCSQLite sqlite3.c
BUILD FAILURE 6.3 wasm