Build Information
Successful build of redi-s, reference 0.6.0 (4ec4de), with Swift 6.3 for Linux on 20 Apr 2026 22:01:24 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NozeIO/redi-s.git
Reference: 0.6.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/NozeIO/redi-s
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at 4ec4de9 Merge branch 'develop'
Cloned https://github.com/NozeIO/redi-s.git
Revision (git rev-parse @):
4ec4de94f2638596202debf85a5813d5e02d784a
SUCCESS checkout https://github.com/NozeIO/redi-s.git at 0.6.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.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-1":/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/apple/swift-atomics
Fetching https://github.com/SwiftNIOExtras/swift-nio-redis.git
[1/1820] Fetching swift-atomics
[602/2179] Fetching swift-atomics, swift-nio-redis
Fetched https://github.com/SwiftNIOExtras/swift-nio-redis.git from cache (0.77s)
Fetched https://github.com/apple/swift-atomics from cache (0.77s)
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.64s)
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.66s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.44s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/23581] Fetching swift-collections
[2/29182] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (2.73s)
Fetched https://github.com/apple/swift-collections.git from cache (2.79s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (3.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.07s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
Creating working copy for https://github.com/SwiftNIOExtras/swift-nio-redis.git
Working copy of https://github.com/SwiftNIOExtras/swift-nio-redis.git resolved at 0.11.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Building for debugging...
[0/44] Write sources
[14/44] Compiling _AtomicsShims.c
[15/44] Compiling CNIOWindows WSAStartup.c
[16/44] Compiling CNIOPosix event_loop_id.c
[17/44] Compiling CNIOOpenBSD shim.c
[18/44] Compiling CNIOWindows shim.c
[19/44] Compiling CNIOLinux liburing_shims.c
[20/44] Write sources
[21/44] Compiling CNIOWASI CNIOWASI.c
[22/44] Compiling CNIODarwin shim.c
[23/44] Write swift-version-24593BA9C3E375BF.txt
[24/44] Compiling CNIOLinux shim.c
[26/86] Emitting module _NIOBase64
[27/86] Emitting module InternalCollectionsUtilities
[27/88] Compiling c-nioatomics.c
[29/88] Emitting module Atomics
[29/90] Compiling c-atomics.c
[31/97] Compiling Atomics IntegerOperations.swift
[32/97] Compiling Atomics Unmanaged extensions.swift
[33/97] Compiling Atomics AtomicInteger.swift
[34/97] Compiling Atomics AtomicOptionalWrappable.swift
[35/97] Compiling Atomics DoubleWord.swift
[36/97] Compiling Atomics AtomicStorage.swift
[37/97] Compiling Atomics AtomicValue.swift
[38/97] Compiling Atomics AtomicMemoryOrderings.swift
[42/97] Compiling Atomics UnsafeAtomic.swift
[43/97] Compiling Atomics UnsafeAtomicLazyReference.swift
[44/97] Compiling Atomics OptionalRawRepresentable.swift
[45/97] Compiling Atomics RawRepresentable.swift
[46/97] Compiling Atomics AtomicBool.swift
[47/97] Compiling Atomics ManagedAtomic.swift
[48/97] Compiling Atomics ManagedAtomicLazyReference.swift
[51/97] Compiling Atomics IntegerConformances.swift
[52/97] Compiling Atomics PointerConformances.swift
[53/97] Compiling Atomics Primitives.native.swift
[56/97] Compiling Atomics AtomicReference.swift
[66/98] Compiling _NIOBase64 Base64.swift
[72/100] Compiling _NIODataStructures _TinyArray.swift
[73/100] Compiling _NIODataStructures PriorityQueue.swift
[74/100] Wrapping AST for _NIOBase64 for debugging
[75/100] Wrapping AST for InternalCollectionsUtilities for debugging
[76/133] Wrapping AST for Atomics for debugging
[78/133] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[79/133] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[80/133] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[81/133] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[82/133] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[83/137] Compiling ContainersPreview Container.swift
[84/137] Compiling ContainersPreview ContainerIterator.swift
[85/137] Compiling ContainersPreview DynamicContainer.swift
[86/137] Compiling ContainersPreview MutableContainer.swift
[87/137] Compiling ContainersPreview PermutableContainer.swift
[88/137] Compiling ContainersPreview Drain+Reduce.swift
[89/137] Compiling ContainersPreview Drain.swift
[90/137] Compiling ContainersPreview Producer+Collect.swift
[91/137] Compiling ContainersPreview Producer+Filter.swift
[92/137] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[93/137] Compiling ContainersPreview BorrowingSequence.swift
[94/137] Compiling ContainersPreview BidirectionalContainer.swift
[95/137] Compiling ContainersPreview Container+Filter.swift
[96/137] Compiling ContainersPreview Container+SpanwiseZip.swift
[97/137] Compiling ContainersPreview RandomAccessContainer.swift
[98/137] Compiling ContainersPreview RangeExpression2.swift
[99/137] Compiling ContainersPreview RangeReplaceableContainer.swift
[100/137] Compiling ContainersPreview Drain+Map.swift
[101/137] Compiling ContainersPreview Producer+Map.swift
[102/137] Compiling ContainersPreview Producer+Reduce.swift
[103/137] Compiling ContainersPreview Producer.swift
[104/137] Compiling ContainersPreview Borrow.swift
[105/137] Compiling ContainersPreview Box.swift
[106/137] Compiling ContainersPreview Inout.swift
[107/137] Compiling ContainersPreview InputSpan.swift
[108/137] Compiling ContainersPreview Shared.swift
[109/137] Emitting module ContainersPreview
[110/137] Compiling ContainersPreview OutputSpan+Extras.swift
[111/137] Compiling ContainersPreview TemporaryAllocation.swift
[112/137] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[113/137] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[114/137] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[115/138] Wrapping AST for ContainersPreview for debugging
[117/178] Compiling _NIODataStructures Heap.swift
[118/178] Emitting module _NIODataStructures
[119/178] Compiling NIOConcurrencyHelpers lock.swift
[120/179] Compiling NIOConcurrencyHelpers NIOLock.swift
[121/179] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[122/179] Emitting module NIOConcurrencyHelpers
[123/179] Wrapping AST for _NIODataStructures for debugging
[125/179] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[126/179] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[127/179] Compiling NIOConcurrencyHelpers atomics.swift
[129/180] Compiling DequeModule RigidDeque+Equatable.swift
[130/180] Compiling DequeModule RigidDeque+Experimental.swift
[131/180] Compiling DequeModule RigidDeque+Hashable.swift
[132/180] Compiling DequeModule RigidDeque+Initializers.swift
[133/180] Compiling DequeModule RigidDeque+Insertions.swift
[134/180] Compiling DequeModule RigidDeque+Prepend.swift
[134/185] Wrapping AST for NIOConcurrencyHelpers for debugging
[136/185] Compiling DequeModule UniqueDeque+Consumption.swift
[137/185] Compiling DequeModule UniqueDeque+Container.swift
[138/185] Compiling DequeModule UniqueDeque+Descriptions.swift
[139/185] Compiling DequeModule UniqueDeque+Equatable.swift
[140/185] Compiling DequeModule UniqueDeque+Experimental.swift
[141/185] Compiling DequeModule UniqueDeque+Hashable.swift
[142/185] Compiling DequeModule UniqueDeque+Initializers.swift
[143/185] Compiling DequeModule UniqueDeque+Insertions.swift
[144/185] Compiling DequeModule UniqueDeque+Prepend.swift
[145/185] Compiling DequeModule UniqueDeque+Removals.swift
[146/185] Compiling DequeModule RigidDeque+Removals.swift
[147/185] Compiling DequeModule RigidDeque+Replacements.swift
[148/185] Compiling DequeModule RigidDeque+Testing.swift
[149/185] Compiling DequeModule RigidDeque.swift
[150/185] Compiling DequeModule UniqueDeque+Append.swift
[151/185] Compiling DequeModule _DequeBuffer.swift
[152/185] Compiling DequeModule _DequeBufferHeader.swift
[153/185] Compiling DequeModule RigidDeque+Append.swift
[154/185] Compiling DequeModule RigidDeque+Consumption.swift
[155/185] Compiling DequeModule RigidDeque+Container.swift
[156/185] Compiling DequeModule RigidDeque+Descriptions.swift
[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] Emitting module DequeModule
[170/185] Compiling DequeModule UniqueDeque+Replacements.swift
[171/185] Compiling DequeModule UniqueDeque.swift
[172/185] Compiling DequeModule _DequeSlot.swift
[173/185] Compiling DequeModule _UnsafeDequeHandle.swift
[174/185] Compiling DequeModule _UnsafeDequeSegments.swift
[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 AddressedEnvelope.swift
[205/258] Compiling NIOCore AsyncAwaitSupport.swift
[206/258] Compiling NIOCore AsyncChannel.swift
[207/258] Compiling NIOCore AsyncChannelHandler.swift
[208/258] Compiling NIOCore AsyncChannelInboundStream.swift
[209/258] Compiling NIOCore AsyncChannelOutboundWriter.swift
[210/258] Compiling NIOCore NIOAsyncSequenceProducer.swift
[211/258] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[212/258] Compiling NIOCore NIOAsyncWriter.swift
[213/258] Compiling NIOCore CircularBuffer.swift
[214/258] Compiling NIOCore Codec.swift
[215/258] Compiling NIOCore ConvenienceOptionSupport.swift
[216/258] Compiling NIOCore DeadChannel.swift
[217/258] Compiling NIOCore DispatchQueue+WithFuture.swift
[218/258] Compiling NIOCore EventLoop+Deprecated.swift
[219/258] Compiling NIOCore EventLoop+SerialExecutor.swift
[220/258] Compiling NIOCore EventLoop.swift
[221/258] Compiling NIOCore EventLoopFuture+AssumeIsolated.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 AsyncTestingChannel.swift
[253/313] Compiling NIOEmbedded AsyncTestingEventLoop.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] Emitting module NIOPosix
[271/320] Compiling NIOPosix BSDSocketAPICommon.swift
[272/320] Compiling NIOPosix BSDSocketAPIPosix.swift
[273/320] Compiling NIOPosix BSDSocketAPIWindows.swift
[274/320] Compiling NIOPosix BaseSocket.swift
[275/320] Compiling NIOPosix BaseSocketChannel+AccessibleTransport.swift
[276/320] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[277/320] Compiling NIOPosix BaseSocketChannel.swift
[278/320] Compiling NIOPosix PipePair.swift
[279/320] Compiling NIOPosix Pool.swift
[280/320] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[281/320] Compiling NIOPosix PosixSingletons.swift
[282/320] Compiling NIOPosix RawSocketBootstrap.swift
[283/320] Compiling NIOPosix Resolver.swift
[284/320] Compiling NIOPosix Selectable.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 BaseStreamSocketChannel.swift
[293/320] Compiling NIOPosix Bootstrap.swift
[294/320] Compiling NIOPosix ControlMessage.swift
[295/320] Compiling NIOPosix DatagramVectorReadManager.swift
[296/320] Compiling NIOPosix Errors+Any.swift
[297/320] Compiling NIOPosix FileDescriptor.swift
[298/320] Compiling NIOPosix GetaddrinfoResolver.swift
[299/320] Compiling NIOPosix SelectableChannel.swift
[300/320] Compiling NIOPosix SelectableEventLoop.swift
[301/320] Compiling NIOPosix SelectorEpoll.swift
[302/320] Compiling NIOPosix SelectorGeneric.swift
[303/320] Compiling NIOPosix SelectorKqueue.swift
[304/320] Compiling NIOPosix SelectorUring.swift
[305/320] Compiling NIOPosix SelectorWSAPoll.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/323] Wrapping AST for NIOPosix for debugging
[315/323] Compiling NIO Exports.swift
[316/323] Emitting module NIO
[317/324] Wrapping AST for NIO for debugging
[319/329] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[320/329] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[321/329] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[322/329] Emitting module NIOFoundationCompat
[323/329] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[324/330] Wrapping AST for NIOFoundationCompat for debugging
[326/337] Compiling NIORedis RESPPipelineSetup.swift
[327/337] Compiling NIORedis RESPEncodable.swift
[328/337] Compiling NIORedis RESPValue.swift
[329/337] Emitting module NIORedis
[330/337] Compiling NIORedis RESPChannelHandler.swift
[331/337] Compiling NIORedis ByteBufferExtras.swift
[332/337] Compiling NIORedis RESPParser.swift
[333/338] Wrapping AST for NIORedis for debugging
[335/362] Emitting module RedisServer
[336/365] Compiling RedisServer RedisLogger.swift
[337/365] Compiling RedisServer RedisPattern.swift
[338/365] Compiling RedisServer Utilities.swift
[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 CommandTable.swift
[347/365] Compiling RedisServer CommandType.swift
[348/365] Compiling RedisServer ExpirationCommands.swift
[349/365] Compiling RedisServer HashCommands.swift
[350/365] Compiling RedisServer RedisList.swift
[351/365] Compiling RedisServer RedisValue.swift
[352/365] Compiling RedisServer RedisValueCoding.swift
[353/365] Compiling RedisServer Monitor.swift
[354/365] Compiling RedisServer PubSub.swift
[355/365] Compiling RedisServer RedisCommandContext.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 StringCommands.swift
[360/365] Compiling RedisServer Database.swift
[361/365] Compiling RedisServer DumpManager.swift
[362/366] Wrapping AST for RedisServer for debugging
[364/369] Compiling redi_s main.swift
[365/369] Emitting module redi_s
[366/369] Compiling redi_s ConfigFile.swift
[367/370] Wrapping AST for redi-s for debugging
[368/370] Write Objects.LinkFileList
[369/370] Linking redi-s
Build complete! (167.08s)
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.