The Swift Package Index logo.Swift Package Index

Build Information

Successful build of redi-s, reference 0.6.0 (4ec4de), with Swift 6.4 for Linux on 20 Sep 2026 06:48:33 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/NozeIO/redi-s.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/SwiftNIOExtras/swift-nio-redis.git
Fetching https://github.com/apple/swift-atomics
[1/359] Fetching swift-nio-redis
[360/2234] Fetching swift-nio-redis, swift-atomics
Fetched https://github.com/SwiftNIOExtras/swift-nio-redis.git (0.42s)
[94/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics (0.51s)
Computing version for https://github.com/SwiftNIOExtras/swift-nio-redis.git
Computed https://github.com/SwiftNIOExtras/swift-nio-redis.git at 0.11.0 (0.71s)
Fetching https://github.com/apple/swift-nio.git
[1/86073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.09s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.1 (3.27s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.38s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/6898] Fetching swift-system
[1381/34250] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.67s)
[5197/27352] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.13s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.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.103.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 776]
[Planning deferred tasks]
[155 / 295] _NIOBase64
[164 / 295] NIOConcurrencyHelpers
[175 / 295] NIOConcurrencyHelpers
[177 / 295] NIOConcurrencyHelpers
[183 / 296] NIOConcurrencyHelpers
[188 / 296] InternalCollectionsUtilities
[189 / 296] InternalCollectionsUtilities
[192 / 296] InternalCollectionsUtilities
[194 / 296] _NIOBase64
[202 / 298] CNIOLinux
[214 / 308] Atomics
[217 / 317] Atomics
[218 / 317] ContainersPreview
[220 / 318] NIOConcurrencyHelpers
[228 / 318] DequeModule
[233 / 318] Atomics
[237 / 320] ContainersPreview
[241 / 320] InternalCollectionsUtilities
[243 / 321] Atomics
[247 / 330] DequeModule
[248 / 330] DequeModule
[249 / 330] DequeModule
[250 / 330] DequeModule
[251 / 330] CNIOAtomics
[252 / 330] DequeModule
[254 / 330] CNIOAtomics
[255 / 330] DequeModule
[255 / 330] Atomics
[260 / 330] Atomics
[263 / 331] Atomics
[263 / 331] DequeModule
[263 / 332] DequeModule
[272 / 333] DequeModule
[281 / 342] NIOCore
[281 / 342] DequeModule
[281 / 342] NIOCore
[296 / 352] NIOEmbedded
[297 / 361] NIOPosix
[298 / 362] NIOPosix
[301 / 362] NIOEmbedded
[306 / 362] NIOPosix
[307 / 363] NIOPosix
[308 / 363] NIOFoundationEssentialsCompat
[310 / 363] NIOFoundationEssentialsCompat
[315 / 363] NIOPosix
[316 / 364] NIOEmbedded
[320 / 364] NIOEmbedded
[322 / 364] NIOCore
[324 / 364] NIOEmbedded
[324 / 364] NIOPosix
[332 / 367] NIO
[333 / 368] NIO
[342 / 373] NIOFoundationCompat
[343 / 373] NIOFoundationCompat
[345 / 373] NIO
[353 / 381] NIORedis
[354 / 381] NIORedis
[356 / 382] NIORedis
[357 / 382] NIORedis
[358 / 382] NIOFoundationCompat
[359 / 382] NIORedis
[359 / 382] NIOPosix
[372 / 392] RedisServer
[373 / 393] RedisServer
[374 / 393] RedisServer
[375 / 394] NIORedis
[376 / 394] NIOPosix
[379 / 394] NIOPosix
[380 / 394] NIO
[381 / 394]
[391 / 398] NIOFoundationCompat-product
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 15 | import Dispatch
 16 | import NIO
 17 | import enum   NIORedis.RESPValue
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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?)
[#AddPreconcurrencyImport]: <https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[391 / 398] RedisServer
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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>
[391 / 398] redi-s-product
[392 / 398] redi-s-product
[395 / 399] RedisServer
/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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 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.
[#AddPreconcurrencyImport]: <https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import>
[400 / 400] RedisServer-product
[400 / 400] redi-s-product
Build complete! (41.92 secs)
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.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.