Build Information
Successful build of redi-s, reference 0.6.0 (4ec4de
), with Swift 6.2 (beta) for Linux on 21 Jun 2025 02:43:18 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NozeIO/redi-s.git
Reference: 0.6.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/NozeIO/redi-s
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at 4ec4de9 Merge branch 'develop'
Cloned https://github.com/NozeIO/redi-s.git
Revision (git rev-parse @):
4ec4de94f2638596202debf85a5813d5e02d784a
SUCCESS checkout https://github.com/NozeIO/redi-s.git at 0.6.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/NozeIO/redi-s.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/SwiftNIOExtras/swift-nio-redis.git
Fetching https://github.com/apple/swift-atomics
[1/359] Fetching swift-nio-redis
[360/2156] Fetching swift-nio-redis, swift-atomics
Fetched https://github.com/SwiftNIOExtras/swift-nio-redis.git from cache (0.46s)
Fetched https://github.com/apple/swift-atomics from cache (0.46s)
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.95s)
Fetching https://github.com/apple/swift-nio.git
[1/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.89s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (5.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.00s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetching https://github.com/apple/swift-system.git
Fetched https://github.com/apple/swift-collections.git from cache (1.40s)
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (2.29s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.70s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Building for debugging...
[0/40] Write sources
[13/40] Compiling CNIOWindows WSAStartup.c
[14/40] Compiling CNIODarwin shim.c
[14/40] Compiling CNIOWASI CNIOWASI.c
[16/40] Write sources
[17/40] Compiling CNIOLinux liburing_shims.c
[18/40] Compiling _AtomicsShims.c
[19/40] Compiling CNIOWindows shim.c
[20/40] Write swift-version-24593BA9C3E375BF.txt
[21/78] Compiling CNIOLinux shim.c
[22/78] Compiling c-nioatomics.c
[23/78] Compiling c-atomics.c
[25/84] Emitting module _NIOBase64
[26/84] Compiling _NIOBase64 Base64.swift
[28/85] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[29/85] Compiling Atomics AtomicValue.swift
[30/85] Compiling Atomics AtomicMemoryOrderings.swift
[31/85] Emitting module InternalCollectionsUtilities
[32/85] Compiling Atomics IntegerConformances.swift
[33/85] Compiling Atomics PointerConformances.swift
[34/85] Compiling Atomics AtomicReference.swift
[35/85] Compiling Atomics AtomicStorage.swift
[36/85] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[37/86] Compiling Atomics OptionalRawRepresentable.swift
[38/86] Compiling Atomics RawRepresentable.swift
[39/86] Compiling Atomics AtomicBool.swift
[42/86] Compiling Atomics Primitives.native.swift
[43/86] Emitting module Atomics
[46/86] Compiling Atomics AtomicInteger.swift
[47/86] Compiling Atomics AtomicOptionalWrappable.swift
[51/88] Compiling Atomics ManagedAtomic.swift
[52/88] Compiling Atomics ManagedAtomicLazyReference.swift
[54/88] Compiling Atomics DoubleWord.swift
[55/88] Compiling Atomics UnsafeAtomic.swift
[56/88] Compiling Atomics UnsafeAtomicLazyReference.swift
[56/88] Wrapping AST for _NIOBase64 for debugging
[62/88] Compiling _NIODataStructures PriorityQueue.swift
[63/88] Compiling _NIODataStructures _TinyArray.swift
[64/88] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[66/89] Emitting module NIOConcurrencyHelpers
[66/89] Wrapping AST for InternalCollectionsUtilities for debugging
[68/104] Compiling Atomics IntegerOperations.swift
[69/104] Compiling Atomics Unmanaged extensions.swift
[70/105] Compiling DequeModule _DequeBuffer.swift
[71/105] Compiling DequeModule _DequeBufferHeader.swift
[72/107] Wrapping AST for Atomics for debugging
[74/107] Compiling DequeModule Deque+Equatable.swift
[75/107] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[76/107] Compiling DequeModule Deque+Extras.swift
[77/107] Compiling DequeModule Deque+Hashable.swift
[78/107] Compiling DequeModule Deque+Testing.swift
[79/107] Compiling DequeModule Deque._Storage.swift
[80/107] Compiling DequeModule _DequeSlot.swift
[81/107] Compiling DequeModule _UnsafeWrappedBuffer.swift
[82/107] Compiling NIOConcurrencyHelpers lock.swift
[83/107] Emitting module _NIODataStructures
[84/107] Compiling _NIODataStructures Heap.swift
[85/108] Compiling DequeModule Deque+CustomReflectable.swift
[86/108] Compiling DequeModule Deque+Descriptions.swift
[87/108] Compiling DequeModule Deque._UnsafeHandle.swift
[88/108] Compiling DequeModule Deque.swift
[89/108] Wrapping AST for _NIODataStructures for debugging
[91/108] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[92/108] Compiling NIOConcurrencyHelpers NIOLock.swift
[93/108] Compiling NIOConcurrencyHelpers atomics.swift
[95/109] Compiling DequeModule Deque+Codable.swift
[96/109] Compiling DequeModule Deque+Collection.swift
[97/109] Emitting module DequeModule
[98/110] Wrapping AST for NIOConcurrencyHelpers for debugging
[99/110] Wrapping AST for DequeModule for debugging
[101/170] Compiling NIOCore IO.swift
[102/170] Compiling NIOCore IOData.swift
[103/170] Compiling NIOCore IPProtocol.swift
[104/170] Compiling NIOCore IntegerBitPacking.swift
[105/170] Compiling NIOCore IntegerTypes.swift
[106/170] Compiling NIOCore Interfaces.swift
[107/170] Compiling NIOCore Linux.swift
[108/170] Compiling NIOCore MarkedCircularBuffer.swift
[109/178] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[110/178] Compiling NIOCore EventLoopFuture+Deprecated.swift
[111/178] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[112/178] Compiling NIOCore EventLoopFuture.swift
[113/178] Compiling NIOCore FileDescriptor.swift
[114/178] Compiling NIOCore FileHandle.swift
[115/178] Compiling NIOCore FileRegion.swift
[116/178] Compiling NIOCore GlobalSingletons.swift
[117/178] Compiling NIOCore MulticastChannel.swift
[118/178] Compiling NIOCore NIOAny.swift
[119/178] Compiling NIOCore NIOCloseOnErrorHandler.swift
[120/178] Compiling NIOCore NIOLoopBound.swift
[121/178] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[122/178] Compiling NIOCore NIOScheduledCallback.swift
[123/178] Compiling NIOCore NIOSendable.swift
[124/178] Compiling NIOCore RecvByteBufferAllocator.swift
[125/178] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[126/178] Compiling NIOCore BSDSocketAPI.swift
[127/178] Compiling NIOCore ByteBuffer-aux.swift
[128/178] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[129/178] Compiling NIOCore ByteBuffer-conversions.swift
[130/178] Compiling NIOCore ByteBuffer-core.swift
[131/178] Compiling NIOCore ByteBuffer-hex.swift
[132/178] Compiling NIOCore ByteBuffer-int.swift
[133/178] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[134/178] Compiling NIOCore CircularBuffer.swift
[135/178] Compiling NIOCore Codec.swift
[136/178] Compiling NIOCore ConvenienceOptionSupport.swift
[137/178] Compiling NIOCore DeadChannel.swift
[138/178] Compiling NIOCore DispatchQueue+WithFuture.swift
[139/178] Compiling NIOCore EventLoop+Deprecated.swift
[140/178] Compiling NIOCore EventLoop+SerialExecutor.swift
[141/178] Compiling NIOCore EventLoop.swift
[142/178] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[143/178] Compiling NIOCore SocketAddresses.swift
[144/178] Compiling NIOCore SocketOptionProvider.swift
[145/178] Compiling NIOCore SystemCallHelpers.swift
[146/178] Compiling NIOCore TimeAmount+Duration.swift
[147/178] Compiling NIOCore TypeAssistedChannelHandler.swift
[148/178] Compiling NIOCore UniversalBootstrapSupport.swift
[149/178] Compiling NIOCore Utilities.swift
[150/178] Compiling NIOCore ByteBuffer-multi-int.swift
[151/178] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[152/178] Compiling NIOCore ByteBuffer-views.swift
[153/178] Compiling NIOCore Channel.swift
[154/178] Compiling NIOCore ChannelHandler.swift
[155/178] Compiling NIOCore ChannelHandlers.swift
[156/178] Compiling NIOCore ChannelInvoker.swift
[157/178] Compiling NIOCore ChannelOption.swift
[158/178] Compiling NIOCore ChannelPipeline.swift
[159/178] Compiling NIOCore AddressedEnvelope.swift
[160/178] Compiling NIOCore AsyncAwaitSupport.swift
[161/178] Compiling NIOCore AsyncChannel.swift
[162/178] Compiling NIOCore AsyncChannelHandler.swift
[163/178] Compiling NIOCore AsyncChannelInboundStream.swift
[164/178] Compiling NIOCore AsyncChannelOutboundWriter.swift
[165/178] Compiling NIOCore NIOAsyncSequenceProducer.swift
[166/178] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[167/178] Compiling NIOCore NIOAsyncWriter.swift
[168/178] Emitting module NIOCore
[169/179] Wrapping AST for NIOCore for debugging
[171/229] Emitting module NIOEmbedded
[172/229] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[173/229] Compiling NIOEmbedded AsyncTestingChannel.swift
[174/229] Compiling NIOEmbedded Embedded.swift
[175/230] Wrapping AST for NIOEmbedded for debugging
[177/230] Compiling NIOPosix Pool.swift
[178/230] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[179/230] Compiling NIOPosix PosixSingletons.swift
[180/230] Compiling NIOPosix RawSocketBootstrap.swift
[181/230] Compiling NIOPosix Resolver.swift
[182/230] Compiling NIOPosix Selectable.swift
[183/236] Compiling NIOPosix ServerSocket.swift
[184/236] Compiling NIOPosix Socket.swift
[185/236] Compiling NIOPosix SocketChannel.swift
[186/236] Compiling NIOPosix SocketProtocols.swift
[187/236] Compiling NIOPosix System.swift
[188/236] Compiling NIOPosix Thread.swift
[189/236] Compiling NIOPosix SelectableChannel.swift
[190/236] Compiling NIOPosix SelectableEventLoop.swift
[191/236] Compiling NIOPosix SelectorEpoll.swift
[192/236] Compiling NIOPosix SelectorGeneric.swift
[193/236] Compiling NIOPosix SelectorKqueue.swift
[194/236] Compiling NIOPosix SelectorUring.swift
[195/236] Compiling NIOPosix ThreadPosix.swift
[196/236] Compiling NIOPosix ThreadWindows.swift
[197/236] Compiling NIOPosix UnsafeTransfer.swift
[198/236] Compiling NIOPosix Utilities.swift
[199/236] Compiling NIOPosix VsockAddress.swift
[200/236] Compiling NIOPosix VsockChannelEvents.swift
[201/236] Compiling NIOPosix IO.swift
[202/236] Compiling NIOPosix IntegerBitPacking.swift
[203/236] Compiling NIOPosix IntegerTypes.swift
[204/236] Compiling NIOPosix Linux.swift
[205/236] Compiling NIOPosix LinuxCPUSet.swift
[206/236] Compiling NIOPosix LinuxUring.swift
[207/236] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[208/236] Compiling NIOPosix Bootstrap.swift
[209/236] Compiling NIOPosix ControlMessage.swift
[210/236] Compiling NIOPosix DatagramVectorReadManager.swift
[211/236] Compiling NIOPosix Errors+Any.swift
[212/236] Compiling NIOPosix FileDescriptor.swift
[213/236] Compiling NIOPosix GetaddrinfoResolver.swift
[214/236] Compiling NIOPosix HappyEyeballs.swift
[215/236] Compiling NIOPosix BSDSocketAPICommon.swift
[216/236] Compiling NIOPosix BSDSocketAPIPosix.swift
[217/236] Compiling NIOPosix BSDSocketAPIWindows.swift
[218/236] Compiling NIOPosix BaseSocket.swift
[219/236] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[220/236] Compiling NIOPosix BaseSocketChannel.swift
[221/236] Compiling NIOPosix BaseStreamSocketChannel.swift
[222/236] Emitting module NIOPosix
[223/236] Compiling NIOPosix NIOThreadPool.swift
[224/236] Compiling NIOPosix NonBlockingFileIO.swift
[225/236] Compiling NIOPosix PendingDatagramWritesManager.swift
[226/236] Compiling NIOPosix PendingWritesManager.swift
[227/236] Compiling NIOPosix PipeChannel.swift
[228/236] Compiling NIOPosix PipePair.swift
[229/237] Wrapping AST for NIOPosix for debugging
[231/239] Compiling NIO Exports.swift
[232/239] Emitting module NIO
[233/240] Wrapping AST for NIO for debugging
[235/245] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[236/245] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[237/245] Emitting module NIOFoundationCompat
[238/245] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[239/245] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[240/249] Wrapping AST for NIOFoundationCompat for debugging
[242/253] Compiling NIORedis RESPPipelineSetup.swift
[243/253] Compiling NIORedis RESPValue.swift
[244/253] Compiling NIORedis ByteBufferExtras.swift
[245/253] Compiling NIORedis RESPChannelHandler.swift
[246/253] Emitting module NIORedis
[247/253] Compiling NIORedis RESPEncodable.swift
[248/253] Compiling NIORedis RESPParser.swift
[249/278] Wrapping AST for NIORedis for debugging
[251/278] Compiling RedisServer RedisLogger.swift
[252/278] Compiling RedisServer RedisPattern.swift
[253/278] Compiling RedisServer Utilities.swift
[254/281] Compiling RedisServer RedisCommand.swift
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:192:20: warning: reference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
190 | func yield(_ info: RedisCommandHandler.ClientInfo) {
191 | listQueue.async {
192 | assert(count > 0)
| `- warning: reference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
193 | count -= 1
194 |
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:193:13: warning: mutation of captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
191 | listQueue.async {
192 | assert(count > 0)
193 | count -= 1
| `- warning: mutation of captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
194 |
195 | result.writeString(info.redisClientLogLine)
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:195:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
193 | count -= 1
194 |
195 | result.writeString(info.redisClientLogLine)
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
196 | result.writeInteger(10 as UInt8)
197 |
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:196:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
194 |
195 | result.writeString(info.redisClientLogLine)
196 | result.writeInteger(10 as UInt8)
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
197 |
198 | if count == 0 {
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:198:16: warning: reference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
196 | result.writeInteger(10 as UInt8)
197 |
198 | if count == 0 {
| `- warning: reference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
199 | ctx.write(.bulkString(result))
200 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:199:37: warning: reference to captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
197 |
198 | if count == 0 {
199 | ctx.write(.bulkString(result))
| `- warning: reference to captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
200 | }
201 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:209:21: warning: capture of 'client' with non-Sendable type 'RedisCommandHandler' in a '@Sendable' closure [#SendableClosureCaptures]
207 | if let eventLoop = client.eventLoop {
208 | eventLoop.execute {
209 | yield(client.getClientInfo())
| `- warning: capture of 'client' with non-Sendable type 'RedisCommandHandler' in a '@Sendable' closure [#SendableClosureCaptures]
210 | }
211 | }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandHandler.swift:32:13: note: class 'RedisCommandHandler' does not conform to the 'Sendable' protocol
30 | *
31 | */
32 | final class RedisCommandHandler : RESPChannelHandler {
| `- note: class 'RedisCommandHandler' does not conform to the 'Sendable' protocol
33 | // See [Avoid NIO Pipeline](Performance.md#avoid-nio-pipeline-for-non-bb)
34 | // for the reason why this is a subclass (instead of a consumer of the
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[255/281] Compiling RedisServer ServerCommands.swift
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:192:20: warning: reference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
190 | func yield(_ info: RedisCommandHandler.ClientInfo) {
191 | listQueue.async {
192 | assert(count > 0)
| `- warning: reference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
193 | count -= 1
194 |
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:193:13: warning: mutation of captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
191 | listQueue.async {
192 | assert(count > 0)
193 | count -= 1
| `- warning: mutation of captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
194 |
195 | result.writeString(info.redisClientLogLine)
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:195:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
193 | count -= 1
194 |
195 | result.writeString(info.redisClientLogLine)
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
196 | result.writeInteger(10 as UInt8)
197 |
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:196:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
194 |
195 | result.writeString(info.redisClientLogLine)
196 | result.writeInteger(10 as UInt8)
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
197 |
198 | if count == 0 {
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:198:16: warning: reference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
196 | result.writeInteger(10 as UInt8)
197 |
198 | if count == 0 {
| `- warning: reference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
199 | ctx.write(.bulkString(result))
200 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:199:37: warning: reference to captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
197 |
198 | if count == 0 {
199 | ctx.write(.bulkString(result))
| `- warning: reference to captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
200 | }
201 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:209:21: warning: capture of 'client' with non-Sendable type 'RedisCommandHandler' in a '@Sendable' closure [#SendableClosureCaptures]
207 | if let eventLoop = client.eventLoop {
208 | eventLoop.execute {
209 | yield(client.getClientInfo())
| `- warning: capture of 'client' with non-Sendable type 'RedisCommandHandler' in a '@Sendable' closure [#SendableClosureCaptures]
210 | }
211 | }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandHandler.swift:32:13: note: class 'RedisCommandHandler' does not conform to the 'Sendable' protocol
30 | *
31 | */
32 | final class RedisCommandHandler : RESPChannelHandler {
| `- note: class 'RedisCommandHandler' does not conform to the 'Sendable' protocol
33 | // See [Avoid NIO Pipeline](Performance.md#avoid-nio-pipeline-for-non-bb)
34 | // for the reason why this is a subclass (instead of a consumer of the
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[256/281] Compiling RedisServer SetCommands.swift
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:192:20: warning: reference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
190 | func yield(_ info: RedisCommandHandler.ClientInfo) {
191 | listQueue.async {
192 | assert(count > 0)
| `- warning: reference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
193 | count -= 1
194 |
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:193:13: warning: mutation of captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
191 | listQueue.async {
192 | assert(count > 0)
193 | count -= 1
| `- warning: mutation of captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
194 |
195 | result.writeString(info.redisClientLogLine)
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:195:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
193 | count -= 1
194 |
195 | result.writeString(info.redisClientLogLine)
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
196 | result.writeInteger(10 as UInt8)
197 |
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:196:13: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
194 |
195 | result.writeString(info.redisClientLogLine)
196 | result.writeInteger(10 as UInt8)
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
197 |
198 | if count == 0 {
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:198:16: warning: reference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
196 | result.writeInteger(10 as UInt8)
197 |
198 | if count == 0 {
| `- warning: reference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
199 | ctx.write(.bulkString(result))
200 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:199:37: warning: reference to captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
197 |
198 | if count == 0 {
199 | ctx.write(.bulkString(result))
| `- warning: reference to captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
200 | }
201 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:209:21: warning: capture of 'client' with non-Sendable type 'RedisCommandHandler' in a '@Sendable' closure [#SendableClosureCaptures]
207 | if let eventLoop = client.eventLoop {
208 | eventLoop.execute {
209 | yield(client.getClientInfo())
| `- warning: capture of 'client' with non-Sendable type 'RedisCommandHandler' in a '@Sendable' closure [#SendableClosureCaptures]
210 | }
211 | }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandHandler.swift:32:13: note: class 'RedisCommandHandler' does not conform to the 'Sendable' protocol
30 | *
31 | */
32 | final class RedisCommandHandler : RESPChannelHandler {
| `- note: class 'RedisCommandHandler' does not conform to the 'Sendable' protocol
33 | // See [Avoid NIO Pipeline](Performance.md#avoid-nio-pipeline-for-non-bb)
34 | // for the reason why this is a subclass (instead of a consumer of the
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[257/281] Compiling RedisServer IntCommands.swift
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:45:13: warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
43 | pubsub.Q.async {
44 | for key in channelKeys {
45 | if !subscribedChannels.contains(key) {
| `- warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
46 | subscribedChannels.insert(key)
47 | pubsub.subscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:46:11: warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
44 | for key in channelKeys {
45 | if !subscribedChannels.contains(key) {
46 | subscribedChannels.insert(key)
| `- warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
47 | pubsub.subscribe(key, handler: ctx.handler)
48 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:51:14: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
49 |
50 | ctx.eventLoop.execute {
51 | if ctx.handler.subscribedChannels == nil {
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
52 | ctx.handler.subscribedChannels = Set()
53 | }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:56:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
54 | ctx.handler.subscribedChannels!.insert(key)
55 | let count = ctx.handler.subscribedChannels!.count
56 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
57 | RESPValue(bulkString: key),
58 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
15 | import Dispatch
16 | import NIO
17 | import enum NIORedis.RESPValue
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
18 | import struct Foundation.Data
19 |
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:76:12: warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
74 | pubsub.Q.async {
75 | for key in channelKeys {
76 | if subscribedChannels.contains(key) {
| `- warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
77 | subscribedChannels.remove(key)
78 | pubsub.unsubscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:77:11: warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
75 | for key in channelKeys {
76 | if subscribedChannels.contains(key) {
77 | subscribedChannels.remove(key)
| `- warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
78 | pubsub.unsubscribe(key, handler: ctx.handler)
79 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:82:11: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
80 |
81 | ctx.eventLoop.execute {
82 | ctx.handler.subscribedChannels?.remove(key)
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
83 | let count = ctx.handler.subscribedChannels?.count ?? 0
84 | ctx.write([ subscribeCmd,
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:84:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
82 | ctx.handler.subscribedChannels?.remove(key)
83 | let count = ctx.handler.subscribedChannels?.count ?? 0
84 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
85 | RESPValue(bulkString: key),
86 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:108:13: warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
106 | pubsub.Q.async {
107 | for ( bb, key ) in patterns {
108 | if !subscribedPatterns.contains(key) {
| `- warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
109 | subscribedPatterns.insert(key)
110 | pubsub.subscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:109:11: warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
107 | for ( bb, key ) in patterns {
108 | if !subscribedPatterns.contains(key) {
109 | subscribedPatterns.insert(key)
| `- warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
110 | pubsub.subscribe(key, handler: ctx.handler)
111 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:114:14: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | ctx.eventLoop.execute {
114 | if ctx.handler.subscribedPatterns == nil {
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
115 | ctx.handler.subscribedPatterns = Set()
116 | }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:119:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
117 | ctx.handler.subscribedPatterns!.insert(key)
118 | let count = ctx.handler.subscribedPatterns!.count
119 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
120 | RESPValue.bulkString(bb),
121 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:143:12: warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
141 | pubsub.Q.async {
142 | for ( bb, key ) in patterns {
143 | if subscribedPatterns.contains(key) {
| `- warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | subscribedPatterns.remove(key)
145 | pubsub.unsubscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:144:11: warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
142 | for ( bb, key ) in patterns {
143 | if subscribedPatterns.contains(key) {
144 | subscribedPatterns.remove(key)
| `- warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
145 | pubsub.unsubscribe(key, handler: ctx.handler)
146 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:149:11: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
147 |
148 | ctx.eventLoop.execute {
149 | ctx.handler.subscribedPatterns?.remove(key)
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
150 | let count = ctx.handler.subscribedPatterns?.count ?? 0
151 | ctx.write([ subscribeCmd,
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:151:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
149 | ctx.handler.subscribedPatterns?.remove(key)
150 | let count = ctx.handler.subscribedPatterns?.count ?? 0
151 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
152 | RESPValue.bulkString(bb),
153 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[258/281] Compiling RedisServer KeyCommands.swift
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:45:13: warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
43 | pubsub.Q.async {
44 | for key in channelKeys {
45 | if !subscribedChannels.contains(key) {
| `- warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
46 | subscribedChannels.insert(key)
47 | pubsub.subscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:46:11: warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
44 | for key in channelKeys {
45 | if !subscribedChannels.contains(key) {
46 | subscribedChannels.insert(key)
| `- warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
47 | pubsub.subscribe(key, handler: ctx.handler)
48 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:51:14: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
49 |
50 | ctx.eventLoop.execute {
51 | if ctx.handler.subscribedChannels == nil {
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
52 | ctx.handler.subscribedChannels = Set()
53 | }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:56:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
54 | ctx.handler.subscribedChannels!.insert(key)
55 | let count = ctx.handler.subscribedChannels!.count
56 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
57 | RESPValue(bulkString: key),
58 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
15 | import Dispatch
16 | import NIO
17 | import enum NIORedis.RESPValue
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
18 | import struct Foundation.Data
19 |
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:76:12: warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
74 | pubsub.Q.async {
75 | for key in channelKeys {
76 | if subscribedChannels.contains(key) {
| `- warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
77 | subscribedChannels.remove(key)
78 | pubsub.unsubscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:77:11: warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
75 | for key in channelKeys {
76 | if subscribedChannels.contains(key) {
77 | subscribedChannels.remove(key)
| `- warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
78 | pubsub.unsubscribe(key, handler: ctx.handler)
79 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:82:11: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
80 |
81 | ctx.eventLoop.execute {
82 | ctx.handler.subscribedChannels?.remove(key)
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
83 | let count = ctx.handler.subscribedChannels?.count ?? 0
84 | ctx.write([ subscribeCmd,
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:84:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
82 | ctx.handler.subscribedChannels?.remove(key)
83 | let count = ctx.handler.subscribedChannels?.count ?? 0
84 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
85 | RESPValue(bulkString: key),
86 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:108:13: warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
106 | pubsub.Q.async {
107 | for ( bb, key ) in patterns {
108 | if !subscribedPatterns.contains(key) {
| `- warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
109 | subscribedPatterns.insert(key)
110 | pubsub.subscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:109:11: warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
107 | for ( bb, key ) in patterns {
108 | if !subscribedPatterns.contains(key) {
109 | subscribedPatterns.insert(key)
| `- warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
110 | pubsub.subscribe(key, handler: ctx.handler)
111 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:114:14: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | ctx.eventLoop.execute {
114 | if ctx.handler.subscribedPatterns == nil {
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
115 | ctx.handler.subscribedPatterns = Set()
116 | }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:119:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
117 | ctx.handler.subscribedPatterns!.insert(key)
118 | let count = ctx.handler.subscribedPatterns!.count
119 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
120 | RESPValue.bulkString(bb),
121 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:143:12: warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
141 | pubsub.Q.async {
142 | for ( bb, key ) in patterns {
143 | if subscribedPatterns.contains(key) {
| `- warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | subscribedPatterns.remove(key)
145 | pubsub.unsubscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:144:11: warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
142 | for ( bb, key ) in patterns {
143 | if subscribedPatterns.contains(key) {
144 | subscribedPatterns.remove(key)
| `- warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
145 | pubsub.unsubscribe(key, handler: ctx.handler)
146 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:149:11: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
147 |
148 | ctx.eventLoop.execute {
149 | ctx.handler.subscribedPatterns?.remove(key)
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
150 | let count = ctx.handler.subscribedPatterns?.count ?? 0
151 | ctx.write([ subscribeCmd,
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:151:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
149 | ctx.handler.subscribedPatterns?.remove(key)
150 | let count = ctx.handler.subscribedPatterns?.count ?? 0
151 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
152 | RESPValue.bulkString(bb),
153 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[259/281] Compiling RedisServer ListCommands.swift
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:45:13: warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
43 | pubsub.Q.async {
44 | for key in channelKeys {
45 | if !subscribedChannels.contains(key) {
| `- warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
46 | subscribedChannels.insert(key)
47 | pubsub.subscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:46:11: warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
44 | for key in channelKeys {
45 | if !subscribedChannels.contains(key) {
46 | subscribedChannels.insert(key)
| `- warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
47 | pubsub.subscribe(key, handler: ctx.handler)
48 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:51:14: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
49 |
50 | ctx.eventLoop.execute {
51 | if ctx.handler.subscribedChannels == nil {
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
52 | ctx.handler.subscribedChannels = Set()
53 | }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:56:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
54 | ctx.handler.subscribedChannels!.insert(key)
55 | let count = ctx.handler.subscribedChannels!.count
56 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
57 | RESPValue(bulkString: key),
58 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
15 | import Dispatch
16 | import NIO
17 | import enum NIORedis.RESPValue
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
18 | import struct Foundation.Data
19 |
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:76:12: warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
74 | pubsub.Q.async {
75 | for key in channelKeys {
76 | if subscribedChannels.contains(key) {
| `- warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
77 | subscribedChannels.remove(key)
78 | pubsub.unsubscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:77:11: warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
75 | for key in channelKeys {
76 | if subscribedChannels.contains(key) {
77 | subscribedChannels.remove(key)
| `- warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
78 | pubsub.unsubscribe(key, handler: ctx.handler)
79 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:82:11: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
80 |
81 | ctx.eventLoop.execute {
82 | ctx.handler.subscribedChannels?.remove(key)
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
83 | let count = ctx.handler.subscribedChannels?.count ?? 0
84 | ctx.write([ subscribeCmd,
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:84:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
82 | ctx.handler.subscribedChannels?.remove(key)
83 | let count = ctx.handler.subscribedChannels?.count ?? 0
84 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
85 | RESPValue(bulkString: key),
86 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:108:13: warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
106 | pubsub.Q.async {
107 | for ( bb, key ) in patterns {
108 | if !subscribedPatterns.contains(key) {
| `- warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
109 | subscribedPatterns.insert(key)
110 | pubsub.subscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:109:11: warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
107 | for ( bb, key ) in patterns {
108 | if !subscribedPatterns.contains(key) {
109 | subscribedPatterns.insert(key)
| `- warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
110 | pubsub.subscribe(key, handler: ctx.handler)
111 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:114:14: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | ctx.eventLoop.execute {
114 | if ctx.handler.subscribedPatterns == nil {
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
115 | ctx.handler.subscribedPatterns = Set()
116 | }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:119:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
117 | ctx.handler.subscribedPatterns!.insert(key)
118 | let count = ctx.handler.subscribedPatterns!.count
119 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
120 | RESPValue.bulkString(bb),
121 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:143:12: warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
141 | pubsub.Q.async {
142 | for ( bb, key ) in patterns {
143 | if subscribedPatterns.contains(key) {
| `- warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | subscribedPatterns.remove(key)
145 | pubsub.unsubscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:144:11: warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
142 | for ( bb, key ) in patterns {
143 | if subscribedPatterns.contains(key) {
144 | subscribedPatterns.remove(key)
| `- warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
145 | pubsub.unsubscribe(key, handler: ctx.handler)
146 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:149:11: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
147 |
148 | ctx.eventLoop.execute {
149 | ctx.handler.subscribedPatterns?.remove(key)
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
150 | let count = ctx.handler.subscribedPatterns?.count ?? 0
151 | ctx.write([ subscribeCmd,
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:151:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
149 | ctx.handler.subscribedPatterns?.remove(key)
150 | let count = ctx.handler.subscribedPatterns?.count ?? 0
151 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
152 | RESPValue.bulkString(bb),
153 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[260/281] Compiling RedisServer PubSubCommands.swift
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:45:13: warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
43 | pubsub.Q.async {
44 | for key in channelKeys {
45 | if !subscribedChannels.contains(key) {
| `- warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
46 | subscribedChannels.insert(key)
47 | pubsub.subscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:46:11: warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
44 | for key in channelKeys {
45 | if !subscribedChannels.contains(key) {
46 | subscribedChannels.insert(key)
| `- warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
47 | pubsub.subscribe(key, handler: ctx.handler)
48 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:51:14: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
49 |
50 | ctx.eventLoop.execute {
51 | if ctx.handler.subscribedChannels == nil {
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
52 | ctx.handler.subscribedChannels = Set()
53 | }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:56:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
54 | ctx.handler.subscribedChannels!.insert(key)
55 | let count = ctx.handler.subscribedChannels!.count
56 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
57 | RESPValue(bulkString: key),
58 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
15 | import Dispatch
16 | import NIO
17 | import enum NIORedis.RESPValue
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
18 | import struct Foundation.Data
19 |
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:76:12: warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
74 | pubsub.Q.async {
75 | for key in channelKeys {
76 | if subscribedChannels.contains(key) {
| `- warning: reference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
77 | subscribedChannels.remove(key)
78 | pubsub.unsubscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:77:11: warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
75 | for key in channelKeys {
76 | if subscribedChannels.contains(key) {
77 | subscribedChannels.remove(key)
| `- warning: mutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
78 | pubsub.unsubscribe(key, handler: ctx.handler)
79 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:82:11: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
80 |
81 | ctx.eventLoop.execute {
82 | ctx.handler.subscribedChannels?.remove(key)
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
83 | let count = ctx.handler.subscribedChannels?.count ?? 0
84 | ctx.write([ subscribeCmd,
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:84:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
82 | ctx.handler.subscribedChannels?.remove(key)
83 | let count = ctx.handler.subscribedChannels?.count ?? 0
84 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
85 | RESPValue(bulkString: key),
86 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:108:13: warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
106 | pubsub.Q.async {
107 | for ( bb, key ) in patterns {
108 | if !subscribedPatterns.contains(key) {
| `- warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
109 | subscribedPatterns.insert(key)
110 | pubsub.subscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:109:11: warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
107 | for ( bb, key ) in patterns {
108 | if !subscribedPatterns.contains(key) {
109 | subscribedPatterns.insert(key)
| `- warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
110 | pubsub.subscribe(key, handler: ctx.handler)
111 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:114:14: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | ctx.eventLoop.execute {
114 | if ctx.handler.subscribedPatterns == nil {
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
115 | ctx.handler.subscribedPatterns = Set()
116 | }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:119:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
117 | ctx.handler.subscribedPatterns!.insert(key)
118 | let count = ctx.handler.subscribedPatterns!.count
119 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
120 | RESPValue.bulkString(bb),
121 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:143:12: warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
141 | pubsub.Q.async {
142 | for ( bb, key ) in patterns {
143 | if subscribedPatterns.contains(key) {
| `- warning: reference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
144 | subscribedPatterns.remove(key)
145 | pubsub.unsubscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:144:11: warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
142 | for ( bb, key ) in patterns {
143 | if subscribedPatterns.contains(key) {
144 | subscribedPatterns.remove(key)
| `- warning: mutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
145 | pubsub.unsubscribe(key, handler: ctx.handler)
146 | }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:149:11: warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
147 |
148 | ctx.eventLoop.execute {
149 | ctx.handler.subscribedPatterns?.remove(key)
| `- warning: capture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure [#SendableClosureCaptures]
150 | let count = ctx.handler.subscribedPatterns?.count ?? 0
151 | ctx.write([ subscribeCmd,
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
20 | * The environment commands need to run.
21 | */
22 | public struct RedisCommandContext {
| `- note: consider making struct 'RedisCommandContext' conform to the 'Sendable' protocol
23 |
24 | let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:151:23: warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
149 | ctx.handler.subscribedPatterns?.remove(key)
150 | let count = ctx.handler.subscribedPatterns?.count ?? 0
151 | ctx.write([ subscribeCmd,
| `- warning: capture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure [#SendableClosureCaptures]
152 | RESPValue.bulkString(bb),
153 | RESPValue.integer(count) ].toRESPValue())
/host/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?)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[261/281] Emitting module RedisServer
[262/281] Compiling RedisServer CommandTable.swift
[263/281] Compiling RedisServer CommandType.swift
[264/281] Compiling RedisServer ExpirationCommands.swift
[265/281] Compiling RedisServer HashCommands.swift
[266/281] Compiling RedisServer RedisCommandHandler.swift
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisServer.swift:230:17: warning: type 'RESPValue' does not conform to the 'Sendable' protocol
228 | guard client.isMonitoring.load(ordering: .relaxed) else { continue }
229 | guard let channel = client.channel else { continue }
230 | channel.writeAndFlush(logPacket, promise: nil)
| `- warning: type 'RESPValue' does not conform to the 'Sendable' protocol
231 | }
232 | }
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisServer.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
19 | import class Foundation.JSONDecoder
20 | import class Atomics.ManagedAtomic
21 | import enum NIORedis.RESPValue
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
22 | import NIO
23 |
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisServer.swift:251:23: warning: conformance of 'BackPressureHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
249 | .childChannelInitializer { channel in
250 | channel.pipeline
251 | .addHandler(BackPressureHandler() /* Oh well :-) */,
| `- warning: conformance of 'BackPressureHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
252 | name: "com.apple.nio.backpressure")
253 | .flatMap {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelHandlers.swift:179:1: note: conformance of 'BackPressureHandler' to 'Sendable' has been explicitly marked unavailable here
177 |
178 | @available(*, unavailable)
179 | extension BackPressureHandler: Sendable {}
| `- note: conformance of 'BackPressureHandler' to 'Sendable' has been explicitly marked unavailable here
180 |
181 | /// Triggers an IdleStateEvent when a Channel has not performed read, write, or both operation for a while.
[267/281] Compiling RedisServer RedisServer.swift
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisServer.swift:230:17: warning: type 'RESPValue' does not conform to the 'Sendable' protocol
228 | guard client.isMonitoring.load(ordering: .relaxed) else { continue }
229 | guard let channel = client.channel else { continue }
230 | channel.writeAndFlush(logPacket, promise: nil)
| `- warning: type 'RESPValue' does not conform to the 'Sendable' protocol
231 | }
232 | }
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisServer.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
19 | import class Foundation.JSONDecoder
20 | import class Atomics.ManagedAtomic
21 | import enum NIORedis.RESPValue
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
22 | import NIO
23 |
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisServer.swift:251:23: warning: conformance of 'BackPressureHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
249 | .childChannelInitializer { channel in
250 | channel.pipeline
251 | .addHandler(BackPressureHandler() /* Oh well :-) */,
| `- warning: conformance of 'BackPressureHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
252 | name: "com.apple.nio.backpressure")
253 | .flatMap {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelHandlers.swift:179:1: note: conformance of 'BackPressureHandler' to 'Sendable' has been explicitly marked unavailable here
177 |
178 | @available(*, unavailable)
179 | extension BackPressureHandler: Sendable {}
| `- note: conformance of 'BackPressureHandler' to 'Sendable' has been explicitly marked unavailable here
180 |
181 | /// Triggers an IdleStateEvent when a Channel has not performed read, write, or both operation for a while.
[268/281] Compiling RedisServer RedisError.swift
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisServer.swift:230:17: warning: type 'RESPValue' does not conform to the 'Sendable' protocol
228 | guard client.isMonitoring.load(ordering: .relaxed) else { continue }
229 | guard let channel = client.channel else { continue }
230 | channel.writeAndFlush(logPacket, promise: nil)
| `- warning: type 'RESPValue' does not conform to the 'Sendable' protocol
231 | }
232 | }
/host/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?)
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisServer.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
19 | import class Foundation.JSONDecoder
20 | import class Atomics.ManagedAtomic
21 | import enum NIORedis.RESPValue
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'
22 | import NIO
23 |
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisServer.swift:251:23: warning: conformance of 'BackPressureHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
249 | .childChannelInitializer { channel in
250 | channel.pipeline
251 | .addHandler(BackPressureHandler() /* Oh well :-) */,
| `- warning: conformance of 'BackPressureHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
252 | name: "com.apple.nio.backpressure")
253 | .flatMap {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelHandlers.swift:179:1: note: conformance of 'BackPressureHandler' to 'Sendable' has been explicitly marked unavailable here
177 |
178 | @available(*, unavailable)
179 | extension BackPressureHandler: Sendable {}
| `- note: conformance of 'BackPressureHandler' to 'Sendable' has been explicitly marked unavailable here
180 |
181 | /// Triggers an IdleStateEvent when a Channel has not performed read, write, or both operation for a while.
[269/281] Compiling RedisServer StringCommands.swift
[270/281] Compiling RedisServer Database.swift
[271/281] Compiling RedisServer DumpManager.swift
[272/281] Compiling RedisServer Monitor.swift
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:126:48: warning: capture of non-Sendable type 'T.Type' in an isolated closure
124 | else {
125 | eventLoop.execute {
126 | handler.write(context: context, value: value.toRESPValue(),
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | promise: nil)
128 | if flush { context.channel.flush() }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:116:34: warning: capture of non-Sendable type 'T.Type' in an isolated closure
114 | @_specialize(where T == Int)
115 | @_specialize(where T == String)
116 | func write<T: RESPEncodable>(_ value: T, flush: Bool = true) {
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
117 | let context = self.context
118 | let handler = self.handler
[273/281] Compiling RedisServer PubSub.swift
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:126:48: warning: capture of non-Sendable type 'T.Type' in an isolated closure
124 | else {
125 | eventLoop.execute {
126 | handler.write(context: context, value: value.toRESPValue(),
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | promise: nil)
128 | if flush { context.channel.flush() }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:116:34: warning: capture of non-Sendable type 'T.Type' in an isolated closure
114 | @_specialize(where T == Int)
115 | @_specialize(where T == String)
116 | func write<T: RESPEncodable>(_ value: T, flush: Bool = true) {
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
117 | let context = self.context
118 | let handler = self.handler
[274/281] Compiling RedisServer RedisCommandContext.swift
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:126:48: warning: capture of non-Sendable type 'T.Type' in an isolated closure
124 | else {
125 | eventLoop.execute {
126 | handler.write(context: context, value: value.toRESPValue(),
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | promise: nil)
128 | if flush { context.channel.flush() }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:116:34: warning: capture of non-Sendable type 'T.Type' in an isolated closure
114 | @_specialize(where T == Int)
115 | @_specialize(where T == String)
116 | func write<T: RESPEncodable>(_ value: T, flush: Bool = true) {
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
117 | let context = self.context
118 | let handler = self.handler
[275/281] Compiling RedisServer RedisList.swift
[276/281] Compiling RedisServer RedisValue.swift
[277/281] Compiling RedisServer RedisValueCoding.swift
[278/282] Wrapping AST for RedisServer for debugging
[280/285] Compiling redi_s ConfigFile.swift
[281/285] Compiling redi_s main.swift
[282/285] Emitting module redi_s
[283/286] Wrapping AST for redi-s for debugging
[284/286] Write Objects.LinkFileList
[285/286] Linking redi-s
Build complete! (83.16s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio-redis",
"requirement" : {
"range" : [
{
"lower_bound" : "0.11.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftNIOExtras/swift-nio-redis.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics"
}
],
"manifest_display_name" : "redi-s",
"name" : "redi-s",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "RedisServer",
"targets" : [
"RedisServer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "redi-s",
"targets" : [
"redi-s"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "redi_s",
"module_type" : "SwiftTarget",
"name" : "redi-s",
"path" : "Sources/redi-s",
"product_memberships" : [
"redi-s"
],
"sources" : [
"ConfigFile.swift",
"main.swift"
],
"target_dependencies" : [
"RedisServer"
],
"type" : "executable"
},
{
"c99name" : "RedisServer",
"module_type" : "SwiftTarget",
"name" : "RedisServer",
"path" : "Sources/RedisServer",
"product_dependencies" : [
"NIORedis",
"Atomics"
],
"product_memberships" : [
"RedisServer",
"redi-s"
],
"sources" : [
"Commands/CommandTable.swift",
"Commands/CommandType.swift",
"Commands/ExpirationCommands.swift",
"Commands/HashCommands.swift",
"Commands/IntCommands.swift",
"Commands/KeyCommands.swift",
"Commands/ListCommands.swift",
"Commands/PubSubCommands.swift",
"Commands/RedisCommand.swift",
"Commands/ServerCommands.swift",
"Commands/SetCommands.swift",
"Commands/StringCommands.swift",
"Database/Database.swift",
"Database/DumpManager.swift",
"Helpers/RedisLogger.swift",
"Helpers/RedisPattern.swift",
"Helpers/Utilities.swift",
"Server/Monitor.swift",
"Server/PubSub.swift",
"Server/RedisCommandContext.swift",
"Server/RedisCommandHandler.swift",
"Server/RedisServer.swift",
"Values/RedisError.swift",
"Values/RedisList.swift",
"Values/RedisValue.swift",
"Values/RedisValueCoding.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.