The Swift Package Index logo.Swift Package Index

Build Information

Successful build of redi-s, reference develop (24dacc), with Swift 6.3 for Linux on 20 Apr 2026 22:01:25 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NozeIO/redi-s.git
Reference: develop
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
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 24dacc3 Merge branch 'chore/update-nio-api' into develop
Cloned https://github.com/NozeIO/redi-s.git
Revision (git rev-parse @):
24dacc3e109cddc3ea936e0f7a2aef1607da1f74
SUCCESS checkout https://github.com/NozeIO/redi-s.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/NozeIO/redi-s.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/SwiftNIOExtras/swift-nio-redis.git
Fetching https://github.com/apple/swift-atomics
[1/1820] Fetching swift-atomics
[584/2179] Fetching swift-atomics, swift-nio-redis
Fetched https://github.com/SwiftNIOExtras/swift-nio-redis.git from cache (0.79s)
Fetched https://github.com/apple/swift-atomics from cache (0.79s)
Computing version for https://github.com/SwiftNIOExtras/swift-nio-redis.git
Computed https://github.com/SwiftNIOExtras/swift-nio-redis.git at 0.11.0 (1.59s)
Fetching https://github.com/apple/swift-nio.git
[1/83164] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (12.90s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (13.71s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.37s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/23581] Fetching swift-collections
[945/29182] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (2.91s)
Fetched https://github.com/apple/swift-collections.git from cache (2.97s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (3.98s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.15s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/SwiftNIOExtras/swift-nio-redis.git
Working copy of https://github.com/SwiftNIOExtras/swift-nio-redis.git resolved at 0.11.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.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/44] Write sources
[15/44] Compiling CNIOWindows WSAStartup.c
[16/44] Compiling CNIOWindows shim.c
[17/44] Compiling CNIOWASI CNIOWASI.c
[18/44] Compiling CNIOOpenBSD shim.c
[18/44] Compiling _AtomicsShims.c
[20/44] Compiling CNIODarwin shim.c
[21/44] Compiling CNIOLinux liburing_shims.c
[22/44] Compiling CNIOPosix event_loop_id.c
[23/44] Write swift-version-24593BA9C3E375BF.txt
[24/51] Compiling CNIOLinux shim.c
[26/86] Emitting module InternalCollectionsUtilities
[26/88] Compiling c-nioatomics.c
[28/88] Emitting module Atomics
[28/90] Compiling c-atomics.c
[30/97] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[31/97] Compiling Atomics UnsafeAtomicLazyReference.swift
[32/97] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[33/97] Compiling Atomics IntegerOperations.swift
[34/97] Compiling Atomics Unmanaged extensions.swift
[35/97] Compiling Atomics AtomicStorage.swift
[36/97] Compiling Atomics AtomicValue.swift
[37/97] Compiling Atomics AtomicInteger.swift
[38/97] Compiling Atomics AtomicOptionalWrappable.swift
[39/97] Compiling Atomics AtomicReference.swift
[44/97] Compiling Atomics IntegerConformances.swift
[45/97] Compiling Atomics PointerConformances.swift
[46/97] Compiling Atomics Primitives.native.swift
[52/97] Compiling InternalCollectionsUtilities String+Padding.swift
[53/97] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[54/97] Compiling Atomics AtomicBool.swift
[55/97] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[56/97] Compiling InternalCollectionsUtilities UInt+reversed.swift
[58/97] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[59/97] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[66/98] Compiling _NIOBase64 Base64.swift
[67/98] Emitting module _NIOBase64
[73/100] Compiling _NIODataStructures PriorityQueue.swift
[74/100] Compiling _NIODataStructures _TinyArray.swift
[75/100] Wrapping AST for InternalCollectionsUtilities for debugging
[76/101] Wrapping AST for _NIOBase64 for debugging
[77/103] Wrapping AST for Atomics for debugging
[79/133] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[80/133] Compiling ContainersPreview BorrowingSequence.swift
[81/133] Compiling ContainersPreview BidirectionalContainer.swift
[82/133] Compiling ContainersPreview Container+Filter.swift
[83/133] Compiling ContainersPreview Container+SpanwiseZip.swift
[84/137] Compiling ContainersPreview Producer+Map.swift
[85/137] Compiling ContainersPreview Producer+Reduce.swift
[86/137] Compiling ContainersPreview Producer.swift
[87/137] Compiling ContainersPreview Borrow.swift
[88/137] Compiling ContainersPreview RandomAccessContainer.swift
[89/137] Compiling ContainersPreview RangeExpression2.swift
[90/137] Compiling ContainersPreview RangeReplaceableContainer.swift
[91/137] Compiling ContainersPreview Drain+Map.swift
[92/137] Compiling ContainersPreview Drain+Reduce.swift
[93/137] Compiling ContainersPreview Drain.swift
[94/137] Compiling ContainersPreview Producer+Collect.swift
[95/137] Compiling ContainersPreview Producer+Filter.swift
[96/137] Compiling ContainersPreview Container.swift
[97/137] Compiling ContainersPreview ContainerIterator.swift
[98/137] Compiling ContainersPreview DynamicContainer.swift
[99/137] Compiling ContainersPreview MutableContainer.swift
[100/137] Compiling ContainersPreview PermutableContainer.swift
[101/137] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[102/137] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[103/137] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[104/137] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[105/137] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[106/137] Emitting module ContainersPreview
[107/137] Compiling ContainersPreview OutputSpan+Extras.swift
[108/137] Compiling ContainersPreview TemporaryAllocation.swift
[109/137] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[110/137] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[111/137] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[112/137] Compiling ContainersPreview Box.swift
[113/137] Compiling ContainersPreview Inout.swift
[114/137] Compiling ContainersPreview InputSpan.swift
[115/137] Compiling ContainersPreview Shared.swift
[116/138] Wrapping AST for ContainersPreview for debugging
[118/178] Compiling DequeModule UniqueDeque+Consumption.swift
[119/178] Compiling DequeModule UniqueDeque+Container.swift
[120/178] Compiling DequeModule UniqueDeque+Descriptions.swift
[121/178] Compiling DequeModule UniqueDeque+Equatable.swift
[122/178] Compiling DequeModule UniqueDeque+Experimental.swift
[123/183] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[124/183] Emitting module NIOConcurrencyHelpers
[125/183] Compiling NIOConcurrencyHelpers lock.swift
[126/183] Compiling NIOConcurrencyHelpers NIOLock.swift
[127/183] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[128/183] Emitting module _NIODataStructures
[129/183] Compiling _NIODataStructures Heap.swift
[131/184] Compiling DequeModule UniqueDeque+Hashable.swift
[132/184] Compiling DequeModule UniqueDeque+Initializers.swift
[133/184] Compiling DequeModule UniqueDeque+Insertions.swift
[134/184] Compiling DequeModule UniqueDeque+Prepend.swift
[135/184] Compiling DequeModule UniqueDeque+Removals.swift
[136/184] Compiling DequeModule _DequeBuffer.swift
[137/184] Compiling DequeModule _DequeBufferHeader.swift
[138/184] Compiling DequeModule RigidDeque+Append.swift
[139/184] Compiling DequeModule RigidDeque+Consumption.swift
[140/184] Compiling DequeModule RigidDeque+Container.swift
[141/184] Compiling DequeModule RigidDeque+Descriptions.swift
[141/184] Wrapping AST for _NIODataStructures for debugging
[143/184] Compiling DequeModule RigidDeque+Removals.swift
[144/184] Compiling DequeModule RigidDeque+Replacements.swift
[145/184] Compiling DequeModule RigidDeque+Testing.swift
[146/184] Compiling DequeModule RigidDeque.swift
[147/184] Compiling DequeModule UniqueDeque+Append.swift
[148/184] Compiling DequeModule RigidDeque+Equatable.swift
[149/184] Compiling DequeModule RigidDeque+Experimental.swift
[150/184] Compiling DequeModule RigidDeque+Hashable.swift
[151/184] Compiling DequeModule RigidDeque+Initializers.swift
[152/184] Compiling DequeModule RigidDeque+Insertions.swift
[153/184] Compiling DequeModule RigidDeque+Prepend.swift
[154/184] Compiling NIOConcurrencyHelpers atomics.swift
[155/185] Wrapping AST for NIOConcurrencyHelpers for debugging
[157/185] Compiling DequeModule Deque+Codable.swift
[158/185] Compiling DequeModule Deque+Collection.swift
[159/185] Compiling DequeModule Deque+CustomReflectable.swift
[160/185] Compiling DequeModule Deque+Descriptions.swift
[161/185] Compiling DequeModule Deque+Equatable.swift
[162/185] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[163/185] Compiling DequeModule Deque+Extras.swift
[164/185] Compiling DequeModule Deque+Hashable.swift
[165/185] Compiling DequeModule Deque+Testing.swift
[166/185] Compiling DequeModule Deque._Storage.swift
[167/185] Compiling DequeModule Deque._UnsafeHandle.swift
[168/185] Compiling DequeModule Deque.swift
[169/185] Compiling DequeModule UniqueDeque+Replacements.swift
[170/185] Compiling DequeModule UniqueDeque.swift
[171/185] Compiling DequeModule _DequeSlot.swift
[172/185] Compiling DequeModule _UnsafeDequeHandle.swift
[173/185] Compiling DequeModule _UnsafeDequeSegments.swift
[174/185] Emitting module DequeModule
[175/186] Wrapping AST for DequeModule for debugging
[177/250] Compiling NIOCore NIOCoreSendableMetatype.swift
[178/250] Compiling NIOCore NIODecodedAsyncSequence.swift
[179/250] Compiling NIOCore NIOLoopBound.swift
[180/250] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[181/250] Compiling NIOCore NIOScheduledCallback.swift
[182/250] Compiling NIOCore NIOSendable.swift
[183/250] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[184/250] Compiling NIOCore NIOTransportAccessibleChannelCore.swift
[185/250] Compiling NIOCore RecvByteBufferAllocator.swift
[186/258] Compiling NIOCore IPProtocol.swift
[187/258] Compiling NIOCore IntegerBitPacking.swift
[188/258] Compiling NIOCore IntegerTypes.swift
[189/258] Compiling NIOCore Interfaces.swift
[190/258] Compiling NIOCore Linux.swift
[191/258] Compiling NIOCore MarkedCircularBuffer.swift
[192/258] Compiling NIOCore MulticastChannel.swift
[193/258] Compiling NIOCore NIOAny.swift
[194/258] Compiling NIOCore NIOCloseOnErrorHandler.swift
[195/258] Compiling NIOCore EventLoopFuture+Deprecated.swift
[196/258] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[197/258] Compiling NIOCore EventLoopFuture.swift
[198/258] Compiling NIOCore FileDescriptor.swift
[199/258] Compiling NIOCore FileHandle.swift
[200/258] Compiling NIOCore FileRegion.swift
[201/258] Compiling NIOCore GlobalSingletons.swift
[202/258] Compiling NIOCore IO.swift
[203/258] Compiling NIOCore IOData.swift
[204/258] Compiling NIOCore CircularBuffer.swift
[205/258] Compiling NIOCore Codec.swift
[206/258] Compiling NIOCore ConvenienceOptionSupport.swift
[207/258] Compiling NIOCore DeadChannel.swift
[208/258] Compiling NIOCore DispatchQueue+WithFuture.swift
[209/258] Compiling NIOCore EventLoop+Deprecated.swift
[210/258] Compiling NIOCore EventLoop+SerialExecutor.swift
[211/258] Compiling NIOCore EventLoop.swift
[212/258] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[213/258] Compiling NIOCore AddressedEnvelope.swift
[214/258] Compiling NIOCore AsyncAwaitSupport.swift
[215/258] Compiling NIOCore AsyncChannel.swift
[216/258] Compiling NIOCore AsyncChannelHandler.swift
[217/258] Compiling NIOCore AsyncChannelInboundStream.swift
[218/258] Compiling NIOCore AsyncChannelOutboundWriter.swift
[219/258] Compiling NIOCore NIOAsyncSequenceProducer.swift
[220/258] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[221/258] Compiling NIOCore NIOAsyncWriter.swift
[222/258] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[223/258] Compiling NIOCore SocketAddresses.swift
[224/258] Compiling NIOCore SocketOptionProvider.swift
[225/258] Compiling NIOCore SystemCallHelpers.swift
[226/258] Compiling NIOCore TimeAmount+Duration.swift
[227/258] Compiling NIOCore TypeAssistedChannelHandler.swift
[228/258] Compiling NIOCore UniversalBootstrapSupport.swift
[229/258] Compiling NIOCore Utilities.swift
[230/258] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[231/258] Compiling NIOCore BSDSocketAPI.swift
[232/258] Compiling NIOCore ByteBuffer-aux.swift
[233/258] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[234/258] Compiling NIOCore ByteBuffer-conversions.swift
[235/258] Compiling NIOCore ByteBuffer-core.swift
[236/258] Compiling NIOCore ByteBuffer-hex.swift
[237/258] Compiling NIOCore ByteBuffer-int.swift
[238/258] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[239/258] Compiling NIOCore ByteBuffer-multi-int.swift
[240/258] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[241/258] Compiling NIOCore ByteBuffer-views.swift
[242/258] Compiling NIOCore Channel.swift
[243/258] Compiling NIOCore ChannelHandler.swift
[244/258] Compiling NIOCore ChannelHandlers.swift
[245/258] Compiling NIOCore ChannelInvoker.swift
[246/258] Compiling NIOCore ChannelOption.swift
[247/258] Compiling NIOCore ChannelPipeline.swift
[248/258] Emitting module NIOCore
[249/259] Wrapping AST for NIOCore for debugging
[251/313] Emitting module NIOEmbedded
[252/313] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[253/313] Compiling NIOEmbedded AsyncTestingChannel.swift
[254/313] Compiling NIOEmbedded Embedded.swift
[255/314] Wrapping AST for NIOEmbedded for debugging
[257/314] Compiling NIOPosix HappyEyeballs.swift
[258/314] Compiling NIOPosix IO.swift
[259/314] Compiling NIOPosix IntegerBitPacking.swift
[260/314] Compiling NIOPosix IntegerTypes.swift
[261/314] Compiling NIOPosix Linux.swift
[262/314] Compiling NIOPosix LinuxCPUSet.swift
[263/314] Compiling NIOPosix LinuxUring.swift
[264/320] Compiling NIOPosix ThreadPosix.swift
[265/320] Compiling NIOPosix ThreadWindows.swift
[266/320] Compiling NIOPosix Utilities.swift
[267/320] Compiling NIOPosix VsockAddress.swift
[268/320] Compiling NIOPosix VsockChannelEvents.swift
[269/320] Compiling NIOPosix Windows.swift
[270/320] Compiling NIOPosix PipePair.swift
[271/320] Compiling NIOPosix Pool.swift
[272/320] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[273/320] Compiling NIOPosix PosixSingletons.swift
[274/320] Compiling NIOPosix RawSocketBootstrap.swift
[275/320] Compiling NIOPosix Resolver.swift
[276/320] Compiling NIOPosix Selectable.swift
[277/320] Emitting module NIOPosix
[278/320] Compiling NIOPosix SelectableChannel.swift
[279/320] Compiling NIOPosix SelectableEventLoop.swift
[280/320] Compiling NIOPosix SelectorEpoll.swift
[281/320] Compiling NIOPosix SelectorGeneric.swift
[282/320] Compiling NIOPosix SelectorKqueue.swift
[283/320] Compiling NIOPosix SelectorUring.swift
[284/320] Compiling NIOPosix SelectorWSAPoll.swift
[285/320] Compiling NIOPosix ServerSocket.swift
[286/320] Compiling NIOPosix Socket.swift
[287/320] Compiling NIOPosix SocketChannel.swift
[288/320] Compiling NIOPosix SocketProtocols.swift
[289/320] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[290/320] Compiling NIOPosix System.swift
[291/320] Compiling NIOPosix Thread.swift
[292/320] Compiling NIOPosix BSDSocketAPICommon.swift
[293/320] Compiling NIOPosix BSDSocketAPIPosix.swift
[294/320] Compiling NIOPosix BSDSocketAPIWindows.swift
[295/320] Compiling NIOPosix BaseSocket.swift
[296/320] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[297/320] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[298/320] Compiling NIOPosix BaseSocketChannel.swift
[299/320] Compiling NIOPosix BaseStreamSocketChannel.swift
[300/320] Compiling NIOPosix Bootstrap.swift
[301/320] Compiling NIOPosix ControlMessage.swift
[302/320] Compiling NIOPosix DatagramVectorReadManager.swift
[303/320] Compiling NIOPosix Errors+Any.swift
[304/320] Compiling NIOPosix FileDescriptor.swift
[305/320] Compiling NIOPosix GetaddrinfoResolver.swift
[306/320] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[307/320] Compiling NIOPosix NIOPosixSendableMetatype.swift
[308/320] Compiling NIOPosix NIOThreadPool.swift
[309/320] Compiling NIOPosix NonBlockingFileIO.swift
[310/320] Compiling NIOPosix PendingDatagramWritesManager.swift
[311/320] Compiling NIOPosix PendingWritesManager.swift
[312/320] Compiling NIOPosix PipeChannel.swift
[313/321] Wrapping AST for NIOPosix for debugging
[315/323] Emitting module NIO
[316/323] Compiling NIO Exports.swift
[317/324] Wrapping AST for NIO for debugging
[319/329] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[320/329] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[321/329] Emitting module NIOFoundationCompat
[322/329] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[323/329] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[324/336] Wrapping AST for NIOFoundationCompat for debugging
[326/337] Compiling NIORedis ByteBufferExtras.swift
[327/337] Compiling NIORedis RESPPipelineSetup.swift
[328/337] Emitting module NIORedis
[329/337] Compiling NIORedis RESPValue.swift
[330/337] Compiling NIORedis RESPChannelHandler.swift
[331/337] Compiling NIORedis RESPParser.swift
[332/337] Compiling NIORedis RESPEncodable.swift
[333/338] Wrapping AST for NIORedis for debugging
[335/362] Compiling RedisServer Monitor.swift
[336/362] Compiling RedisServer PubSub.swift
[337/362] Compiling RedisServer RedisCommandContext.swift
[338/365] Emitting module RedisServer
[339/365] 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>
[340/365] 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>
[341/365] 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>
[342/365] 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>
[343/365] 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>
[344/365] 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>
[345/365] 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>
[346/365] Compiling RedisServer StringCommands.swift
[347/365] Compiling RedisServer Database.swift
[348/365] Compiling RedisServer DumpManager.swift
[349/365] Compiling RedisServer CommandTable.swift
[350/365] Compiling RedisServer CommandType.swift
[351/365] Compiling RedisServer ExpirationCommands.swift
[352/365] Compiling RedisServer HashCommands.swift
[353/365] Compiling RedisServer RedisList.swift
[354/365] Compiling RedisServer RedisValue.swift
[355/365] Compiling RedisServer RedisValueCoding.swift
[356/365] 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.
[357/365] 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.
[358/365] 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.
[359/365] Compiling RedisServer RedisLogger.swift
[360/365] Compiling RedisServer RedisPattern.swift
[361/365] Compiling RedisServer Utilities.swift
[362/366] Wrapping AST for RedisServer for debugging
[364/369] Emitting module redi_s
[365/369] Compiling redi_s ConfigFile.swift
[366/369] Compiling redi_s main.swift
[367/370] Wrapping AST for redi-s for debugging
[368/370] Write Objects.LinkFileList
[369/370] Linking redi-s
Build complete! (167.24s)
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.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.