Build Information
Successful build of swift-nio-redis-client, reference 0.10.3 (832712
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 09:42:24 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NozeIO/swift-nio-redis-client.git
Reference: 0.10.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NozeIO/swift-nio-redis-client
* tag 0.10.3 -> FETCH_HEAD
HEAD is now at 8327121 Merge branch 'develop' into main
Cloned https://github.com/NozeIO/swift-nio-redis-client.git
Revision (git rev-parse @):
832712154a0bf27b2cdee18385138937e9501084
SUCCESS checkout https://github.com/NozeIO/swift-nio-redis-client.git at 0.10.3
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/SwiftNIOExtras/swift-nio-redis.git
[8/359] Fetching swift-nio-redis
Fetched https://github.com/SwiftNIOExtras/swift-nio-redis.git from cache (0.98s)
Fetched https://github.com/apple/swift-nio.git from cache (0.98s)
Computing version for https://github.com/SwiftNIOExtras/swift-nio-redis.git
Computed https://github.com/SwiftNIOExtras/swift-nio-redis.git at 0.11.0 (1.55s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.66s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.69s)
Fetched https://github.com/apple/swift-system.git from cache (0.70s)
Fetched https://github.com/apple/swift-collections.git from cache (0.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.20s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.69s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
========================================
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.82.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.2",
"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.82.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.2",
"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
[4/311] Fetching swift-nio-redis-client
Fetched https://github.com/NozeIO/swift-nio-redis-client.git from cache (0.76s)
Fetching https://github.com/SwiftNIOExtras/swift-nio-redis.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/SwiftNIOExtras/swift-nio-redis.git from cache (0.64s)
Fetched https://github.com/apple/swift-nio.git from cache (0.65s)
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.70s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.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-atomics.git from cache (0.51s)
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Fetched https://github.com/apple/swift-collections.git from cache (0.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (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.03s)
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 0.10.3 (8327121)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-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
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.1
Building package at path: $PWD
https://github.com/NozeIO/swift-nio-redis-client.git
https://github.com/NozeIO/swift-nio-redis-client.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[3/24] Copying PrivacyInfo.xcprivacy
[3/24] Write sources
[13/24] Compiling CNIOWindows WSAStartup.c
[14/24] Write sources
[15/24] Compiling CNIOWASI CNIOWASI.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-2F0A5646E1D333AE.txt
[20/24] Compiling _AtomicsShims.c
[21/67] Compiling CNIODarwin shim.c
[23/67] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/68] Compiling Atomics ManagedAtomic.swift
[25/68] Compiling Atomics ManagedAtomicLazyReference.swift
[26/68] Emitting module InternalCollectionsUtilities
[27/68] Compiling Atomics AtomicMemoryOrderings.swift
[28/68] Compiling Atomics DoubleWord.swift
[29/68] Compiling Atomics UnsafeAtomic.swift
[30/68] Compiling Atomics UnsafeAtomicLazyReference.swift
[31/68] Compiling _NIOBase64 Base64.swift
[32/68] Emitting module _NIOBase64
[33/68] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[38/70] Compiling Atomics Primitives.shims.swift
[39/70] Compiling Atomics AtomicInteger.swift
[40/70] Compiling Atomics AtomicBool.swift
[41/70] Compiling Atomics IntegerConformances.swift
[42/70] Compiling Atomics OptionalRawRepresentable.swift
[43/70] Compiling Atomics RawRepresentable.swift
[44/70] Compiling Atomics AtomicOptionalWrappable.swift
[45/70] Compiling Atomics AtomicReference.swift
[46/70] Compiling Atomics PointerConformances.swift
[47/70] Compiling Atomics Primitives.native.swift
[52/70] Compiling Atomics AtomicStorage.swift
[53/70] Compiling Atomics AtomicValue.swift
[56/70] Compiling Atomics IntegerOperations.swift
[57/70] Compiling Atomics Unmanaged extensions.swift
[58/86] Compiling DequeModule _DequeBufferHeader.swift
[59/86] Compiling DequeModule _DequeSlot.swift
[60/87] Compiling DequeModule _DequeBuffer.swift
[61/87] Compiling _NIODataStructures PriorityQueue.swift
[62/87] Compiling _NIODataStructures Heap.swift
[63/87] Compiling _NIODataStructures _TinyArray.swift
[64/87] Emitting module _NIODataStructures
[65/87] Compiling DequeModule Deque+Codable.swift
[66/87] Compiling DequeModule Deque+Collection.swift
[67/87] Compiling DequeModule Deque._UnsafeHandle.swift
[68/87] Compiling DequeModule Deque.swift
[69/87] Compiling DequeModule Deque+Equatable.swift
[70/87] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[71/87] Emitting module Atomics
[72/87] Compiling DequeModule _UnsafeWrappedBuffer.swift
[73/87] Compiling DequeModule Deque+Testing.swift
[74/87] Compiling DequeModule Deque._Storage.swift
[75/87] Compiling DequeModule Deque+CustomReflectable.swift
[76/87] Compiling DequeModule Deque+Descriptions.swift
[77/87] Compiling DequeModule Deque+Extras.swift
[78/87] Compiling DequeModule Deque+Hashable.swift
[83/87] Emitting module DequeModule
[85/87] Compiling c-nioatomics.c
[86/87] Compiling c-atomics.c
[88/93] Compiling NIOConcurrencyHelpers lock.swift
[89/93] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[90/93] Emitting module NIOConcurrencyHelpers
[91/93] Compiling NIOConcurrencyHelpers NIOLock.swift
[92/93] Compiling NIOConcurrencyHelpers atomics.swift
[93/93] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[94/154] Compiling NIOCore Interfaces.swift
[95/154] Compiling NIOCore Linux.swift
[96/154] Compiling NIOCore MarkedCircularBuffer.swift
[97/154] Compiling NIOCore MulticastChannel.swift
[98/154] Compiling NIOCore NIOAny.swift
[99/154] Compiling NIOCore NIOCloseOnErrorHandler.swift
[100/160] Compiling NIOCore SocketOptionProvider.swift
[101/160] Compiling NIOCore SystemCallHelpers.swift
[102/160] Compiling NIOCore TimeAmount+Duration.swift
[103/160] Compiling NIOCore TypeAssistedChannelHandler.swift
[104/160] Compiling NIOCore UniversalBootstrapSupport.swift
[105/160] Compiling NIOCore Utilities.swift
[106/160] Compiling NIOCore AddressedEnvelope.swift
[107/160] Compiling NIOCore AsyncAwaitSupport.swift
[108/160] Compiling NIOCore AsyncChannel.swift
[109/160] Compiling NIOCore AsyncChannelHandler.swift
[110/160] Compiling NIOCore AsyncChannelInboundStream.swift
[111/160] Compiling NIOCore AsyncChannelOutboundWriter.swift
[112/160] Compiling NIOCore NIOAsyncSequenceProducer.swift
[113/160] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[114/160] Compiling NIOCore EventLoopFuture+Deprecated.swift
[115/160] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[116/160] Compiling NIOCore EventLoopFuture.swift
[117/160] Compiling NIOCore FileDescriptor.swift
[118/160] Compiling NIOCore FileHandle.swift
[119/160] Compiling NIOCore FileRegion.swift
[120/160] Compiling NIOCore GlobalSingletons.swift
[121/160] Compiling NIOCore IO.swift
[122/160] Compiling NIOCore IOData.swift
[123/160] Compiling NIOCore IPProtocol.swift
[124/160] Compiling NIOCore IntegerBitPacking.swift
[125/160] Compiling NIOCore IntegerTypes.swift
[126/160] Compiling NIOCore Codec.swift
[127/160] Compiling NIOCore ConvenienceOptionSupport.swift
[128/160] Compiling NIOCore DeadChannel.swift
[129/160] Compiling NIOCore DispatchQueue+WithFuture.swift
[130/160] Compiling NIOCore EventLoop+Deprecated.swift
[131/160] Compiling NIOCore EventLoop+SerialExecutor.swift
[132/160] Compiling NIOCore EventLoop.swift
[133/160] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[134/160] Compiling NIOCore NIOAsyncWriter.swift
[135/160] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[136/160] Compiling NIOCore BSDSocketAPI.swift
[137/160] Compiling NIOCore ByteBuffer-aux.swift
[138/160] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[139/160] Compiling NIOCore ByteBuffer-conversions.swift
[140/160] Compiling NIOCore Channel.swift
[141/160] Compiling NIOCore ChannelHandler.swift
[142/160] Compiling NIOCore ChannelHandlers.swift
[143/160] Compiling NIOCore ChannelInvoker.swift
[144/160] Compiling NIOCore ChannelOption.swift
[145/160] Compiling NIOCore ChannelPipeline.swift
[146/160] Compiling NIOCore CircularBuffer.swift
[147/160] Compiling NIOCore ByteBuffer-core.swift
[148/160] Compiling NIOCore ByteBuffer-hex.swift
[149/160] Compiling NIOCore ByteBuffer-int.swift
[150/160] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[151/160] Compiling NIOCore ByteBuffer-multi-int.swift
[152/160] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[153/160] Compiling NIOCore ByteBuffer-views.swift
[154/160] Compiling NIOCore NIOLoopBound.swift
[155/160] Compiling NIOCore NIOScheduledCallback.swift
[156/160] Compiling NIOCore NIOSendable.swift
[157/160] Compiling NIOCore RecvByteBufferAllocator.swift
[158/160] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[159/160] Compiling NIOCore SocketAddresses.swift
[160/160] Emitting module NIOCore
[161/213] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[162/213] Compiling NIOEmbedded Embedded.swift
[163/213] Compiling NIOEmbedded AsyncTestingChannel.swift
[164/213] Emitting module NIOEmbedded
[165/213] Emitting module NIOPosix
[166/218] Compiling NIOPosix BSDSocketAPICommon.swift
[167/218] Compiling NIOPosix BSDSocketAPIPosix.swift
[168/218] Compiling NIOPosix BSDSocketAPIWindows.swift
[169/218] Compiling NIOPosix BaseSocket.swift
[170/218] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[171/218] Compiling NIOPosix BaseSocketChannel.swift
[172/218] Compiling NIOPosix PendingDatagramWritesManager.swift
[173/218] Compiling NIOPosix PendingWritesManager.swift
[174/218] Compiling NIOPosix PipeChannel.swift
[175/218] Compiling NIOPosix PipePair.swift
[176/218] Compiling NIOPosix Pool.swift
[177/218] Compiling NIOPosix Selectable.swift
[178/218] Compiling NIOPosix SelectableChannel.swift
[179/218] Compiling NIOPosix SelectableEventLoop.swift
[180/218] Compiling NIOPosix SelectorEpoll.swift
[181/218] Compiling NIOPosix SelectorGeneric.swift
[182/218] Compiling NIOPosix BaseStreamSocketChannel.swift
[183/218] Compiling NIOPosix Bootstrap.swift
[184/218] Compiling NIOPosix ControlMessage.swift
[185/218] Compiling NIOPosix DatagramVectorReadManager.swift
[186/218] Compiling NIOPosix Errors+Any.swift
[187/218] Compiling NIOPosix FileDescriptor.swift
[188/218] Compiling NIOPosix LinuxCPUSet.swift
[189/218] Compiling NIOPosix LinuxUring.swift
[190/218] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[191/218] Compiling NIOPosix NIOThreadPool.swift
[192/218] Compiling NIOPosix NonBlockingFileIO.swift
[193/218] Compiling NIOPosix GetaddrinfoResolver.swift
[194/218] Compiling NIOPosix HappyEyeballs.swift
[195/218] Compiling NIOPosix IO.swift
[196/218] Compiling NIOPosix IntegerBitPacking.swift
[197/218] Compiling NIOPosix IntegerTypes.swift
[198/218] Compiling NIOPosix Linux.swift
[199/218] Compiling NIOPosix PooledRecvBufferAllocator.swift
[200/218] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[201/218] Compiling NIOPosix PosixSingletons.swift
[202/218] Compiling NIOPosix RawSocketBootstrap.swift
[203/218] Compiling NIOPosix Resolver.swift
[204/218] Compiling NIOPosix SelectorKqueue.swift
[205/218] Compiling NIOPosix SelectorUring.swift
[206/218] Compiling NIOPosix ServerSocket.swift
[207/218] Compiling NIOPosix Socket.swift
[208/218] Compiling NIOPosix SocketChannel.swift
[209/218] Compiling NIOPosix SocketProtocols.swift
[210/218] Compiling NIOPosix System.swift
[211/218] Compiling NIOPosix Thread.swift
[212/218] Compiling NIOPosix ThreadPosix.swift
[213/218] Compiling NIOPosix ThreadWindows.swift
[214/218] Compiling NIOPosix UnsafeTransfer.swift
[215/218] Compiling NIOPosix Utilities.swift
[216/218] Compiling NIOPosix VsockAddress.swift
[217/218] Compiling NIOPosix VsockChannelEvents.swift
[218/218] Compiling NIOPosix resource_bundle_accessor.swift
[219/220] Emitting module NIO
[220/220] Compiling NIO Exports.swift
[221/225] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[222/225] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[223/225] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[224/225] Emitting module NIOFoundationCompat
[225/225] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[226/232] Compiling NIORedis RESPValue.swift
[227/232] Compiling NIORedis RESPPipelineSetup.swift
[228/232] Compiling NIORedis RESPEncodable.swift
[229/232] Compiling NIORedis RESPChannelHandler.swift
[230/232] Compiling NIORedis ByteBufferExtras.swift
[231/232] Emitting module NIORedis
[232/232] Compiling NIORedis RESPParser.swift
[233/240] Compiling Redis RedisClientOptions.swift
[234/240] Compiling Redis RedisRetry.swift
[235/240] Compiling Redis RedisClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisClient.swift:179:23: warning: type 'RedisClient.Handler' does not conform to the 'Sendable' protocol
177 |
178 | return channel.pipeline
179 | .addHandler(Handler(client: me),
| `- warning: type 'RedisClient.Handler' does not conform to the 'Sendable' protocol
180 | name: "de.zeezide.nio.redis.client")
181 | }
:
605 | // MARK: - Handler
606 |
607 | final class Handler : ChannelInboundHandler {
| `- note: class 'Handler' does not conform to the 'Sendable' protocol
608 |
609 | typealias InboundIn = RESPValue
/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
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
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
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
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
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
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
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
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
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
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
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
| `- 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
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
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
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
| `- 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
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
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
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
| `- 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
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
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
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
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:385:15: warning: type 'RedisCommand' does not conform to the 'Sendable' protocol
383 | let call = callQueue.removeFirst()
384 |
385 | channel.write(call.command)
| `- warning: type 'RedisCommand' does not conform to the 'Sendable' protocol
386 | .map { self.pendingCalls.append(call) }
387 | .whenFailure {
/Users/admin/builder/spi-builder-workspace/Sources/Redis/RedisCommand.swift:18:20: note: class 'RedisCommand' does not conform to the 'Sendable' protocol
16 | import NIORedis
17 |
18 | public final class RedisCommand : RESPEncodable {
| `- note: class 'RedisCommand' does not conform to the 'Sendable' protocol
19 |
20 | let values : ContiguousArray<RESPValue>
/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
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
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
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
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
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
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
399 |
400 | if !call.command.isSubscribe {
401 | call.promise.succeed(value)
| `- warning: type 'RESPValue' does not conform to the 'Sendable' protocol
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
402 | return
403 | }
404 | call.promise.succeed(.bulkString(nil)) // TBD
| `- warning: type 'RESPValue' does not conform to the 'Sendable' protocol
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
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
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
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
471 |
472 | guard case .connecting = self.state else {
[236/240] 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?)
[237/240] Compiling Redis RedisCommand.swift
[238/240] 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?)
[239/240] Compiling Redis RedisPrint.swift
[240/240] 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
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
| `- 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 '<Self where Self : RedisCommandTarget> (cursor: String) -> ()' in a '@Sendable' closure
142 | }
143 |
144 | scanNext(cursor: newCursor)
| `- warning: capture of 'scanNext(cursor:)' with non-sendable type '<Self where Self : RedisCommandTarget> (cursor: String) -> ()' in a '@Sendable' closure
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'
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'
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
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
| `- 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
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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
427 | }
428 | }
Build complete! (13.58s)
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.