Build Information
Successful build of swift-cluster-membership, reference main (f5c687
), with Swift 6.0 for macOS (SPM) on 13 May 2025 18:29:13 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-cluster-membership.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-cluster-membership
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f5c6877 Add static SDK CI workflow (#112)
Cloned https://github.com/apple/swift-cluster-membership.git
Revision (git rev-parse @):
f5c6877dd7fd29f85adefcdd1173ba88fd756e9a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-cluster-membership.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/apple/swift-cluster-membership.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/33] Write sources
[4/33] Copying PrivacyInfo.xcprivacy
[4/33] Write sources
[19/33] Compiling CNIOWindows shim.c
[19/33] Compiling CNIOWindows WSAStartup.c
[21/33] Write swift-version-5BDAB9E9C0126B9D.txt
[22/33] Compiling CNIOWASI CNIOWASI.c
[23/33] Compiling CNIOLinux shim.c
[23/33] Compiling CNIOLinux liburing_shims.c
[25/44] Compiling _AtomicsShims.c
[26/44] Compiling CNIOLLHTTP c_nio_http.c
[27/47] Compiling CNIOLLHTTP c_nio_api.c
[28/67] Compiling CNIOLLHTTP c_nio_llhttp.c
[29/67] Write sources
[30/86] Compiling CNIODarwin shim.c
[32/86] Compiling _NIOBase64 Base64.swift
[33/86] Emitting module _NIOBase64
[34/86] Compiling Atomics AtomicStorage.swift
[35/86] Compiling Atomics AtomicValue.swift
[36/86] Compiling Atomics AtomicMemoryOrderings.swift
[37/86] Compiling Atomics DoubleWord.swift
[38/86] Compiling Atomics AtomicBool.swift
[39/86] Compiling Atomics IntegerConformances.swift
[40/86] Compiling Atomics UnsafeAtomic.swift
[41/86] Compiling Atomics UnsafeAtomicLazyReference.swift
[42/86] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[43/87] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[44/87] Emitting module ClusterMembership
[45/87] Compiling ClusterMembership Node.swift
[46/87] Compiling Atomics OptionalRawRepresentable.swift
[47/87] Compiling Atomics RawRepresentable.swift
[48/87] Compiling Atomics AtomicOptionalWrappable.swift
[49/87] Compiling Atomics AtomicReference.swift
[50/87] Compiling Atomics PointerConformances.swift
[51/87] Compiling Atomics Primitives.native.swift
[52/87] Emitting module InternalCollectionsUtilities
[53/87] Compiling Atomics Primitives.shims.swift
[54/87] Compiling Atomics AtomicInteger.swift
[55/103] Emitting module _NIODataStructures
[56/103] Compiling _NIODataStructures _TinyArray.swift
[57/103] Compiling Atomics ManagedAtomic.swift
[58/103] Compiling Atomics ManagedAtomicLazyReference.swift
[61/103] Compiling DequeModule Deque._UnsafeHandle.swift
[62/103] Compiling DequeModule Deque.swift
[65/103] Compiling DequeModule Deque+Testing.swift
[66/103] Compiling DequeModule Deque._Storage.swift
[67/103] Compiling DequeModule Deque+Codable.swift
[68/103] Compiling DequeModule Deque+Collection.swift
[69/105] Compiling Logging MetadataProvider.swift
[70/105] Emitting module Logging
[71/105] Compiling _NIODataStructures Heap.swift
[72/105] Compiling _NIODataStructures PriorityQueue.swift
[73/105] Compiling DequeModule Deque+Equatable.swift
[74/105] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[75/105] Compiling DequeModule Deque+CustomReflectable.swift
[76/105] Compiling DequeModule Deque+Descriptions.swift
[77/105] Compiling DequeModule Deque+Extras.swift
[78/105] Compiling DequeModule Deque+Hashable.swift
[79/105] Compiling Atomics IntegerOperations.swift
[80/105] Compiling Atomics Unmanaged extensions.swift
[83/105] Compiling DequeModule _DequeBufferHeader.swift
[86/105] Compiling DequeModule _DequeSlot.swift
[87/105] Compiling DequeModule _DequeBuffer.swift
[96/106] Compiling CoreMetrics Metrics.swift
[97/106] Compiling CoreMetrics Locks.swift
[98/106] Emitting module CoreMetrics
[99/106] Emitting module DequeModule
[100/106] Compiling Logging LogHandler.swift
[101/106] Compiling Logging Locks.swift
[102/106] Compiling Logging Logging.swift
[103/106] Emitting module Atomics
[104/106] Compiling DequeModule _UnsafeWrappedBuffer.swift
[104/108] Compiling c-nioatomics.c
[105/108] Compiling c-atomics.c
[107/114] Compiling NIOConcurrencyHelpers lock.swift
[108/114] Compiling NIOConcurrencyHelpers NIOLock.swift
[109/114] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[110/114] Compiling NIOConcurrencyHelpers atomics.swift
[111/114] Emitting module NIOConcurrencyHelpers
[112/114] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[113/176] Compiling NIOCore GlobalSingletons.swift
[114/176] Compiling NIOCore IO.swift
[115/176] Compiling NIOCore IOData.swift
[116/176] Compiling NIOCore IPProtocol.swift
[117/176] Compiling NIOCore IntegerBitPacking.swift
[118/176] Compiling NIOCore IntegerTypes.swift
[119/176] Compiling NIOCore Interfaces.swift
[120/182] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[121/182] Compiling NIOCore NIOScheduledCallback.swift
[122/182] Compiling NIOCore NIOSendable.swift
[123/182] Compiling NIOCore RecvByteBufferAllocator.swift
[124/182] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[125/182] Compiling NIOCore SocketAddresses.swift
[126/182] Compiling NIOCore AddressedEnvelope.swift
[127/182] Compiling NIOCore AsyncAwaitSupport.swift
[128/182] Compiling NIOCore AsyncChannel.swift
[129/182] Compiling NIOCore AsyncChannelHandler.swift
[130/182] Compiling NIOCore AsyncChannelInboundStream.swift
[131/182] Compiling NIOCore AsyncChannelOutboundWriter.swift
[132/182] Compiling NIOCore NIOAsyncSequenceProducer.swift
[133/182] Compiling NIOCore Codec.swift
[134/182] Compiling NIOCore ConvenienceOptionSupport.swift
[135/182] Compiling NIOCore DeadChannel.swift
[136/182] Compiling NIOCore DispatchQueue+WithFuture.swift
[137/182] Compiling NIOCore EventLoop+Deprecated.swift
[138/182] Compiling NIOCore EventLoop+SerialExecutor.swift
[139/182] Compiling NIOCore EventLoop.swift
[140/182] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[141/182] Compiling NIOCore EventLoopFuture+Deprecated.swift
[142/182] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[143/182] Compiling NIOCore EventLoopFuture.swift
[144/182] Compiling NIOCore FileDescriptor.swift
[145/182] Compiling NIOCore FileHandle.swift
[146/182] Compiling NIOCore FileRegion.swift
[147/182] Compiling NIOCore Linux.swift
[148/182] Compiling NIOCore MarkedCircularBuffer.swift
[149/182] Compiling NIOCore MulticastChannel.swift
[150/182] Compiling NIOCore NIOAny.swift
[151/182] Compiling NIOCore NIOCloseOnErrorHandler.swift
[152/182] Compiling NIOCore NIOLoopBound.swift
[153/182] Compiling NIOCore SocketOptionProvider.swift
[154/182] Compiling NIOCore SystemCallHelpers.swift
[155/182] Compiling NIOCore TimeAmount+Duration.swift
[156/182] Compiling NIOCore TypeAssistedChannelHandler.swift
[157/182] Compiling NIOCore UniversalBootstrapSupport.swift
[158/182] Compiling NIOCore Utilities.swift
[159/182] Emitting module Metrics
[160/182] Compiling Metrics Metrics.swift
[161/182] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[162/182] Compiling NIOCore NIOAsyncWriter.swift
[163/182] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[164/182] Compiling NIOCore BSDSocketAPI.swift
[165/182] Compiling NIOCore ByteBuffer-aux.swift
[166/182] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[167/182] Compiling NIOCore ByteBuffer-conversions.swift
[168/182] Compiling NIOCore Channel.swift
[169/182] Compiling NIOCore ChannelHandler.swift
[170/182] Compiling NIOCore ChannelHandlers.swift
[171/182] Compiling NIOCore ChannelInvoker.swift
[172/182] Compiling NIOCore ChannelOption.swift
[173/182] Compiling NIOCore ChannelPipeline.swift
[174/182] Compiling NIOCore CircularBuffer.swift
[175/195] Compiling NIOCore ByteBuffer-core.swift
[176/195] Compiling NIOCore ByteBuffer-hex.swift
[177/195] Compiling NIOCore ByteBuffer-int.swift
[178/195] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[179/195] Compiling NIOCore ByteBuffer-multi-int.swift
[180/195] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[181/195] Compiling NIOCore ByteBuffer-views.swift
[182/195] Emitting module NIOCore
[183/247] Emitting module NIOEmbedded
[184/247] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[185/247] Compiling NIOEmbedded Embedded.swift
[186/247] Compiling NIOEmbedded AsyncTestingChannel.swift
[187/247] Compiling NIOPosix Pool.swift
[188/247] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[189/247] Compiling NIOPosix PosixSingletons.swift
[190/247] Compiling NIOPosix RawSocketBootstrap.swift
[191/247] Compiling NIOPosix Resolver.swift
[192/252] Compiling NIOPosix SocketProtocols.swift
[193/252] Compiling NIOPosix System.swift
[194/252] Compiling NIOPosix Thread.swift
[195/252] Compiling NIOPosix ThreadPosix.swift
[196/252] Compiling NIOPosix ThreadWindows.swift
[197/252] Compiling NIOPosix Linux.swift
[198/252] Compiling NIOPosix LinuxCPUSet.swift
[199/252] Compiling NIOPosix LinuxUring.swift
[200/252] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[201/252] Compiling NIOPosix NIOThreadPool.swift
[202/252] Compiling NIOPosix Selectable.swift
[203/252] Compiling NIOPosix SelectableChannel.swift
[204/252] Compiling NIOPosix SelectableEventLoop.swift
[205/252] Compiling NIOPosix SelectorEpoll.swift
[206/252] Compiling NIOPosix SelectorGeneric.swift
[207/252] Emitting module NIOPosix
[208/252] Compiling NIOPosix UnsafeTransfer.swift
[209/252] Compiling NIOPosix Utilities.swift
[210/252] Compiling NIOPosix VsockAddress.swift
[211/252] Compiling NIOPosix VsockChannelEvents.swift
[212/252] Compiling NIOPosix resource_bundle_accessor.swift
[213/252] Compiling NIOPosix BSDSocketAPICommon.swift
[214/252] Compiling NIOPosix BSDSocketAPIPosix.swift
[215/252] Compiling NIOPosix BSDSocketAPIWindows.swift
[216/252] Compiling NIOPosix BaseSocket.swift
[217/252] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[218/252] Compiling NIOPosix BaseSocketChannel.swift
[219/252] Compiling NIOPosix SelectorKqueue.swift
[220/252] Compiling NIOPosix SelectorUring.swift
[221/252] Compiling NIOPosix ServerSocket.swift
[222/252] Compiling NIOPosix Socket.swift
[223/252] Compiling NIOPosix SocketChannel.swift
[224/252] Compiling NIOPosix GetaddrinfoResolver.swift
[225/252] Compiling NIOPosix HappyEyeballs.swift
[226/252] Compiling NIOPosix IO.swift
[227/252] Compiling NIOPosix IntegerBitPacking.swift
[228/252] Compiling NIOPosix IntegerTypes.swift
[229/252] Compiling NIOPosix BaseStreamSocketChannel.swift
[230/252] Compiling NIOPosix Bootstrap.swift
[231/252] Compiling NIOPosix ControlMessage.swift
[232/252] Compiling NIOPosix DatagramVectorReadManager.swift
[233/252] Compiling NIOPosix Errors+Any.swift
[234/252] Compiling NIOPosix FileDescriptor.swift
[235/252] Compiling NIOPosix NonBlockingFileIO.swift
[236/252] Emitting module SWIM
[237/252] Compiling NIOPosix PendingDatagramWritesManager.swift
[238/252] Compiling NIOPosix PendingWritesManager.swift
[239/252] Compiling NIOPosix PipeChannel.swift
[240/252] Compiling NIOPosix PipePair.swift
[243/255] Compiling SWIM time.swift
[244/255] Emitting module NIO
[245/255] Compiling NIO Exports.swift
[246/255] Compiling SWIM Heap.swift
[247/255] Compiling SWIM String+Extensions.swift
[248/255] Compiling SWIM _PrettyLog.swift
[249/277] Compiling SWIM SWIMProtocol.swift
[250/277] Compiling SWIM Settings.swift
[251/277] Compiling SWIM Status.swift
[252/277] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[253/277] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[254/277] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[255/277] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[256/277] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[257/277] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[258/277] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[259/277] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[260/277] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[261/278] Compiling NIOHTTP1 HTTPEncoder.swift
[262/278] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[263/278] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[264/278] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[265/278] Emitting module NIOFoundationCompat
[266/278] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[267/278] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[268/278] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[269/278] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[272/278] Compiling NIOHTTP1 HTTPTypes.swift
[273/278] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[274/278] Compiling NIOHTTP1 ByteCollectionUtils.swift
[275/278] Compiling NIOHTTP1 HTTPDecoder.swift
[276/278] Emitting module NIOHTTP1
[279/297] Compiling NIOExtras NIORequestIdentifiable.swift
[280/297] Compiling NIOExtras PCAPRingBuffer.swift
[281/298] Compiling NIOExtras RequestResponseWithIDHandler.swift
[282/298] Compiling NIOExtras UnsafeTransfer.swift
[283/298] Compiling NIOExtras LineBasedFrameDecoder.swift
[284/298] Compiling NIOExtras MarkedCircularBuffer+PopFirstCheckMarked.swift
[285/298] Compiling NIOExtras QuiescingHelper.swift
[286/298] Compiling NIOExtras RequestResponseHandler.swift
[287/298] Compiling NIOExtras NIOExtrasError.swift
[288/298] Compiling NIOExtras NIOLengthFieldBitLength.swift
[289/298] Compiling NIOExtras DebugInboundEventsHandler.swift
[290/298] Compiling NIOExtras DebugOutboundEventsHandler.swift
[291/298] Emitting module NIOExtras
[292/298] Compiling NIOExtras LengthFieldBasedFrameDecoder.swift
[293/298] Compiling NIOExtras LengthFieldPrepender.swift
[294/298] Compiling NIOExtras JSONRPCFraming+ContentLengthHeader.swift
[295/298] Compiling NIOExtras JSONRPCFraming.swift
[296/298] Compiling NIOExtras FixedLengthFrameDecoder.swift
[297/298] Compiling NIOExtras HTTP1ProxyConnectHandler.swift
[298/298] Compiling NIOExtras WritePCAPHandler.swift
[299/308] Compiling SWIMNIOExample String+Extensions.swift
[300/308] Compiling SWIMNIOExample time.swift
[301/308] Compiling SWIMNIOExample Coding.swift
[302/308] Compiling SWIMNIOExample Settings.swift
[303/308] Compiling SWIMNIOExample NIOPeer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SWIMNIOExample/NIOPeer.swift:78:30: warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
76 | )
77 |
78 | self.channel.writeAndFlush(command, promise: nil)
| `- warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
79 | }
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:293:15: note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
291 | /// and install a reply handler for the specific sequence number associated with the message (along with a timeout)
292 | /// when a callback is provided.
293 | public struct SWIMNIOWriteCommand {
| `- note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
294 | /// SWIM message to be written.
295 | public let message: SWIM.Message
/Users/admin/builder/spi-builder-workspace/Sources/SWIMNIOExample/NIOPeer.swift:122:30: warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
120 | )
121 |
122 | self.channel.writeAndFlush(command, promise: nil)
| `- warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:293:15: note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
291 | /// and install a reply handler for the specific sequence number associated with the message (along with a timeout)
292 | /// when a callback is provided.
293 | public struct SWIMNIOWriteCommand {
| `- note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
294 | /// SWIM message to be written.
295 | public let message: SWIM.Message
/Users/admin/builder/spi-builder-workspace/Sources/SWIMNIOExample/NIOPeer.swift:142:26: warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
140 | )
141 |
142 | self.channel.writeAndFlush(command, promise: nil)
| `- warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:293:15: note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
291 | /// and install a reply handler for the specific sequence number associated with the message (along with a timeout)
292 | /// when a callback is provided.
293 | public struct SWIMNIOWriteCommand {
| `- note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
294 | /// SWIM message to be written.
295 | public let message: SWIM.Message
/Users/admin/builder/spi-builder-workspace/Sources/SWIMNIOExample/NIOPeer.swift:157:26: warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
155 | )
156 |
157 | self.channel.writeAndFlush(command, promise: nil)
| `- warning: type 'SWIMNIOWriteCommand' does not conform to the 'Sendable' protocol
158 | }
159 |
/Users/admin/builder/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOHandler.swift:293:15: note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
291 | /// and install a reply handler for the specific sequence number associated with the message (along with a timeout)
292 | /// when a callback is provided.
293 | public struct SWIMNIOWriteCommand {
| `- note: consider making struct 'SWIMNIOWriteCommand' conform to the 'Sendable' protocol
294 | /// SWIM message to be written.
295 | public let message: SWIM.Message
[304/308] Compiling SWIMNIOExample Logging.swift
[305/308] Compiling SWIMNIOExample SWIMNIOShell.swift
/Users/admin/builder/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:546:17: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a `@Sendable` closure
27 | ///
28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
29 | public final class SWIMNIOShell {
| `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
30 | var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
31 |
:
544 | switch result {
545 | case .success(let response):
546 | self.swim.metrics.shell.pingRequestResponseTimeFirst.recordInterval(
| `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a `@Sendable` closure
547 | since: startedSendingPingRequestsSentAt
548 | )
/Users/admin/builder/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:553:50: warning: capture of 'directive' with non-sendable type 'SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>.SendPingRequestDirective' in a `@Sendable` closure
551 | case .failure(let error):
552 | self.log.debug(
553 | "Failed to pingRequest via \(directive.requestDetails.count) peers",
| `- warning: capture of 'directive' with non-sendable type 'SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>.SendPingRequestDirective' in a `@Sendable` closure
554 | metadata: ["pingRequest/target": "\(target)", "error": "\(error)"]
555 | )
/Users/admin/builder/spi-builder-workspace/Sources/SWIM/SWIMInstance.swift:1169:19: note: struct 'SendPingRequestDirective' does not conform to the 'Sendable' protocol
1167 | /// Only a single `target` peer is used, however it may be pinged "through" a few other members.
1168 | /// The amount of fan-out in pingRequests is configurable by `swim.indirectProbeCount`.
1169 | public struct SendPingRequestDirective {
| `- note: struct 'SendPingRequestDirective' does not conform to the 'Sendable' protocol
1170 | /// Target that the should be probed by the `requestDetails.memberToPingRequestThrough` peers.
1171 | public let target: Peer
/Users/admin/builder/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:19:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SWIM'
17 | import Metrics
18 | import NIO
19 | import SWIM
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SWIM'
20 |
21 | import struct Dispatch.DispatchTime
/Users/admin/builder/spi-builder-workspace/Sources/SWIMNIOExample/SWIMNIOShell.swift:643:21: warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a `@Sendable` closure
27 | ///
28 | /// - SeeAlso: `SWIM.Instance` for detailed documentation about the SWIM protocol implementation.
29 | public final class SWIMNIOShell {
| `- note: class 'SWIMNIOShell' does not conform to the 'Sendable' protocol
30 | var swim: SWIM.Instance<SWIM.NIOPeer, SWIM.NIOPeer, SWIM.NIOPeer>!
31 |
:
641 | // TODO: implement via re-trying a few times and then giving up https://github.com/apple/swift-cluster-membership/issues/32
642 | self.eventLoop.scheduleTask(in: .seconds(5)) {
643 | self.log.info("(Re)-Attempt ping to initial contact point: \(node)")
| `- warning: capture of 'self' with non-sendable type 'SWIMNIOShell' in a `@Sendable` closure
644 | self.receiveStartMonitoring(node: node)
645 | }
[306/308] Emitting module SWIMNIOExample
[307/308] Compiling SWIMNIOExample SWIMNIOHandler.swift
[308/308] Compiling SWIMNIOExample Message.swift
Build complete! (33.56s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[40/6042] Fetching swift-log, swift-metrics
[409/11946] Fetching swift-log, swift-metrics, swift-nio-extras
[1359/26782] Fetching swift-log, swift-metrics, swift-nio-extras, swift-nio-ssl
[13431/102690] Fetching swift-log, swift-metrics, swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.12s)
[7675/96786] Fetching swift-log, swift-metrics, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (2.02s)
Fetched https://github.com/apple/swift-metrics.git from cache (2.02s)
[64177/90744] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.54s)
Fetched https://github.com/apple/swift-nio.git from cache (3.54s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.44s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.49s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/5959] Fetching swift-algorithms
[240/7100] Fetching swift-algorithms, swift-http-structured-headers
[286/8810] Fetching swift-algorithms, swift-http-structured-headers, swift-atomics
[338/9714] Fetching swift-algorithms, swift-http-structured-headers, swift-atomics, swift-http-types
[2278/21228] Fetching swift-algorithms, swift-http-structured-headers, swift-atomics, swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.97s)
[9840/20087] Fetching swift-algorithms, swift-atomics, swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-http-types.git from cache (1.39s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.39s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.39s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.47s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.57s)
Fetching https://github.com/apple/swift-numerics.git
[1/5675] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.00s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.2.2 (0.44s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.71s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4367] Fetching swift-system
[657/20751] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.62s)
Fetched https://github.com/apple/swift-collections.git from cache (1.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.45s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.70s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.46s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.52s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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.2.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.4.2
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.2.2
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Build complete.
{
"cxx_language_standard" : "c++11",
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.19.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.8.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-nio-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-extras.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
}
],
"manifest_display_name" : "swift-cluster-membership",
"name" : "swift-cluster-membership",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "ClusterMembership",
"targets" : [
"ClusterMembership"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SWIM",
"targets" : [
"SWIM"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SWIMNIOExample",
"targets" : [
"SWIMNIOExample"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SWIMTests",
"module_type" : "SwiftTarget",
"name" : "SWIMTests",
"path" : "Tests/SWIMTests",
"sources" : [
"HeapTests.swift",
"SWIMInstanceTests.swift",
"SWIMMetricsTests.swift",
"SWIMSettingsTests.swift",
"TestPeer.swift"
],
"target_dependencies" : [
"SWIM",
"SWIMTestKit"
],
"type" : "test"
},
{
"c99name" : "SWIMTestKit",
"module_type" : "SwiftTarget",
"name" : "SWIMTestKit",
"path" : "Tests/SWIMTestKit",
"product_dependencies" : [
"NIO",
"Logging",
"Metrics"
],
"sources" : [
"LogCapture.swift",
"TestMetrics.swift"
],
"target_dependencies" : [
"SWIM"
],
"type" : "test"
},
{
"c99name" : "SWIMNIOExampleTests",
"module_type" : "SwiftTarget",
"name" : "SWIMNIOExampleTests",
"path" : "Tests/SWIMNIOExampleTests",
"sources" : [
"CodingTests.swift",
"SWIMNIOClusteredTests.swift",
"SWIMNIOEventClusteredTests.swift",
"SWIMNIOMetricsTests.swift",
"Utils/BaseXCTestCases.swift"
],
"target_dependencies" : [
"SWIMNIOExample",
"SWIMTestKit"
],
"type" : "test"
},
{
"c99name" : "SWIMNIOExample",
"module_type" : "SwiftTarget",
"name" : "SWIMNIOExample",
"path" : "Sources/SWIMNIOExample",
"product_dependencies" : [
"NIO",
"NIOFoundationCompat",
"NIOConcurrencyHelpers",
"NIOExtras",
"Logging",
"Metrics"
],
"product_memberships" : [
"SWIMNIOExample"
],
"sources" : [
"Coding.swift",
"Logging.swift",
"Message.swift",
"NIOPeer.swift",
"SWIMNIOHandler.swift",
"SWIMNIOShell.swift",
"Settings.swift",
"Utils/String+Extensions.swift",
"Utils/time.swift"
],
"target_dependencies" : [
"SWIM"
],
"type" : "library"
},
{
"c99name" : "SWIM",
"module_type" : "SwiftTarget",
"name" : "SWIM",
"path" : "Sources/SWIM",
"product_dependencies" : [
"Logging",
"Metrics"
],
"product_memberships" : [
"SWIM",
"SWIMNIOExample"
],
"sources" : [
"Events.swift",
"Member.swift",
"Metrics.swift",
"Peer.swift",
"SWIM.swift",
"SWIMInstance.swift",
"SWIMProtocol.swift",
"Settings.swift",
"Status.swift",
"Utils/Heap.swift",
"Utils/String+Extensions.swift",
"Utils/_PrettyLog.swift",
"Utils/time.swift"
],
"target_dependencies" : [
"ClusterMembership"
],
"type" : "library"
},
{
"c99name" : "ClusterMembershipTests",
"module_type" : "SwiftTarget",
"name" : "ClusterMembershipTests",
"path" : "Tests/ClusterMembershipTests",
"sources" : [
"NodeTests.swift"
],
"target_dependencies" : [
"ClusterMembership"
],
"type" : "test"
},
{
"c99name" : "ClusterMembershipDocumentationTests",
"module_type" : "SwiftTarget",
"name" : "ClusterMembershipDocumentationTests",
"path" : "Tests/ClusterMembershipDocumentationTests",
"sources" : [
"SWIMDocExamples.swift"
],
"target_dependencies" : [
"SWIM"
],
"type" : "test"
},
{
"c99name" : "ClusterMembership",
"module_type" : "SwiftTarget",
"name" : "ClusterMembership",
"path" : "Sources/ClusterMembership",
"product_memberships" : [
"ClusterMembership",
"SWIM",
"SWIMNIOExample"
],
"sources" : [
"Node.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.