The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RedShot, reference master (d610ad), with Swift 6.4 for Linux on 20 Sep 2026 01:18:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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/OperatorFoundation/Redshot.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/OperatorFoundation/Redshot.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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/OperatorFoundation/Datable.git
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable.git (0.50s)
Computing version for https://github.com/OperatorFoundation/Datable.git
Computed https://github.com/OperatorFoundation/Datable.git at 3.1.5 (0.70s)
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...
[Pre-planning 1 / 96]
[34 / 49] Datable
[49 / 59] Datable
/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
[56 / 59] RedShot
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile 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 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/RedShot/Constants.swift /host/spi-builder-workspace/Sources/RedShot/Redis.swift /host/spi-builder-workspace/Sources/RedShot/RedisCommands.swift -primary-file /host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift /host/spi-builder-workspace/Sources/RedShot/RedisSubscribe.swift /host/spi-builder-workspace/Sources/RedShot/RedisType.swift /host/spi-builder-workspace/Sources/RedShot/ResponseParser.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RedShot.build/Debug-linux-x86_64/RedShot-t.build/Objects-normal/x86_64/RedisSocket.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RedShot.build/Debug-linux-x86_64/RedShot-t.build/Objects-normal/x86_64/RedisSocket.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RedShot.build/Debug-linux-x86_64/RedShot-t.build/Objects-normal/x86_64/RedisSocket.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RedShot.build/Debug-linux-x86_64/RedShot-t.build/Objects-normal/x86_64/RedisSocket.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RedShot.build/Debug-linux-x86_64/RedShot-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RedShot.build/Debug-linux-x86_64/RedShot-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RedShot.build/Debug-linux-x86_64/RedShot-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name RedShot -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/RedShot.build/Debug-linux-x86_64/RedShot-t.build/Objects-normal/x86_64/RedShot_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RedShot.build/Debug-linux-x86_64/RedShot-t.build/Objects-normal/x86_64/RedisSocket.o -index-unit-output-path /RedShot.build/Debug-linux-x86_64/RedShot-t.build/Objects-normal/x86_64/RedisSocket.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux