Build Information
Failed to build swift-nio, reference main (56f9b7), with Swift 6.3 for Wasm on 15 Apr 2026 12:08:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/johnnzhou/swift-nio.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/johnnzhou/swift-nio
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 56f9b7c Fix flaky test testTasksScheduledDuringShutdownAreAutomaticallyCancel… (#3036)
Cloned https://github.com/johnnzhou/swift-nio.git
Revision (git rev-parse @):
56f9b7c6fc9525ba36236dbb151344f8c35288df
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/johnnzhou/swift-nio.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/johnnzhou/swift-nio.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[602/25357] Fetching swift-atomics, swift-collections
[3469/30958] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.64s)
Fetched https://github.com/apple/swift-system.git from cache (0.64s)
[3531/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.65s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.18s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.73s)
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Building for debugging...
[0/125] Compiling CNIODarwin shim.c
[1/125] Write sources
[3/125] Compiling CNIOLinux liburing_shims.c
[4/125] Write sources
[7/125] Compiling CNIOLLHTTP c_nio_http.c
[9/125] Write sources
[13/125] Write swift-version-24593BA9C3E375BF.txt
[13/125] Write sources
[17/125] Compiling _AtomicsShims.c
[18/125] Write sources
[21/125] Compiling CNIOLLHTTP c_nio_api.c
[22/125] Write sources
[43/131] Compiling CSystem shims.c
[44/131] Compiling CNIOWindows shim.c
[45/131] Compiling CNIOWindows WSAStartup.c
[46/131] Compiling CNIOWASI CNIOWASI.c
[47/150] Compiling CNIOSHA1 c_nio_sha1.c
[48/150] Compiling CNIOLinux shim.c
[49/150] Write sources
[51/198] Emitting module _NIOBase64
[52/198] Emitting module InternalCollectionsUtilities
[53/200] Emitting module SystemPackage
[53/204] Compiling CNIOLLHTTP c_nio_llhttp.c
[54/204] Compiling c-nioatomics.c
[55/204] Compiling c-atomics.c
[57/210] Compiling Atomics AtomicStorage.swift
[58/210] Compiling Atomics AtomicValue.swift
[59/210] Compiling Atomics DoubleWord.swift
[60/210] Compiling Atomics ManagedAtomic.swift
[61/210] Compiling Atomics ManagedAtomicLazyReference.swift
[62/210] Compiling _NIOBase64 Base64.swift
[63/211] Wrapping AST for _NIOBase64 for debugging
[65/211] Emitting module NIOConcurrencyHelpers
[66/211] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[67/211] Compiling InternalCollectionsUtilities _SortedCollection.swift
[68/211] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[69/211] Compiling Atomics AtomicReference.swift
[70/211] Compiling Atomics AtomicMemoryOrderings.swift
[71/211] Compiling Atomics UnsafeAtomic.swift
[72/211] Compiling Atomics UnsafeAtomicLazyReference.swift
[73/211] Compiling _NIODataStructures _TinyArray.swift
[74/211] Compiling SystemPackage Constants.swift
[75/211] Compiling SystemPackage Exports.swift
[76/211] Compiling SystemPackage Mocking.swift
[77/211] Compiling SystemPackage RawBuffer.swift
[87/211] Compiling SystemPackage WindowsSyscallAdapters.swift
[88/211] Compiling SystemPackage MachPort.swift
[89/211] Compiling SystemPackage PlatformString.swift
[90/213] Compiling NIOConcurrencyHelpers lock.swift
[91/213] Compiling Atomics IntegerConformances.swift
[92/213] Compiling Atomics PointerConformances.swift
[93/213] Compiling Atomics Primitives.native.swift
[94/213] Compiling Atomics OptionalRawRepresentable.swift
[95/213] Compiling Atomics RawRepresentable.swift
[96/213] Compiling Atomics AtomicBool.swift
[97/213] Compiling Atomics AtomicInteger.swift
[98/213] Compiling Atomics AtomicOptionalWrappable.swift
[99/213] Compiling _NIODataStructures PriorityQueue.swift
[101/213] Compiling SystemPackage IORing.swift
[102/213] Compiling SystemPackage RawIORequest.swift
[104/213] Compiling SystemPackage Backcompat.swift
[106/213] Compiling SystemPackage CInterop.swift
[111/214] Compiling SystemPackage SystemString.swift
[112/214] Compiling SystemPackage Util+StringArray.swift
[113/214] Compiling SystemPackage Util.swift
[114/214] Compiling SystemPackage UtilConsumers.swift
[116/214] Emitting module _NIODataStructures
[117/214] Compiling _NIODataStructures Heap.swift
[122/215] Emitting module Atomics
[129/215] Compiling Atomics IntegerOperations.swift
[134/215] Wrapping AST for InternalCollectionsUtilities for debugging
[140/215] Wrapping AST for _NIODataStructures for debugging
[143/249] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[144/249] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[145/249] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[146/249] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[147/249] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[148/253] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[149/253] Compiling ContainersPreview BorrowingSequence.swift
[150/253] Compiling ContainersPreview BidirectionalContainer.swift
[151/253] Compiling ContainersPreview Container+Filter.swift
[152/253] Compiling ContainersPreview Container+SpanwiseZip.swift
[153/253] Compiling NIOConcurrencyHelpers atomics.swift
[154/253] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[155/253] Compiling NIOConcurrencyHelpers NIOLock.swift
[155/253] Wrapping AST for SystemPackage for debugging
[157/253] Compiling ContainersPreview Drain+Reduce.swift
[158/253] Compiling ContainersPreview Drain.swift
[159/253] Compiling ContainersPreview Producer+Collect.swift
[160/253] Compiling ContainersPreview Producer+Filter.swift
[161/253] Compiling ContainersPreview Producer+Map.swift
[162/253] Compiling ContainersPreview Producer+Reduce.swift
[163/253] Compiling ContainersPreview Producer.swift
[164/253] Compiling ContainersPreview Borrow.swift
[167/255] Compiling ContainersPreview RandomAccessContainer.swift
[168/255] Compiling ContainersPreview RangeExpression2.swift
[169/255] Compiling ContainersPreview RangeReplaceableContainer.swift
[170/255] Compiling ContainersPreview Drain+Map.swift
[173/255] Compiling ContainersPreview Container.swift
[174/255] Compiling ContainersPreview ContainerIterator.swift
[175/255] Compiling ContainersPreview DynamicContainer.swift
[176/255] Compiling ContainersPreview MutableContainer.swift
[177/255] Compiling ContainersPreview PermutableContainer.swift
[178/255] Emitting module ContainersPreview
[178/255] Wrapping AST for NIOConcurrencyHelpers for debugging
[180/255] Compiling ContainersPreview Box.swift
[181/255] Compiling ContainersPreview Inout.swift
[182/255] Compiling ContainersPreview InputSpan.swift
[183/255] Compiling ContainersPreview Shared.swift
[183/255] Wrapping AST for Atomics for debugging
[185/255] Compiling ContainersPreview OutputSpan+Extras.swift
[186/255] Compiling ContainersPreview TemporaryAllocation.swift
[187/255] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[188/255] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[189/255] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[190/256] Wrapping AST for ContainersPreview for debugging
[192/296] Compiling DequeModule RigidDeque+Equatable.swift
[193/296] Compiling DequeModule RigidDeque+Experimental.swift
[194/296] Compiling DequeModule RigidDeque+Hashable.swift
[195/296] Compiling DequeModule RigidDeque+Initializers.swift
[196/296] Compiling DequeModule RigidDeque+Insertions.swift
[197/296] Compiling DequeModule RigidDeque+Prepend.swift
[198/301] Compiling DequeModule UniqueDeque+Hashable.swift
[199/301] Compiling DequeModule UniqueDeque+Initializers.swift
[200/301] Compiling DequeModule UniqueDeque+Insertions.swift
[201/301] Compiling DequeModule UniqueDeque+Prepend.swift
[202/301] Compiling DequeModule UniqueDeque+Removals.swift
[203/301] Compiling DequeModule RigidDeque+Removals.swift
[204/301] Compiling DequeModule RigidDeque+Replacements.swift
[205/301] Compiling DequeModule RigidDeque+Testing.swift
[206/301] Compiling DequeModule RigidDeque.swift
[207/301] Compiling DequeModule UniqueDeque+Append.swift
[208/301] Compiling DequeModule Deque+Codable.swift
[209/301] Compiling DequeModule Deque+Collection.swift
[210/301] Compiling DequeModule Deque+CustomReflectable.swift
[211/301] Compiling DequeModule Deque+Descriptions.swift
[212/301] Compiling DequeModule Deque+Equatable.swift
[213/301] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[214/301] Compiling DequeModule _DequeBuffer.swift
[215/301] Compiling DequeModule _DequeBufferHeader.swift
[216/301] Compiling DequeModule RigidDeque+Append.swift
[217/301] Compiling DequeModule RigidDeque+Consumption.swift
[218/301] Compiling DequeModule RigidDeque+Container.swift
[219/301] Compiling DequeModule RigidDeque+Descriptions.swift
[220/301] Compiling DequeModule UniqueDeque+Consumption.swift
[221/301] Compiling DequeModule UniqueDeque+Container.swift
[222/301] Compiling DequeModule UniqueDeque+Descriptions.swift
[223/301] Compiling DequeModule UniqueDeque+Equatable.swift
[224/301] Compiling DequeModule UniqueDeque+Experimental.swift
[225/301] Compiling DequeModule Deque+Extras.swift
[226/301] Compiling DequeModule Deque+Hashable.swift
[227/301] Compiling DequeModule Deque+Testing.swift
[228/301] Compiling DequeModule Deque._Storage.swift
[229/301] Compiling DequeModule Deque._UnsafeHandle.swift
[230/301] Compiling DequeModule Deque.swift
[231/301] Emitting module DequeModule
[232/301] Compiling DequeModule UniqueDeque+Replacements.swift
[233/301] Compiling DequeModule UniqueDeque.swift
[234/301] Compiling DequeModule _DequeSlot.swift
[235/301] Compiling DequeModule _UnsafeDequeHandle.swift
[236/301] Compiling DequeModule _UnsafeDequeSegments.swift
[237/302] Wrapping AST for DequeModule for debugging
[239/361] Compiling NIOCore GlobalSingletons.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[240/361] Compiling NIOCore IO.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[241/361] Compiling NIOCore IOData.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[242/361] Compiling NIOCore IPProtocol.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[243/361] Compiling NIOCore IntegerBitPacking.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[244/361] Compiling NIOCore IntegerTypes.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[245/361] Compiling NIOCore Interfaces.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[246/361] Compiling NIOCore Linux.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[247/369] Compiling NIOCore MarkedCircularBuffer.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[248/369] Compiling NIOCore MulticastChannel.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[249/369] Compiling NIOCore NIOAny.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[250/369] Compiling NIOCore NIOCloseOnErrorHandler.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[251/369] Compiling NIOCore NIOLoopBound.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[252/369] Compiling NIOCore NIOScheduledCallback.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[253/369] Compiling NIOCore NIOSendable.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[254/369] Compiling NIOCore RecvByteBufferAllocator.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[255/369] Compiling NIOCore EventLoop.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:81:37: error: cannot find type 'OneUInt32' in scope
79 |
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
| `- error: cannot find type 'OneUInt32' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:82:36: error: cannot find type 'OneUInt32' in scope
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
| `- error: cannot find type 'OneUInt32' in scope
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:83:35: error: cannot find type 'OneUInt32' in scope
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
| `- error: cannot find type 'OneUInt32' in scope
84 | internal var rawValue: TwoUInt32s
85 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:84:28: error: cannot find type 'TwoUInt32s' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
85 |
86 | internal init(rawValue: TwoUInt32s) {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:86:29: error: cannot find type 'TwoUInt32s' in scope
84 | internal var rawValue: TwoUInt32s
85 |
86 | internal init(rawValue: TwoUInt32s) {
| `- error: cannot find type 'TwoUInt32s' in scope
87 | self.rawValue = rawValue
88 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:151:42: error: cannot find type 'TwoUInt32s' in scope
149 | public final class NIOFileHandle: FileDescriptor & Sendable {
150 | private static let descriptorClosed: CInt = CInt.min
151 | private let descriptor: UnsafeAtomic<TwoUInt32s>
| `- error: cannot find type 'TwoUInt32s' in scope
152 |
153 | public var isOpen: Bool {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:160:23: error: cannot find type 'TwoUInt32s' in scope
158 |
159 | private static func interpretDescriptorValueThrowIfInUseOrNotOpen(
160 | _ descriptor: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:91:25: error: cannot find 'TwoUInt32s' in scope
89 |
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
| `- error: cannot find 'TwoUInt32s' in scope
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
93 | second: Self.openValue
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:92:21: error: cannot infer contextual base in reference to member 'init'
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
| `- error: cannot infer contextual base in reference to member 'init'
93 | second: Self.openValue
94 | )
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:102:36: error: cannot infer contextual base in reference to member 'init'
100 | }
101 | set {
102 | self.rawValue.first = .init(truncatingIfNeeded: CUnsignedInt(bitPattern: newValue))
| `- error: cannot infer contextual base in reference to member 'init'
103 | }
104 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:154:28: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
152 |
153 | public var isOpen: Bool {
154 | FileDescriptorState(
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
156 | ).isOpen
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:155:55: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
153 | public var isOpen: Bool {
154 | FileDescriptorState(
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
156 | ).isOpen
157 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:162:50: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
160 | _ descriptor: TwoUInt32s
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
163 | if descriptorState.isOpen {
164 | return descriptorState
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:173:58: error: cannot infer contextual base in reference to member 'relaxed'
171 |
172 | private func peekAtDescriptorIfOpen() throws -> FileDescriptorState {
173 | let descriptor = self.descriptor.load(ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
174 | return try Self.interpretDescriptorValueThrowIfInUseOrNotOpen(descriptor)
175 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:226:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
224 | expected: expected.rawValue,
225 | desired: desired.rawValue,
226 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:228:47: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
226 | ordering: .sequentiallyConsistent
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
229 | fatalError("bug in NIO (please report): NIOFileDescritor activate failed \(original)")
230 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:247:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
245 | expected: peekedDescriptor.rawValue,
246 | desired: desired.rawValue,
247 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
248 | )
249 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:56: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:99: error: cannot infer contextual base in reference to member 'relaxed'
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: cannot infer contextual base in reference to member 'relaxed'
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
44 | /// - Note: It is important to manually manage the lifetime of the ``NIOFileHandle`` used to create a ``FileRegion``.
45 | /// - Note: As of SwiftNIO 2.77.0, `FileRegion` objects are are thread-safe and the underlying ``NIOFileHandle`` does enforce singular access.
46 | public struct FileRegion: Sendable {
| `- note: 'FileRegion' declares conformance to protocol 'Sendable' here
47 |
48 | /// The `NIOFileHandle` that is used by this `FileRegion`.
:
95 |
96 | @available(*, unavailable)
97 | extension FileRegion: Sendable {}
| `- warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
98 |
99 | extension FileRegion {
[256/369] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:81:37: error: cannot find type 'OneUInt32' in scope
79 |
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
| `- error: cannot find type 'OneUInt32' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:82:36: error: cannot find type 'OneUInt32' in scope
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
| `- error: cannot find type 'OneUInt32' in scope
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:83:35: error: cannot find type 'OneUInt32' in scope
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
| `- error: cannot find type 'OneUInt32' in scope
84 | internal var rawValue: TwoUInt32s
85 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:84:28: error: cannot find type 'TwoUInt32s' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
85 |
86 | internal init(rawValue: TwoUInt32s) {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:86:29: error: cannot find type 'TwoUInt32s' in scope
84 | internal var rawValue: TwoUInt32s
85 |
86 | internal init(rawValue: TwoUInt32s) {
| `- error: cannot find type 'TwoUInt32s' in scope
87 | self.rawValue = rawValue
88 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:151:42: error: cannot find type 'TwoUInt32s' in scope
149 | public final class NIOFileHandle: FileDescriptor & Sendable {
150 | private static let descriptorClosed: CInt = CInt.min
151 | private let descriptor: UnsafeAtomic<TwoUInt32s>
| `- error: cannot find type 'TwoUInt32s' in scope
152 |
153 | public var isOpen: Bool {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:160:23: error: cannot find type 'TwoUInt32s' in scope
158 |
159 | private static func interpretDescriptorValueThrowIfInUseOrNotOpen(
160 | _ descriptor: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:91:25: error: cannot find 'TwoUInt32s' in scope
89 |
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
| `- error: cannot find 'TwoUInt32s' in scope
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
93 | second: Self.openValue
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:92:21: error: cannot infer contextual base in reference to member 'init'
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
| `- error: cannot infer contextual base in reference to member 'init'
93 | second: Self.openValue
94 | )
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:102:36: error: cannot infer contextual base in reference to member 'init'
100 | }
101 | set {
102 | self.rawValue.first = .init(truncatingIfNeeded: CUnsignedInt(bitPattern: newValue))
| `- error: cannot infer contextual base in reference to member 'init'
103 | }
104 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:154:28: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
152 |
153 | public var isOpen: Bool {
154 | FileDescriptorState(
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
156 | ).isOpen
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:155:55: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
153 | public var isOpen: Bool {
154 | FileDescriptorState(
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
156 | ).isOpen
157 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:162:50: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
160 | _ descriptor: TwoUInt32s
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
163 | if descriptorState.isOpen {
164 | return descriptorState
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:173:58: error: cannot infer contextual base in reference to member 'relaxed'
171 |
172 | private func peekAtDescriptorIfOpen() throws -> FileDescriptorState {
173 | let descriptor = self.descriptor.load(ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
174 | return try Self.interpretDescriptorValueThrowIfInUseOrNotOpen(descriptor)
175 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:226:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
224 | expected: expected.rawValue,
225 | desired: desired.rawValue,
226 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:228:47: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
226 | ordering: .sequentiallyConsistent
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
229 | fatalError("bug in NIO (please report): NIOFileDescritor activate failed \(original)")
230 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:247:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
245 | expected: peekedDescriptor.rawValue,
246 | desired: desired.rawValue,
247 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
248 | )
249 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:56: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:99: error: cannot infer contextual base in reference to member 'relaxed'
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: cannot infer contextual base in reference to member 'relaxed'
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
44 | /// - Note: It is important to manually manage the lifetime of the ``NIOFileHandle`` used to create a ``FileRegion``.
45 | /// - Note: As of SwiftNIO 2.77.0, `FileRegion` objects are are thread-safe and the underlying ``NIOFileHandle`` does enforce singular access.
46 | public struct FileRegion: Sendable {
| `- note: 'FileRegion' declares conformance to protocol 'Sendable' here
47 |
48 | /// The `NIOFileHandle` that is used by this `FileRegion`.
:
95 |
96 | @available(*, unavailable)
97 | extension FileRegion: Sendable {}
| `- warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
98 |
99 | extension FileRegion {
[257/369] Compiling NIOCore EventLoopFuture+Deprecated.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:81:37: error: cannot find type 'OneUInt32' in scope
79 |
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
| `- error: cannot find type 'OneUInt32' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:82:36: error: cannot find type 'OneUInt32' in scope
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
| `- error: cannot find type 'OneUInt32' in scope
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:83:35: error: cannot find type 'OneUInt32' in scope
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
| `- error: cannot find type 'OneUInt32' in scope
84 | internal var rawValue: TwoUInt32s
85 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:84:28: error: cannot find type 'TwoUInt32s' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
85 |
86 | internal init(rawValue: TwoUInt32s) {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:86:29: error: cannot find type 'TwoUInt32s' in scope
84 | internal var rawValue: TwoUInt32s
85 |
86 | internal init(rawValue: TwoUInt32s) {
| `- error: cannot find type 'TwoUInt32s' in scope
87 | self.rawValue = rawValue
88 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:151:42: error: cannot find type 'TwoUInt32s' in scope
149 | public final class NIOFileHandle: FileDescriptor & Sendable {
150 | private static let descriptorClosed: CInt = CInt.min
151 | private let descriptor: UnsafeAtomic<TwoUInt32s>
| `- error: cannot find type 'TwoUInt32s' in scope
152 |
153 | public var isOpen: Bool {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:160:23: error: cannot find type 'TwoUInt32s' in scope
158 |
159 | private static func interpretDescriptorValueThrowIfInUseOrNotOpen(
160 | _ descriptor: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:91:25: error: cannot find 'TwoUInt32s' in scope
89 |
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
| `- error: cannot find 'TwoUInt32s' in scope
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
93 | second: Self.openValue
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:92:21: error: cannot infer contextual base in reference to member 'init'
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
| `- error: cannot infer contextual base in reference to member 'init'
93 | second: Self.openValue
94 | )
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:102:36: error: cannot infer contextual base in reference to member 'init'
100 | }
101 | set {
102 | self.rawValue.first = .init(truncatingIfNeeded: CUnsignedInt(bitPattern: newValue))
| `- error: cannot infer contextual base in reference to member 'init'
103 | }
104 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:154:28: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
152 |
153 | public var isOpen: Bool {
154 | FileDescriptorState(
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
156 | ).isOpen
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:155:55: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
153 | public var isOpen: Bool {
154 | FileDescriptorState(
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
156 | ).isOpen
157 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:162:50: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
160 | _ descriptor: TwoUInt32s
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
163 | if descriptorState.isOpen {
164 | return descriptorState
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:173:58: error: cannot infer contextual base in reference to member 'relaxed'
171 |
172 | private func peekAtDescriptorIfOpen() throws -> FileDescriptorState {
173 | let descriptor = self.descriptor.load(ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
174 | return try Self.interpretDescriptorValueThrowIfInUseOrNotOpen(descriptor)
175 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:226:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
224 | expected: expected.rawValue,
225 | desired: desired.rawValue,
226 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:228:47: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
226 | ordering: .sequentiallyConsistent
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
229 | fatalError("bug in NIO (please report): NIOFileDescritor activate failed \(original)")
230 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:247:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
245 | expected: peekedDescriptor.rawValue,
246 | desired: desired.rawValue,
247 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
248 | )
249 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:56: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:99: error: cannot infer contextual base in reference to member 'relaxed'
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: cannot infer contextual base in reference to member 'relaxed'
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
44 | /// - Note: It is important to manually manage the lifetime of the ``NIOFileHandle`` used to create a ``FileRegion``.
45 | /// - Note: As of SwiftNIO 2.77.0, `FileRegion` objects are are thread-safe and the underlying ``NIOFileHandle`` does enforce singular access.
46 | public struct FileRegion: Sendable {
| `- note: 'FileRegion' declares conformance to protocol 'Sendable' here
47 |
48 | /// The `NIOFileHandle` that is used by this `FileRegion`.
:
95 |
96 | @available(*, unavailable)
97 | extension FileRegion: Sendable {}
| `- warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
98 |
99 | extension FileRegion {
[258/369] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:81:37: error: cannot find type 'OneUInt32' in scope
79 |
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
| `- error: cannot find type 'OneUInt32' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:82:36: error: cannot find type 'OneUInt32' in scope
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
| `- error: cannot find type 'OneUInt32' in scope
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:83:35: error: cannot find type 'OneUInt32' in scope
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
| `- error: cannot find type 'OneUInt32' in scope
84 | internal var rawValue: TwoUInt32s
85 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:84:28: error: cannot find type 'TwoUInt32s' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
85 |
86 | internal init(rawValue: TwoUInt32s) {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:86:29: error: cannot find type 'TwoUInt32s' in scope
84 | internal var rawValue: TwoUInt32s
85 |
86 | internal init(rawValue: TwoUInt32s) {
| `- error: cannot find type 'TwoUInt32s' in scope
87 | self.rawValue = rawValue
88 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:151:42: error: cannot find type 'TwoUInt32s' in scope
149 | public final class NIOFileHandle: FileDescriptor & Sendable {
150 | private static let descriptorClosed: CInt = CInt.min
151 | private let descriptor: UnsafeAtomic<TwoUInt32s>
| `- error: cannot find type 'TwoUInt32s' in scope
152 |
153 | public var isOpen: Bool {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:160:23: error: cannot find type 'TwoUInt32s' in scope
158 |
159 | private static func interpretDescriptorValueThrowIfInUseOrNotOpen(
160 | _ descriptor: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:91:25: error: cannot find 'TwoUInt32s' in scope
89 |
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
| `- error: cannot find 'TwoUInt32s' in scope
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
93 | second: Self.openValue
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:92:21: error: cannot infer contextual base in reference to member 'init'
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
| `- error: cannot infer contextual base in reference to member 'init'
93 | second: Self.openValue
94 | )
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:102:36: error: cannot infer contextual base in reference to member 'init'
100 | }
101 | set {
102 | self.rawValue.first = .init(truncatingIfNeeded: CUnsignedInt(bitPattern: newValue))
| `- error: cannot infer contextual base in reference to member 'init'
103 | }
104 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:154:28: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
152 |
153 | public var isOpen: Bool {
154 | FileDescriptorState(
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
156 | ).isOpen
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:155:55: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
153 | public var isOpen: Bool {
154 | FileDescriptorState(
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
156 | ).isOpen
157 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:162:50: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
160 | _ descriptor: TwoUInt32s
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
163 | if descriptorState.isOpen {
164 | return descriptorState
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:173:58: error: cannot infer contextual base in reference to member 'relaxed'
171 |
172 | private func peekAtDescriptorIfOpen() throws -> FileDescriptorState {
173 | let descriptor = self.descriptor.load(ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
174 | return try Self.interpretDescriptorValueThrowIfInUseOrNotOpen(descriptor)
175 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:226:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
224 | expected: expected.rawValue,
225 | desired: desired.rawValue,
226 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:228:47: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
226 | ordering: .sequentiallyConsistent
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
229 | fatalError("bug in NIO (please report): NIOFileDescritor activate failed \(original)")
230 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:247:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
245 | expected: peekedDescriptor.rawValue,
246 | desired: desired.rawValue,
247 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
248 | )
249 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:56: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:99: error: cannot infer contextual base in reference to member 'relaxed'
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: cannot infer contextual base in reference to member 'relaxed'
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
44 | /// - Note: It is important to manually manage the lifetime of the ``NIOFileHandle`` used to create a ``FileRegion``.
45 | /// - Note: As of SwiftNIO 2.77.0, `FileRegion` objects are are thread-safe and the underlying ``NIOFileHandle`` does enforce singular access.
46 | public struct FileRegion: Sendable {
| `- note: 'FileRegion' declares conformance to protocol 'Sendable' here
47 |
48 | /// The `NIOFileHandle` that is used by this `FileRegion`.
:
95 |
96 | @available(*, unavailable)
97 | extension FileRegion: Sendable {}
| `- warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
98 |
99 | extension FileRegion {
[259/369] Compiling NIOCore EventLoopFuture.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:81:37: error: cannot find type 'OneUInt32' in scope
79 |
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
| `- error: cannot find type 'OneUInt32' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:82:36: error: cannot find type 'OneUInt32' in scope
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
| `- error: cannot find type 'OneUInt32' in scope
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:83:35: error: cannot find type 'OneUInt32' in scope
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
| `- error: cannot find type 'OneUInt32' in scope
84 | internal var rawValue: TwoUInt32s
85 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:84:28: error: cannot find type 'TwoUInt32s' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
85 |
86 | internal init(rawValue: TwoUInt32s) {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:86:29: error: cannot find type 'TwoUInt32s' in scope
84 | internal var rawValue: TwoUInt32s
85 |
86 | internal init(rawValue: TwoUInt32s) {
| `- error: cannot find type 'TwoUInt32s' in scope
87 | self.rawValue = rawValue
88 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:151:42: error: cannot find type 'TwoUInt32s' in scope
149 | public final class NIOFileHandle: FileDescriptor & Sendable {
150 | private static let descriptorClosed: CInt = CInt.min
151 | private let descriptor: UnsafeAtomic<TwoUInt32s>
| `- error: cannot find type 'TwoUInt32s' in scope
152 |
153 | public var isOpen: Bool {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:160:23: error: cannot find type 'TwoUInt32s' in scope
158 |
159 | private static func interpretDescriptorValueThrowIfInUseOrNotOpen(
160 | _ descriptor: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:91:25: error: cannot find 'TwoUInt32s' in scope
89 |
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
| `- error: cannot find 'TwoUInt32s' in scope
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
93 | second: Self.openValue
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:92:21: error: cannot infer contextual base in reference to member 'init'
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
| `- error: cannot infer contextual base in reference to member 'init'
93 | second: Self.openValue
94 | )
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:102:36: error: cannot infer contextual base in reference to member 'init'
100 | }
101 | set {
102 | self.rawValue.first = .init(truncatingIfNeeded: CUnsignedInt(bitPattern: newValue))
| `- error: cannot infer contextual base in reference to member 'init'
103 | }
104 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:154:28: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
152 |
153 | public var isOpen: Bool {
154 | FileDescriptorState(
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
156 | ).isOpen
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:155:55: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
153 | public var isOpen: Bool {
154 | FileDescriptorState(
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
156 | ).isOpen
157 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:162:50: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
160 | _ descriptor: TwoUInt32s
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
163 | if descriptorState.isOpen {
164 | return descriptorState
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:173:58: error: cannot infer contextual base in reference to member 'relaxed'
171 |
172 | private func peekAtDescriptorIfOpen() throws -> FileDescriptorState {
173 | let descriptor = self.descriptor.load(ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
174 | return try Self.interpretDescriptorValueThrowIfInUseOrNotOpen(descriptor)
175 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:226:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
224 | expected: expected.rawValue,
225 | desired: desired.rawValue,
226 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:228:47: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
226 | ordering: .sequentiallyConsistent
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
229 | fatalError("bug in NIO (please report): NIOFileDescritor activate failed \(original)")
230 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:247:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
245 | expected: peekedDescriptor.rawValue,
246 | desired: desired.rawValue,
247 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
248 | )
249 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:56: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:99: error: cannot infer contextual base in reference to member 'relaxed'
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: cannot infer contextual base in reference to member 'relaxed'
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
44 | /// - Note: It is important to manually manage the lifetime of the ``NIOFileHandle`` used to create a ``FileRegion``.
45 | /// - Note: As of SwiftNIO 2.77.0, `FileRegion` objects are are thread-safe and the underlying ``NIOFileHandle`` does enforce singular access.
46 | public struct FileRegion: Sendable {
| `- note: 'FileRegion' declares conformance to protocol 'Sendable' here
47 |
48 | /// The `NIOFileHandle` that is used by this `FileRegion`.
:
95 |
96 | @available(*, unavailable)
97 | extension FileRegion: Sendable {}
| `- warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
98 |
99 | extension FileRegion {
[260/369] Compiling NIOCore FileDescriptor.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:81:37: error: cannot find type 'OneUInt32' in scope
79 |
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
| `- error: cannot find type 'OneUInt32' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:82:36: error: cannot find type 'OneUInt32' in scope
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
| `- error: cannot find type 'OneUInt32' in scope
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:83:35: error: cannot find type 'OneUInt32' in scope
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
| `- error: cannot find type 'OneUInt32' in scope
84 | internal var rawValue: TwoUInt32s
85 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:84:28: error: cannot find type 'TwoUInt32s' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
85 |
86 | internal init(rawValue: TwoUInt32s) {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:86:29: error: cannot find type 'TwoUInt32s' in scope
84 | internal var rawValue: TwoUInt32s
85 |
86 | internal init(rawValue: TwoUInt32s) {
| `- error: cannot find type 'TwoUInt32s' in scope
87 | self.rawValue = rawValue
88 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:151:42: error: cannot find type 'TwoUInt32s' in scope
149 | public final class NIOFileHandle: FileDescriptor & Sendable {
150 | private static let descriptorClosed: CInt = CInt.min
151 | private let descriptor: UnsafeAtomic<TwoUInt32s>
| `- error: cannot find type 'TwoUInt32s' in scope
152 |
153 | public var isOpen: Bool {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:160:23: error: cannot find type 'TwoUInt32s' in scope
158 |
159 | private static func interpretDescriptorValueThrowIfInUseOrNotOpen(
160 | _ descriptor: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:91:25: error: cannot find 'TwoUInt32s' in scope
89 |
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
| `- error: cannot find 'TwoUInt32s' in scope
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
93 | second: Self.openValue
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:92:21: error: cannot infer contextual base in reference to member 'init'
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
| `- error: cannot infer contextual base in reference to member 'init'
93 | second: Self.openValue
94 | )
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:102:36: error: cannot infer contextual base in reference to member 'init'
100 | }
101 | set {
102 | self.rawValue.first = .init(truncatingIfNeeded: CUnsignedInt(bitPattern: newValue))
| `- error: cannot infer contextual base in reference to member 'init'
103 | }
104 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:154:28: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
152 |
153 | public var isOpen: Bool {
154 | FileDescriptorState(
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
156 | ).isOpen
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:155:55: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
153 | public var isOpen: Bool {
154 | FileDescriptorState(
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
156 | ).isOpen
157 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:162:50: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
160 | _ descriptor: TwoUInt32s
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
163 | if descriptorState.isOpen {
164 | return descriptorState
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:173:58: error: cannot infer contextual base in reference to member 'relaxed'
171 |
172 | private func peekAtDescriptorIfOpen() throws -> FileDescriptorState {
173 | let descriptor = self.descriptor.load(ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
174 | return try Self.interpretDescriptorValueThrowIfInUseOrNotOpen(descriptor)
175 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:226:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
224 | expected: expected.rawValue,
225 | desired: desired.rawValue,
226 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:228:47: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
226 | ordering: .sequentiallyConsistent
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
229 | fatalError("bug in NIO (please report): NIOFileDescritor activate failed \(original)")
230 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:247:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
245 | expected: peekedDescriptor.rawValue,
246 | desired: desired.rawValue,
247 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
248 | )
249 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:56: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:99: error: cannot infer contextual base in reference to member 'relaxed'
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: cannot infer contextual base in reference to member 'relaxed'
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
44 | /// - Note: It is important to manually manage the lifetime of the ``NIOFileHandle`` used to create a ``FileRegion``.
45 | /// - Note: As of SwiftNIO 2.77.0, `FileRegion` objects are are thread-safe and the underlying ``NIOFileHandle`` does enforce singular access.
46 | public struct FileRegion: Sendable {
| `- note: 'FileRegion' declares conformance to protocol 'Sendable' here
47 |
48 | /// The `NIOFileHandle` that is used by this `FileRegion`.
:
95 |
96 | @available(*, unavailable)
97 | extension FileRegion: Sendable {}
| `- warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
98 |
99 | extension FileRegion {
[261/369] Compiling NIOCore FileHandle.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:81:37: error: cannot find type 'OneUInt32' in scope
79 |
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
| `- error: cannot find type 'OneUInt32' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:82:36: error: cannot find type 'OneUInt32' in scope
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
| `- error: cannot find type 'OneUInt32' in scope
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:83:35: error: cannot find type 'OneUInt32' in scope
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
| `- error: cannot find type 'OneUInt32' in scope
84 | internal var rawValue: TwoUInt32s
85 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:84:28: error: cannot find type 'TwoUInt32s' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
85 |
86 | internal init(rawValue: TwoUInt32s) {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:86:29: error: cannot find type 'TwoUInt32s' in scope
84 | internal var rawValue: TwoUInt32s
85 |
86 | internal init(rawValue: TwoUInt32s) {
| `- error: cannot find type 'TwoUInt32s' in scope
87 | self.rawValue = rawValue
88 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:151:42: error: cannot find type 'TwoUInt32s' in scope
149 | public final class NIOFileHandle: FileDescriptor & Sendable {
150 | private static let descriptorClosed: CInt = CInt.min
151 | private let descriptor: UnsafeAtomic<TwoUInt32s>
| `- error: cannot find type 'TwoUInt32s' in scope
152 |
153 | public var isOpen: Bool {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:160:23: error: cannot find type 'TwoUInt32s' in scope
158 |
159 | private static func interpretDescriptorValueThrowIfInUseOrNotOpen(
160 | _ descriptor: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:91:25: error: cannot find 'TwoUInt32s' in scope
89 |
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
| `- error: cannot find 'TwoUInt32s' in scope
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
93 | second: Self.openValue
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:92:21: error: cannot infer contextual base in reference to member 'init'
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
| `- error: cannot infer contextual base in reference to member 'init'
93 | second: Self.openValue
94 | )
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:102:36: error: cannot infer contextual base in reference to member 'init'
100 | }
101 | set {
102 | self.rawValue.first = .init(truncatingIfNeeded: CUnsignedInt(bitPattern: newValue))
| `- error: cannot infer contextual base in reference to member 'init'
103 | }
104 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:154:28: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
152 |
153 | public var isOpen: Bool {
154 | FileDescriptorState(
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
156 | ).isOpen
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:155:55: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
153 | public var isOpen: Bool {
154 | FileDescriptorState(
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
156 | ).isOpen
157 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:162:50: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
160 | _ descriptor: TwoUInt32s
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
163 | if descriptorState.isOpen {
164 | return descriptorState
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:173:58: error: cannot infer contextual base in reference to member 'relaxed'
171 |
172 | private func peekAtDescriptorIfOpen() throws -> FileDescriptorState {
173 | let descriptor = self.descriptor.load(ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
174 | return try Self.interpretDescriptorValueThrowIfInUseOrNotOpen(descriptor)
175 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:226:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
224 | expected: expected.rawValue,
225 | desired: desired.rawValue,
226 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:228:47: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
226 | ordering: .sequentiallyConsistent
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
229 | fatalError("bug in NIO (please report): NIOFileDescritor activate failed \(original)")
230 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:247:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
245 | expected: peekedDescriptor.rawValue,
246 | desired: desired.rawValue,
247 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
248 | )
249 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:56: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:99: error: cannot infer contextual base in reference to member 'relaxed'
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: cannot infer contextual base in reference to member 'relaxed'
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
44 | /// - Note: It is important to manually manage the lifetime of the ``NIOFileHandle`` used to create a ``FileRegion``.
45 | /// - Note: As of SwiftNIO 2.77.0, `FileRegion` objects are are thread-safe and the underlying ``NIOFileHandle`` does enforce singular access.
46 | public struct FileRegion: Sendable {
| `- note: 'FileRegion' declares conformance to protocol 'Sendable' here
47 |
48 | /// The `NIOFileHandle` that is used by this `FileRegion`.
:
95 |
96 | @available(*, unavailable)
97 | extension FileRegion: Sendable {}
| `- warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
98 |
99 | extension FileRegion {
[262/369] Compiling NIOCore FileRegion.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:81:37: error: cannot find type 'OneUInt32' in scope
79 |
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
| `- error: cannot find type 'OneUInt32' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:82:36: error: cannot find type 'OneUInt32' in scope
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
| `- error: cannot find type 'OneUInt32' in scope
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:83:35: error: cannot find type 'OneUInt32' in scope
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
| `- error: cannot find type 'OneUInt32' in scope
84 | internal var rawValue: TwoUInt32s
85 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:84:28: error: cannot find type 'TwoUInt32s' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
85 |
86 | internal init(rawValue: TwoUInt32s) {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:86:29: error: cannot find type 'TwoUInt32s' in scope
84 | internal var rawValue: TwoUInt32s
85 |
86 | internal init(rawValue: TwoUInt32s) {
| `- error: cannot find type 'TwoUInt32s' in scope
87 | self.rawValue = rawValue
88 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:151:42: error: cannot find type 'TwoUInt32s' in scope
149 | public final class NIOFileHandle: FileDescriptor & Sendable {
150 | private static let descriptorClosed: CInt = CInt.min
151 | private let descriptor: UnsafeAtomic<TwoUInt32s>
| `- error: cannot find type 'TwoUInt32s' in scope
152 |
153 | public var isOpen: Bool {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:160:23: error: cannot find type 'TwoUInt32s' in scope
158 |
159 | private static func interpretDescriptorValueThrowIfInUseOrNotOpen(
160 | _ descriptor: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:91:25: error: cannot find 'TwoUInt32s' in scope
89 |
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
| `- error: cannot find 'TwoUInt32s' in scope
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
93 | second: Self.openValue
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:92:21: error: cannot infer contextual base in reference to member 'init'
90 | internal init(descriptor: CInt) {
91 | self.rawValue = TwoUInt32s(
92 | first: .init(truncatingIfNeeded: CUnsignedInt(bitPattern: descriptor)),
| `- error: cannot infer contextual base in reference to member 'init'
93 | second: Self.openValue
94 | )
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:102:36: error: cannot infer contextual base in reference to member 'init'
100 | }
101 | set {
102 | self.rawValue.first = .init(truncatingIfNeeded: CUnsignedInt(bitPattern: newValue))
| `- error: cannot infer contextual base in reference to member 'init'
103 | }
104 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:154:28: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
152 |
153 | public var isOpen: Bool {
154 | FileDescriptorState(
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
156 | ).isOpen
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:155:55: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
153 | public var isOpen: Bool {
154 | FileDescriptorState(
155 | rawValue: self.descriptor.load(ordering: .sequentiallyConsistent)
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
156 | ).isOpen
157 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:162:50: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
160 | _ descriptor: TwoUInt32s
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
163 | if descriptorState.isOpen {
164 | return descriptorState
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:173:58: error: cannot infer contextual base in reference to member 'relaxed'
171 |
172 | private func peekAtDescriptorIfOpen() throws -> FileDescriptorState {
173 | let descriptor = self.descriptor.load(ordering: .relaxed)
| `- error: cannot infer contextual base in reference to member 'relaxed'
174 | return try Self.interpretDescriptorValueThrowIfInUseOrNotOpen(descriptor)
175 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:226:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
224 | expected: expected.rawValue,
225 | desired: desired.rawValue,
226 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:228:47: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
226 | ordering: .sequentiallyConsistent
227 | )
228 | guard exchanged || FileDescriptorState(rawValue: original).isClosed else {
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
229 | fatalError("bug in NIO (please report): NIOFileDescritor activate failed \(original)")
230 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:247:24: error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
245 | expected: peekedDescriptor.rawValue,
246 | desired: desired.rawValue,
247 | ordering: .sequentiallyConsistent
| `- error: cannot infer contextual base in reference to member 'sequentiallyConsistent'
248 | )
249 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:56: error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: incorrect argument label in call (have 'rawValue:', expected 'descriptor:')
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:435:99: error: cannot infer contextual base in reference to member 'relaxed'
433 | extension NIOFileHandle: CustomStringConvertible {
434 | public var description: String {
435 | "FileHandle { descriptor: \(FileDescriptorState(rawValue: self.descriptor.load(ordering: .relaxed)).descriptor) }"
| `- error: cannot infer contextual base in reference to member 'relaxed'
436 | }
437 | }
/host/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
44 | /// - Note: It is important to manually manage the lifetime of the ``NIOFileHandle`` used to create a ``FileRegion``.
45 | /// - Note: As of SwiftNIO 2.77.0, `FileRegion` objects are are thread-safe and the underlying ``NIOFileHandle`` does enforce singular access.
46 | public struct FileRegion: Sendable {
| `- note: 'FileRegion' declares conformance to protocol 'Sendable' here
47 |
48 | /// The `NIOFileHandle` that is used by this `FileRegion`.
:
95 |
96 | @available(*, unavailable)
97 | extension FileRegion: Sendable {}
| `- warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
98 |
99 | extension FileRegion {
[263/369] Compiling NIOCore SingleStepByteToMessageDecoder.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[264/369] Compiling NIOCore SocketAddresses.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[265/369] Compiling NIOCore SocketOptionProvider.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[266/369] Compiling NIOCore SystemCallHelpers.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[267/369] Compiling NIOCore TimeAmount+Duration.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[268/369] Compiling NIOCore TypeAssistedChannelHandler.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[269/369] Compiling NIOCore UniversalBootstrapSupport.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[270/369] Compiling NIOCore Utilities.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[271/369] Compiling NIOCore AddressedEnvelope.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[272/369] Compiling NIOCore AsyncAwaitSupport.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[273/369] Compiling NIOCore AsyncChannel.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[274/369] Compiling NIOCore AsyncChannelHandler.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[275/369] Compiling NIOCore AsyncChannelInboundStream.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[276/369] Compiling NIOCore AsyncChannelOutboundWriter.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[277/369] Compiling NIOCore NIOAsyncSequenceProducer.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[278/369] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[279/369] Compiling NIOCore NIOAsyncWriter.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[280/369] Compiling NIOCore ChannelPipeline.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:101: warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
553 | @inlinable
554 | public func containsHandler<Handler: ChannelHandler>(type: Handler.Type) -> EventLoopFuture<Void> {
555 | self.handler(type: type).map { _ in () }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
556 | }
557 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2337 | public func handler<Handler: ChannelHandler>(type _: Handler.Type) -> EventLoopFuture<Handler> {
2338 | self.context(handlerType: Handler.self).map { context in
2339 | guard let typedContext = context.handler as? Handler else {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2340 | preconditionFailure(
2341 | "Expected channel handler of type \(Handler.self), got \(type(of: context.handler)) instead."
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[281/369] Compiling NIOCore CircularBuffer.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:101: warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
553 | @inlinable
554 | public func containsHandler<Handler: ChannelHandler>(type: Handler.Type) -> EventLoopFuture<Void> {
555 | self.handler(type: type).map { _ in () }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
556 | }
557 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2337 | public func handler<Handler: ChannelHandler>(type _: Handler.Type) -> EventLoopFuture<Handler> {
2338 | self.context(handlerType: Handler.self).map { context in
2339 | guard let typedContext = context.handler as? Handler else {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2340 | preconditionFailure(
2341 | "Expected channel handler of type \(Handler.self), got \(type(of: context.handler)) instead."
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[282/369] Compiling NIOCore Codec.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:101: warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
553 | @inlinable
554 | public func containsHandler<Handler: ChannelHandler>(type: Handler.Type) -> EventLoopFuture<Void> {
555 | self.handler(type: type).map { _ in () }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
556 | }
557 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2337 | public func handler<Handler: ChannelHandler>(type _: Handler.Type) -> EventLoopFuture<Handler> {
2338 | self.context(handlerType: Handler.self).map { context in
2339 | guard let typedContext = context.handler as? Handler else {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2340 | preconditionFailure(
2341 | "Expected channel handler of type \(Handler.self), got \(type(of: context.handler)) instead."
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[283/369] Compiling NIOCore ConvenienceOptionSupport.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:101: warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
553 | @inlinable
554 | public func containsHandler<Handler: ChannelHandler>(type: Handler.Type) -> EventLoopFuture<Void> {
555 | self.handler(type: type).map { _ in () }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
556 | }
557 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2337 | public func handler<Handler: ChannelHandler>(type _: Handler.Type) -> EventLoopFuture<Handler> {
2338 | self.context(handlerType: Handler.self).map { context in
2339 | guard let typedContext = context.handler as? Handler else {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2340 | preconditionFailure(
2341 | "Expected channel handler of type \(Handler.self), got \(type(of: context.handler)) instead."
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[284/369] Compiling NIOCore DeadChannel.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:101: warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
553 | @inlinable
554 | public func containsHandler<Handler: ChannelHandler>(type: Handler.Type) -> EventLoopFuture<Void> {
555 | self.handler(type: type).map { _ in () }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
556 | }
557 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2337 | public func handler<Handler: ChannelHandler>(type _: Handler.Type) -> EventLoopFuture<Handler> {
2338 | self.context(handlerType: Handler.self).map { context in
2339 | guard let typedContext = context.handler as? Handler else {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2340 | preconditionFailure(
2341 | "Expected channel handler of type \(Handler.self), got \(type(of: context.handler)) instead."
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[285/369] Compiling NIOCore DispatchQueue+WithFuture.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:101: warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
553 | @inlinable
554 | public func containsHandler<Handler: ChannelHandler>(type: Handler.Type) -> EventLoopFuture<Void> {
555 | self.handler(type: type).map { _ in () }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
556 | }
557 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2337 | public func handler<Handler: ChannelHandler>(type _: Handler.Type) -> EventLoopFuture<Handler> {
2338 | self.context(handlerType: Handler.self).map { context in
2339 | guard let typedContext = context.handler as? Handler else {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2340 | preconditionFailure(
2341 | "Expected channel handler of type \(Handler.self), got \(type(of: context.handler)) instead."
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[286/369] Compiling NIOCore EventLoop+Deprecated.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:101: warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
553 | @inlinable
554 | public func containsHandler<Handler: ChannelHandler>(type: Handler.Type) -> EventLoopFuture<Void> {
555 | self.handler(type: type).map { _ in () }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
556 | }
557 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2337 | public func handler<Handler: ChannelHandler>(type _: Handler.Type) -> EventLoopFuture<Handler> {
2338 | self.context(handlerType: Handler.self).map { context in
2339 | guard let typedContext = context.handler as? Handler else {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2340 | preconditionFailure(
2341 | "Expected channel handler of type \(Handler.self), got \(type(of: context.handler)) instead."
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[287/369] Compiling NIOCore EventLoop+SerialExecutor.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:101: warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
553 | @inlinable
554 | public func containsHandler<Handler: ChannelHandler>(type: Handler.Type) -> EventLoopFuture<Void> {
555 | self.handler(type: type).map { _ in () }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
556 | }
557 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2337 | public func handler<Handler: ChannelHandler>(type _: Handler.Type) -> EventLoopFuture<Handler> {
2338 | self.context(handlerType: Handler.self).map { context in
2339 | guard let typedContext = context.handler as? Handler else {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2340 | preconditionFailure(
2341 | "Expected channel handler of type \(Handler.self), got \(type(of: context.handler)) instead."
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[288/369] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[289/369] Compiling NIOCore BSDSocketAPI.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[290/369] Compiling NIOCore ByteBuffer-aux.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[291/369] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[292/369] Compiling NIOCore ByteBuffer-conversions.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[293/369] Compiling NIOCore ByteBuffer-core.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[294/369] Compiling NIOCore ByteBuffer-hex.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[295/369] Compiling NIOCore ByteBuffer-int.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[296/369] Compiling NIOCore ByteBuffer-lengthPrefix.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[297/369] Compiling NIOCore ByteBuffer-multi-int.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[298/369] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[299/369] Compiling NIOCore ByteBuffer-views.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[300/369] Compiling NIOCore Channel.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[301/369] Compiling NIOCore ChannelHandler.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[302/369] Compiling NIOCore ChannelHandlers.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[303/369] Compiling NIOCore ChannelInvoker.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
[304/369] Compiling NIOCore ChannelOption.swift
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[305/369] Emitting module NIOCore
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:77:8: error: Unknown architecture
75 | typealias TwoUInt32s = DoubleWord
76 | #else
77 | #error("Unknown architecture")
| `- error: Unknown architecture
78 | #endif
79 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:101: warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of 'handlerType' with non-Sendable type 'Handler.Type' in a '@Sendable' closure [#SendableClosureCaptures]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
538 | } else {
539 | self.eventLoop.execute {
540 | promise.assumeIsolatedUnsafeUnchecked().completeWith(self._contextSync(handlerType: handlerType))
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
541 | }
542 | }
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
553 | @inlinable
554 | public func containsHandler<Handler: ChannelHandler>(type: Handler.Type) -> EventLoopFuture<Void> {
555 | self.handler(type: type).map { _ in () }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
556 | }
557 |
/host/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2337 | public func handler<Handler: ChannelHandler>(type _: Handler.Type) -> EventLoopFuture<Handler> {
2338 | self.context(handlerType: Handler.self).map { context in
2339 | guard let typedContext = context.handler as? Handler else {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure [#SendableMetatypes]
2340 | preconditionFailure(
2341 | "Expected channel handler of type \(Handler.self), got \(type(of: context.handler)) instead."
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:81:37: error: cannot find type 'OneUInt32' in scope
79 |
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
| `- error: cannot find type 'OneUInt32' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:82:36: error: cannot find type 'OneUInt32' in scope
80 | internal struct FileDescriptorState {
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
| `- error: cannot find type 'OneUInt32' in scope
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:83:35: error: cannot find type 'OneUInt32' in scope
81 | private static let closedValue: OneUInt32 = 0xdead
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
| `- error: cannot find type 'OneUInt32' in scope
84 | internal var rawValue: TwoUInt32s
85 |
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:84:28: error: cannot find type 'TwoUInt32s' in scope
82 | private static let inUseValue: OneUInt32 = 0xbeef
83 | private static let openValue: OneUInt32 = 0xcafe
84 | internal var rawValue: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
85 |
86 | internal init(rawValue: TwoUInt32s) {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:86:29: error: cannot find type 'TwoUInt32s' in scope
84 | internal var rawValue: TwoUInt32s
85 |
86 | internal init(rawValue: TwoUInt32s) {
| `- error: cannot find type 'TwoUInt32s' in scope
87 | self.rawValue = rawValue
88 | }
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:151:42: error: cannot find type 'TwoUInt32s' in scope
149 | public final class NIOFileHandle: FileDescriptor & Sendable {
150 | private static let descriptorClosed: CInt = CInt.min
151 | private let descriptor: UnsafeAtomic<TwoUInt32s>
| `- error: cannot find type 'TwoUInt32s' in scope
152 |
153 | public var isOpen: Bool {
/host/spi-builder-workspace/Sources/NIOCore/FileHandle.swift:160:23: error: cannot find type 'TwoUInt32s' in scope
158 |
159 | private static func interpretDescriptorValueThrowIfInUseOrNotOpen(
160 | _ descriptor: TwoUInt32s
| `- error: cannot find type 'TwoUInt32s' in scope
161 | ) throws -> FileDescriptorState {
162 | let descriptorState = FileDescriptorState(rawValue: descriptor)
/host/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
44 | /// - Note: It is important to manually manage the lifetime of the ``NIOFileHandle`` used to create a ``FileRegion``.
45 | /// - Note: As of SwiftNIO 2.77.0, `FileRegion` objects are are thread-safe and the underlying ``NIOFileHandle`` does enforce singular access.
46 | public struct FileRegion: Sendable {
| `- note: 'FileRegion' declares conformance to protocol 'Sendable' here
47 |
48 | /// The `NIOFileHandle` that is used by this `FileRegion`.
:
95 |
96 | @available(*, unavailable)
97 | extension FileRegion: Sendable {}
| `- warning: redundant conformance of 'FileRegion' to protocol 'Sendable'
98 |
99 | extension FileRegion {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
BUILD FAILURE 6.3 wasm