Build Information
Failed to build swift-nio, reference main (56f9b7), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 18:01:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnnzhou/swift-nio.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/johnnzhou/swift-nio.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/120] Write sources
[4/120] Copying PrivacyInfo.xcprivacy
[4/120] Write sources
[9/120] Write NIOWebSocketServer-entitlement.plist
[10/120] Write NIOWebSocketClient-entitlement.plist
[10/120] Write sources
[13/120] Write NIOUDPEchoServer-entitlement.plist
[15/120] Write sources
[16/120] Write NIOUDPEchoClient-entitlement.plist
[17/120] Write sources
[17/120] Write NIOTCPEchoServer-entitlement.plist
[21/120] Write sources
[21/120] Write NIOTCPEchoClient-entitlement.plist
[21/120] Write sources
[26/120] Write NIOPerformanceTester-entitlement.plist
[26/120] Write sources
[26/120] Write NIOMulticastChat-entitlement.plist
[26/120] Write NIOHTTP1Server-entitlement.plist
[26/120] Write sources
[26/120] Write NIOHTTP1Client-entitlement.plist
[26/120] Write sources
[37/120] Write NIOEchoServer-entitlement.plist
[37/120] Write sources
[40/120] Write NIOEchoClient-entitlement.plist
[40/120] Write NIOCrashTester-entitlement.plist
[40/120] Write sources
[43/120] Write NIOChatServer-entitlement.plist
[46/120] Write sources
[46/120] Write NIOChatClient-entitlement.plist
[49/120] Write sources
[51/120] Write NIOAsyncAwaitDemo-entitlement.plist
[51/120] Write sources
[54/120] Write swift-version-1EA4D86E10B52AF.txt
[55/120] Compiling CNIOWindows WSAStartup.c
[55/120] Compiling CSystem shims.c
[56/120] Compiling CNIOWindows shim.c
[58/120] Compiling CNIOLinux liburing_shims.c
[59/120] Compiling CNIOWASI CNIOWASI.c
[60/168] Compiling _AtomicsShims.c
[61/168] Compiling CNIOLLHTTP c_nio_http.c
[62/168] Compiling CNIOSHA1 c_nio_sha1.c
[63/168] Compiling CNIOLinux shim.c
[64/168] Write sources
[65/168] Compiling CNIOLLHTTP c_nio_api.c
[66/187] Compiling CNIOLLHTTP c_nio_llhttp.c
[67/187] Compiling CNIODarwin shim.c
[69/187] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[70/187] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[71/188] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[72/188] Compiling InternalCollectionsUtilities Debugging.swift
[73/188] Compiling InternalCollectionsUtilities Descriptions.swift
[74/188] Compiling Atomics AtomicInteger.swift
[75/188] Compiling Atomics AtomicOptionalWrappable.swift
[76/189] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[77/189] Compiling _NIODataStructures _TinyArray.swift
[78/189] Compiling _NIODataStructures PriorityQueue.swift
[79/189] Compiling Atomics Unmanaged extensions.swift
[80/189] Compiling SystemPackage RawBuffer.swift
[81/189] Compiling SystemPackage Syscalls.swift
[82/189] Compiling SystemPackage WindowsSyscallAdapters.swift
[83/192] Compiling Atomics PointerConformances.swift
[84/192] Compiling Atomics Primitives.native.swift
[85/192] Emitting module InternalCollectionsUtilities
[86/192] Compiling Atomics AtomicBool.swift
[87/192] Compiling Atomics IntegerConformances.swift
[90/192] Compiling Atomics OptionalRawRepresentable.swift
[91/192] Compiling Atomics RawRepresentable.swift
[92/192] Compiling SystemPackage Constants.swift
[93/192] Compiling SystemPackage Exports.swift
[94/192] Compiling SystemPackage Mocking.swift
[95/192] Emitting module _NIOBase64
[96/192] Compiling _NIOBase64 Base64.swift
[97/192] Compiling Atomics AtomicValue.swift
[98/192] Compiling Atomics AtomicMemoryOrderings.swift
[99/192] Compiling Atomics DoubleWord.swift
[100/192] Compiling Atomics ManagedAtomic.swift
[101/192] Compiling Atomics UnsafeAtomicLazyReference.swift
[102/192] Compiling Atomics IntegerOperations.swift
[103/192] Compiling Atomics ManagedAtomicLazyReference.swift
[104/192] Compiling Atomics UnsafeAtomic.swift
[105/192] Emitting module _NIODataStructures
[106/192] Compiling _NIODataStructures Heap.swift
[107/192] Compiling SystemPackage FilePermissions.swift
[108/192] Compiling SystemPackage Backcompat.swift
[109/192] Compiling SystemPackage CInterop.swift
[110/208] Compiling DequeModule _DequeSlot.swift
[111/208] Compiling DequeModule _DequeBufferHeader.swift
[112/208] Compiling DequeModule _DequeBuffer.swift
[113/209] Compiling DequeModule Deque+Codable.swift
[114/209] Compiling DequeModule Deque+Collection.swift
[115/209] Compiling DequeModule Deque+CustomReflectable.swift
[119/209] Compiling DequeModule Deque+Descriptions.swift
[120/209] Compiling DequeModule Deque+Testing.swift
[121/209] Compiling DequeModule Deque._Storage.swift
[122/209] Emitting module SystemPackage
[123/209] Compiling DequeModule Deque+Extras.swift
[124/209] Compiling DequeModule Deque+Hashable.swift
[128/209] Compiling DequeModule _UnsafeWrappedBuffer.swift
[129/209] Compiling SystemPackage Util+StringArray.swift
[130/209] Compiling SystemPackage Util.swift
[131/209] Compiling SystemPackage UtilConsumers.swift
[132/209] Emitting module Atomics
[137/209] Compiling DequeModule Deque._UnsafeHandle.swift
[138/209] Compiling DequeModule Deque.swift
[147/209] Compiling DequeModule Deque+Equatable.swift
[148/209] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[157/209] Emitting module DequeModule
[157/209] Compiling c-nioatomics.c
[158/209] Compiling c-atomics.c
[160/215] Compiling NIOConcurrencyHelpers NIOLock.swift
[161/215] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[162/215] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[163/215] Compiling NIOConcurrencyHelpers lock.swift
[164/215] Compiling NIOConcurrencyHelpers atomics.swift
[165/215] Emitting module NIOConcurrencyHelpers
[166/276] Compiling NIOCore GlobalSingletons.swift
[167/276] Compiling NIOCore IO.swift
[168/276] Compiling NIOCore IOData.swift
[169/276] Compiling NIOCore IPProtocol.swift
[170/276] Compiling NIOCore IntegerBitPacking.swift
[171/276] Compiling NIOCore IntegerTypes.swift
[172/282] Compiling NIOCore Interfaces.swift
[173/282] Compiling NIOCore Linux.swift
[174/282] Compiling NIOCore MarkedCircularBuffer.swift
[175/282] Compiling NIOCore MulticastChannel.swift
[176/282] Compiling NIOCore NIOAny.swift
[177/282] Compiling NIOCore NIOCloseOnErrorHandler.swift
[178/282] Compiling NIOCore AddressedEnvelope.swift
[179/282] Compiling NIOCore AsyncAwaitSupport.swift
[180/282] Compiling NIOCore AsyncChannel.swift
[181/282] Compiling NIOCore AsyncChannelHandler.swift
[182/282] Compiling NIOCore AsyncChannelInboundStream.swift
[183/282] Compiling NIOCore AsyncChannelOutboundWriter.swift
[184/282] Compiling NIOCore NIOAsyncSequenceProducer.swift
[185/282] Compiling NIOCore SocketOptionProvider.swift
[186/282] Compiling NIOCore SystemCallHelpers.swift
[187/282] Compiling NIOCore TimeAmount+Duration.swift
[188/282] Compiling NIOCore TypeAssistedChannelHandler.swift
[189/282] Compiling NIOCore UniversalBootstrapSupport.swift
[190/282] Compiling NIOCore Utilities.swift
[191/282] Compiling NIOCore NIOLoopBound.swift
[192/282] Compiling NIOCore NIOScheduledCallback.swift
[193/282] Compiling NIOCore NIOSendable.swift
[194/282] Compiling NIOCore RecvByteBufferAllocator.swift
[195/282] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[196/282] Compiling NIOCore SocketAddresses.swift
[197/282] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'SendableMetatype'
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: conformance to 'SendableMetatype' generated by macro 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 'SendableMetatype'
98 |
99 | extension FileRegion {
[198/282] Compiling NIOCore EventLoopFuture+Deprecated.swift
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'SendableMetatype'
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: conformance to 'SendableMetatype' generated by macro 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 'SendableMetatype'
98 |
99 | extension FileRegion {
[199/282] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'SendableMetatype'
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: conformance to 'SendableMetatype' generated by macro 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 'SendableMetatype'
98 |
99 | extension FileRegion {
[200/282] Compiling NIOCore EventLoopFuture.swift
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'SendableMetatype'
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: conformance to 'SendableMetatype' generated by macro 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 'SendableMetatype'
98 |
99 | extension FileRegion {
[201/282] Compiling NIOCore FileDescriptor.swift
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'SendableMetatype'
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: conformance to 'SendableMetatype' generated by macro 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 'SendableMetatype'
98 |
99 | extension FileRegion {
[202/282] Compiling NIOCore FileHandle.swift
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'SendableMetatype'
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: conformance to 'SendableMetatype' generated by macro 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 'SendableMetatype'
98 |
99 | extension FileRegion {
[203/282] Compiling NIOCore FileRegion.swift
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'SendableMetatype'
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: conformance to 'SendableMetatype' generated by macro 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 'SendableMetatype'
98 |
99 | extension FileRegion {
[204/282] Compiling NIOCore Codec.swift
[205/282] Compiling NIOCore ConvenienceOptionSupport.swift
[206/282] Compiling NIOCore DeadChannel.swift
[207/282] Compiling NIOCore DispatchQueue+WithFuture.swift
[208/282] Compiling NIOCore EventLoop+Deprecated.swift
[209/282] Compiling NIOCore EventLoop+SerialExecutor.swift
[210/282] Compiling NIOCore EventLoop.swift
[211/282] Compiling NIOCore Channel.swift
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
541 | }
542 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:533:50: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
531 | /// - Returns: the `EventLoopFuture` which will be notified once the the operation completes.
532 | @inlinable
533 | public func context<Handler: ChannelHandler>(handlerType: Handler.Type) -> EventLoopFuture<ChannelHandlerContext> {
| `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
534 | let promise = self.eventLoop.makePromise(of: ChannelHandlerContext.self)
535 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
556 | }
557 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
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>
[212/282] Compiling NIOCore ChannelHandler.swift
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
541 | }
542 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:533:50: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
531 | /// - Returns: the `EventLoopFuture` which will be notified once the the operation completes.
532 | @inlinable
533 | public func context<Handler: ChannelHandler>(handlerType: Handler.Type) -> EventLoopFuture<ChannelHandlerContext> {
| `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
534 | let promise = self.eventLoop.makePromise(of: ChannelHandlerContext.self)
535 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
556 | }
557 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
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>
[213/282] Compiling NIOCore ChannelHandlers.swift
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
541 | }
542 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:533:50: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
531 | /// - Returns: the `EventLoopFuture` which will be notified once the the operation completes.
532 | @inlinable
533 | public func context<Handler: ChannelHandler>(handlerType: Handler.Type) -> EventLoopFuture<ChannelHandlerContext> {
| `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
534 | let promise = self.eventLoop.makePromise(of: ChannelHandlerContext.self)
535 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
556 | }
557 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
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>
[214/282] Compiling NIOCore ChannelInvoker.swift
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
541 | }
542 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:533:50: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
531 | /// - Returns: the `EventLoopFuture` which will be notified once the the operation completes.
532 | @inlinable
533 | public func context<Handler: ChannelHandler>(handlerType: Handler.Type) -> EventLoopFuture<ChannelHandlerContext> {
| `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
534 | let promise = self.eventLoop.makePromise(of: ChannelHandlerContext.self)
535 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
556 | }
557 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
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>
[215/282] Compiling NIOCore ChannelOption.swift
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
541 | }
542 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:533:50: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
531 | /// - Returns: the `EventLoopFuture` which will be notified once the the operation completes.
532 | @inlinable
533 | public func context<Handler: ChannelHandler>(handlerType: Handler.Type) -> EventLoopFuture<ChannelHandlerContext> {
| `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
534 | let promise = self.eventLoop.makePromise(of: ChannelHandlerContext.self)
535 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
556 | }
557 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
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>
[216/282] Compiling NIOCore ChannelPipeline.swift
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
541 | }
542 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:533:50: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
531 | /// - Returns: the `EventLoopFuture` which will be notified once the the operation completes.
532 | @inlinable
533 | public func context<Handler: ChannelHandler>(handlerType: Handler.Type) -> EventLoopFuture<ChannelHandlerContext> {
| `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
534 | let promise = self.eventLoop.makePromise(of: ChannelHandlerContext.self)
535 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
556 | }
557 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
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>
[217/282] Compiling NIOCore CircularBuffer.swift
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
541 | }
542 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:533:50: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
531 | /// - Returns: the `EventLoopFuture` which will be notified once the the operation completes.
532 | @inlinable
533 | public func context<Handler: ChannelHandler>(handlerType: Handler.Type) -> EventLoopFuture<ChannelHandlerContext> {
| `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
534 | let promise = self.eventLoop.makePromise(of: ChannelHandlerContext.self)
535 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
556 | }
557 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
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>
[218/282] Compiling NIOCore ByteBuffer-core.swift
[219/282] Compiling NIOCore ByteBuffer-hex.swift
[220/282] Compiling NIOCore ByteBuffer-int.swift
[221/282] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[222/282] Compiling NIOCore ByteBuffer-multi-int.swift
[223/282] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[224/282] Compiling NIOCore ByteBuffer-views.swift
[225/282] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[226/282] Compiling NIOCore NIOAsyncWriter.swift
[227/282] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[228/282] Compiling NIOCore BSDSocketAPI.swift
[229/282] Compiling NIOCore ByteBuffer-aux.swift
[230/282] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[231/282] Compiling NIOCore ByteBuffer-conversions.swift
[232/282] Emitting module NIOCore
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:540:75: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
541 | }
542 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:533:50: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
531 | /// - Returns: the `EventLoopFuture` which will be notified once the the operation completes.
532 | @inlinable
533 | public func context<Handler: ChannelHandler>(handlerType: Handler.Type) -> EventLoopFuture<ChannelHandlerContext> {
| `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
534 | let promise = self.eventLoop.makePromise(of: ChannelHandlerContext.self)
535 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:555:38: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
556 | }
557 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/ChannelPipeline.swift:2339:54: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
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
2340 | preconditionFailure(
2341 | "Expected channel handler of type \(Handler.self), got \(type(of: context.handler)) instead."
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/FileRegion.swift:97:23: warning: redundant conformance of 'FileRegion' to protocol 'SendableMetatype'
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: conformance to 'SendableMetatype' generated by macro 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 'SendableMetatype'
98 |
99 | extension FileRegion {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[233/335] Compiling NIOEmbedded AsyncTestingEventLoop.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOEmbedded/AsyncTestingEventLoop.swift:65:20: warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
63 | /// `loop.run()`.
64 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
65 | public final class NIOAsyncTestingEventLoop: EventLoop, @unchecked Sendable {
| `- warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
66 | // This type is `@unchecked Sendable` because of the use of `taskNumber`. This
67 | // variable is only used from within `queue`, but the compiler cannot see that.
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:270:10: note: expected sendability to match requirement here
268 | /// - Returns: `EventLoopFuture` that is notified once the task was executed.
269 | @preconcurrency
270 | func submit<T>(_ task: @escaping @Sendable () throws -> T) -> EventLoopFuture<T>
| `- note: expected sendability to match requirement here
271 |
272 | /// The current time of the event loop.
/Users/admin/builder/spi-builder-workspace/Sources/NIOEmbedded/AsyncTestingEventLoop.swift:162:17: warning: sendability of function types in instance method 'scheduleTask(deadline:_:)' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
160 | @discardableResult
161 | @preconcurrency
162 | public func scheduleTask<T: Sendable>(
| `- warning: sendability of function types in instance method 'scheduleTask(deadline:_:)' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
163 | deadline: NIODeadline,
164 | _ task: @escaping @Sendable () throws -> T
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:286:10: note: expected sendability to match requirement here
284 | @discardableResult
285 | @preconcurrency
286 | func scheduleTask<T>(deadline: NIODeadline, _ task: @escaping @Sendable () throws -> T) -> Scheduled<T>
| `- note: expected sendability to match requirement here
287 |
288 | /// Schedule a `task` that is executed by this `EventLoop` after the given amount of time.
/Users/admin/builder/spi-builder-workspace/Sources/NIOEmbedded/AsyncTestingEventLoop.swift:204:17: warning: sendability of function types in instance method 'scheduleTask(in:_:)' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
202 | @discardableResult
203 | @preconcurrency
204 | public func scheduleTask<T: Sendable>(in: TimeAmount, _ task: @escaping @Sendable () throws -> T) -> Scheduled<T> {
| `- warning: sendability of function types in instance method 'scheduleTask(in:_:)' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
205 | self.scheduleTask(deadline: self.now + `in`, task)
206 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:300:10: note: expected sendability to match requirement here
298 | @discardableResult
299 | @preconcurrency
300 | func scheduleTask<T>(in: TimeAmount, _ task: @escaping @Sendable () throws -> T) -> Scheduled<T>
| `- note: expected sendability to match requirement here
301 |
302 | /// Asserts that the current thread is the one tied to this `EventLoop`.
[234/335] Emitting module NIOEmbedded
/Users/admin/builder/spi-builder-workspace/Sources/NIOEmbedded/AsyncTestingEventLoop.swift:65:20: warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
63 | /// `loop.run()`.
64 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
65 | public final class NIOAsyncTestingEventLoop: EventLoop, @unchecked Sendable {
| `- warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
66 | // This type is `@unchecked Sendable` because of the use of `taskNumber`. This
67 | // variable is only used from within `queue`, but the compiler cannot see that.
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:270:10: note: expected sendability to match requirement here
268 | /// - Returns: `EventLoopFuture` that is notified once the task was executed.
269 | @preconcurrency
270 | func submit<T>(_ task: @escaping @Sendable () throws -> T) -> EventLoopFuture<T>
| `- note: expected sendability to match requirement here
271 |
272 | /// The current time of the event loop.
/Users/admin/builder/spi-builder-workspace/Sources/NIOEmbedded/AsyncTestingEventLoop.swift:162:17: warning: sendability of function types in instance method 'scheduleTask(deadline:_:)' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
160 | @discardableResult
161 | @preconcurrency
162 | public func scheduleTask<T: Sendable>(
| `- warning: sendability of function types in instance method 'scheduleTask(deadline:_:)' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
163 | deadline: NIODeadline,
164 | _ task: @escaping @Sendable () throws -> T
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:286:10: note: expected sendability to match requirement here
284 | @discardableResult
285 | @preconcurrency
286 | func scheduleTask<T>(deadline: NIODeadline, _ task: @escaping @Sendable () throws -> T) -> Scheduled<T>
| `- note: expected sendability to match requirement here
287 |
288 | /// Schedule a `task` that is executed by this `EventLoop` after the given amount of time.
/Users/admin/builder/spi-builder-workspace/Sources/NIOEmbedded/AsyncTestingEventLoop.swift:204:17: warning: sendability of function types in instance method 'scheduleTask(in:_:)' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
202 | @discardableResult
203 | @preconcurrency
204 | public func scheduleTask<T: Sendable>(in: TimeAmount, _ task: @escaping @Sendable () throws -> T) -> Scheduled<T> {
| `- warning: sendability of function types in instance method 'scheduleTask(in:_:)' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
205 | self.scheduleTask(deadline: self.now + `in`, task)
206 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:300:10: note: expected sendability to match requirement here
298 | @discardableResult
299 | @preconcurrency
300 | func scheduleTask<T>(in: TimeAmount, _ task: @escaping @Sendable () throws -> T) -> Scheduled<T>
| `- note: expected sendability to match requirement here
301 |
302 | /// Asserts that the current thread is the one tied to this `EventLoop`.
/Users/admin/builder/spi-builder-workspace/Sources/NIOEmbedded/Embedded.swift:112:20: warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
110 | /// responsible for ensuring they never call into the `EmbeddedEventLoop` in an
111 | /// unsynchronized fashion.
112 | public final class EmbeddedEventLoop: EventLoop, CustomStringConvertible {
| `- warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
113 | private var _now: NIODeadline = .uptimeNanoseconds(0)
114 | /// The current "time" for this event loop. This is an amount in nanoseconds.
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:270:10: note: expected sendability to match requirement here
268 | /// - Returns: `EventLoopFuture` that is notified once the task was executed.
269 | @preconcurrency
270 | func submit<T>(_ task: @escaping @Sendable () throws -> T) -> EventLoopFuture<T>
| `- note: expected sendability to match requirement here
271 |
272 | /// The current time of the event loop.
[235/335] Compiling NIOEmbedded AsyncTestingChannel.swift
[236/335] Compiling NIOEmbedded Embedded.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOEmbedded/Embedded.swift:112:20: warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
110 | /// responsible for ensuring they never call into the `EmbeddedEventLoop` in an
111 | /// unsynchronized fashion.
112 | public final class EmbeddedEventLoop: EventLoop, CustomStringConvertible {
| `- warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
113 | private var _now: NIODeadline = .uptimeNanoseconds(0)
114 | /// The current "time" for this event loop. This is an amount in nanoseconds.
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:270:10: note: expected sendability to match requirement here
268 | /// - Returns: `EventLoopFuture` that is notified once the task was executed.
269 | @preconcurrency
270 | func submit<T>(_ task: @escaping @Sendable () throws -> T) -> EventLoopFuture<T>
| `- note: expected sendability to match requirement here
271 |
272 | /// The current time of the event loop.
[237/335] Compiling NIOPosix GetaddrinfoResolver.swift
[238/335] Compiling NIOPosix HappyEyeballs.swift
[239/335] Compiling NIOPosix IO.swift
[240/335] Compiling NIOPosix IntegerBitPacking.swift
[241/335] Compiling NIOPosix IntegerTypes.swift
[242/335] Compiling NIOPosix Linux.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[243/340] Emitting module NIOPosix
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/PendingDatagramWritesManager.swift:155:27: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
16 | import CNIOLinux
17 | import NIOCore
18 |
| `- note: add import of module 'CNIODarwin'
19 | private struct PendingDatagramWrite {
20 | var data: ByteBuffer
:
153 | msg.msg_controllen = .init(controlMessageBytePointer.count)
154 | msg.msg_flags = 0
155 | msgs[c] = MMsgHdr(msg_hdr: msg, msg_len: 0)
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
156 | }
157 | c += 1
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:63:22: warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
64 |
65 | static let strictModeEnabled: Bool = {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:270:10: note: expected sendability to match requirement here
268 | /// - Returns: `EventLoopFuture` that is notified once the task was executed.
269 | @preconcurrency
270 | func submit<T>(_ task: @escaping @Sendable () throws -> T) -> EventLoopFuture<T>
| `- note: expected sendability to match requirement here
271 |
272 | /// The current time of the event loop.
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:940:32: warning: redundant conformance of 'SelectableEventLoop' to protocol 'Sendable'
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- note: conformance to 'Sendable' generated by macro here
64 |
65 | static let strictModeEnabled: Bool = {
:
938 | // MARK: SerialExecutor conformance
939 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
940 | extension SelectableEventLoop: NIOSerialEventLoopExecutor {}
| `- warning: redundant conformance of 'SelectableEventLoop' to protocol 'Sendable'
941 |
942 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:940:32: warning: redundant conformance of 'SelectableEventLoop' to protocol 'SendableMetatype'
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- note: conformance to 'SendableMetatype' generated by macro here
64 |
65 | static let strictModeEnabled: Bool = {
:
938 | // MARK: SerialExecutor conformance
939 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
940 | extension SelectableEventLoop: NIOSerialEventLoopExecutor {}
| `- warning: redundant conformance of 'SelectableEventLoop' to protocol 'SendableMetatype'
941 |
942 | @usableFromInline
[244/340] Compiling NIOPosix BaseStreamSocketChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:43:28: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
41 |
42 | self.messageVector = .allocateAndInitialize(
43 | repeating: MMsgHdr(msg_hdr: msghdr(), msg_len: 0),
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
44 | count: newValue
45 | )
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:134:41: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
132 | msgHdr.msg_controllen = .init(controlBytes.count)
133 | msgHdr.msg_flags = 0
134 | self.messageVector[i] = MMsgHdr(msg_hdr: msgHdr, msg_len: 0)
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
135 |
136 | // Note that we don't set up the sockaddr vector: that's because it needs no initialization,
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:224:24: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
222 | static func allocate(messageCount: Int) -> DatagramVectorReadManager {
223 | let messageVector = UnsafeMutableBufferPointer.allocateAndInitialize(
224 | repeating: MMsgHdr(msg_hdr: msghdr(), msg_len: 0),
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
225 | count: messageCount
226 | )
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:194:48: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
192 | precondition(self.messageVector[i].msg_hdr.namelen != 0, "Unexpected zero length peer name")
193 | #else
194 | precondition(self.messageVector[i].msg_hdr.msg_namelen != 0, "Unexpected zero length peer name")
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
195 | #endif
196 | let address: SocketAddress = try self.sockaddrVector[i].convert()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:202:89: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
200 | if parseControlMessages {
201 | let controlMessagesReceived =
202 | UnsafeControlMessageCollection(messageHeader: self.messageVector[i].msg_hdr)
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
203 | metadata = .init(from: controlMessagesReceived)
204 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:202:89: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
200 | if parseControlMessages {
201 | let controlMessagesReceived =
202 | UnsafeControlMessageCollection(messageHeader: self.messageVector[i].msg_hdr)
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
203 | metadata = .init(from: controlMessagesReceived)
204 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:186:55: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
184 | // Now we move the writer index backwards to where the end of the read was. Note that 0 is not an
185 | // error for datagrams, zero-length datagrams are permitted.
186 | let readBytes = Int(self.messageVector[i].msg_len)
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
187 | slice.moveWriterIndex(to: readBytes)
188 | totalReadSize += readBytes
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:186:55: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
184 | // Now we move the writer index backwards to where the end of the read was. Note that 0 is not an
185 | // error for datagrams, zero-length datagrams are permitted.
186 | let readBytes = Int(self.messageVector[i].msg_len)
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
187 | slice.moveWriterIndex(to: readBytes)
188 | totalReadSize += readBytes
[245/340] Compiling NIOPosix Bootstrap.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:43:28: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
41 |
42 | self.messageVector = .allocateAndInitialize(
43 | repeating: MMsgHdr(msg_hdr: msghdr(), msg_len: 0),
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
44 | count: newValue
45 | )
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:134:41: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
132 | msgHdr.msg_controllen = .init(controlBytes.count)
133 | msgHdr.msg_flags = 0
134 | self.messageVector[i] = MMsgHdr(msg_hdr: msgHdr, msg_len: 0)
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
135 |
136 | // Note that we don't set up the sockaddr vector: that's because it needs no initialization,
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:224:24: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
222 | static func allocate(messageCount: Int) -> DatagramVectorReadManager {
223 | let messageVector = UnsafeMutableBufferPointer.allocateAndInitialize(
224 | repeating: MMsgHdr(msg_hdr: msghdr(), msg_len: 0),
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
225 | count: messageCount
226 | )
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:194:48: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
192 | precondition(self.messageVector[i].msg_hdr.namelen != 0, "Unexpected zero length peer name")
193 | #else
194 | precondition(self.messageVector[i].msg_hdr.msg_namelen != 0, "Unexpected zero length peer name")
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
195 | #endif
196 | let address: SocketAddress = try self.sockaddrVector[i].convert()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:202:89: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
200 | if parseControlMessages {
201 | let controlMessagesReceived =
202 | UnsafeControlMessageCollection(messageHeader: self.messageVector[i].msg_hdr)
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
203 | metadata = .init(from: controlMessagesReceived)
204 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:202:89: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
200 | if parseControlMessages {
201 | let controlMessagesReceived =
202 | UnsafeControlMessageCollection(messageHeader: self.messageVector[i].msg_hdr)
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
203 | metadata = .init(from: controlMessagesReceived)
204 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:186:55: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
184 | // Now we move the writer index backwards to where the end of the read was. Note that 0 is not an
185 | // error for datagrams, zero-length datagrams are permitted.
186 | let readBytes = Int(self.messageVector[i].msg_len)
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
187 | slice.moveWriterIndex(to: readBytes)
188 | totalReadSize += readBytes
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:186:55: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
184 | // Now we move the writer index backwards to where the end of the read was. Note that 0 is not an
185 | // error for datagrams, zero-length datagrams are permitted.
186 | let readBytes = Int(self.messageVector[i].msg_len)
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
187 | slice.moveWriterIndex(to: readBytes)
188 | totalReadSize += readBytes
[246/340] Compiling NIOPosix ControlMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:43:28: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
41 |
42 | self.messageVector = .allocateAndInitialize(
43 | repeating: MMsgHdr(msg_hdr: msghdr(), msg_len: 0),
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
44 | count: newValue
45 | )
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:134:41: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
132 | msgHdr.msg_controllen = .init(controlBytes.count)
133 | msgHdr.msg_flags = 0
134 | self.messageVector[i] = MMsgHdr(msg_hdr: msgHdr, msg_len: 0)
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
135 |
136 | // Note that we don't set up the sockaddr vector: that's because it needs no initialization,
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:224:24: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
222 | static func allocate(messageCount: Int) -> DatagramVectorReadManager {
223 | let messageVector = UnsafeMutableBufferPointer.allocateAndInitialize(
224 | repeating: MMsgHdr(msg_hdr: msghdr(), msg_len: 0),
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
225 | count: messageCount
226 | )
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:194:48: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
192 | precondition(self.messageVector[i].msg_hdr.namelen != 0, "Unexpected zero length peer name")
193 | #else
194 | precondition(self.messageVector[i].msg_hdr.msg_namelen != 0, "Unexpected zero length peer name")
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
195 | #endif
196 | let address: SocketAddress = try self.sockaddrVector[i].convert()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:202:89: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
200 | if parseControlMessages {
201 | let controlMessagesReceived =
202 | UnsafeControlMessageCollection(messageHeader: self.messageVector[i].msg_hdr)
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
203 | metadata = .init(from: controlMessagesReceived)
204 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:202:89: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
200 | if parseControlMessages {
201 | let controlMessagesReceived =
202 | UnsafeControlMessageCollection(messageHeader: self.messageVector[i].msg_hdr)
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
203 | metadata = .init(from: controlMessagesReceived)
204 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:186:55: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
184 | // Now we move the writer index backwards to where the end of the read was. Note that 0 is not an
185 | // error for datagrams, zero-length datagrams are permitted.
186 | let readBytes = Int(self.messageVector[i].msg_len)
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
187 | slice.moveWriterIndex(to: readBytes)
188 | totalReadSize += readBytes
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:186:55: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
184 | // Now we move the writer index backwards to where the end of the read was. Note that 0 is not an
185 | // error for datagrams, zero-length datagrams are permitted.
186 | let readBytes = Int(self.messageVector[i].msg_len)
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
187 | slice.moveWriterIndex(to: readBytes)
188 | totalReadSize += readBytes
[247/340] Compiling NIOPosix DatagramVectorReadManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:43:28: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
41 |
42 | self.messageVector = .allocateAndInitialize(
43 | repeating: MMsgHdr(msg_hdr: msghdr(), msg_len: 0),
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
44 | count: newValue
45 | )
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:134:41: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
132 | msgHdr.msg_controllen = .init(controlBytes.count)
133 | msgHdr.msg_flags = 0
134 | self.messageVector[i] = MMsgHdr(msg_hdr: msgHdr, msg_len: 0)
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
135 |
136 | // Note that we don't set up the sockaddr vector: that's because it needs no initialization,
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:224:24: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
222 | static func allocate(messageCount: Int) -> DatagramVectorReadManager {
223 | let messageVector = UnsafeMutableBufferPointer.allocateAndInitialize(
224 | repeating: MMsgHdr(msg_hdr: msghdr(), msg_len: 0),
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
225 | count: messageCount
226 | )
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:194:48: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
192 | precondition(self.messageVector[i].msg_hdr.namelen != 0, "Unexpected zero length peer name")
193 | #else
194 | precondition(self.messageVector[i].msg_hdr.msg_namelen != 0, "Unexpected zero length peer name")
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
195 | #endif
196 | let address: SocketAddress = try self.sockaddrVector[i].convert()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:202:89: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
200 | if parseControlMessages {
201 | let controlMessagesReceived =
202 | UnsafeControlMessageCollection(messageHeader: self.messageVector[i].msg_hdr)
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
203 | metadata = .init(from: controlMessagesReceived)
204 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:202:89: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
200 | if parseControlMessages {
201 | let controlMessagesReceived =
202 | UnsafeControlMessageCollection(messageHeader: self.messageVector[i].msg_hdr)
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
203 | metadata = .init(from: controlMessagesReceived)
204 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:186:55: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
184 | // Now we move the writer index backwards to where the end of the read was. Note that 0 is not an
185 | // error for datagrams, zero-length datagrams are permitted.
186 | let readBytes = Int(self.messageVector[i].msg_len)
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
187 | slice.moveWriterIndex(to: readBytes)
188 | totalReadSize += readBytes
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:186:55: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
184 | // Now we move the writer index backwards to where the end of the read was. Note that 0 is not an
185 | // error for datagrams, zero-length datagrams are permitted.
186 | let readBytes = Int(self.messageVector[i].msg_len)
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
187 | slice.moveWriterIndex(to: readBytes)
188 | totalReadSize += readBytes
[248/340] Compiling NIOPosix Errors+Any.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:43:28: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
41 |
42 | self.messageVector = .allocateAndInitialize(
43 | repeating: MMsgHdr(msg_hdr: msghdr(), msg_len: 0),
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
44 | count: newValue
45 | )
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:134:41: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
132 | msgHdr.msg_controllen = .init(controlBytes.count)
133 | msgHdr.msg_flags = 0
134 | self.messageVector[i] = MMsgHdr(msg_hdr: msgHdr, msg_len: 0)
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
135 |
136 | // Note that we don't set up the sockaddr vector: that's because it needs no initialization,
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:224:24: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
222 | static func allocate(messageCount: Int) -> DatagramVectorReadManager {
223 | let messageVector = UnsafeMutableBufferPointer.allocateAndInitialize(
224 | repeating: MMsgHdr(msg_hdr: msghdr(), msg_len: 0),
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
225 | count: messageCount
226 | )
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:194:48: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
192 | precondition(self.messageVector[i].msg_hdr.namelen != 0, "Unexpected zero length peer name")
193 | #else
194 | precondition(self.messageVector[i].msg_hdr.msg_namelen != 0, "Unexpected zero length peer name")
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
195 | #endif
196 | let address: SocketAddress = try self.sockaddrVector[i].convert()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:202:89: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
200 | if parseControlMessages {
201 | let controlMessagesReceived =
202 | UnsafeControlMessageCollection(messageHeader: self.messageVector[i].msg_hdr)
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
203 | metadata = .init(from: controlMessagesReceived)
204 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:202:89: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
200 | if parseControlMessages {
201 | let controlMessagesReceived =
202 | UnsafeControlMessageCollection(messageHeader: self.messageVector[i].msg_hdr)
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
203 | metadata = .init(from: controlMessagesReceived)
204 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:186:55: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
184 | // Now we move the writer index backwards to where the end of the read was. Note that 0 is not an
185 | // error for datagrams, zero-length datagrams are permitted.
186 | let readBytes = Int(self.messageVector[i].msg_len)
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
187 | slice.moveWriterIndex(to: readBytes)
188 | totalReadSize += readBytes
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:186:55: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
184 | // Now we move the writer index backwards to where the end of the read was. Note that 0 is not an
185 | // error for datagrams, zero-length datagrams are permitted.
186 | let readBytes = Int(self.messageVector[i].msg_len)
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
187 | slice.moveWriterIndex(to: readBytes)
188 | totalReadSize += readBytes
[249/340] Compiling NIOPosix FileDescriptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:43:28: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
41 |
42 | self.messageVector = .allocateAndInitialize(
43 | repeating: MMsgHdr(msg_hdr: msghdr(), msg_len: 0),
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
44 | count: newValue
45 | )
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:134:41: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
132 | msgHdr.msg_controllen = .init(controlBytes.count)
133 | msgHdr.msg_flags = 0
134 | self.messageVector[i] = MMsgHdr(msg_hdr: msgHdr, msg_len: 0)
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
135 |
136 | // Note that we don't set up the sockaddr vector: that's because it needs no initialization,
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:224:24: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
222 | static func allocate(messageCount: Int) -> DatagramVectorReadManager {
223 | let messageVector = UnsafeMutableBufferPointer.allocateAndInitialize(
224 | repeating: MMsgHdr(msg_hdr: msghdr(), msg_len: 0),
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
225 | count: messageCount
226 | )
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:194:48: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
192 | precondition(self.messageVector[i].msg_hdr.namelen != 0, "Unexpected zero length peer name")
193 | #else
194 | precondition(self.messageVector[i].msg_hdr.msg_namelen != 0, "Unexpected zero length peer name")
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
195 | #endif
196 | let address: SocketAddress = try self.sockaddrVector[i].convert()
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:202:89: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
200 | if parseControlMessages {
201 | let controlMessagesReceived =
202 | UnsafeControlMessageCollection(messageHeader: self.messageVector[i].msg_hdr)
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
203 | metadata = .init(from: controlMessagesReceived)
204 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:202:89: error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
200 | if parseControlMessages {
201 | let controlMessagesReceived =
202 | UnsafeControlMessageCollection(messageHeader: self.messageVector[i].msg_hdr)
| `- error: property 'msg_hdr' is not available due to missing import of defining module 'CNIODarwin'
203 | metadata = .init(from: controlMessagesReceived)
204 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:186:55: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
184 | // Now we move the writer index backwards to where the end of the read was. Note that 0 is not an
185 | // error for datagrams, zero-length datagrams are permitted.
186 | let readBytes = Int(self.messageVector[i].msg_len)
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
187 | slice.moveWriterIndex(to: readBytes)
188 | totalReadSize += readBytes
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/DatagramVectorReadManager.swift:186:55: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
14 | import CNIOLinux
15 | import NIOCore
16 |
| `- note: add import of module 'CNIODarwin'
17 | /// An object that manages issuing vector reads for datagram channels.
18 | ///
:
184 | // Now we move the writer index backwards to where the end of the read was. Note that 0 is not an
185 | // error for datagrams, zero-length datagrams are permitted.
186 | let readBytes = Int(self.messageVector[i].msg_len)
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
187 | slice.moveWriterIndex(to: readBytes)
188 | totalReadSize += readBytes
[250/340] Compiling NIOPosix SelectorKqueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectorKqueue.swift:339:37: error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
14 |
15 | import NIOCore
16 |
| `- note: add import of module 'NIOConcurrencyHelpers'
17 | #if canImport(Darwin)
18 |
:
337 | func close0() throws {
338 |
339 | self.externalSelectorFDLock.withLock {
| `- error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
340 | // We try! all of the closes because close can only fail in the following ways:
341 | // - EINTR, which we eat in Posix.close
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectorKqueue.swift:357:41: error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
14 |
15 | import NIOCore
16 |
| `- note: add import of module 'NIOConcurrencyHelpers'
17 | #if canImport(Darwin)
18 |
:
355 | func wakeup0() throws {
356 | assert(NIOThread.current != self.myThread)
357 | try self.externalSelectorFDLock.withLock {
| `- error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
358 | guard self.selectorFD >= 0 else {
359 | throw EventLoopError._shutdown
[251/340] Compiling NIOPosix SelectorUring.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectorKqueue.swift:339:37: error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
14 |
15 | import NIOCore
16 |
| `- note: add import of module 'NIOConcurrencyHelpers'
17 | #if canImport(Darwin)
18 |
:
337 | func close0() throws {
338 |
339 | self.externalSelectorFDLock.withLock {
| `- error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
340 | // We try! all of the closes because close can only fail in the following ways:
341 | // - EINTR, which we eat in Posix.close
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectorKqueue.swift:357:41: error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
14 |
15 | import NIOCore
16 |
| `- note: add import of module 'NIOConcurrencyHelpers'
17 | #if canImport(Darwin)
18 |
:
355 | func wakeup0() throws {
356 | assert(NIOThread.current != self.myThread)
357 | try self.externalSelectorFDLock.withLock {
| `- error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
358 | guard self.selectorFD >= 0 else {
359 | throw EventLoopError._shutdown
[252/340] Compiling NIOPosix ServerSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectorKqueue.swift:339:37: error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
14 |
15 | import NIOCore
16 |
| `- note: add import of module 'NIOConcurrencyHelpers'
17 | #if canImport(Darwin)
18 |
:
337 | func close0() throws {
338 |
339 | self.externalSelectorFDLock.withLock {
| `- error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
340 | // We try! all of the closes because close can only fail in the following ways:
341 | // - EINTR, which we eat in Posix.close
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectorKqueue.swift:357:41: error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
14 |
15 | import NIOCore
16 |
| `- note: add import of module 'NIOConcurrencyHelpers'
17 | #if canImport(Darwin)
18 |
:
355 | func wakeup0() throws {
356 | assert(NIOThread.current != self.myThread)
357 | try self.externalSelectorFDLock.withLock {
| `- error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
358 | guard self.selectorFD >= 0 else {
359 | throw EventLoopError._shutdown
[253/340] Compiling NIOPosix Socket.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectorKqueue.swift:339:37: error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
14 |
15 | import NIOCore
16 |
| `- note: add import of module 'NIOConcurrencyHelpers'
17 | #if canImport(Darwin)
18 |
:
337 | func close0() throws {
338 |
339 | self.externalSelectorFDLock.withLock {
| `- error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
340 | // We try! all of the closes because close can only fail in the following ways:
341 | // - EINTR, which we eat in Posix.close
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectorKqueue.swift:357:41: error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
14 |
15 | import NIOCore
16 |
| `- note: add import of module 'NIOConcurrencyHelpers'
17 | #if canImport(Darwin)
18 |
:
355 | func wakeup0() throws {
356 | assert(NIOThread.current != self.myThread)
357 | try self.externalSelectorFDLock.withLock {
| `- error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
358 | guard self.selectorFD >= 0 else {
359 | throw EventLoopError._shutdown
[254/340] Compiling NIOPosix SocketChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectorKqueue.swift:339:37: error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
14 |
15 | import NIOCore
16 |
| `- note: add import of module 'NIOConcurrencyHelpers'
17 | #if canImport(Darwin)
18 |
:
337 | func close0() throws {
338 |
339 | self.externalSelectorFDLock.withLock {
| `- error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
340 | // We try! all of the closes because close can only fail in the following ways:
341 | // - EINTR, which we eat in Posix.close
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectorKqueue.swift:357:41: error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
14 |
15 | import NIOCore
16 |
| `- note: add import of module 'NIOConcurrencyHelpers'
17 | #if canImport(Darwin)
18 |
:
355 | func wakeup0() throws {
356 | assert(NIOThread.current != self.myThread)
357 | try self.externalSelectorFDLock.withLock {
| `- error: instance method 'withLock' is not available due to missing import of defining module 'NIOConcurrencyHelpers'
358 | guard self.selectorFD >= 0 else {
359 | throw EventLoopError._shutdown
[255/340] Compiling NIOPosix Selectable.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:63:22: warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
64 |
65 | static let strictModeEnabled: Bool = {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:270:10: note: expected sendability to match requirement here
268 | /// - Returns: `EventLoopFuture` that is notified once the task was executed.
269 | @preconcurrency
270 | func submit<T>(_ task: @escaping @Sendable () throws -> T) -> EventLoopFuture<T>
| `- note: expected sendability to match requirement here
271 |
272 | /// The current time of the event loop.
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:940:32: warning: redundant conformance of 'SelectableEventLoop' to protocol 'Sendable'
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- note: conformance to 'Sendable' generated by macro here
64 |
65 | static let strictModeEnabled: Bool = {
:
938 | // MARK: SerialExecutor conformance
939 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
940 | extension SelectableEventLoop: NIOSerialEventLoopExecutor {}
| `- warning: redundant conformance of 'SelectableEventLoop' to protocol 'Sendable'
941 |
942 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:940:32: warning: redundant conformance of 'SelectableEventLoop' to protocol 'SendableMetatype'
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- note: conformance to 'SendableMetatype' generated by macro here
64 |
65 | static let strictModeEnabled: Bool = {
:
938 | // MARK: SerialExecutor conformance
939 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
940 | extension SelectableEventLoop: NIOSerialEventLoopExecutor {}
| `- warning: redundant conformance of 'SelectableEventLoop' to protocol 'SendableMetatype'
941 |
942 | @usableFromInline
[256/340] Compiling NIOPosix SelectableChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:63:22: warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
64 |
65 | static let strictModeEnabled: Bool = {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:270:10: note: expected sendability to match requirement here
268 | /// - Returns: `EventLoopFuture` that is notified once the task was executed.
269 | @preconcurrency
270 | func submit<T>(_ task: @escaping @Sendable () throws -> T) -> EventLoopFuture<T>
| `- note: expected sendability to match requirement here
271 |
272 | /// The current time of the event loop.
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:940:32: warning: redundant conformance of 'SelectableEventLoop' to protocol 'Sendable'
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- note: conformance to 'Sendable' generated by macro here
64 |
65 | static let strictModeEnabled: Bool = {
:
938 | // MARK: SerialExecutor conformance
939 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
940 | extension SelectableEventLoop: NIOSerialEventLoopExecutor {}
| `- warning: redundant conformance of 'SelectableEventLoop' to protocol 'Sendable'
941 |
942 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:940:32: warning: redundant conformance of 'SelectableEventLoop' to protocol 'SendableMetatype'
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- note: conformance to 'SendableMetatype' generated by macro here
64 |
65 | static let strictModeEnabled: Bool = {
:
938 | // MARK: SerialExecutor conformance
939 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
940 | extension SelectableEventLoop: NIOSerialEventLoopExecutor {}
| `- warning: redundant conformance of 'SelectableEventLoop' to protocol 'SendableMetatype'
941 |
942 | @usableFromInline
[257/340] Compiling NIOPosix SelectableEventLoop.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:63:22: warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
64 |
65 | static let strictModeEnabled: Bool = {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:270:10: note: expected sendability to match requirement here
268 | /// - Returns: `EventLoopFuture` that is notified once the task was executed.
269 | @preconcurrency
270 | func submit<T>(_ task: @escaping @Sendable () throws -> T) -> EventLoopFuture<T>
| `- note: expected sendability to match requirement here
271 |
272 | /// The current time of the event loop.
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:940:32: warning: redundant conformance of 'SelectableEventLoop' to protocol 'Sendable'
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- note: conformance to 'Sendable' generated by macro here
64 |
65 | static let strictModeEnabled: Bool = {
:
938 | // MARK: SerialExecutor conformance
939 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
940 | extension SelectableEventLoop: NIOSerialEventLoopExecutor {}
| `- warning: redundant conformance of 'SelectableEventLoop' to protocol 'Sendable'
941 |
942 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:940:32: warning: redundant conformance of 'SelectableEventLoop' to protocol 'SendableMetatype'
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- note: conformance to 'SendableMetatype' generated by macro here
64 |
65 | static let strictModeEnabled: Bool = {
:
938 | // MARK: SerialExecutor conformance
939 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
940 | extension SelectableEventLoop: NIOSerialEventLoopExecutor {}
| `- warning: redundant conformance of 'SelectableEventLoop' to protocol 'SendableMetatype'
941 |
942 | @usableFromInline
[258/340] Compiling NIOPosix SelectorEpoll.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:63:22: warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
64 |
65 | static let strictModeEnabled: Bool = {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:270:10: note: expected sendability to match requirement here
268 | /// - Returns: `EventLoopFuture` that is notified once the task was executed.
269 | @preconcurrency
270 | func submit<T>(_ task: @escaping @Sendable () throws -> T) -> EventLoopFuture<T>
| `- note: expected sendability to match requirement here
271 |
272 | /// The current time of the event loop.
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:940:32: warning: redundant conformance of 'SelectableEventLoop' to protocol 'Sendable'
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- note: conformance to 'Sendable' generated by macro here
64 |
65 | static let strictModeEnabled: Bool = {
:
938 | // MARK: SerialExecutor conformance
939 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
940 | extension SelectableEventLoop: NIOSerialEventLoopExecutor {}
| `- warning: redundant conformance of 'SelectableEventLoop' to protocol 'Sendable'
941 |
942 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:940:32: warning: redundant conformance of 'SelectableEventLoop' to protocol 'SendableMetatype'
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- note: conformance to 'SendableMetatype' generated by macro here
64 |
65 | static let strictModeEnabled: Bool = {
:
938 | // MARK: SerialExecutor conformance
939 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
940 | extension SelectableEventLoop: NIOSerialEventLoopExecutor {}
| `- warning: redundant conformance of 'SelectableEventLoop' to protocol 'SendableMetatype'
941 |
942 | @usableFromInline
[259/340] Compiling NIOPosix SelectorGeneric.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:63:22: warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- warning: sendability of function types in instance method 'submit' does not match requirement in protocol 'EventLoop'; this is an error in the Swift 6 language mode
64 |
65 | static let strictModeEnabled: Bool = {
/Users/admin/builder/spi-builder-workspace/Sources/NIOCore/EventLoop.swift:270:10: note: expected sendability to match requirement here
268 | /// - Returns: `EventLoopFuture` that is notified once the task was executed.
269 | @preconcurrency
270 | func submit<T>(_ task: @escaping @Sendable () throws -> T) -> EventLoopFuture<T>
| `- note: expected sendability to match requirement here
271 |
272 | /// The current time of the event loop.
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:940:32: warning: redundant conformance of 'SelectableEventLoop' to protocol 'Sendable'
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- note: conformance to 'Sendable' generated by macro here
64 |
65 | static let strictModeEnabled: Bool = {
:
938 | // MARK: SerialExecutor conformance
939 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
940 | extension SelectableEventLoop: NIOSerialEventLoopExecutor {}
| `- warning: redundant conformance of 'SelectableEventLoop' to protocol 'Sendable'
941 |
942 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/SelectableEventLoop.swift:940:32: warning: redundant conformance of 'SelectableEventLoop' to protocol 'SendableMetatype'
61 | /// is guaranteed to never change!
62 | @usableFromInline
63 | internal final class SelectableEventLoop: EventLoop {
| `- note: conformance to 'SendableMetatype' generated by macro here
64 |
65 | static let strictModeEnabled: Bool = {
:
938 | // MARK: SerialExecutor conformance
939 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
940 | extension SelectableEventLoop: NIOSerialEventLoopExecutor {}
| `- warning: redundant conformance of 'SelectableEventLoop' to protocol 'SendableMetatype'
941 |
942 | @usableFromInline
[260/340] Compiling NIOPosix PendingDatagramWritesManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/PendingDatagramWritesManager.swift:155:27: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
16 | import CNIOLinux
17 | import NIOCore
18 |
| `- note: add import of module 'CNIODarwin'
19 | private struct PendingDatagramWrite {
20 | var data: ByteBuffer
:
153 | msg.msg_controllen = .init(controlMessageBytePointer.count)
154 | msg.msg_flags = 0
155 | msgs[c] = MMsgHdr(msg_hdr: msg, msg_len: 0)
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
156 | }
157 | c += 1
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/PendingDatagramWritesManager.swift:291:33: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
16 | import CNIOLinux
17 | import NIOCore
18 |
| `- note: add import of module 'CNIODarwin'
19 | private struct PendingDatagramWrite {
20 | var data: ByteBuffer
:
289 |
290 | for write in writes {
291 | let written = write.msg_len
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
292 | let thisWriteFiller = didScalarWrite(written: Int(written)).0
293 | assert(thisWriteFiller?.1 == nil, "didVectorWrite called with errors on single writes!")
[261/340] Compiling NIOPosix PendingWritesManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/PendingDatagramWritesManager.swift:155:27: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
16 | import CNIOLinux
17 | import NIOCore
18 |
| `- note: add import of module 'CNIODarwin'
19 | private struct PendingDatagramWrite {
20 | var data: ByteBuffer
:
153 | msg.msg_controllen = .init(controlMessageBytePointer.count)
154 | msg.msg_flags = 0
155 | msgs[c] = MMsgHdr(msg_hdr: msg, msg_len: 0)
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
156 | }
157 | c += 1
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/PendingDatagramWritesManager.swift:291:33: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
16 | import CNIOLinux
17 | import NIOCore
18 |
| `- note: add import of module 'CNIODarwin'
19 | private struct PendingDatagramWrite {
20 | var data: ByteBuffer
:
289 |
290 | for write in writes {
291 | let written = write.msg_len
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
292 | let thisWriteFiller = didScalarWrite(written: Int(written)).0
293 | assert(thisWriteFiller?.1 == nil, "didVectorWrite called with errors on single writes!")
[262/340] Compiling NIOPosix PipeChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/PendingDatagramWritesManager.swift:155:27: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
16 | import CNIOLinux
17 | import NIOCore
18 |
| `- note: add import of module 'CNIODarwin'
19 | private struct PendingDatagramWrite {
20 | var data: ByteBuffer
:
153 | msg.msg_controllen = .init(controlMessageBytePointer.count)
154 | msg.msg_flags = 0
155 | msgs[c] = MMsgHdr(msg_hdr: msg, msg_len: 0)
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
156 | }
157 | c += 1
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/PendingDatagramWritesManager.swift:291:33: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
16 | import CNIOLinux
17 | import NIOCore
18 |
| `- note: add import of module 'CNIODarwin'
19 | private struct PendingDatagramWrite {
20 | var data: ByteBuffer
:
289 |
290 | for write in writes {
291 | let written = write.msg_len
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
292 | let thisWriteFiller = didScalarWrite(written: Int(written)).0
293 | assert(thisWriteFiller?.1 == nil, "didVectorWrite called with errors on single writes!")
[263/340] Compiling NIOPosix PipePair.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/PendingDatagramWritesManager.swift:155:27: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
16 | import CNIOLinux
17 | import NIOCore
18 |
| `- note: add import of module 'CNIODarwin'
19 | private struct PendingDatagramWrite {
20 | var data: ByteBuffer
:
153 | msg.msg_controllen = .init(controlMessageBytePointer.count)
154 | msg.msg_flags = 0
155 | msgs[c] = MMsgHdr(msg_hdr: msg, msg_len: 0)
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
156 | }
157 | c += 1
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/PendingDatagramWritesManager.swift:291:33: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
16 | import CNIOLinux
17 | import NIOCore
18 |
| `- note: add import of module 'CNIODarwin'
19 | private struct PendingDatagramWrite {
20 | var data: ByteBuffer
:
289 |
290 | for write in writes {
291 | let written = write.msg_len
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
292 | let thisWriteFiller = didScalarWrite(written: Int(written)).0
293 | assert(thisWriteFiller?.1 == nil, "didVectorWrite called with errors on single writes!")
[264/340] Compiling NIOPosix Pool.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/PendingDatagramWritesManager.swift:155:27: error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
16 | import CNIOLinux
17 | import NIOCore
18 |
| `- note: add import of module 'CNIODarwin'
19 | private struct PendingDatagramWrite {
20 | var data: ByteBuffer
:
153 | msg.msg_controllen = .init(controlMessageBytePointer.count)
154 | msg.msg_flags = 0
155 | msgs[c] = MMsgHdr(msg_hdr: msg, msg_len: 0)
| `- error: initializer 'init(msg_hdr:msg_len:)' is not available due to missing import of defining module 'CNIODarwin'
156 | }
157 | c += 1
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/PendingDatagramWritesManager.swift:291:33: error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
16 | import CNIOLinux
17 | import NIOCore
18 |
| `- note: add import of module 'CNIODarwin'
19 | private struct PendingDatagramWrite {
20 | var data: ByteBuffer
:
289 |
290 | for write in writes {
291 | let written = write.msg_len
| `- error: property 'msg_len' is not available due to missing import of defining module 'CNIODarwin'
292 | let thisWriteFiller = didScalarWrite(written: Int(written)).0
293 | assert(thisWriteFiller?.1 == nil, "didVectorWrite called with errors on single writes!")
[265/340] Compiling NIOPosix SocketProtocols.swift
[266/340] Compiling NIOPosix System.swift
[267/340] Compiling NIOPosix Thread.swift
[268/340] Compiling NIOPosix ThreadPosix.swift
[269/340] Compiling NIOPosix ThreadWindows.swift
[270/340] Compiling NIOPosix LinuxCPUSet.swift
[271/340] Compiling NIOPosix LinuxUring.swift
[272/340] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[273/340] Compiling NIOPosix NIOThreadPool.swift
[274/340] Compiling NIOPosix NonBlockingFileIO.swift
[275/340] Compiling NIOPosix PooledRecvBufferAllocator.swift
[276/340] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[277/340] Compiling NIOPosix PosixSingletons.swift
[278/340] Compiling NIOPosix RawSocketBootstrap.swift
[279/340] Compiling NIOPosix Resolver.swift
[280/340] Compiling NIOPosix BSDSocketAPICommon.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:44:21: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
42 | } else {
43 | return eventLoop.submit {
44 | try self.setSocketOption0(level: level, name: name, value: value)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
45 | }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:31:10: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
29 | #endif
30 |
31 | func unsafeSetSocketOption<Value>(
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
32 | level: NIOBSDSocket.OptionLevel,
33 | name: NIOBSDSocket.Option,
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:70:21: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
68 | } else {
69 | return eventLoop.submit {
70 | try self.getSocketOption0(level: level, name: name)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:58:10: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
56 | #endif
57 |
58 | func unsafeGetSocketOption<Value>(
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
59 | level: NIOBSDSocket.OptionLevel,
60 | name: NIOBSDSocket.Option
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:622:43: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
620 | return promise.futureResult
621 | } else {
622 | return eventLoop.submit { try self.setOption0(option, value: value) }
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
623 | }
624 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:616:23: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
614 | }
615 |
616 | public final func setOption<Option: ChannelOption>(_ option: Option, value: Option.Value) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
617 | if eventLoop.inEventLoop {
618 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:670:48: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
668 | }
669 | } else {
670 | return self.eventLoop.submit { try self.getOption0(option) }
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
671 | }
672 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:662:17: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
660 | }
661 |
662 | public func getOption<Option: ChannelOption>(_ option: Option) -> EventLoopFuture<Option.Value> {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
663 | if eventLoop.inEventLoop {
664 | do {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:912:13: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
910 | eventLoop.execute {
911 | // ensure this is executed in a delayed fashion as the users code may still traverse the pipeline
912 | self.removeHandlers(pipeline: self.pipeline)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
913 |
914 | self.closePromise.succeed(())
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:850:17: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
848 | /// - mode: The close mode, must be `.all` for `BaseSocketChannel`
849 | /// - promise: The promise that gets notified about the result of the deregistration/close operations.
850 | public func close0(error: Error, mode: CloseMode, promise: EventLoopPromise<Void>?) {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
851 | self.eventLoop.assertInEventLoop()
852 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:955:13: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
953 | self.register0(promise: registerPromise)
954 | registerPromise.futureResult.whenFailure { (_: Error) in
955 | self.close(promise: nil)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
956 | }
957 | registerPromise.futureResult.cascadeFailure(to: promise)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:948:23: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
946 | }
947 |
948 | public final func registerAlreadyConfigured0(promise: EventLoopPromise<Void>?) {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
949 | self.eventLoop.assertInEventLoop()
950 | assert(self.isOpen)
[281/340] Compiling NIOPosix BSDSocketAPIPosix.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:44:21: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
42 | } else {
43 | return eventLoop.submit {
44 | try self.setSocketOption0(level: level, name: name, value: value)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
45 | }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:31:10: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
29 | #endif
30 |
31 | func unsafeSetSocketOption<Value>(
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
32 | level: NIOBSDSocket.OptionLevel,
33 | name: NIOBSDSocket.Option,
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:70:21: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
68 | } else {
69 | return eventLoop.submit {
70 | try self.getSocketOption0(level: level, name: name)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:58:10: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
56 | #endif
57 |
58 | func unsafeGetSocketOption<Value>(
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
59 | level: NIOBSDSocket.OptionLevel,
60 | name: NIOBSDSocket.Option
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:622:43: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
620 | return promise.futureResult
621 | } else {
622 | return eventLoop.submit { try self.setOption0(option, value: value) }
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
623 | }
624 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:616:23: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
614 | }
615 |
616 | public final func setOption<Option: ChannelOption>(_ option: Option, value: Option.Value) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
617 | if eventLoop.inEventLoop {
618 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:670:48: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
668 | }
669 | } else {
670 | return self.eventLoop.submit { try self.getOption0(option) }
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
671 | }
672 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:662:17: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
660 | }
661 |
662 | public func getOption<Option: ChannelOption>(_ option: Option) -> EventLoopFuture<Option.Value> {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
663 | if eventLoop.inEventLoop {
664 | do {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:912:13: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
910 | eventLoop.execute {
911 | // ensure this is executed in a delayed fashion as the users code may still traverse the pipeline
912 | self.removeHandlers(pipeline: self.pipeline)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
913 |
914 | self.closePromise.succeed(())
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:850:17: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
848 | /// - mode: The close mode, must be `.all` for `BaseSocketChannel`
849 | /// - promise: The promise that gets notified about the result of the deregistration/close operations.
850 | public func close0(error: Error, mode: CloseMode, promise: EventLoopPromise<Void>?) {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
851 | self.eventLoop.assertInEventLoop()
852 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:955:13: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
953 | self.register0(promise: registerPromise)
954 | registerPromise.futureResult.whenFailure { (_: Error) in
955 | self.close(promise: nil)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
956 | }
957 | registerPromise.futureResult.cascadeFailure(to: promise)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:948:23: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
946 | }
947 |
948 | public final func registerAlreadyConfigured0(promise: EventLoopPromise<Void>?) {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
949 | self.eventLoop.assertInEventLoop()
950 | assert(self.isOpen)
[282/340] Compiling NIOPosix BSDSocketAPIWindows.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:44:21: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
42 | } else {
43 | return eventLoop.submit {
44 | try self.setSocketOption0(level: level, name: name, value: value)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
45 | }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:31:10: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
29 | #endif
30 |
31 | func unsafeSetSocketOption<Value>(
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
32 | level: NIOBSDSocket.OptionLevel,
33 | name: NIOBSDSocket.Option,
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:70:21: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
68 | } else {
69 | return eventLoop.submit {
70 | try self.getSocketOption0(level: level, name: name)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:58:10: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
56 | #endif
57 |
58 | func unsafeGetSocketOption<Value>(
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
59 | level: NIOBSDSocket.OptionLevel,
60 | name: NIOBSDSocket.Option
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:622:43: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
620 | return promise.futureResult
621 | } else {
622 | return eventLoop.submit { try self.setOption0(option, value: value) }
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
623 | }
624 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:616:23: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
614 | }
615 |
616 | public final func setOption<Option: ChannelOption>(_ option: Option, value: Option.Value) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
617 | if eventLoop.inEventLoop {
618 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:670:48: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
668 | }
669 | } else {
670 | return self.eventLoop.submit { try self.getOption0(option) }
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
671 | }
672 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:662:17: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
660 | }
661 |
662 | public func getOption<Option: ChannelOption>(_ option: Option) -> EventLoopFuture<Option.Value> {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
663 | if eventLoop.inEventLoop {
664 | do {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:912:13: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
910 | eventLoop.execute {
911 | // ensure this is executed in a delayed fashion as the users code may still traverse the pipeline
912 | self.removeHandlers(pipeline: self.pipeline)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
913 |
914 | self.closePromise.succeed(())
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:850:17: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
848 | /// - mode: The close mode, must be `.all` for `BaseSocketChannel`
849 | /// - promise: The promise that gets notified about the result of the deregistration/close operations.
850 | public func close0(error: Error, mode: CloseMode, promise: EventLoopPromise<Void>?) {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
851 | self.eventLoop.assertInEventLoop()
852 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:955:13: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
953 | self.register0(promise: registerPromise)
954 | registerPromise.futureResult.whenFailure { (_: Error) in
955 | self.close(promise: nil)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
956 | }
957 | registerPromise.futureResult.cascadeFailure(to: promise)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:948:23: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
946 | }
947 |
948 | public final func registerAlreadyConfigured0(promise: EventLoopPromise<Void>?) {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
949 | self.eventLoop.assertInEventLoop()
950 | assert(self.isOpen)
[283/340] Compiling NIOPosix BaseSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:44:21: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
42 | } else {
43 | return eventLoop.submit {
44 | try self.setSocketOption0(level: level, name: name, value: value)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
45 | }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:31:10: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
29 | #endif
30 |
31 | func unsafeSetSocketOption<Value>(
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
32 | level: NIOBSDSocket.OptionLevel,
33 | name: NIOBSDSocket.Option,
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:70:21: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
68 | } else {
69 | return eventLoop.submit {
70 | try self.getSocketOption0(level: level, name: name)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:58:10: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
56 | #endif
57 |
58 | func unsafeGetSocketOption<Value>(
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
59 | level: NIOBSDSocket.OptionLevel,
60 | name: NIOBSDSocket.Option
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:622:43: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
620 | return promise.futureResult
621 | } else {
622 | return eventLoop.submit { try self.setOption0(option, value: value) }
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
623 | }
624 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:616:23: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
614 | }
615 |
616 | public final func setOption<Option: ChannelOption>(_ option: Option, value: Option.Value) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
617 | if eventLoop.inEventLoop {
618 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:670:48: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
668 | }
669 | } else {
670 | return self.eventLoop.submit { try self.getOption0(option) }
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
671 | }
672 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:662:17: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
660 | }
661 |
662 | public func getOption<Option: ChannelOption>(_ option: Option) -> EventLoopFuture<Option.Value> {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
663 | if eventLoop.inEventLoop {
664 | do {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:912:13: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
910 | eventLoop.execute {
911 | // ensure this is executed in a delayed fashion as the users code may still traverse the pipeline
912 | self.removeHandlers(pipeline: self.pipeline)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
913 |
914 | self.closePromise.succeed(())
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:850:17: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
848 | /// - mode: The close mode, must be `.all` for `BaseSocketChannel`
849 | /// - promise: The promise that gets notified about the result of the deregistration/close operations.
850 | public func close0(error: Error, mode: CloseMode, promise: EventLoopPromise<Void>?) {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
851 | self.eventLoop.assertInEventLoop()
852 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:955:13: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
953 | self.register0(promise: registerPromise)
954 | registerPromise.futureResult.whenFailure { (_: Error) in
955 | self.close(promise: nil)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
956 | }
957 | registerPromise.futureResult.cascadeFailure(to: promise)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:948:23: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
946 | }
947 |
948 | public final func registerAlreadyConfigured0(promise: EventLoopPromise<Void>?) {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
949 | self.eventLoop.assertInEventLoop()
950 | assert(self.isOpen)
[284/340] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:44:21: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
42 | } else {
43 | return eventLoop.submit {
44 | try self.setSocketOption0(level: level, name: name, value: value)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
45 | }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:31:10: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
29 | #endif
30 |
31 | func unsafeSetSocketOption<Value>(
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
32 | level: NIOBSDSocket.OptionLevel,
33 | name: NIOBSDSocket.Option,
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:70:21: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
68 | } else {
69 | return eventLoop.submit {
70 | try self.getSocketOption0(level: level, name: name)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:58:10: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
56 | #endif
57 |
58 | func unsafeGetSocketOption<Value>(
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
59 | level: NIOBSDSocket.OptionLevel,
60 | name: NIOBSDSocket.Option
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:622:43: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
620 | return promise.futureResult
621 | } else {
622 | return eventLoop.submit { try self.setOption0(option, value: value) }
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
623 | }
624 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:616:23: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
614 | }
615 |
616 | public final func setOption<Option: ChannelOption>(_ option: Option, value: Option.Value) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
617 | if eventLoop.inEventLoop {
618 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:670:48: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
668 | }
669 | } else {
670 | return self.eventLoop.submit { try self.getOption0(option) }
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
671 | }
672 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:662:17: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
660 | }
661 |
662 | public func getOption<Option: ChannelOption>(_ option: Option) -> EventLoopFuture<Option.Value> {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
663 | if eventLoop.inEventLoop {
664 | do {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:912:13: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
910 | eventLoop.execute {
911 | // ensure this is executed in a delayed fashion as the users code may still traverse the pipeline
912 | self.removeHandlers(pipeline: self.pipeline)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
913 |
914 | self.closePromise.succeed(())
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:850:17: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
848 | /// - mode: The close mode, must be `.all` for `BaseSocketChannel`
849 | /// - promise: The promise that gets notified about the result of the deregistration/close operations.
850 | public func close0(error: Error, mode: CloseMode, promise: EventLoopPromise<Void>?) {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
851 | self.eventLoop.assertInEventLoop()
852 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:955:13: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
953 | self.register0(promise: registerPromise)
954 | registerPromise.futureResult.whenFailure { (_: Error) in
955 | self.close(promise: nil)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
956 | }
957 | registerPromise.futureResult.cascadeFailure(to: promise)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:948:23: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
946 | }
947 |
948 | public final func registerAlreadyConfigured0(promise: EventLoopPromise<Void>?) {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
949 | self.eventLoop.assertInEventLoop()
950 | assert(self.isOpen)
[285/340] Compiling NIOPosix BaseSocketChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:44:21: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
42 | } else {
43 | return eventLoop.submit {
44 | try self.setSocketOption0(level: level, name: name, value: value)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
45 | }
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:31:10: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
29 | #endif
30 |
31 | func unsafeSetSocketOption<Value>(
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
32 | level: NIOBSDSocket.OptionLevel,
33 | name: NIOBSDSocket.Option,
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:70:21: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
68 | } else {
69 | return eventLoop.submit {
70 | try self.getSocketOption0(level: level, name: name)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
71 | }
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel+SocketOptionProvider.swift:58:10: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
56 | #endif
57 |
58 | func unsafeGetSocketOption<Value>(
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
59 | level: NIOBSDSocket.OptionLevel,
60 | name: NIOBSDSocket.Option
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:622:43: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
620 | return promise.futureResult
621 | } else {
622 | return eventLoop.submit { try self.setOption0(option, value: value) }
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
623 | }
624 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:616:23: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
614 | }
615 |
616 | public final func setOption<Option: ChannelOption>(_ option: Option, value: Option.Value) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
617 | if eventLoop.inEventLoop {
618 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:670:48: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
668 | }
669 | } else {
670 | return self.eventLoop.submit { try self.getOption0(option) }
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
671 | }
672 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:662:17: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
660 | }
661 |
662 | public func getOption<Option: ChannelOption>(_ option: Option) -> EventLoopFuture<Option.Value> {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
663 | if eventLoop.inEventLoop {
664 | do {
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:912:13: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
910 | eventLoop.execute {
911 | // ensure this is executed in a delayed fashion as the users code may still traverse the pipeline
912 | self.removeHandlers(pipeline: self.pipeline)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
913 |
914 | self.closePromise.succeed(())
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:850:17: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
848 | /// - mode: The close mode, must be `.all` for `BaseSocketChannel`
849 | /// - promise: The promise that gets notified about the result of the deregistration/close operations.
850 | public func close0(error: Error, mode: CloseMode, promise: EventLoopPromise<Void>?) {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
851 | self.eventLoop.assertInEventLoop()
852 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:955:13: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
953 | self.register0(promise: registerPromise)
954 | registerPromise.futureResult.whenFailure { (_: Error) in
955 | self.close(promise: nil)
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
956 | }
957 | registerPromise.futureResult.cascadeFailure(to: promise)
/Users/admin/builder/spi-builder-workspace/Sources/NIOPosix/BaseSocketChannel.swift:948:23: warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
946 | }
947 |
948 | public final func registerAlreadyConfigured0(promise: EventLoopPromise<Void>?) {
| `- warning: capture of non-sendable type 'SocketType.Type' in an isolated closure
949 | self.eventLoop.assertInEventLoop()
950 | assert(self.isOpen)
[286/340] Compiling NIOPosix UnsafeTransfer.swift
[287/340] Compiling NIOPosix Utilities.swift
[288/340] Compiling NIOPosix VsockAddress.swift
[289/340] Compiling NIOPosix VsockChannelEvents.swift
[290/340] Compiling NIOPosix resource_bundle_accessor.swift
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[73/6233] Fetching swift-atomics, swift-system
[1472/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.61s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.61s)
Fetched https://github.com/apple/swift-system.git from cache (1.61s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.07s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.52s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
BUILD FAILURE 6.2 macosSpm