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>&1Build 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: [1;33mwarning: [1;39mreference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m43 |[0;0m pubsub.Q.async {
[0;36m44 |[0;0m for key in channelKeys {
[0;36m45 |[0;0m if !subscribedChannels.contains(key) {
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m46 |[0;0m subscribedChannels.insert(key)
[0;36m47 |[0;0m pubsub.subscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:46:11: [1;33mwarning: [1;39mmutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m44 |[0;0m for key in channelKeys {
[0;36m45 |[0;0m if !subscribedChannels.contains(key) {
[0;36m46 |[0;0m subscribedChannels.insert(key)
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m47 |[0;0m pubsub.subscribe(key, handler: ctx.handler)
[0;36m48 |[0;0m }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:51:14: [1;33mwarning: [1;39mcapture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m49 |[0;0m
[0;36m50 |[0;0m ctx.eventLoop.execute {
[0;36m51 |[0;0m if ctx.handler.subscribedChannels == nil {
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m52 |[0;0m ctx.handler.subscribedChannels = Set()
[0;36m53 |[0;0m }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: [1;39mnote: [1;39mconsider making struct 'RedisCommandContext' conform to the 'Sendable' protocol[0;0m
[0;36m20 |[0;0m * The environment commands need to run.
[0;36m21 |[0;0m */
[0;36m22 |[0;0m public struct RedisCommandContext {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'RedisCommandContext' conform to the 'Sendable' protocol[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:56:23: [1;33mwarning: [1;39mcapture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m54 |[0;0m ctx.handler.subscribedChannels!.insert(key)
[0;36m55 |[0;0m let count = ctx.handler.subscribedChannels!.count
[0;36m56 |[0;0m ctx.write([ subscribeCmd,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m57 |[0;0m RESPValue(bulkString: key),
[0;36m58 |[0;0m RESPValue.integer(count) ].toRESPValue())
/host/spi-builder-workspace/.build/checkouts/swift-nio-redis/Sources/NIORedis/RESPValue.swift:18:13: [1;39mnote: [1;39menum 'RESPValue' does not conform to the 'Sendable' protocol[0;0m
[0;36m16 |[0;0m import Foundation
[0;36m17 |[0;0m
[0;36m18 |[0;0m public enum RESPValue {
[0;36m|[0;0m `- [1;39mnote: [1;39menum 'RESPValue' does not conform to the 'Sendable' protocol[0;0m
[0;36m19 |[0;0m case simpleString(ByteBuffer)
[0;36m20 |[0;0m case bulkString (ByteBuffer?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:17:1: [1;33mwarning: [1;39madd '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
[0;36m15 |[0;0m import Dispatch
[0;36m16 |[0;0m import NIO
[0;36m17 |[0;0m import enum NIORedis.RESPValue
[0;36m|[0;0m `- [1;33mwarning: [1;39madd '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
[0;36m18 |[0;0m import struct Foundation.Data
[0;36m19 |[0;0m
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:76:12: [1;33mwarning: [1;39mreference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m74 |[0;0m pubsub.Q.async {
[0;36m75 |[0;0m for key in channelKeys {
[0;36m76 |[0;0m if subscribedChannels.contains(key) {
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m77 |[0;0m subscribedChannels.remove(key)
[0;36m78 |[0;0m pubsub.unsubscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:77:11: [1;33mwarning: [1;39mmutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m75 |[0;0m for key in channelKeys {
[0;36m76 |[0;0m if subscribedChannels.contains(key) {
[0;36m77 |[0;0m subscribedChannels.remove(key)
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'subscribedChannels' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m78 |[0;0m pubsub.unsubscribe(key, handler: ctx.handler)
[0;36m79 |[0;0m }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:82:11: [1;33mwarning: [1;39mcapture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m80 |[0;0m
[0;36m81 |[0;0m ctx.eventLoop.execute {
[0;36m82 |[0;0m ctx.handler.subscribedChannels?.remove(key)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m83 |[0;0m let count = ctx.handler.subscribedChannels?.count ?? 0
[0;36m84 |[0;0m ctx.write([ subscribeCmd,
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: [1;39mnote: [1;39mconsider making struct 'RedisCommandContext' conform to the 'Sendable' protocol[0;0m
[0;36m20 |[0;0m * The environment commands need to run.
[0;36m21 |[0;0m */
[0;36m22 |[0;0m public struct RedisCommandContext {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'RedisCommandContext' conform to the 'Sendable' protocol[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:84:23: [1;33mwarning: [1;39mcapture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m82 |[0;0m ctx.handler.subscribedChannels?.remove(key)
[0;36m83 |[0;0m let count = ctx.handler.subscribedChannels?.count ?? 0
[0;36m84 |[0;0m ctx.write([ subscribeCmd,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m85 |[0;0m RESPValue(bulkString: key),
[0;36m86 |[0;0m RESPValue.integer(count) ].toRESPValue())
/host/spi-builder-workspace/.build/checkouts/swift-nio-redis/Sources/NIORedis/RESPValue.swift:18:13: [1;39mnote: [1;39menum 'RESPValue' does not conform to the 'Sendable' protocol[0;0m
[0;36m16 |[0;0m import Foundation
[0;36m17 |[0;0m
[0;36m18 |[0;0m public enum RESPValue {
[0;36m|[0;0m `- [1;39mnote: [1;39menum 'RESPValue' does not conform to the 'Sendable' protocol[0;0m
[0;36m19 |[0;0m case simpleString(ByteBuffer)
[0;36m20 |[0;0m case bulkString (ByteBuffer?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:108:13: [1;33mwarning: [1;39mreference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m106 |[0;0m pubsub.Q.async {
[0;36m107 |[0;0m for ( bb, key ) in patterns {
[0;36m108 |[0;0m if !subscribedPatterns.contains(key) {
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m109 |[0;0m subscribedPatterns.insert(key)
[0;36m110 |[0;0m pubsub.subscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:109:11: [1;33mwarning: [1;39mmutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m107 |[0;0m for ( bb, key ) in patterns {
[0;36m108 |[0;0m if !subscribedPatterns.contains(key) {
[0;36m109 |[0;0m subscribedPatterns.insert(key)
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m110 |[0;0m pubsub.subscribe(key, handler: ctx.handler)
[0;36m111 |[0;0m }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:114:14: [1;33mwarning: [1;39mcapture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m112 |[0;0m
[0;36m113 |[0;0m ctx.eventLoop.execute {
[0;36m114 |[0;0m if ctx.handler.subscribedPatterns == nil {
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m115 |[0;0m ctx.handler.subscribedPatterns = Set()
[0;36m116 |[0;0m }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: [1;39mnote: [1;39mconsider making struct 'RedisCommandContext' conform to the 'Sendable' protocol[0;0m
[0;36m20 |[0;0m * The environment commands need to run.
[0;36m21 |[0;0m */
[0;36m22 |[0;0m public struct RedisCommandContext {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'RedisCommandContext' conform to the 'Sendable' protocol[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:119:23: [1;33mwarning: [1;39mcapture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m117 |[0;0m ctx.handler.subscribedPatterns!.insert(key)
[0;36m118 |[0;0m let count = ctx.handler.subscribedPatterns!.count
[0;36m119 |[0;0m ctx.write([ subscribeCmd,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m120 |[0;0m RESPValue.bulkString(bb),
[0;36m121 |[0;0m RESPValue.integer(count) ].toRESPValue())
/host/spi-builder-workspace/.build/checkouts/swift-nio-redis/Sources/NIORedis/RESPValue.swift:18:13: [1;39mnote: [1;39menum 'RESPValue' does not conform to the 'Sendable' protocol[0;0m
[0;36m16 |[0;0m import Foundation
[0;36m17 |[0;0m
[0;36m18 |[0;0m public enum RESPValue {
[0;36m|[0;0m `- [1;39mnote: [1;39menum 'RESPValue' does not conform to the 'Sendable' protocol[0;0m
[0;36m19 |[0;0m case simpleString(ByteBuffer)
[0;36m20 |[0;0m case bulkString (ByteBuffer?)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:143:12: [1;33mwarning: [1;39mreference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m141 |[0;0m pubsub.Q.async {
[0;36m142 |[0;0m for ( bb, key ) in patterns {
[0;36m143 |[0;0m if subscribedPatterns.contains(key) {
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m144 |[0;0m subscribedPatterns.remove(key)
[0;36m145 |[0;0m pubsub.unsubscribe(key, handler: ctx.handler)
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:144:11: [1;33mwarning: [1;39mmutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m142 |[0;0m for ( bb, key ) in patterns {
[0;36m143 |[0;0m if subscribedPatterns.contains(key) {
[0;36m144 |[0;0m subscribedPatterns.remove(key)
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'subscribedPatterns' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m145 |[0;0m pubsub.unsubscribe(key, handler: ctx.handler)
[0;36m146 |[0;0m }
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:149:11: [1;33mwarning: [1;39mcapture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m147 |[0;0m
[0;36m148 |[0;0m ctx.eventLoop.execute {
[0;36m149 |[0;0m ctx.handler.subscribedPatterns?.remove(key)
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'ctx' with non-Sendable type 'Commands.CommandContext' (aka 'RedisCommandContext') in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m150 |[0;0m let count = ctx.handler.subscribedPatterns?.count ?? 0
[0;36m151 |[0;0m ctx.write([ subscribeCmd,
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandContext.swift:22:15: [1;39mnote: [1;39mconsider making struct 'RedisCommandContext' conform to the 'Sendable' protocol[0;0m
[0;36m20 |[0;0m * The environment commands need to run.
[0;36m21 |[0;0m */
[0;36m22 |[0;0m public struct RedisCommandContext {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'RedisCommandContext' conform to the 'Sendable' protocol[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m let command : RedisCommand
/host/spi-builder-workspace/Sources/RedisServer/Commands/PubSubCommands.swift:151:23: [1;33mwarning: [1;39mcapture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m149 |[0;0m ctx.handler.subscribedPatterns?.remove(key)
[0;36m150 |[0;0m let count = ctx.handler.subscribedPatterns?.count ?? 0
[0;36m151 |[0;0m ctx.write([ subscribeCmd,
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'subscribeCmd' with non-Sendable type 'RESPValue' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m152 |[0;0m RESPValue.bulkString(bb),
[0;36m153 |[0;0m RESPValue.integer(count) ].toRESPValue())
/host/spi-builder-workspace/.build/checkouts/swift-nio-redis/Sources/NIORedis/RESPValue.swift:18:13: [1;39mnote: [1;39menum 'RESPValue' does not conform to the 'Sendable' protocol[0;0m
[0;36m16 |[0;0m import Foundation
[0;36m17 |[0;0m
[0;36m18 |[0;0m public enum RESPValue {
[0;36m|[0;0m `- [1;39mnote: [1;39menum 'RESPValue' does not conform to the 'Sendable' protocol[0;0m
[0;36m19 |[0;0m case simpleString(ByteBuffer)
[0;36m20 |[0;0m 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: [1;33mwarning: [1;39mreference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m190 |[0;0m func yield(_ info: RedisCommandHandler.ClientInfo) {
[0;36m191 |[0;0m listQueue.async {
[0;36m192 |[0;0m assert(count > 0)
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m193 |[0;0m count -= 1
[0;36m194 |[0;0m
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:193:13: [1;33mwarning: [1;39mmutation of captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m191 |[0;0m listQueue.async {
[0;36m192 |[0;0m assert(count > 0)
[0;36m193 |[0;0m count -= 1
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m194 |[0;0m
[0;36m195 |[0;0m result.writeString(info.redisClientLogLine)
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:195:13: [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m193 |[0;0m count -= 1
[0;36m194 |[0;0m
[0;36m195 |[0;0m result.writeString(info.redisClientLogLine)
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m196 |[0;0m result.writeInteger(10 as UInt8)
[0;36m197 |[0;0m
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:196:13: [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m194 |[0;0m
[0;36m195 |[0;0m result.writeString(info.redisClientLogLine)
[0;36m196 |[0;0m result.writeInteger(10 as UInt8)
[0;36m|[0;0m `- [1;33mwarning: [1;39mmutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m197 |[0;0m
[0;36m198 |[0;0m if count == 0 {
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:198:16: [1;33mwarning: [1;39mreference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m196 |[0;0m result.writeInteger(10 as UInt8)
[0;36m197 |[0;0m
[0;36m198 |[0;0m if count == 0 {
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'count' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m199 |[0;0m ctx.write(.bulkString(result))
[0;36m200 |[0;0m }
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:199:37: [1;33mwarning: [1;39mreference to captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m197 |[0;0m
[0;36m198 |[0;0m if count == 0 {
[0;36m199 |[0;0m ctx.write(.bulkString(result))
[0;36m|[0;0m `- [1;33mwarning: [1;39mreference to captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m200 |[0;0m }
[0;36m201 |[0;0m }
/host/spi-builder-workspace/Sources/RedisServer/Commands/ServerCommands.swift:209:21: [1;33mwarning: [1;39mcapture of 'client' with non-Sendable type 'RedisCommandHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m207 |[0;0m if let eventLoop = client.eventLoop {
[0;36m208 |[0;0m eventLoop.execute {
[0;36m209 |[0;0m yield(client.getClientInfo())
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'client' with non-Sendable type 'RedisCommandHandler' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m210 |[0;0m }
[0;36m211 |[0;0m }
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisCommandHandler.swift:32:13: [1;39mnote: [1;39mclass 'RedisCommandHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m30 |[0;0m *
[0;36m31 |[0;0m */
[0;36m32 |[0;0m final class RedisCommandHandler : RESPChannelHandler {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'RedisCommandHandler' does not conform to the 'Sendable' protocol[0;0m
[0;36m33 |[0;0m // See [Avoid NIO Pipeline](Performance.md#avoid-nio-pipeline-for-non-bb)
[0;36m34 |[0;0m // 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: [1;33mwarning: [1;39mtype 'RESPValue' does not conform to the 'Sendable' protocol[0;0m
[0;36m228 |[0;0m guard client.isMonitoring.load(ordering: .relaxed) else { continue }
[0;36m229 |[0;0m guard let channel = client.channel else { continue }
[0;36m230 |[0;0m channel.writeAndFlush(logPacket, promise: nil)
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'RESPValue' does not conform to the 'Sendable' protocol[0;0m
[0;36m231 |[0;0m }
[0;36m232 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-nio-redis/Sources/NIORedis/RESPValue.swift:18:13: [1;39mnote: [1;39menum 'RESPValue' does not conform to the 'Sendable' protocol[0;0m
[0;36m16 |[0;0m import Foundation
[0;36m17 |[0;0m
[0;36m18 |[0;0m public enum RESPValue {
[0;36m|[0;0m `- [1;39mnote: [1;39menum 'RESPValue' does not conform to the 'Sendable' protocol[0;0m
[0;36m19 |[0;0m case simpleString(ByteBuffer)
[0;36m20 |[0;0m case bulkString (ByteBuffer?)
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisServer.swift:21:1: [1;33mwarning: [1;39madd '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
[0;36m19 |[0;0m import class Foundation.JSONDecoder
[0;36m20 |[0;0m import class Atomics.ManagedAtomic
[0;36m21 |[0;0m import enum NIORedis.RESPValue
[0;36m|[0;0m `- [1;33mwarning: [1;39madd '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIORedis'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
[0;36m22 |[0;0m import NIO
[0;36m23 |[0;0m
/host/spi-builder-workspace/Sources/RedisServer/Server/RedisServer.swift:251:23: [1;33mwarning: [1;39mconformance of 'BackPressureHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m249 |[0;0m .childChannelInitializer { channel in
[0;36m250 |[0;0m channel.pipeline
[0;36m251 |[0;0m .addHandler(BackPressureHandler() /* Oh well :-) */,
[0;36m|[0;0m `- [1;33mwarning: [1;39mconformance of 'BackPressureHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode[0;0m
[0;36m252 |[0;0m name: "com.apple.nio.backpressure")
[0;36m253 |[0;0m .flatMap {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelHandlers.swift:179:1: [1;39mnote: [1;39mconformance of 'BackPressureHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m177 |[0;0m
[0;36m178 |[0;0m @available(*, unavailable)
[0;36m179 |[0;0m extension BackPressureHandler: Sendable {}
[0;36m|[0;0m `- [1;39mnote: [1;39mconformance of 'BackPressureHandler' to 'Sendable' has been explicitly marked unavailable here[0;0m
[0;36m180 |[0;0m
[0;36m181 |[0;0m /// 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.