Build Information
Successful build of swift-nio-redis-client, reference develop (7e24d6
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 00:37:27 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NozeIO/swift-nio-redis-client.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NozeIO/swift-nio-redis-client
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 7e24d61 Accidentially grabbed .github from somewhere else?
Cloned https://github.com/NozeIO/swift-nio-redis-client.git
Revision (git rev-parse @):
7e24d6163cfd07b6e296a0421a48bdbb817c7a06
SUCCESS checkout https://github.com/NozeIO/swift-nio-redis-client.git at develop
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/SwiftNIOExtras/swift-nio-redis.git
[1/359] Fetching swift-nio-redis
[360/72325] Fetching swift-nio-redis, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.22s)
Fetched https://github.com/SwiftNIOExtras/swift-nio-redis.git from cache (4.22s)
Computing version for https://github.com/SwiftNIOExtras/swift-nio-redis.git
Computed https://github.com/SwiftNIOExtras/swift-nio-redis.git at 0.11.0 (0.57s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.69s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
[64/5488] Fetching swift-atomics, swift-system
[1453/21085] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.05s)
[4855/19516] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.90s)
Fetched https://github.com/apple/swift-system.git from cache (1.90s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.44s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.66s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/SwiftNIOExtras/swift-nio-redis.git
Working copy of https://github.com/SwiftNIOExtras/swift-nio-redis.git resolved at 0.11.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-nio-redis-client",
"name": "swift-nio-redis-client",
"url": "https://github.com/NozeIO/swift-nio-redis-client.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-redis-client",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.77.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
},
{
"identity": "swift-nio-redis",
"name": "swift-nio-redis",
"url": "https://github.com/SwiftNIOExtras/swift-nio-redis.git",
"version": "0.11.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-redis",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.77.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/NozeIO/swift-nio-redis-client.git
[1/311] Fetching swift-nio-redis-client
Fetched https://github.com/NozeIO/swift-nio-redis-client.git from cache (0.73s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/SwiftNIOExtras/swift-nio-redis.git from cache
Fetched https://github.com/SwiftNIOExtras/swift-nio-redis.git from cache (0.79s)
Fetched https://github.com/apple/swift-nio.git from cache (0.79s)
Computing version for https://github.com/SwiftNIOExtras/swift-nio-redis.git
Computed https://github.com/SwiftNIOExtras/swift-nio-redis.git at 0.11.0 (0.02s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
Fetched https://github.com/apple/swift-collections.git from cache (0.57s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.02s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/SwiftNIOExtras/swift-nio-redis.git
Working copy of https://github.com/SwiftNIOExtras/swift-nio-redis.git resolved at 0.11.0
Creating working copy for https://github.com/NozeIO/swift-nio-redis-client.git
Working copy of https://github.com/NozeIO/swift-nio-redis-client.git resolved at develop (7e24d61)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
warning: '.resolve-product-dependencies': dependency 'swift-nio-redis-client' is not used by any target
Found 2 product dependencies
- swift-nio
- swift-nio-redis
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/NozeIO/swift-nio-redis-client.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/24] Write sources
[10/24] Copying PrivacyInfo.xcprivacy
[13/24] Compiling CNIOWASI CNIOWASI.c
[14/24] Write sources
[14/24] Compiling CNIOWindows WSAStartup.c
[15/24] Compiling CNIOWindows shim.c
[17/24] Compiling CNIOLinux shim.c
[18/24] Compiling CNIOLinux liburing_shims.c
[19/24] Write swift-version--7754E27361AE5C74.txt
[20/24] Compiling _AtomicsShims.c
[21/67] Compiling CNIODarwin shim.c
[22/67] Compiling c-nioatomics.c
[23/67] Compiling c-atomics.c
[25/73] Compiling Atomics UnsafeAtomic.swift
[26/73] Compiling Atomics UnsafeAtomicLazyReference.swift
[27/75] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[28/76] Compiling Atomics AtomicBool.swift
[29/76] Compiling Atomics IntegerConformances.swift
[30/76] Compiling Atomics AtomicStorage.swift
[31/76] Compiling Atomics AtomicValue.swift
[32/76] Compiling Atomics ManagedAtomic.swift
[33/76] Compiling Atomics ManagedAtomicLazyReference.swift
[34/76] Compiling _NIOBase64 Base64.swift
[35/76] Emitting module _NIOBase64
[38/76] Compiling Atomics AtomicMemoryOrderings.swift
[39/76] Compiling Atomics DoubleWord.swift
[42/76] Compiling Atomics IntegerOperations.swift
[43/76] Compiling Atomics Unmanaged extensions.swift
[44/76] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[45/76] Compiling Atomics Primitives.shims.swift
[46/76] Compiling Atomics AtomicInteger.swift
[47/76] Compiling Atomics AtomicOptionalWrappable.swift
[48/76] Compiling Atomics AtomicReference.swift
[53/76] Compiling Atomics OptionalRawRepresentable.swift
[54/76] Compiling Atomics RawRepresentable.swift
[55/76] Compiling Atomics PointerConformances.swift
[56/76] Compiling Atomics Primitives.native.swift
[57/76] Emitting module InternalCollectionsUtilities
[60/92] Compiling DequeModule _DequeSlot.swift
[61/93] Compiling _NIODataStructures PriorityQueue.swift
[62/93] Compiling _NIODataStructures _TinyArray.swift
[63/93] Emitting module _NIODataStructures
[64/93] Compiling _NIODataStructures Heap.swift
[65/93] Compiling DequeModule _DequeBufferHeader.swift
[66/93] Compiling DequeModule Deque+Testing.swift
[67/93] Compiling DequeModule Deque._Storage.swift
[68/93] Compiling DequeModule _UnsafeWrappedBuffer.swift
[69/93] Compiling DequeModule _DequeBuffer.swift
[70/93] Compiling DequeModule Deque+Equatable.swift
[71/93] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[72/93] Compiling DequeModule Deque._UnsafeHandle.swift
[73/93] Compiling DequeModule Deque.swift
[74/93] Compiling DequeModule Deque+Extras.swift
[75/93] Compiling DequeModule Deque+Hashable.swift
[76/93] Compiling NIOConcurrencyHelpers atomics.swift
[77/93] Compiling NIOConcurrencyHelpers NIOLock.swift
[78/93] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[79/93] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[80/93] Emitting module NIOConcurrencyHelpers
[81/93] Compiling NIOConcurrencyHelpers lock.swift
[82/93] Compiling DequeModule Deque+CustomReflectable.swift
[83/93] Compiling DequeModule Deque+Descriptions.swift
[84/93] Compiling DequeModule Deque+Codable.swift
[85/93] Compiling DequeModule Deque+Collection.swift
[86/93] Emitting module DequeModule
[93/93] Emitting module Atomics
[94/155] Compiling NIOCore GlobalSingletons.swift
[95/155] Compiling NIOCore IO.swift
[96/155] Compiling NIOCore IOData.swift
[97/155] Compiling NIOCore IPProtocol.swift
[98/155] Compiling NIOCore IntegerBitPacking.swift
[99/155] Compiling NIOCore IntegerTypes.swift
[100/155] Compiling NIOCore Interfaces.swift
[101/161] Compiling NIOCore SocketOptionProvider.swift
[102/161] Compiling NIOCore SystemCallHelpers.swift
[103/161] Compiling NIOCore TimeAmount+Duration.swift
[104/161] Compiling NIOCore TypeAssistedChannelHandler.swift
[105/161] Compiling NIOCore UniversalBootstrapSupport.swift
[106/161] Compiling NIOCore Utilities.swift
[107/161] Compiling NIOCore AddressedEnvelope.swift
[108/161] Compiling NIOCore AsyncAwaitSupport.swift
[109/161] Compiling NIOCore AsyncChannel.swift
[110/161] Compiling NIOCore AsyncChannelHandler.swift
[111/161] Compiling NIOCore AsyncChannelInboundStream.swift
[112/161] Compiling NIOCore AsyncChannelOutboundWriter.swift
[113/161] Compiling NIOCore NIOAsyncSequenceProducer.swift
[114/161] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[115/161] Compiling NIOCore EventLoopFuture+Deprecated.swift
[116/161] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[117/161] Compiling NIOCore EventLoopFuture.swift
[118/161] Compiling NIOCore FileDescriptor.swift
[119/161] Compiling NIOCore FileHandle.swift
[120/161] Compiling NIOCore FileRegion.swift
[121/161] Compiling NIOCore NIOScheduledCallback.swift
[122/161] Compiling NIOCore NIOSendable.swift
[123/161] Compiling NIOCore PointerHelpers.swift
[124/161] Compiling NIOCore RecvByteBufferAllocator.swift
[125/161] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[126/161] Compiling NIOCore SocketAddresses.swift
[127/161] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[128/161] Compiling NIOCore NIOAsyncWriter.swift
[129/161] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[130/161] Compiling NIOCore BSDSocketAPI.swift
[131/161] Compiling NIOCore ByteBuffer-aux.swift
[132/161] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[133/161] Compiling NIOCore ByteBuffer-conversions.swift
[134/161] Compiling NIOCore Linux.swift
[135/161] Compiling NIOCore MarkedCircularBuffer.swift
[136/161] Compiling NIOCore MulticastChannel.swift
[137/161] Compiling NIOCore NIOAny.swift
[138/161] Compiling NIOCore NIOCloseOnErrorHandler.swift
[139/161] Compiling NIOCore NIOLoopBound.swift
[140/161] Compiling NIOCore Channel.swift
[141/161] Compiling NIOCore ChannelHandler.swift
[142/161] Compiling NIOCore ChannelHandlers.swift
[143/161] Compiling NIOCore ChannelInvoker.swift
[144/161] Compiling NIOCore ChannelOption.swift
[145/161] Compiling NIOCore ChannelPipeline.swift
[146/161] Compiling NIOCore CircularBuffer.swift
[147/161] Compiling NIOCore Codec.swift
[148/161] Compiling NIOCore ConvenienceOptionSupport.swift
[149/161] Compiling NIOCore DeadChannel.swift
[150/161] Compiling NIOCore DispatchQueue+WithFuture.swift
[151/161] Compiling NIOCore EventLoop+Deprecated.swift
[152/161] Compiling NIOCore EventLoop+SerialExecutor.swift
[153/161] Compiling NIOCore EventLoop.swift
[154/161] Compiling NIOCore ByteBuffer-core.swift
[155/161] Compiling NIOCore ByteBuffer-hex.swift
[156/161] Compiling NIOCore ByteBuffer-int.swift
[157/161] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[158/161] Compiling NIOCore ByteBuffer-multi-int.swift
[159/161] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[160/161] Compiling NIOCore ByteBuffer-views.swift
[161/161] Emitting module NIOCore
[162/215] Compiling NIOEmbedded AsyncTestingChannel.swift
[163/215] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[164/215] Compiling NIOEmbedded Embedded.swift
[165/215] Emitting module NIOEmbedded
[166/215] Compiling NIOPosix PooledRecvBufferAllocator.swift
[167/215] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[168/215] Compiling NIOPosix PosixSingletons.swift
[169/215] Compiling NIOPosix RawSocketBootstrap.swift
[170/215] Compiling NIOPosix Resolver.swift
[171/220] Compiling NIOPosix PendingWritesManager.swift
[172/220] Compiling NIOPosix PipeChannel.swift
[173/220] Compiling NIOPosix PipePair.swift
[174/220] Compiling NIOPosix PointerHelpers.swift
[175/220] Compiling NIOPosix Pool.swift
[176/220] Compiling NIOPosix BSDSocketAPICommon.swift
[177/220] Compiling NIOPosix BSDSocketAPIPosix.swift
[178/220] Compiling NIOPosix BSDSocketAPIWindows.swift
[179/220] Compiling NIOPosix BaseSocket.swift
[180/220] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[181/220] Compiling NIOPosix BaseSocketChannel.swift
[182/220] Compiling NIOPosix SelectorKqueue.swift
[183/220] Compiling NIOPosix SelectorUring.swift
[184/220] Compiling NIOPosix ServerSocket.swift
[185/220] Compiling NIOPosix Socket.swift
[186/220] Compiling NIOPosix SocketChannel.swift
[187/220] Compiling NIOPosix Selectable.swift
[188/220] Compiling NIOPosix SelectableChannel.swift
[189/220] Compiling NIOPosix SelectableEventLoop.swift
[190/220] Compiling NIOPosix SelectorEpoll.swift
[191/220] Compiling NIOPosix SelectorGeneric.swift
[192/220] Compiling NIOPosix BaseStreamSocketChannel.swift
[193/220] Compiling NIOPosix Bootstrap.swift
[194/220] Compiling NIOPosix ControlMessage.swift
[195/220] Compiling NIOPosix DatagramVectorReadManager.swift
[196/220] Compiling NIOPosix Errors+Any.swift
[197/220] Compiling NIOPosix FileDescriptor.swift
[198/220] Compiling NIOPosix GetaddrinfoResolver.swift
[199/220] Compiling NIOPosix HappyEyeballs.swift
[200/220] Compiling NIOPosix IO.swift
[201/220] Compiling NIOPosix IntegerBitPacking.swift
[202/220] Compiling NIOPosix IntegerTypes.swift
[203/220] Compiling NIOPosix Linux.swift
[204/220] Compiling NIOPosix SocketProtocols.swift
[205/220] Compiling NIOPosix System.swift
[206/220] Compiling NIOPosix Thread.swift
[207/220] Compiling NIOPosix ThreadPosix.swift
[208/220] Compiling NIOPosix ThreadWindows.swift
[209/220] Compiling NIOPosix LinuxCPUSet.swift
[210/220] Compiling NIOPosix LinuxUring.swift
[211/220] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[212/220] Compiling NIOPosix NIOThreadPool.swift
[213/220] Compiling NIOPosix NonBlockingFileIO.swift
[214/220] Compiling NIOPosix PendingDatagramWritesManager.swift
[215/220] Emitting module NIOPosix
[216/220] Compiling NIOPosix UnsafeTransfer.swift
[217/220] Compiling NIOPosix Utilities.swift
[218/220] Compiling NIOPosix VsockAddress.swift
[219/220] Compiling NIOPosix VsockChannelEvents.swift
[220/220] Compiling NIOPosix resource_bundle_accessor.swift
[221/222] Compiling NIO Exports.swift
[222/222] Emitting module NIO
[223/227] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[224/227] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[225/227] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[226/227] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[227/227] Emitting module NIOFoundationCompat
[228/234] Compiling NIORedis RESPPipelineSetup.swift
[229/234] Compiling NIORedis RESPValue.swift
[230/234] Emitting module NIORedis
[231/234] Compiling NIORedis ByteBufferExtras.swift
[232/234] Compiling NIORedis RESPParser.swift
[233/234] Compiling NIORedis RESPChannelHandler.swift
[234/234] Compiling NIORedis RESPEncodable.swift
[235/242] Compiling Redis RedisTypeTransformable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisTypeTransformable.swift:26:8: warning: associated value 'unexpectedValueType' of 'Sendable'-conforming enum 'RedisTypeTransformationError' has non-sendable type 'RESPValue'; this is an error in the Swift 6 language mode
24 |
25 | enum RedisTypeTransformationError : Swift.Error {
26 | case unexpectedValueType (RESPValue)
| `- warning: associated value 'unexpectedValueType' of 'Sendable'-conforming enum 'RedisTypeTransformationError' has non-sendable type 'RESPValue'; this is an error in the Swift 6 language mode
27 | case unsupportedValueType(Any.Type)
28 | case unexpectedHashValue (RESPValue)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-redis/Sources/NIORedis/RESPValue.swift:18:13: note: enum 'RESPValue' does not conform to the 'Sendable' protocol
16 | import Foundation
17 |
18 | public enum RESPValue {
| `- note: enum 'RESPValue' does not conform to the 'Sendable' protocol
19 | case simpleString(ByteBuffer)
20 | case bulkString (ByteBuffer?)
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisTypeTransformable.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
15 | import struct Foundation.Data
16 | import struct Foundation.TimeInterval
17 | import enum NIORedis.RESPValue
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
18 |
19 | protocol RedisTypeTransformable {
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisTypeTransformable.swift:28:8: warning: associated value 'unexpectedHashValue' of 'Sendable'-conforming enum 'RedisTypeTransformationError' has non-sendable type 'RESPValue'; this is an error in the Swift 6 language mode
26 | case unexpectedValueType (RESPValue)
27 | case unsupportedValueType(Any.Type)
28 | case unexpectedHashValue (RESPValue)
| `- warning: associated value 'unexpectedHashValue' of 'Sendable'-conforming enum 'RedisTypeTransformationError' has non-sendable type 'RESPValue'; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-redis/Sources/NIORedis/RESPValue.swift:18:13: note: enum 'RESPValue' does not conform to the 'Sendable' protocol
16 | import Foundation
17 |
18 | public enum RESPValue {
| `- note: enum 'RESPValue' does not conform to the 'Sendable' protocol
19 | case simpleString(ByteBuffer)
20 | case bulkString (ByteBuffer?)
[236/242] Compiling Redis RedisPrint.swift
[237/242] Compiling Redis RedisCommand.swift
[238/242] Compiling Redis RedisRetry.swift
[239/242] Compiling Redis RedisCommandTarget.swift
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommandTarget.swift:136:11: warning: capture of 'cb' with non-sendable type '([String]) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
134 | future.whenSuccess() { (newCursor, keys) in
135 | if !keys.isEmpty {
136 | cb(keys)
| |- warning: capture of 'cb' with non-sendable type '([String]) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
137 | }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommandTarget.swift:144:9: warning: capture of 'scanNext(cursor:)' with non-sendable type '(String) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | }
143 |
144 | scanNext(cursor: newCursor)
| |- warning: capture of 'scanNext(cursor:)' with non-sendable type '(String) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 |
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommandTarget.swift:132:10: warning: concurrently-executed local function 'scanNext(cursor:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
130 | let promise = self.eventLoop.makePromise(of: Void.self)
131 |
132 | func scanNext(cursor: String) {
| `- warning: concurrently-executed local function 'scanNext(cursor:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
133 | let future = self.scan(cursor: cursor, pattern: pattern, count: count)
134 | future.whenSuccess() { (newCursor, keys) in
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommandTarget.swift:411:10: warning: 'map(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
409 | _ cb: @escaping ( Swift.Error?, Value? ) -> Void) -> Void
410 | {
411 | self.map(file: file, line: line) { cb(nil, $0) }
| `- warning: 'map(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
412 | .whenFailure { cb($0, nil) }
413 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommandTarget.swift:411:40: warning: capture of 'cb' with non-sendable type '((any Error)?, Value?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
409 | _ cb: @escaping ( Swift.Error?, Value? ) -> Void) -> Void
410 | {
411 | self.map(file: file, line: line) { cb(nil, $0) }
| |- warning: capture of 'cb' with non-sendable type '((any Error)?, Value?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
412 | .whenFailure { cb($0, nil) }
413 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommandTarget.swift:412:24: warning: capture of 'cb' with non-sendable type '((any Error)?, Value?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
410 | {
411 | self.map(file: file, line: line) { cb(nil, $0) }
412 | .whenFailure { cb($0, nil) }
| |- warning: capture of 'cb' with non-sendable type '((any Error)?, Value?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
413 | }
414 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommandTarget.swift:422:10: warning: 'map(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
420 | _ cb: @escaping ( Swift.Error?, U? ) -> Void) -> Void
421 | {
422 | self.map(file: file, line: line) {
| `- warning: 'map(file:line:_:)' is deprecated: Please don't pass file:line:, there's no point.
423 | do { cb(nil, try U.extractFromRESPValue($0)) }
424 | catch { cb(error, nil) }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommandTarget.swift:423:16: warning: capture of 'cb' with non-sendable type '((any Error)?, U?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
421 | {
422 | self.map(file: file, line: line) {
423 | do { cb(nil, try U.extractFromRESPValue($0)) }
| |- warning: capture of 'cb' with non-sendable type '((any Error)?, U?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
424 | catch { cb(error, nil) }
425 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommandTarget.swift:426:24: warning: capture of 'cb' with non-sendable type '((any Error)?, U?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
424 | catch { cb(error, nil) }
425 | }
426 | .whenFailure { cb($0, nil) }
| |- warning: capture of 'cb' with non-sendable type '((any Error)?, U?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
427 | }
428 | }
[240/242] Compiling Redis RedisClientOptions.swift
[241/242] Emitting module Redis
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisTypeTransformable.swift:26:8: warning: associated value 'unexpectedValueType' of 'Sendable'-conforming enum 'RedisTypeTransformationError' has non-sendable type 'RESPValue'; this is an error in the Swift 6 language mode
24 |
25 | enum RedisTypeTransformationError : Swift.Error {
26 | case unexpectedValueType (RESPValue)
| `- warning: associated value 'unexpectedValueType' of 'Sendable'-conforming enum 'RedisTypeTransformationError' has non-sendable type 'RESPValue'; this is an error in the Swift 6 language mode
27 | case unsupportedValueType(Any.Type)
28 | case unexpectedHashValue (RESPValue)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-redis/Sources/NIORedis/RESPValue.swift:18:13: note: enum 'RESPValue' does not conform to the 'Sendable' protocol
16 | import Foundation
17 |
18 | public enum RESPValue {
| `- note: enum 'RESPValue' does not conform to the 'Sendable' protocol
19 | case simpleString(ByteBuffer)
20 | case bulkString (ByteBuffer?)
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisTypeTransformable.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
15 | import struct Foundation.Data
16 | import struct Foundation.TimeInterval
17 | import enum NIORedis.RESPValue
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
18 |
19 | protocol RedisTypeTransformable {
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisTypeTransformable.swift:28:8: warning: associated value 'unexpectedHashValue' of 'Sendable'-conforming enum 'RedisTypeTransformationError' has non-sendable type 'RESPValue'; this is an error in the Swift 6 language mode
26 | case unexpectedValueType (RESPValue)
27 | case unsupportedValueType(Any.Type)
28 | case unexpectedHashValue (RESPValue)
| `- warning: associated value 'unexpectedHashValue' of 'Sendable'-conforming enum 'RedisTypeTransformationError' has non-sendable type 'RESPValue'; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-redis/Sources/NIORedis/RESPValue.swift:18:13: note: enum 'RESPValue' does not conform to the 'Sendable' protocol
16 | import Foundation
17 |
18 | public enum RESPValue {
| `- note: enum 'RESPValue' does not conform to the 'Sendable' protocol
19 | case simpleString(ByteBuffer)
20 | case bulkString (ByteBuffer?)
[242/242] Compiling Redis RedisClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:170:24: warning: capture of 'self' with non-sendable type 'RedisClient?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | *
91 | */
92 | open class RedisClient : RedisCommandTarget {
| `- note: class 'RedisClient' does not conform to the 'Sendable' protocol
93 |
94 | public let options : RedisClientOptions
:
168 | return channel.pipeline
169 | .configureRedisPipeline()
170 | .flatMap { [weak self] in
| `- warning: capture of 'self' with non-sendable type 'RedisClient?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 | guard let me = self else {
172 | //assert(self != nil, "bootstrap running, but client gone?!")
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:171:24: warning: capture of 'self' with non-sendable type 'RedisClient?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | *
91 | */
92 | open class RedisClient : RedisCommandTarget {
| `- note: class 'RedisClient' does not conform to the 'Sendable' protocol
93 |
94 | public let options : RedisClientOptions
:
169 | .configureRedisPipeline()
170 | .flatMap { [weak self] in
171 | guard let me = self else {
| `- warning: capture of 'self' with non-sendable type 'RedisClient?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
172 | //assert(self != nil, "bootstrap running, but client gone?!")
173 | let error = channel.eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:219:9: warning: capture of 'self' with non-sendable type 'RedisClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | *
91 | */
92 | open class RedisClient : RedisCommandTarget {
| `- note: class 'RedisClient' does not conform to the 'Sendable' protocol
93 |
94 | public let options : RedisClientOptions
:
217 | guard eventLoop.inEventLoop else {
218 | return eventLoop.execute {
219 | self._unsubscribe(channels: channels, patterns: patterns)
| `- warning: capture of 'self' with non-sendable type 'RedisClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 | }
221 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:256:9: warning: capture of 'self' with non-sendable type 'RedisClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | *
91 | */
92 | open class RedisClient : RedisCommandTarget {
| `- note: class 'RedisClient' does not conform to the 'Sendable' protocol
93 |
94 | public let options : RedisClientOptions
:
254 | guard eventLoop.inEventLoop else {
255 | return eventLoop.execute {
256 | self._subscribe(channels: channels, patterns: patterns)
| `- warning: capture of 'self' with non-sendable type 'RedisClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
257 | }
258 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:292:9: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | *
91 | */
92 | open class RedisClient : RedisCommandTarget {
| `- note: class 'RedisClient' does not conform to the 'Sendable' protocol
93 |
94 | public let options : RedisClientOptions
:
290 | else {
291 | eventLoop.execute {
292 | self.subscribeListeners.append(cb)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
293 | }
294 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:292:40: warning: capture of 'cb' with non-sendable type '(String, Int) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
290 | else {
291 | eventLoop.execute {
292 | self.subscribeListeners.append(cb)
| |- warning: capture of 'cb' with non-sendable type '(String, Int) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
293 | }
294 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:305:9: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | *
91 | */
92 | open class RedisClient : RedisCommandTarget {
| `- note: class 'RedisClient' does not conform to the 'Sendable' protocol
93 |
94 | public let options : RedisClientOptions
:
303 | else {
304 | eventLoop.execute {
305 | self.psubscribeListeners.append(cb)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
306 | }
307 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:305:41: warning: capture of 'cb' with non-sendable type '(String, Int) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
303 | else {
304 | eventLoop.execute {
305 | self.psubscribeListeners.append(cb)
| |- warning: capture of 'cb' with non-sendable type '(String, Int) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
306 | }
307 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:333:9: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | *
91 | */
92 | open class RedisClient : RedisCommandTarget {
| `- note: class 'RedisClient' does not conform to the 'Sendable' protocol
93 |
94 | public let options : RedisClientOptions
:
331 | else {
332 | eventLoop.execute {
333 | self.messageListeners.append(cb)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
334 | }
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:333:38: warning: capture of 'cb' with non-sendable type '(String, String, String?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 | else {
332 | eventLoop.execute {
333 | self.messageListeners.append(cb)
| |- warning: capture of 'cb' with non-sendable type '(String, String, String?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
334 | }
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:347:34: warning: capture of 'self' with non-sendable type 'RedisClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | *
91 | */
92 | open class RedisClient : RedisCommandTarget {
| `- note: class 'RedisClient' does not conform to the 'Sendable' protocol
93 |
94 | public let options : RedisClientOptions
:
345 | public func enqueueCommandCall(_ call: RedisCommandCall) { // Q: any
346 | guard eventLoop.inEventLoop else {
347 | return eventLoop.execute { self.enqueueCommandCall(call) }
| `- warning: capture of 'self' with non-sendable type 'RedisClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
348 | }
349 | _enqueueCommandCall(call)
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:347:58: warning: capture of 'call' with non-sendable type 'RedisCommandCall' in a `@Sendable` closure; this is an error in the Swift 6 language mode
345 | public func enqueueCommandCall(_ call: RedisCommandCall) { // Q: any
346 | guard eventLoop.inEventLoop else {
347 | return eventLoop.execute { self.enqueueCommandCall(call) }
| `- warning: capture of 'call' with non-sendable type 'RedisCommandCall' in a `@Sendable` closure; this is an error in the Swift 6 language mode
348 | }
349 | _enqueueCommandCall(call)
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommand.swift:42:14: note: class 'RedisCommandCall' does not conform to the 'Sendable' protocol
40 | }
41 |
42 | public class RedisCommandCall {
| `- note: class 'RedisCommandCall' does not conform to the 'Sendable' protocol
43 |
44 | let command : RedisCommand
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:386:24: warning: capture of 'self' with non-sendable type 'RedisClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | *
91 | */
92 | open class RedisClient : RedisCommandTarget {
| `- note: class 'RedisClient' does not conform to the 'Sendable' protocol
93 |
94 | public let options : RedisClientOptions
:
384 |
385 | channel.write(call.command)
386 | .map { self.pendingCalls.append(call) }
| `- warning: capture of 'self' with non-sendable type 'RedisClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
387 | .whenFailure {
388 | call.promise.fail(Error.writeError($0))
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:386:49: warning: capture of 'call' with non-sendable type 'RedisCommandCall' in a `@Sendable` closure; this is an error in the Swift 6 language mode
384 |
385 | channel.write(call.command)
386 | .map { self.pendingCalls.append(call) }
| `- warning: capture of 'call' with non-sendable type 'RedisCommandCall' in a `@Sendable` closure; this is an error in the Swift 6 language mode
387 | .whenFailure {
388 | call.promise.fail(Error.writeError($0))
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommand.swift:42:14: note: class 'RedisCommandCall' does not conform to the 'Sendable' protocol
40 | }
41 |
42 | public class RedisCommandCall {
| `- note: class 'RedisCommandCall' does not conform to the 'Sendable' protocol
43 |
44 | let command : RedisCommand
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:388:11: warning: capture of 'call' with non-sendable type 'RedisCommandCall' in a `@Sendable` closure; this is an error in the Swift 6 language mode
386 | .map { self.pendingCalls.append(call) }
387 | .whenFailure {
388 | call.promise.fail(Error.writeError($0))
| `- warning: capture of 'call' with non-sendable type 'RedisCommandCall' in a `@Sendable` closure; this is an error in the Swift 6 language mode
389 | }
390 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommand.swift:42:14: note: class 'RedisCommandCall' does not conform to the 'Sendable' protocol
40 | }
41 |
42 | public class RedisCommandCall {
| `- note: class 'RedisCommandCall' does not conform to the 'Sendable' protocol
43 |
44 | let command : RedisCommand
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:401:22: warning: type 'RESPValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
399 |
400 | if !call.command.isSubscribe {
401 | call.promise.succeed(value)
| `- warning: type 'RESPValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
402 | return
403 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-redis/Sources/NIORedis/RESPValue.swift:18:13: note: enum 'RESPValue' does not conform to the 'Sendable' protocol
16 | import Foundation
17 |
18 | public enum RESPValue {
| `- note: enum 'RESPValue' does not conform to the 'Sendable' protocol
19 | case simpleString(ByteBuffer)
20 | case bulkString (ByteBuffer?)
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
14 |
15 | import NIO
16 | import NIORedis
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
17 |
18 | public let DefaultRedisPort = 6379
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:404:20: warning: type 'RESPValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
402 | return
403 | }
404 | call.promise.succeed(.bulkString(nil)) // TBD
| `- warning: type 'RESPValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
405 | }
406 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-redis/Sources/NIORedis/RESPValue.swift:18:13: note: enum 'RESPValue' does not conform to the 'Sendable' protocol
16 | import Foundation
17 |
18 | public enum RESPValue {
| `- note: enum 'RESPValue' does not conform to the 'Sendable' protocol
19 | case simpleString(ByteBuffer)
20 | case bulkString (ByteBuffer?)
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:456:9: warning: capture of 'self' with non-sendable type 'RedisClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | *
91 | */
92 | open class RedisClient : RedisCommandTarget {
| `- note: class 'RedisClient' does not conform to the 'Sendable' protocol
93 |
94 | public let options : RedisClientOptions
:
454 | _enqueueCommandCall(RedisCommandCall(["QUIT"], eventLoop: eventLoop))
455 | .whenComplete { _ in
456 | self.state = .quit
| `- warning: capture of 'self' with non-sendable type 'RedisClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
457 | self.subscribeListeners.removeAll()
458 | self.messageListeners.removeAll()
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:470:9: warning: capture of 'self' with non-sendable type 'RedisClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | *
91 | */
92 | open class RedisClient : RedisCommandTarget {
| `- note: class 'RedisClient' does not conform to the 'Sendable' protocol
93 |
94 | public let options : RedisClientOptions
:
468 | return bootstrap.connect(host: host, port: port)
469 | .map { channel in
470 | self.retryInfo.registerSuccessfulConnect()
| `- warning: capture of 'self' with non-sendable type 'RedisClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
471 |
472 | guard case .connecting = self.state else {
Build complete! (38.30s)
warning: 'spi-builder-workspace': dependency 'swift-nio' is not used by any target
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.20.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-redis",
"requirement" : {
"range" : [
{
"lower_bound" : "0.10.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftNIOExtras/swift-nio-redis.git"
}
],
"manifest_display_name" : "swift-nio-redis-client",
"name" : "swift-nio-redis-client",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Redis",
"targets" : [
"Redis"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RedisTests",
"module_type" : "SwiftTarget",
"name" : "RedisTests",
"path" : "Tests/RedisTests",
"sources" : [
"RedisClientTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Redis"
],
"type" : "test"
},
{
"c99name" : "Redis",
"module_type" : "SwiftTarget",
"name" : "Redis",
"path" : "Sources/Redis",
"product_dependencies" : [
"NIORedis"
],
"product_memberships" : [
"Redis"
],
"sources" : [
"RedisClient.swift",
"RedisClientOptions.swift",
"RedisCommand.swift",
"RedisCommandTarget.swift",
"RedisPrint.swift",
"RedisRetry.swift",
"RedisTypeTransformable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.