The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RedShot, reference 0.8.5 (d610ad), with Swift 6.3 for Linux on 14 Apr 2026 03:24:45 UTC.

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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/Redshot.git
Reference: 0.8.5
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/OperatorFoundation/Redshot
 * tag               0.8.5      -> FETCH_HEAD
HEAD is now at d610adb Merge branch 'master' of https://github.com/OperatorFoundation/Redshot
Cloned https://github.com/OperatorFoundation/Redshot.git
Revision (git rev-parse @):
d610adbedaa5273f7cd8c928816e4e8c3edc01af
SUCCESS checkout https://github.com/OperatorFoundation/Redshot.git at 0.8.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/OperatorFoundation/Redshot.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/OperatorFoundation/Datable.git
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.24s)
Computing version for https://github.com/OperatorFoundation/Datable.git
Computed https://github.com/OperatorFoundation/Datable.git at 3.1.5 (0.76s)
Creating working copy for https://github.com/OperatorFoundation/Datable.git
Working copy of https://github.com/OperatorFoundation/Datable.git resolved at 3.1.5
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/32] Emitting module Datable
[5/36] Compiling Datable Double+Stringable.swift
[6/36] Compiling Datable File.swift
[7/36] Compiling Datable Float+MaybeDatable.swift
[8/36] Compiling Datable Floatable.swift
[9/36] Compiling Datable String+Arrayable.swift
[10/36] Compiling Datable String+Datable.swift
[11/36] Compiling Datable String+Intable.swift
[12/36] Compiling Datable Stringable.swift
[13/36] Compiling Datable Data+ExpressibleByStringLiteral.swift
[14/36] Compiling Datable Data+Floatable.swift
[15/36] Compiling Datable Data+MaybeIntable.swift
[16/36] Compiling Datable Data+MaybeNetworkIntable.swift
[17/36] Compiling Datable Arrayable.swift
[18/36] Compiling Datable CSVable.swift
[19/36] Compiling Datable Data+Arrayable.swift
[20/36] Compiling Datable Data+Datable.swift
[21/36] Compiling Datable Int+MaybeDatable.swift
[22/36] Compiling Datable Int+Stringable.swift
[23/36] Compiling Datable Intable.swift
[24/36] Compiling Datable MaybeDatable.swift
[25/36] Compiling Datable Data+Stringable.swift
[26/36] Compiling Datable Datable.swift
[27/36] Compiling Datable DatableConfig.swift
[28/36] Compiling Datable Double+MaybeDatable.swift
[29/36] Compiling Datable StringableArray+CSVable.swift
[30/36] Compiling Datable UInt+Datable.swift
[31/36] Compiling Datable UInt+MaybeNetworkDatable.swift
[32/36] Compiling Datable UInt+Stringable.swift
[33/36] Compiling Datable MaybeIntable.swift
[34/36] Compiling Datable MaybeNetworkIntable.swift
[35/36] Compiling Datable NetworkDatable.swift
[36/36] Compiling Datable NetworkIntable.swift
[38/45] Compiling RedShot ResponseParser.swift
/host/spi-builder-workspace/Sources/RedShot/ResponseParser.swift:74:20: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 72 |             }
 73 |
 74 |             return Data(bytes: buffer)
    |                    `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 75 |
 76 |         case .simpleString:
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[39/45] Compiling RedShot RedisType.swift
[40/45] Compiling RedShot RedisSubscribe.swift
[41/45] Compiling RedShot RedisSocket.swift
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:21:7: warning: non-final class 'RedisSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 19 | import Datable
 20 |
 21 | class RedisSocket: NSObject {
    |       `- warning: non-final class 'RedisSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 22 |     let session = URLSession(configuration: .default)
 23 |     var stream: URLSessionStreamTask
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:23:9: warning: stored property 'stream' of 'Sendable'-conforming class 'RedisSocket' is mutable; this is an error in the Swift 6 language mode
 21 | class RedisSocket: NSObject {
 22 |     let session = URLSession(configuration: .default)
 23 |     var stream: URLSessionStreamTask
    |         `- warning: stored property 'stream' of 'Sendable'-conforming class 'RedisSocket' is mutable; this is an error in the Swift 6 language mode
 24 |
 25 |     var writeGroup: DispatchGroup
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:30:26: error: 'streamTask(withHostName:port:)' is unavailable: URLSessionStreamTask is not available in swift-corelibs-foundation
 28 |
 29 |     init(hostname: String, port: Int) throws {
 30 |         stream = session.streamTask(withHostName: hostname, port: port)
    |                          `- error: 'streamTask(withHostName:port:)' is unavailable: URLSessionStreamTask is not available in swift-corelibs-foundation
 31 |         stream.resume()
 32 |
FoundationNetworking.URLSession.streamTask:3:13: note: 'streamTask(withHostName:port:)' has been explicitly marked unavailable here
1 | class URLSession {
2 | @available(*, unavailable, message: "URLSessionStreamTask is not available in swift-corelibs-foundation")
3 |   open func streamTask(withHostName hostname: String, port: Int) -> URLSessionStreamTask}
  |             `- note: 'streamTask(withHostName:port:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:51:16: error: 'readData(ofMinLength:maxLength:timeout:completionHandler:)' is unavailable: URLSessionStreamTask is not available in swift-corelibs-foundation
 49 |         let maxLength = 4096
 50 |
 51 |         stream.readData(ofMinLength: 1, maxLength: maxLength, timeout: timeout) {
    |                `- error: 'readData(ofMinLength:maxLength:timeout:completionHandler:)' is unavailable: URLSessionStreamTask is not available in swift-corelibs-foundation
 52 |             (maybeData, atEof, maybeError) in
 53 |
FoundationNetworking.URLSessionStreamTask.readData:3:13: note: 'readData(ofMinLength:maxLength:timeout:completionHandler:)' has been explicitly marked unavailable here
1 | class URLSessionStreamTask {
2 | @available(*, unavailable, message: "URLSessionStreamTask is not available in swift-corelibs-foundation")
3 |   open func readData(ofMinLength minBytes: Int, maxLength maxBytes: Int, timeout: TimeInterval, completionHandler: @escaping (Data?, Bool, (any Error)?) -> Void)}
  |             `- note: 'readData(ofMinLength:maxLength:timeout:completionHandler:)' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:84:16: error: 'write(_:timeout:completionHandler:)' is unavailable: URLSessionStreamTask is not available in swift-corelibs-foundation
 82 |
 83 |         writeGroup.enter()
 84 |         stream.write(data, timeout: 0, completionHandler: {
    |                `- error: 'write(_:timeout:completionHandler:)' is unavailable: URLSessionStreamTask is not available in swift-corelibs-foundation
 85 |             (maybeError) in
 86 |
FoundationNetworking.URLSessionStreamTask.write:3:13: note: 'write(_:timeout:completionHandler:)' has been explicitly marked unavailable here
1 | class URLSessionStreamTask {
2 | @available(*, unavailable, message: "URLSessionStreamTask is not available in swift-corelibs-foundation")
3 |   open func write(_ data: Data, timeout: TimeInterval, completionHandler: @escaping ((any Error)?) -> Void)}
  |             `- note: 'write(_:timeout:completionHandler:)' has been explicitly marked unavailable here
4 |
[42/45] Emitting module RedShot
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:21:7: warning: non-final class 'RedisSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 19 | import Datable
 20 |
 21 | class RedisSocket: NSObject {
    |       `- warning: non-final class 'RedisSocket' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 22 |     let session = URLSession(configuration: .default)
 23 |     var stream: URLSessionStreamTask
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:23:9: warning: stored property 'stream' of 'Sendable'-conforming class 'RedisSocket' is mutable; this is an error in the Swift 6 language mode
 21 | class RedisSocket: NSObject {
 22 |     let session = URLSession(configuration: .default)
 23 |     var stream: URLSessionStreamTask
    |         `- warning: stored property 'stream' of 'Sendable'-conforming class 'RedisSocket' is mutable; this is an error in the Swift 6 language mode
 24 |
 25 |     var writeGroup: DispatchGroup
[43/45] Compiling RedShot Redis.swift
/host/spi-builder-workspace/Sources/RedShot/Redis.swift:88:34: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 86 |
 87 |             let copyData = Data(data)
 88 |             let bytes = copyData.withUnsafeBytes {
    |                                  `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 89 |                 [UInt8](UnsafeBufferPointer(start: $0, count: data.count))
 90 |             }
/host/spi-builder-workspace/Sources/RedShot/Redis.swift:160:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
158 |             }
159 |
160 |             let bytes = data.withUnsafeBytes {
    |                              `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
161 |                 [UInt8](UnsafeBufferPointer(start: $0, count: data.count))
162 |             }
/host/spi-builder-workspace/Sources/RedShot/Redis.swift:183:38: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
181 |                     }
182 |
183 |                     let bytes = data.withUnsafeBytes {
    |                                      `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
184 |                         [UInt8](UnsafeBufferPointer(start: $0, count: data.count))
185 |                     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[44/45] Compiling RedShot Constants.swift
[45/45] Compiling RedShot RedisCommands.swift
BUILD FAILURE 6.3 linux