The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Auburn, reference master (8ffb1c), with Swift 6.0 for Linux on 1 Nov 2024 10:47:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/Auburn.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/Auburn
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8ffb1c4 Create LICENSE
Cloned https://github.com/OperatorFoundation/Auburn.git
Revision (git rev-parse @):
8ffb1c4f3f969fea6410c39512e5e530dcdef18b
SUCCESS checkout https://github.com/OperatorFoundation/Auburn.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/OperatorFoundation/Auburn.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/OperatorFoundation/Redshot.git
[1/555] Fetching redshot
Fetched https://github.com/OperatorFoundation/Redshot.git from cache (0.22s)
Computing version for https://github.com/OperatorFoundation/Redshot.git
Computed https://github.com/OperatorFoundation/Redshot.git at 0.8.5 (0.48s)
Fetching https://github.com/OperatorFoundation/Datable.git
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.19s)
Computing version for https://github.com/OperatorFoundation/Datable.git
Computed https://github.com/OperatorFoundation/Datable.git at 3.1.5 (0.54s)
Creating working copy for https://github.com/OperatorFoundation/Redshot.git
Working copy of https://github.com/OperatorFoundation/Redshot.git resolved at 0.8.5
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/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/33] Compiling Datable Int+MaybeDatable.swift
[6/33] Compiling Datable Int+Stringable.swift
[7/33] Compiling Datable Intable.swift
[8/33] Compiling Datable MaybeDatable.swift
[9/37] Compiling Datable MaybeIntable.swift
[10/37] Compiling Datable MaybeNetworkIntable.swift
[11/37] Compiling Datable NetworkDatable.swift
[12/37] Compiling Datable NetworkIntable.swift
[13/37] Compiling Datable String+Arrayable.swift
[14/37] Compiling Datable String+Datable.swift
[15/37] Compiling Datable String+Intable.swift
[16/37] Compiling Datable Stringable.swift
[17/37] Compiling Datable Data+ExpressibleByStringLiteral.swift
[18/37] Compiling Datable Data+Floatable.swift
[19/37] Compiling Datable Data+MaybeIntable.swift
[20/37] Compiling Datable Data+MaybeNetworkIntable.swift
[21/37] Compiling Datable Arrayable.swift
[22/37] Compiling Datable CSVable.swift
[23/37] Compiling Datable Data+Arrayable.swift
[24/37] Compiling Datable Data+Datable.swift
[25/37] Emitting module Datable
[26/37] Compiling Datable Data+Stringable.swift
[27/37] Compiling Datable Datable.swift
[28/37] Compiling Datable DatableConfig.swift
[29/37] Compiling Datable Double+MaybeDatable.swift
[30/37] Compiling Datable Double+Stringable.swift
[31/37] Compiling Datable File.swift
[32/37] Compiling Datable Float+MaybeDatable.swift
[33/37] Compiling Datable Floatable.swift
[34/37] Compiling Datable StringableArray+CSVable.swift
[35/37] Compiling Datable UInt+Datable.swift
[36/37] Compiling Datable UInt+MaybeNetworkDatable.swift
[37/37] Compiling Datable UInt+Stringable.swift
[39/46] Compiling RedShot RedisSubscribe.swift
[40/46] Compiling RedShot RedisType.swift
[41/46] Compiling RedShot ResponseParser.swift
[42/46] Compiling RedShot RedisSocket.swift
/host/spi-builder-workspace/.build/checkouts/Redshot/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:33:15: note: 'streamTask(withHostName:port:)' has been explicitly marked unavailable here
31 |     open func downloadTask(withResumeData resumeData: Data, completionHandler: @escaping @Sendable (URL?, URLResponse?, (any Error)?) -> Void) -> URLSessionDownloadTask
32 |     @available(*, unavailable, message: "URLSessionStreamTask is not available in swift-corelibs-foundation")
33 |     open func streamTask(withHostName hostname: String, port: Int) -> URLSessionStreamTask
   |               `- note: 'streamTask(withHostName:port:)' has been explicitly marked unavailable here
34 |     open func webSocketTask(with url: URL) -> URLSessionWebSocketTask
35 |     open func webSocketTask(with url: URL, protocols: [String]) -> URLSessionWebSocketTask
/host/spi-builder-workspace/.build/checkouts/Redshot/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:3:15: note: 'readData(ofMinLength:maxLength:timeout:completionHandler:)' has been explicitly marked unavailable here
 1 | open class URLSessionStreamTask : URLSessionTask, @unchecked Sendable {
 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 |     @available(*, unavailable, message: "URLSessionStreamTask is not available in swift-corelibs-foundation")
 5 |     open func write(_ data: Data, timeout: TimeInterval, completionHandler: @escaping ((any Error)?) -> Void)
/host/spi-builder-workspace/.build/checkouts/Redshot/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:5:15: note: 'write(_:timeout:completionHandler:)' has been explicitly marked unavailable here
 3 |     open func readData(ofMinLength minBytes: Int, maxLength maxBytes: Int, timeout: TimeInterval, completionHandler: @escaping (Data?, Bool, (any Error)?) -> Void)
 4 |     @available(*, unavailable, message: "URLSessionStreamTask is not available in swift-corelibs-foundation")
 5 |     open func write(_ data: Data, timeout: TimeInterval, completionHandler: @escaping ((any Error)?) -> Void)
   |               `- note: 'write(_:timeout:completionHandler:)' has been explicitly marked unavailable here
 6 |     @available(*, unavailable, message: "URLSessionStreamTask is not available in swift-corelibs-foundation")
 7 |     open func captureStreams()
[43/46] Compiling RedShot Redis.swift
[44/46] Compiling RedShot Constants.swift
[45/46] Compiling RedShot RedisCommands.swift
[46/46] Emitting module RedShot
BUILD FAILURE 6.0 linux