Build Information
Successful build of LCLPing, reference main (436006
), with Swift 6.1 for Android on 30 May 2025 18:46:10 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
[669/752] Compiling dh_asn1.cc
[669/752] Compiling curve25519.cc
[671/752] Compiling cpu_arm_linux.cc
[672/752] Compiling cpu_intel.cc
[673/752] Compiling cpu_arm_freebsd.cc
[674/752] Compiling cpu_aarch64_win.cc
[675/752] Compiling cpu_aarch64_apple.cc
[676/752] Compiling cpu_aarch64_sysreg.cc
[677/752] Compiling cpu_aarch64_openbsd.cc
[678/752] Compiling cpu_aarch64_fuchsia.cc
[679/752] Compiling cpu_aarch64_linux.cc
[680/752] Compiling tls_cbc.cc
[681/752] Compiling e_null.cc
[682/752] Compiling e_rc2.cc
[683/752] Compiling e_tls.cc
[684/752] Compiling conf.cc
[685/752] Compiling get_cipher.cc
[686/752] Compiling e_rc4.cc
[687/752] Compiling e_chacha20poly1305.cc
[688/752] Compiling e_des.cc
[689/752] Compiling derive_key.cc
[690/752] Compiling e_aesgcmsiv.cc
[691/752] Compiling e_aesctrhmac.cc
[692/752] Compiling chacha.cc
[693/752] Compiling unicode.cc
[694/752] Compiling buf.cc
[695/752] Compiling cbb.cc
[696/752] Compiling socket.cc
[697/752] Compiling ber.cc
[697/752] Compiling cbs.cc
[699/752] Compiling asn1_compat.cc
[700/752] Compiling printf.cc
[701/752] Compiling blake2.cc
[702/752] Compiling fd.cc
[703/752] Compiling bn_asn1.cc
[704/752] Compiling convert.cc
[705/752] Compiling socket_helper.cc
[706/752] Compiling hexdump.cc
[707/752] Compiling base64.cc
[708/752] Compiling errno.cc
[709/752] Compiling pair.cc
[710/752] Compiling file.cc
[711/752] Compiling bio_mem.cc
[712/752] Compiling connect.cc
[713/752] Compiling tasn_new.cc
[714/752] Compiling tasn_fre.cc
[715/752] Compiling bio.cc
[716/752] Compiling tasn_utl.cc
[717/752] Compiling asn1_lib.cc
[718/752] Compiling tasn_enc.cc
[719/752] Compiling tasn_typ.cc
[720/752] Compiling a_utctm.cc
[721/752] Compiling a_type.cc
[722/752] Compiling asn1_par.cc
[723/752] Compiling tasn_dec.cc
[724/752] Compiling a_octet.cc
[725/752] Compiling a_i2d_fp.cc
[726/752] Compiling a_time.cc
[727/752] Compiling a_strex.cc
[728/752] Write sources
[729/752] Compiling a_strnid.cc
[730/752] Write sources
[731/824] Compiling a_object.cc
[732/824] Compiling a_mbstr.cc
[733/824] Compiling a_int.cc
[734/824] Compiling a_d2i_fp.cc
[735/824] Compiling a_dup.cc
[737/824] Compiling Atomics UnsafeAtomic.swift
[738/824] Compiling Atomics UnsafeAtomicLazyReference.swift
[739/826] Compiling Atomics ManagedAtomic.swift
[740/826] Compiling Atomics ManagedAtomicLazyReference.swift
[741/826] Compiling Atomics Primitives.shims.swift
[742/826] Compiling Atomics AtomicInteger.swift
[743/826] Compiling Atomics AtomicOptionalWrappable.swift
[743/826] Compiling a_gentm.cc
[745/826] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[746/826] Compiling BitCollections BitSet+CustomReflectable.swift
[747/826] Compiling BitCollections BitSet+CustomStringConvertible.swift
[748/826] Compiling BitCollections BitSet+Equatable.swift
[749/826] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[750/826] Compiling BitCollections BitSet+Extras.swift
[751/826] Compiling BitCollections BitSet+Hashable.swift
[752/826] Compiling BitCollections BitSet+Initializers.swift
[753/826] Compiling BitCollections BitSet+Invariants.swift
[754/826] Compiling BitCollections BitSet+Random.swift
[755/826] Compiling BitCollections BitSet+SetAlgebra basics.swift
[756/826] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[757/826] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[758/826] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[759/833] Compiling Atomics IntegerOperations.swift
[760/833] Compiling Atomics Unmanaged extensions.swift
[761/833] Emitting module BitCollections
[762/833] Compiling Atomics AtomicReference.swift
[763/833] Compiling Atomics AtomicStorage.swift
[764/833] Compiling Atomics AtomicValue.swift
[765/833] Compiling Atomics AtomicMemoryOrderings.swift
[766/833] Compiling Atomics DoubleWord.swift
[767/833] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[768/833] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[769/833] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[770/833] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[771/833] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[772/833] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[773/833] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[774/833] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[775/833] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[776/833] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[777/833] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[778/833] Compiling BitCollections BitSet+SetAlgebra union.swift
[779/833] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[780/833] Compiling BitCollections BitSet.Counted.swift
[781/833] Compiling Atomics OptionalRawRepresentable.swift
[782/833] Compiling Atomics RawRepresentable.swift
[783/833] Compiling Atomics AtomicBool.swift
[784/833] Compiling Atomics IntegerConformances.swift
[785/833] Compiling Atomics PointerConformances.swift
[786/833] Compiling Atomics Primitives.native.swift
[793/833] Compiling BitCollections BitArray+Hashable.swift
[794/833] Compiling BitCollections BitArray+Initializers.swift
[795/833] Compiling BitCollections BitArray+Invariants.swift
[796/833] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[805/833] Compiling BitCollections BitSet.Index.swift
[806/833] Compiling BitCollections BitSet._UnsafeHandle.swift
[807/833] Compiling BitCollections BitSet.swift
[808/833] Compiling BitCollections Range+Utilities.swift
[809/833] Compiling BitCollections Slice+Utilities.swift
[810/833] Compiling BitCollections UInt+Tricks.swift
[811/833] Compiling BitCollections _Word.swift
[812/834] Wrapping AST for BitCollections for debugging
[814/836] Emitting module Collections
[815/836] Compiling Collections Collections.swift
[816/837] Emitting module Atomics
[824/838] Wrapping AST for Collections for debugging
[825/838] Wrapping AST for Atomics for debugging
[827/898] Compiling NIOCore MulticastChannel.swift
[828/898] Compiling NIOCore NIOAny.swift
[829/898] Compiling NIOCore NIOCloseOnErrorHandler.swift
[830/898] Compiling NIOCore NIOLoopBound.swift
[831/898] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[832/898] Compiling NIOCore NIOScheduledCallback.swift
[833/898] Compiling NIOCore NIOSendable.swift
[834/898] Compiling NIOCore RecvByteBufferAllocator.swift
[835/898] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[836/898] Compiling NIOCore EventLoopFuture+Deprecated.swift
[837/898] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[838/898] Compiling NIOCore EventLoopFuture.swift
[839/898] Compiling NIOCore FileDescriptor.swift
[840/898] Compiling NIOCore FileHandle.swift
[841/898] Compiling NIOCore FileRegion.swift
[842/898] Compiling NIOCore GlobalSingletons.swift
[843/898] Compiling NIOCore IO.swift
[844/898] Compiling NIOCore IOData.swift
[845/898] Compiling NIOCore IPProtocol.swift
[846/898] Compiling NIOCore IntegerBitPacking.swift
[847/898] Compiling NIOCore IntegerTypes.swift
[848/898] Compiling NIOCore Interfaces.swift
[849/898] Compiling NIOCore Linux.swift
[850/898] Compiling NIOCore MarkedCircularBuffer.swift
[851/898] Compiling NIOCore CircularBuffer.swift
[852/898] Compiling NIOCore Codec.swift
[853/898] Compiling NIOCore ConvenienceOptionSupport.swift
[854/898] Compiling NIOCore DeadChannel.swift
[855/898] Compiling NIOCore DispatchQueue+WithFuture.swift
[856/898] Compiling NIOCore EventLoop+Deprecated.swift
[857/898] Compiling NIOCore EventLoop+SerialExecutor.swift
[858/898] Compiling NIOCore EventLoop.swift
[859/906] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[860/906] Compiling NIOCore BSDSocketAPI.swift
[861/906] Compiling NIOCore ByteBuffer-aux.swift
[862/906] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[863/906] Compiling NIOCore ByteBuffer-conversions.swift
[864/906] Compiling NIOCore ByteBuffer-core.swift
[865/906] Compiling NIOCore ByteBuffer-hex.swift
[866/906] Compiling NIOCore ByteBuffer-int.swift
[867/906] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[868/906] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[869/906] Compiling NIOCore SocketAddresses.swift
[870/906] Compiling NIOCore SocketOptionProvider.swift
[871/906] Compiling NIOCore SystemCallHelpers.swift
[872/906] Compiling NIOCore TimeAmount+Duration.swift
[873/906] Compiling NIOCore TypeAssistedChannelHandler.swift
[874/906] Compiling NIOCore UniversalBootstrapSupport.swift
[875/906] Compiling NIOCore Utilities.swift
[876/906] Compiling NIOCore AddressedEnvelope.swift
[877/906] Compiling NIOCore AsyncAwaitSupport.swift
[878/906] Compiling NIOCore AsyncChannel.swift
[879/906] Compiling NIOCore AsyncChannelHandler.swift
[880/906] Compiling NIOCore AsyncChannelInboundStream.swift
[881/906] Compiling NIOCore AsyncChannelOutboundWriter.swift
[882/906] Compiling NIOCore NIOAsyncSequenceProducer.swift
[883/906] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[884/906] Compiling NIOCore NIOAsyncWriter.swift
[885/906] Compiling NIOCore ByteBuffer-multi-int.swift
[886/906] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[887/906] Compiling NIOCore ByteBuffer-views.swift
[888/906] Compiling NIOCore Channel.swift
[889/906] Compiling NIOCore ChannelHandler.swift
[890/906] Compiling NIOCore ChannelHandlers.swift
[891/906] Compiling NIOCore ChannelInvoker.swift
[892/906] Compiling NIOCore ChannelOption.swift
[893/906] Compiling NIOCore ChannelPipeline.swift
[894/906] Emitting module NIOCore
[895/907] Wrapping AST for NIOCore for debugging
[897/957] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[898/957] Compiling NIOEmbedded Embedded.swift
[899/957] Emitting module NIOEmbedded
[900/957] Compiling NIOEmbedded AsyncTestingChannel.swift
[902/958] Compiling NIOPosix IO.swift
[903/958] Compiling NIOPosix IntegerBitPacking.swift
[904/958] Compiling NIOPosix IntegerTypes.swift
[905/958] Compiling NIOPosix Linux.swift
[906/958] Compiling NIOPosix LinuxCPUSet.swift
[907/958] Compiling NIOPosix LinuxUring.swift
[908/958] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[908/964] Wrapping AST for NIOEmbedded for debugging
[910/964] Compiling NIOPosix ThreadPosix.swift
[911/964] Compiling NIOPosix ThreadWindows.swift
[912/964] Compiling NIOPosix UnsafeTransfer.swift
[913/964] Compiling NIOPosix Utilities.swift
[914/964] Compiling NIOPosix VsockAddress.swift
[915/964] Compiling NIOPosix VsockChannelEvents.swift
[916/964] Compiling NIOPosix BSDSocketAPICommon.swift
[917/964] Compiling NIOPosix BSDSocketAPIPosix.swift
[918/964] Compiling NIOPosix BSDSocketAPIWindows.swift
[919/964] Compiling NIOPosix BaseSocket.swift
[920/964] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[921/964] Compiling NIOPosix BaseSocketChannel.swift
[922/964] Compiling NIOPosix BaseStreamSocketChannel.swift
[923/964] Emitting module NIOPosix
[924/964] Compiling NIOPosix SelectableChannel.swift
[925/964] Compiling NIOPosix SelectableEventLoop.swift
[926/964] Compiling NIOPosix SelectorEpoll.swift
[927/964] Compiling NIOPosix SelectorGeneric.swift
[928/964] Compiling NIOPosix SelectorKqueue.swift
[929/964] Compiling NIOPosix SelectorUring.swift
[930/964] Compiling NIOPosix Pool.swift
[931/964] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[932/964] Compiling NIOPosix PosixSingletons.swift
[933/964] Compiling NIOPosix RawSocketBootstrap.swift
[934/964] Compiling NIOPosix Resolver.swift
[935/964] Compiling NIOPosix Selectable.swift
[936/964] Compiling NIOPosix ServerSocket.swift
[937/964] Compiling NIOPosix Socket.swift
[938/964] Compiling NIOPosix SocketChannel.swift
[939/964] Compiling NIOPosix SocketProtocols.swift
[940/964] Compiling NIOPosix System.swift
[941/964] Compiling NIOPosix Thread.swift
[942/964] Compiling NIOPosix NIOThreadPool.swift
[943/964] Compiling NIOPosix NonBlockingFileIO.swift
[944/964] Compiling NIOPosix PendingDatagramWritesManager.swift
[945/964] Compiling NIOPosix PendingWritesManager.swift
[946/964] Compiling NIOPosix PipeChannel.swift
[947/964] Compiling NIOPosix PipePair.swift
[948/964] Compiling NIOPosix Bootstrap.swift
[949/964] Compiling NIOPosix ControlMessage.swift
[950/964] Compiling NIOPosix DatagramVectorReadManager.swift
[951/964] Compiling NIOPosix Errors+Any.swift
[952/964] Compiling NIOPosix FileDescriptor.swift
[953/964] Compiling NIOPosix GetaddrinfoResolver.swift
[954/964] Compiling NIOPosix HappyEyeballs.swift
[955/965] Wrapping AST for NIOPosix for debugging
[957/967] Emitting module NIO
[958/967] Compiling NIO Exports.swift
[959/968] Wrapping AST for NIO for debugging
[961/990] Compiling NIOTLS TLSEvents.swift
[962/990] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[963/990] Emitting module NIOTLS
[964/990] Compiling NIOTLS SNIHandler.swift
[965/990] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[966/990] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[967/991] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[968/991] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[970/993] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[971/993] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[972/993] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[973/993] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[973/993] Wrapping AST for NIOTLS for debugging
[975/1007] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[976/1007] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[977/1022] Compiling NIOSSL SSLErrors.swift
[978/1022] Compiling NIOSSL SSLInit.swift
[979/1022] Compiling NIOSSL ObjectIdentifier.swift
[980/1022] Compiling NIOSSL PosixPort.swift
[981/1022] Compiling NIOSSL SSLPKCS12Bundle.swift
[982/1022] Compiling NIOSSL NIOSSLServerHandler.swift
[983/1022] Emitting module NIOHTTP1
[984/1022] Compiling NIOSSL AndroidCABundle.swift
[985/1022] Compiling NIOSSL ByteBufferBIO.swift
[986/1022] Compiling NIOSSL CustomPrivateKey.swift
[987/1023] Wrapping AST for NIOHTTP1 for debugging
[989/1027] Emitting module NIOSSL
[990/1031] Emitting module NIOTestUtils
[991/1031] Compiling NIOTestUtils ByteToMessageDecoderVerifier.swift
[992/1031] Compiling NIOTestUtils EventCounterHandler.swift
[993/1031] Compiling NIOTestUtils NIOHTTP1TestServer.swift
[994/1032] Compiling NIOSSL SSLPrivateKey.swift
[995/1032] Compiling NIOSSL SSLPublicKey.swift
[996/1032] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[997/1032] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[1001/1032] Compiling NIOSSL SSLCallbacks.swift
[1003/1032] Compiling NIOSSL LinuxCABundle.swift
[1004/1032] Compiling NIOSSL NIOSSLClientHandler.swift
[1005/1032] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[1006/1032] Compiling NIOSSL NIOSSLHandler.swift
[1007/1032] Compiling NIOSSL SubjectAlternativeName.swift
[1008/1032] Compiling NIOSSL NIOSSLSecureBytes.swift
[1009/1032] Compiling NIOSSL RNG.swift
[1010/1032] Compiling NIOSSL SafeCompare.swift
[1011/1032] Compiling NIOSSL SSLCertificate.swift
[1012/1032] Compiling NIOSSL SSLCertificateExtensions.swift
[1013/1032] Compiling NIOSSL SSLCertificateName.swift
[1014/1032] Compiling NIOSSL SSLConnection.swift
[1014/1032] Wrapping AST for NIOTestUtils for debugging
[1016/1032] Compiling NIOSSL Zeroization.swift
[1017/1032] Compiling NIOSSL TLSConfiguration.swift
[1018/1032] Compiling NIOSSL UniversalBootstrapSupport.swift
[1019/1032] Compiling NIOSSL UnsafeKeyAndChainTarget.swift
[1020/1032] Compiling NIOSSL SSLContext.swift
[1027/1032] Compiling NIOSSL IdentityVerification.swift
[1028/1033] Wrapping AST for NIOSSL for debugging
[1030/1062] Compiling LCLPing PingResponse.swift
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:83:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PingSummary' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
:
81 |
82 | /// An empty summary.
83 | static let empty = PingSummary(
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PingSummary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | min: .zero,
85 | max: .zero,
[1031/1062] Compiling LCLPing PingResult.swift
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:83:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PingSummary' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
:
81 |
82 | /// An empty summary.
83 | static let empty = PingSummary(
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PingSummary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | min: .zero,
85 | max: .zero,
[1032/1062] Compiling LCLPing PingState.swift
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:83:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PingSummary' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
:
81 |
82 | /// An empty summary.
83 | static let empty = PingSummary(
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PingSummary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | min: .zero,
85 | max: .zero,
[1033/1062] Compiling LCLPing PingSummary.swift
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:83:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PingSummary' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
:
81 |
82 | /// An empty summary.
83 | static let empty = PingSummary(
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PingSummary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | min: .zero,
85 | max: .zero,
[1034/1066] Compiling LCLPing PingHandler.swift
/host/spi-builder-workspace/Sources/LCLPing/Reachability.swift:40:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
38 | let httpConfig = try HTTPPingClient.Configuration(url: host, count: strategy.count)
39 | let client = HTTPPingClient(configuration: httpConfig)
40 | let result = try client.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
41 | return result.isSimpleMajority()
42 | case .icmp:
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/Reachability.swift:45:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
43 | let icmpConfig = try ICMPPingClient.Configuration(endpoint: .ipv4(host, 0), count: strategy.count)
44 | let client = ICMPPingClient(configuration: icmpConfig)
45 | let result = try client.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
46 | return result.isSimpleMajority()
47 | }
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
[1035/1066] Compiling LCLPing Pingable.swift
/host/spi-builder-workspace/Sources/LCLPing/Reachability.swift:40:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
38 | let httpConfig = try HTTPPingClient.Configuration(url: host, count: strategy.count)
39 | let client = HTTPPingClient(configuration: httpConfig)
40 | let result = try client.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
41 | return result.isSimpleMajority()
42 | case .icmp:
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/Reachability.swift:45:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
43 | let icmpConfig = try ICMPPingClient.Configuration(endpoint: .ipv4(host, 0), count: strategy.count)
44 | let client = ICMPPingClient(configuration: icmpConfig)
45 | let result = try client.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
46 | return result.isSimpleMajority()
47 | }
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
[1036/1066] Compiling LCLPing Reachability.swift
/host/spi-builder-workspace/Sources/LCLPing/Reachability.swift:40:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
38 | let httpConfig = try HTTPPingClient.Configuration(url: host, count: strategy.count)
39 | let client = HTTPPingClient(configuration: httpConfig)
40 | let result = try client.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
41 | return result.isSimpleMajority()
42 | case .icmp:
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/Reachability.swift:45:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
43 | let icmpConfig = try ICMPPingClient.Configuration(endpoint: .ipv4(host, 0), count: strategy.count)
44 | let client = ICMPPingClient(configuration: icmpConfig)
45 | let result = try client.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
46 | return result.isSimpleMajority()
47 | }
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
[1037/1066] Compiling LCLPing InboundHeaderRewriter.swift
/host/spi-builder-workspace/Sources/LCLPing/Reachability.swift:40:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
38 | let httpConfig = try HTTPPingClient.Configuration(url: host, count: strategy.count)
39 | let client = HTTPPingClient(configuration: httpConfig)
40 | let result = try client.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
41 | return result.isSimpleMajority()
42 | case .icmp:
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/Reachability.swift:45:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
43 | let icmpConfig = try ICMPPingClient.Configuration(endpoint: .ipv4(host, 0), count: strategy.count)
44 | let client = ICMPPingClient(configuration: icmpConfig)
45 | let result = try client.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
46 | return result.isSimpleMajority()
47 | }
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
[1038/1066] Compiling LCLPing LCLPing+Array.swift
[1039/1066] Compiling LCLPing LCLPing+ChannelOption.swift
[1040/1066] Compiling LCLPing LCLPing+Double.swift
[1041/1066] Compiling LCLPing LCLPing+SocketOption.swift
[1042/1066] Compiling LCLPing Configuration.swift
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:86:13: warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a '@Sendable' closure
17 | import NIOHTTP1
18 |
19 | internal final class HTTPTracingHandler: ChannelDuplexHandler {
| `- note: class 'HTTPTracingHandler' does not conform to the 'Sendable' protocol
20 | typealias InboundIn = HTTPClientResponsePart
21 | typealias InboundOut = PingResponse
:
84 | self.handler.handleWrite(request: request)
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
| `- warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a '@Sendable' closure
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a '@Sendable' closure
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a '@Sendable' closure
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to 'Sendable'; this is an error in the Swift 6 language mode
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to 'Sendable'; this is an error in the Swift 6 language mode
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:93:21: warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a '@Sendable' closure
22 | /// Caller needs to provide a configuration that set the way the HTTP client initiates tests.
23 | /// Caller can cancel the test via `cancel()`.
24 | public final class HTTPPingClient: Pingable {
| `- note: class 'HTTPPingClient' does not conform to the 'Sendable' protocol
25 |
26 | private enum State {
:
91 | state = .running
92 | return try self.pingClient.start().always { _ in
93 | self.state.withLockedValue { state in
| `- warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a '@Sendable' closure
94 | state = .idle
95 | }
[1043/1066] Compiling LCLPing HTTPChannelHandlers.swift
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:86:13: warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a '@Sendable' closure
17 | import NIOHTTP1
18 |
19 | internal final class HTTPTracingHandler: ChannelDuplexHandler {
| `- note: class 'HTTPTracingHandler' does not conform to the 'Sendable' protocol
20 | typealias InboundIn = HTTPClientResponsePart
21 | typealias InboundOut = PingResponse
:
84 | self.handler.handleWrite(request: request)
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
| `- warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a '@Sendable' closure
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a '@Sendable' closure
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a '@Sendable' closure
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to 'Sendable'; this is an error in the Swift 6 language mode
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to 'Sendable'; this is an error in the Swift 6 language mode
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:93:21: warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a '@Sendable' closure
22 | /// Caller needs to provide a configuration that set the way the HTTP client initiates tests.
23 | /// Caller can cancel the test via `cancel()`.
24 | public final class HTTPPingClient: Pingable {
| `- note: class 'HTTPPingClient' does not conform to the 'Sendable' protocol
25 |
26 | private enum State {
:
91 | state = .running
92 | return try self.pingClient.start().always { _ in
93 | self.state.withLockedValue { state in
| `- warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a '@Sendable' closure
94 | state = .idle
95 | }
[1044/1066] Compiling LCLPing HTTPHandler.swift
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:86:13: warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a '@Sendable' closure
17 | import NIOHTTP1
18 |
19 | internal final class HTTPTracingHandler: ChannelDuplexHandler {
| `- note: class 'HTTPTracingHandler' does not conform to the 'Sendable' protocol
20 | typealias InboundIn = HTTPClientResponsePart
21 | typealias InboundOut = PingResponse
:
84 | self.handler.handleWrite(request: request)
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
| `- warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a '@Sendable' closure
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a '@Sendable' closure
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a '@Sendable' closure
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to 'Sendable'; this is an error in the Swift 6 language mode
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to 'Sendable'; this is an error in the Swift 6 language mode
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:93:21: warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a '@Sendable' closure
22 | /// Caller needs to provide a configuration that set the way the HTTP client initiates tests.
23 | /// Caller can cancel the test via `cancel()`.
24 | public final class HTTPPingClient: Pingable {
| `- note: class 'HTTPPingClient' does not conform to the 'Sendable' protocol
25 |
26 | private enum State {
:
91 | state = .running
92 | return try self.pingClient.start().always { _ in
93 | self.state.withLockedValue { state in
| `- warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a '@Sendable' closure
94 | state = .idle
95 | }
[1045/1066] Compiling LCLPing HTTPPingClient.swift
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:86:13: warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a '@Sendable' closure
17 | import NIOHTTP1
18 |
19 | internal final class HTTPTracingHandler: ChannelDuplexHandler {
| `- note: class 'HTTPTracingHandler' does not conform to the 'Sendable' protocol
20 | typealias InboundIn = HTTPClientResponsePart
21 | typealias InboundOut = PingResponse
:
84 | self.handler.handleWrite(request: request)
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
| `- warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a '@Sendable' closure
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a '@Sendable' closure
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a '@Sendable' closure
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to 'Sendable'; this is an error in the Swift 6 language mode
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to 'Sendable'; this is an error in the Swift 6 language mode
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:93:21: warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a '@Sendable' closure
22 | /// Caller needs to provide a configuration that set the way the HTTP client initiates tests.
23 | /// Caller can cancel the test via `cancel()`.
24 | public final class HTTPPingClient: Pingable {
| `- note: class 'HTTPPingClient' does not conform to the 'Sendable' protocol
25 |
26 | private enum State {
:
91 | state = .running
92 | return try self.pingClient.start().always { _ in
93 | self.state.withLockedValue { state in
| `- warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a '@Sendable' closure
94 | state = .idle
95 | }
[1046/1066] Compiling LCLPing Rewritable.swift
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:172:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
170 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to read data in \(self.networkLinkConfig.inDelay) ms. Should duplicate: \(shouldDuplicatePacket)")
171 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.inDelay)) {
172 | context.fireChannelRead(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
173 | if shouldDuplicatePacket {
174 | context.fireChannelRead(data)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:172:37: warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
170 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to read data in \(self.networkLinkConfig.inDelay) ms. Should duplicate: \(shouldDuplicatePacket)")
171 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.inDelay)) {
172 | context.fireChannelRead(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
173 | if shouldDuplicatePacket {
174 | context.fireChannelRead(data)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:176:97: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
177 | }
178 |
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:176:97: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
177 | }
178 |
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:39: warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
197 | }
198 | }
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
197 | }
198 | }
[1047/1066] Compiling LCLPing TrafficControllerChannelHandler.swift
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:172:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
170 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to read data in \(self.networkLinkConfig.inDelay) ms. Should duplicate: \(shouldDuplicatePacket)")
171 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.inDelay)) {
172 | context.fireChannelRead(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
173 | if shouldDuplicatePacket {
174 | context.fireChannelRead(data)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:172:37: warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
170 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to read data in \(self.networkLinkConfig.inDelay) ms. Should duplicate: \(shouldDuplicatePacket)")
171 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.inDelay)) {
172 | context.fireChannelRead(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
173 | if shouldDuplicatePacket {
174 | context.fireChannelRead(data)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:176:97: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
177 | }
178 |
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:176:97: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
177 | }
178 |
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:39: warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
197 | }
198 | }
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
197 | }
198 | }
[1048/1066] Compiling LCLPing Constants.swift
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:172:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
170 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to read data in \(self.networkLinkConfig.inDelay) ms. Should duplicate: \(shouldDuplicatePacket)")
171 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.inDelay)) {
172 | context.fireChannelRead(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
173 | if shouldDuplicatePacket {
174 | context.fireChannelRead(data)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:172:37: warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
170 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to read data in \(self.networkLinkConfig.inDelay) ms. Should duplicate: \(shouldDuplicatePacket)")
171 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.inDelay)) {
172 | context.fireChannelRead(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
173 | if shouldDuplicatePacket {
174 | context.fireChannelRead(data)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:176:97: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
177 | }
178 |
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:176:97: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
177 | }
178 |
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:39: warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
197 | }
198 | }
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
197 | }
198 | }
[1049/1066] Compiling LCLPing Hex.swift
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:172:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
170 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to read data in \(self.networkLinkConfig.inDelay) ms. Should duplicate: \(shouldDuplicatePacket)")
171 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.inDelay)) {
172 | context.fireChannelRead(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
173 | if shouldDuplicatePacket {
174 | context.fireChannelRead(data)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:172:37: warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
170 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to read data in \(self.networkLinkConfig.inDelay) ms. Should duplicate: \(shouldDuplicatePacket)")
171 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.inDelay)) {
172 | context.fireChannelRead(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
173 | if shouldDuplicatePacket {
174 | context.fireChannelRead(data)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:176:97: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
177 | }
178 |
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:176:97: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
177 | }
178 |
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:39: warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a '@Sendable' closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a '@Sendable' closure
197 | }
198 | }
/host/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to 'Sendable'; this is an error in the Swift 6 language mode
197 | }
198 | }
[1050/1066] Compiling LCLPing HTTPSchema.swift
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:85:41: warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
85 | channel.write(request, promise: nil)
| `- warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
86 | }
87 | case .failure(let error):
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:106:56: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
107 | }
108 | }
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:78:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
76 | switch result {
77 | case .success(let channel):
78 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
79 | channels.append(channel)
80 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:84:47: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
82 | logger.debug("Scheduled #\(cnt) request")
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
85 | channel.write(request, promise: nil)
86 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:90:33: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
88 | promise.fail(error)
89 | self.stateLock.withLockVoid {
90 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
91 | }
92 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:96:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
94 |
95 | promise.futureResult.whenComplete { res in
96 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
97 | if !channels.isEmpty {
98 | channels.removeFirst()
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:105:48: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
103 | self.responses.withLockedValue {
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
107 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:118:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
116 | switch result {
117 | case .success:
118 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
119 | self.state = .finished
120 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:119:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
117 | case .success:
118 | self.stateLock.withLockVoid {
119 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
120 | }
121 | case .failure:
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:123:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
121 | case .failure:
122 | self.stateLock.withLockVoid {
123 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:146:40: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
144 | }
145 | self.responses.withLockedValue {
146 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
147 | }
148 | shutdown()
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:170:20: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
168 | .connectTimeout(self.configuration.connectionTimeout)
169 | .channelInitializer { channel in
170 | if self.configuration.schema.enableTLS {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
171 | do {
172 | let tlsConfiguration = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPChannelHandlers.swift:71:13: warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a '@Sendable' closure
15 | import NIOCore
16 |
17 | internal final class ICMPDuplexer: ChannelDuplexHandler {
| `- note: class 'ICMPDuplexer' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ICMPPingClient.ICMPHeader
19 | typealias InboundOut = PingResponse
:
69 | let scheduledTimer = context.eventLoop.scheduleTask(in: self.configuration.timeout) {
70 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: timer for \(request.sequenceNum) is invoked => time out!")
71 | self.timer.removeValue(forKey: request.sequenceNum)
| `- warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a '@Sendable' closure
72 | self.handler.handleTimeout(sequenceNumber: Int(request.sequenceNum))
73 | }
[1051/1066] Compiling LCLPing NIOHTTPClient.swift
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:85:41: warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
85 | channel.write(request, promise: nil)
| `- warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
86 | }
87 | case .failure(let error):
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:106:56: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
107 | }
108 | }
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:78:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
76 | switch result {
77 | case .success(let channel):
78 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
79 | channels.append(channel)
80 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:84:47: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
82 | logger.debug("Scheduled #\(cnt) request")
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
85 | channel.write(request, promise: nil)
86 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:90:33: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
88 | promise.fail(error)
89 | self.stateLock.withLockVoid {
90 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
91 | }
92 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:96:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
94 |
95 | promise.futureResult.whenComplete { res in
96 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
97 | if !channels.isEmpty {
98 | channels.removeFirst()
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:105:48: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
103 | self.responses.withLockedValue {
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
107 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:118:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
116 | switch result {
117 | case .success:
118 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
119 | self.state = .finished
120 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:119:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
117 | case .success:
118 | self.stateLock.withLockVoid {
119 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
120 | }
121 | case .failure:
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:123:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
121 | case .failure:
122 | self.stateLock.withLockVoid {
123 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:146:40: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
144 | }
145 | self.responses.withLockedValue {
146 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
147 | }
148 | shutdown()
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:170:20: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
168 | .connectTimeout(self.configuration.connectionTimeout)
169 | .channelInitializer { channel in
170 | if self.configuration.schema.enableTLS {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
171 | do {
172 | let tlsConfiguration = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPChannelHandlers.swift:71:13: warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a '@Sendable' closure
15 | import NIOCore
16 |
17 | internal final class ICMPDuplexer: ChannelDuplexHandler {
| `- note: class 'ICMPDuplexer' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ICMPPingClient.ICMPHeader
19 | typealias InboundOut = PingResponse
:
69 | let scheduledTimer = context.eventLoop.scheduleTask(in: self.configuration.timeout) {
70 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: timer for \(request.sequenceNum) is invoked => time out!")
71 | self.timer.removeValue(forKey: request.sequenceNum)
| `- warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a '@Sendable' closure
72 | self.handler.handleTimeout(sequenceNumber: Int(request.sequenceNum))
73 | }
[1052/1066] Compiling LCLPing URLSessionClient.swift
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:85:41: warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
85 | channel.write(request, promise: nil)
| `- warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
86 | }
87 | case .failure(let error):
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:106:56: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
107 | }
108 | }
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:78:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
76 | switch result {
77 | case .success(let channel):
78 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
79 | channels.append(channel)
80 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:84:47: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
82 | logger.debug("Scheduled #\(cnt) request")
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
85 | channel.write(request, promise: nil)
86 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:90:33: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
88 | promise.fail(error)
89 | self.stateLock.withLockVoid {
90 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
91 | }
92 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:96:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
94 |
95 | promise.futureResult.whenComplete { res in
96 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
97 | if !channels.isEmpty {
98 | channels.removeFirst()
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:105:48: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
103 | self.responses.withLockedValue {
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
107 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:118:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
116 | switch result {
117 | case .success:
118 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
119 | self.state = .finished
120 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:119:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
117 | case .success:
118 | self.stateLock.withLockVoid {
119 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
120 | }
121 | case .failure:
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:123:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
121 | case .failure:
122 | self.stateLock.withLockVoid {
123 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:146:40: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
144 | }
145 | self.responses.withLockedValue {
146 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
147 | }
148 | shutdown()
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:170:20: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
168 | .connectTimeout(self.configuration.connectionTimeout)
169 | .channelInitializer { channel in
170 | if self.configuration.schema.enableTLS {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
171 | do {
172 | let tlsConfiguration = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPChannelHandlers.swift:71:13: warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a '@Sendable' closure
15 | import NIOCore
16 |
17 | internal final class ICMPDuplexer: ChannelDuplexHandler {
| `- note: class 'ICMPDuplexer' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ICMPPingClient.ICMPHeader
19 | typealias InboundOut = PingResponse
:
69 | let scheduledTimer = context.eventLoop.scheduleTask(in: self.configuration.timeout) {
70 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: timer for \(request.sequenceNum) is invoked => time out!")
71 | self.timer.removeValue(forKey: request.sequenceNum)
| `- warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a '@Sendable' closure
72 | self.handler.handleTimeout(sequenceNumber: Int(request.sequenceNum))
73 | }
[1053/1066] Compiling LCLPing ICMPChannelHandlers.swift
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:85:41: warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
85 | channel.write(request, promise: nil)
| `- warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
86 | }
87 | case .failure(let error):
/host/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:106:56: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
107 | }
108 | }
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:78:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
76 | switch result {
77 | case .success(let channel):
78 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
79 | channels.append(channel)
80 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:84:47: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
82 | logger.debug("Scheduled #\(cnt) request")
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
85 | channel.write(request, promise: nil)
86 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:90:33: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
88 | promise.fail(error)
89 | self.stateLock.withLockVoid {
90 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
91 | }
92 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:96:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
94 |
95 | promise.futureResult.whenComplete { res in
96 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
97 | if !channels.isEmpty {
98 | channels.removeFirst()
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:105:48: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
103 | self.responses.withLockedValue {
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
107 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:118:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
116 | switch result {
117 | case .success:
118 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
119 | self.state = .finished
120 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:119:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
117 | case .success:
118 | self.stateLock.withLockVoid {
119 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
120 | }
121 | case .failure:
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:123:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
121 | case .failure:
122 | self.stateLock.withLockVoid {
123 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:146:40: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
144 | }
145 | self.responses.withLockedValue {
146 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
147 | }
148 | shutdown()
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:170:20: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
168 | .connectTimeout(self.configuration.connectionTimeout)
169 | .channelInitializer { channel in
170 | if self.configuration.schema.enableTLS {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a '@Sendable' closure
171 | do {
172 | let tlsConfiguration = TLSConfiguration.makeClientConfiguration()
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPChannelHandlers.swift:71:13: warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a '@Sendable' closure
15 | import NIOCore
16 |
17 | internal final class ICMPDuplexer: ChannelDuplexHandler {
| `- note: class 'ICMPDuplexer' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ICMPPingClient.ICMPHeader
19 | typealias InboundOut = PingResponse
:
69 | let scheduledTimer = context.eventLoop.scheduleTask(in: self.configuration.timeout) {
70 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: timer for \(request.sequenceNum) is invoked => time out!")
71 | self.timer.removeValue(forKey: request.sequenceNum)
| `- warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a '@Sendable' closure
72 | self.handler.handleTimeout(sequenceNumber: Int(request.sequenceNum))
73 | }
[1054/1066] Emitting module LCLPing
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:83:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PingSummary' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
:
81 |
82 | /// An empty summary.
83 | static let empty = PingSummary(
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PingSummary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | min: .zero,
85 | max: .zero,
[1055/1066] Compiling LCLPing ICMPHandler.swift
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:69:77: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
67 | self.state = .running
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
70 | self.channel = channel
71 | channel.closeFuture.whenComplete { result in
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:103:84: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
101 | send(0)
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:108:50: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
106 | self.state = .finished
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
109 | }
110 | }
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:70:21: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
70 | self.channel = channel
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
71 | channel.closeFuture.whenComplete { result in
72 | switch result {
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:76:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
74 | ()
75 | case .failure:
76 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
77 | self.state = .error
78 | }
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:77:33: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
75 | case .failure:
76 | self.stateLock.withLockVoid {
77 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
78 | }
79 | }
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:86:35: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
84 |
85 | func send(_ cnt: Int) {
86 | if cnt == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
87 | sendPromise.succeed()
88 | return
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:94:112: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
92 | logger.debug("Scheduled #\(cnt) request")
93 | channel.eventLoop.scheduleTask(in: cnt * self.configuration.interval) {
94 | channel.writeAndFlush(ICMPPingClient.Request(sequenceNum: UInt16(cnt), identifier: self.identifier), promise: p)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
95 | }.futureResult.hop(to: el).cascadeFailure(to: sendPromise)
96 |
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:104:68: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
105 | self.stateLock.withLock {
106 | self.state = .finished
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:106:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
106 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:166:49: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
164 | IPDecoder(),
165 | ICMPDecoder(),
166 | ICMPDuplexer(configuration: self.configuration, promise: self.promise)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
167 | ]
168 | #endif
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:173:25: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
171 | } catch {
172 | self.stateLock.withLockVoid {
173 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
174 | }
175 | return channel.eventLoop.makeFailedFuture(error)
[1056/1066] Compiling LCLPing ICMPPingClient.swift
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:69:77: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
67 | self.state = .running
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
70 | self.channel = channel
71 | channel.closeFuture.whenComplete { result in
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:103:84: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
101 | send(0)
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:108:50: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
106 | self.state = .finished
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
109 | }
110 | }
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:70:21: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
70 | self.channel = channel
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
71 | channel.closeFuture.whenComplete { result in
72 | switch result {
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:76:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
74 | ()
75 | case .failure:
76 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
77 | self.state = .error
78 | }
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:77:33: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
75 | case .failure:
76 | self.stateLock.withLockVoid {
77 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
78 | }
79 | }
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:86:35: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
84 |
85 | func send(_ cnt: Int) {
86 | if cnt == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
87 | sendPromise.succeed()
88 | return
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:94:112: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
92 | logger.debug("Scheduled #\(cnt) request")
93 | channel.eventLoop.scheduleTask(in: cnt * self.configuration.interval) {
94 | channel.writeAndFlush(ICMPPingClient.Request(sequenceNum: UInt16(cnt), identifier: self.identifier), promise: p)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
95 | }.futureResult.hop(to: el).cascadeFailure(to: sendPromise)
96 |
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:104:68: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
105 | self.stateLock.withLock {
106 | self.state = .finished
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:106:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
106 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:166:49: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
164 | IPDecoder(),
165 | ICMPDecoder(),
166 | ICMPDuplexer(configuration: self.configuration, promise: self.promise)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
167 | ]
168 | #endif
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:173:25: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
171 | } catch {
172 | self.stateLock.withLockVoid {
173 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
174 | }
175 | return channel.eventLoop.makeFailedFuture(error)
[1057/1066] Compiling LCLPing Errors+LCLPing.swift
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:69:77: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
67 | self.state = .running
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
70 | self.channel = channel
71 | channel.closeFuture.whenComplete { result in
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:103:84: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
101 | send(0)
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:108:50: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
106 | self.state = .finished
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
109 | }
110 | }
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:70:21: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
70 | self.channel = channel
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
71 | channel.closeFuture.whenComplete { result in
72 | switch result {
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:76:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
74 | ()
75 | case .failure:
76 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
77 | self.state = .error
78 | }
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:77:33: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
75 | case .failure:
76 | self.stateLock.withLockVoid {
77 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
78 | }
79 | }
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:86:35: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
84 |
85 | func send(_ cnt: Int) {
86 | if cnt == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
87 | sendPromise.succeed()
88 | return
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:94:112: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
92 | logger.debug("Scheduled #\(cnt) request")
93 | channel.eventLoop.scheduleTask(in: cnt * self.configuration.interval) {
94 | channel.writeAndFlush(ICMPPingClient.Request(sequenceNum: UInt16(cnt), identifier: self.identifier), promise: p)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
95 | }.futureResult.hop(to: el).cascadeFailure(to: sendPromise)
96 |
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:104:68: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
105 | self.stateLock.withLock {
106 | self.state = .finished
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:106:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
106 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:166:49: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
164 | IPDecoder(),
165 | ICMPDecoder(),
166 | ICMPDuplexer(configuration: self.configuration, promise: self.promise)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
167 | ]
168 | #endif
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:173:25: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
171 | } catch {
172 | self.stateLock.withLockVoid {
173 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
174 | }
175 | return channel.eventLoop.makeFailedFuture(error)
[1058/1066] Compiling LCLPing HTTPLatency.swift
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:69:77: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
67 | self.state = .running
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
70 | self.channel = channel
71 | channel.closeFuture.whenComplete { result in
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:103:84: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
101 | send(0)
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:108:50: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
106 | self.state = .finished
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
109 | }
110 | }
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:70:21: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
70 | self.channel = channel
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
71 | channel.closeFuture.whenComplete { result in
72 | switch result {
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:76:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
74 | ()
75 | case .failure:
76 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
77 | self.state = .error
78 | }
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:77:33: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
75 | case .failure:
76 | self.stateLock.withLockVoid {
77 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
78 | }
79 | }
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:86:35: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
84 |
85 | func send(_ cnt: Int) {
86 | if cnt == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
87 | sendPromise.succeed()
88 | return
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:94:112: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
92 | logger.debug("Scheduled #\(cnt) request")
93 | channel.eventLoop.scheduleTask(in: cnt * self.configuration.interval) {
94 | channel.writeAndFlush(ICMPPingClient.Request(sequenceNum: UInt16(cnt), identifier: self.identifier), promise: p)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
95 | }.futureResult.hop(to: el).cascadeFailure(to: sendPromise)
96 |
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:104:68: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
105 | self.stateLock.withLock {
106 | self.state = .finished
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:106:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
106 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:166:49: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
164 | IPDecoder(),
165 | ICMPDecoder(),
166 | ICMPDuplexer(configuration: self.configuration, promise: self.promise)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a '@Sendable' closure
167 | ]
168 | #endif
/host/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:173:25: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
171 | } catch {
172 | self.stateLock.withLockVoid {
173 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
174 | }
175 | return channel.eventLoop.makeFailedFuture(error)
[1059/1066] Compiling LCLPing LCLPing+Time.swift
[1060/1066] Compiling LCLPing LCLPing+TimeInterval.swift
[1061/1066] Compiling LCLPing ObjectDecoder.swift
[1062/1066] Compiling LCLPing Utilities.swift
[1063/1067] Wrapping AST for LCLPing for debugging
[1065/1069] Emitting module Demo
/host/spi-builder-workspace/Sources/Demo/main.swift:27:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
25 | do {
26 | // run the test using SwiftNIO EventLoopFuture
27 | let result = try icmpClient.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
28 | print(result)
29 | } catch {
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: struct 'PingSummary' does not conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: struct 'PingSummary' does not conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/Demo/main.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LCLPing'
13 |
14 | import Foundation
15 | import LCLPing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LCLPing'
16 |
17 | // create ping configuration for each run
/host/spi-builder-workspace/Sources/Demo/main.swift:34:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
32 |
33 | do {
34 | let result = try httpClient.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
35 | print(result)
36 | } catch {
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: struct 'PingSummary' does not conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: struct 'PingSummary' does not conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
[1066/1069] Compiling Demo main.swift
/host/spi-builder-workspace/Sources/Demo/main.swift:27:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
25 | do {
26 | // run the test using SwiftNIO EventLoopFuture
27 | let result = try icmpClient.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
28 | print(result)
29 | } catch {
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: struct 'PingSummary' does not conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: struct 'PingSummary' does not conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/host/spi-builder-workspace/Sources/Demo/main.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LCLPing'
13 |
14 | import Foundation
15 | import LCLPing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LCLPing'
16 |
17 | // create ping configuration for each run
/host/spi-builder-workspace/Sources/Demo/main.swift:34:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
32 |
33 | do {
34 | let result = try httpClient.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
35 | print(result)
36 | } catch {
/host/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: struct 'PingSummary' does not conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: struct 'PingSummary' does not conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
[1067/1070] Wrapping AST for Demo for debugging
[1068/1070] Write Objects.LinkFileList
[1069/1070] Linking Demo
Build complete! (265.41s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.81.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.25.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "LCLPing",
"name" : "LCLPing",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "LCLPing",
"targets" : [
"LCLPing"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Demo",
"targets" : [
"Demo"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "UtilitiesTests",
"module_type" : "SwiftTarget",
"name" : "UtilitiesTests",
"path" : "Tests/UtilitiesTests",
"sources" : [
"ArrayTests.swift",
"Common.swift",
"DoubleTests.swift",
"MatchServerTimingTests.swift",
"ObjectDecoderTests.swift",
"SummarizePingResponseTests.swift",
"TimeTests.swift"
],
"target_dependencies" : [
"LCLPing"
],
"type" : "test"
},
{
"c99name" : "ModelTests",
"module_type" : "SwiftTarget",
"name" : "ModelTests",
"path" : "Tests/ModelTests",
"sources" : [
"HTTPConfigurationTest.swift",
"ICMPChecksumTests.swift"
],
"target_dependencies" : [
"LCLPing"
],
"type" : "test"
},
{
"c99name" : "LCLPing",
"module_type" : "SwiftTarget",
"name" : "LCLPing",
"path" : "Sources/LCLPing",
"product_dependencies" : [
"NIO",
"NIOCore",
"NIOPosix",
"NIOHTTP1",
"NIOTestUtils",
"NIOConcurrencyHelpers",
"Logging",
"NIOSSL",
"Collections"
],
"product_memberships" : [
"LCLPing",
"Demo"
],
"sources" : [
"Configuration.swift",
"HTTP/HTTPChannelHandlers.swift",
"HTTP/HTTPHandler.swift",
"HTTP/HTTPPingClient.swift",
"HTTP/HTTPSchema.swift",
"HTTP/NIOHTTPClient.swift",
"HTTP/URLSessionClient.swift",
"ICMP/ICMPChannelHandlers.swift",
"ICMP/ICMPHandler.swift",
"ICMP/ICMPPingClient.swift",
"Models/Errors+LCLPing.swift",
"Models/HTTPLatency.swift",
"Models/PingResponse.swift",
"Models/PingResult.swift",
"Models/PingState.swift",
"Models/PingSummary.swift",
"PingHandler.swift",
"Pingable.swift",
"Reachability.swift",
"TestUtils/InboundHeaderRewriter.swift",
"TestUtils/Rewritable.swift",
"TestUtils/TrafficControllerChannelHandler.swift",
"Utilities/Constants.swift",
"Utilities/Hex.swift",
"Utilities/LCLPing+Array.swift",
"Utilities/LCLPing+ChannelOption.swift",
"Utilities/LCLPing+Double.swift",
"Utilities/LCLPing+SocketOption.swift",
"Utilities/LCLPing+Time.swift",
"Utilities/LCLPing+TimeInterval.swift",
"Utilities/ObjectDecoder.swift",
"Utilities/Utilities.swift"
],
"type" : "library"
},
{
"c99name" : "IntegrationTests",
"module_type" : "SwiftTarget",
"name" : "IntegrationTests",
"path" : "Tests/IntegrationTests",
"sources" : [
"HTTPIntegrationTests.swift",
"ICMPIntegrationTests.swift"
],
"target_dependencies" : [
"LCLPing"
],
"type" : "test"
},
{
"c99name" : "ICMPChannelTests",
"module_type" : "SwiftTarget",
"name" : "ICMPChannelTests",
"path" : "Tests/ICMPChannelTests",
"sources" : [
"Common.swift",
"ICMPDecoderTests.swift",
"ICMPDuplexerTests.swift",
"IPDecoderTests.swift"
],
"target_dependencies" : [
"LCLPing"
],
"type" : "test"
},
{
"c99name" : "HTTPChannelTests",
"module_type" : "SwiftTarget",
"name" : "HTTPChannelTests",
"path" : "Tests/HTTPChannelTests",
"sources" : [
"HTTPTracingHandlerTests.swift"
],
"target_dependencies" : [
"LCLPing"
],
"type" : "test"
},
{
"c99name" : "Demo",
"module_type" : "SwiftTarget",
"name" : "Demo",
"path" : "Sources/Demo",
"product_memberships" : [
"Demo"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"LCLPing"
],
"type" : "executable"
}
],
"tools_version" : "5.8"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.