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 RedShot with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.5
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:             5.8
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/OperatorFoundation/Datable.git
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable.git (0.23s)
Computing version for https://github.com/OperatorFoundation/Datable.git
Computed https://github.com/OperatorFoundation/Datable.git at 3.1.5 (0.31s)
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...
[1/29] Emitting module Datable
[2/33] Compiling Datable MaybeIntable.swift
[3/33] Compiling Datable MaybeNetworkIntable.swift
[4/33] Compiling Datable NetworkDatable.swift
[5/33] Compiling Datable NetworkIntable.swift
[6/33] Compiling Datable String+Arrayable.swift
[7/33] Compiling Datable String+Datable.swift
[8/33] Compiling Datable String+Intable.swift
[9/33] Compiling Datable Stringable.swift
[10/33] Compiling Datable Double+Stringable.swift
[11/33] Compiling Datable File.swift
[12/33] Compiling Datable Float+MaybeDatable.swift
[13/33] Compiling Datable Floatable.swift
[14/33] Compiling Datable Arrayable.swift
[15/33] Compiling Datable CSVable.swift
[16/33] Compiling Datable Data+Arrayable.swift
[17/33] Compiling Datable Data+Datable.swift
[18/33] Compiling Datable Data+Stringable.swift
[19/33] Compiling Datable Datable.swift
[20/33] Compiling Datable DatableConfig.swift
[21/33] Compiling Datable Double+MaybeDatable.swift
[22/33] Compiling Datable Data+ExpressibleByStringLiteral.swift
[23/33] Compiling Datable Data+Floatable.swift
[24/33] Compiling Datable Data+MaybeIntable.swift
[25/33] Compiling Datable Data+MaybeNetworkIntable.swift
[26/33] Compiling Datable Int+MaybeDatable.swift
[27/33] Compiling Datable Int+Stringable.swift
[28/33] Compiling Datable Intable.swift
[29/33] Compiling Datable MaybeDatable.swift
[30/33] Compiling Datable StringableArray+CSVable.swift
[31/33] Compiling Datable UInt+Datable.swift
[32/33] Compiling Datable UInt+MaybeNetworkDatable.swift
[33/33] Compiling Datable UInt+Stringable.swift
[36/43] Compiling RedShot RedisSubscribe.swift
[37/43] Compiling RedShot RedisType.swift
[38/43] Compiling RedShot ResponseParser.swift
/host/spi-builder-workspace/Sources/RedShot/ResponseParser.swift:74:20: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
            return Data(bytes: buffer)
                   ^
/host/spi-builder-workspace/Sources/RedShot/ResponseParser.swift:74:20: note: use 'init(_:)' instead
            return Data(bytes: buffer)
                   ^    ~~~~~~~

[39/43] Emitting module RedShot
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:23:17: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
    var stream: URLSessionStreamTask
                ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:111:47: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    readClosedFor streamTask: URLSessionStreamTask) {
                                              ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:116:48: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    writeClosedFor streamTask: URLSessionStreamTask) {
                                               ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:121:58: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
                                                         ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:126:33: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    streamTask: URLSessionStreamTask,
                                ^
[40/43] Compiling RedShot Constants.swift
[41/43] Compiling RedShot RedisCommands.swift
[42/43] 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
            let bytes = copyData.withUnsafeBytes {
                                 ^
/host/spi-builder-workspace/Sources/RedShot/Redis.swift:160:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            let bytes = data.withUnsafeBytes {
                             ^
/host/spi-builder-workspace/Sources/RedShot/Redis.swift:183:38: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
                    let bytes = data.withUnsafeBytes {
                                     ^
[43/43] Compiling RedShot RedisSocket.swift
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:23:17: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
    var stream: URLSessionStreamTask
                ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:111:47: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    readClosedFor streamTask: URLSessionStreamTask) {
                                              ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:116:48: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    writeClosedFor streamTask: URLSessionStreamTask) {
                                               ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:121:58: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
                                                         ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:126:33: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    streamTask: URLSessionStreamTask,
                                ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:30:26: error: 'streamTask(withHostName:port:)' is unavailable: URLSessionStreamTask is not available in swift-corelibs-foundation
        stream = session.streamTask(withHostName: hostname, port: port)
                         ^~~~~~~~~~
FoundationNetworking.URLSession:33:15: note: 'streamTask(withHostName:port:)' has been explicitly marked unavailable here
    open func streamTask(withHostName hostname: String, port: Int) -> URLSessionStreamTask
              ^
/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
        stream.readData(ofMinLength: 1, maxLength: maxLength, timeout: timeout) {
               ^~~~~~~~
FoundationNetworking.URLSessionStreamTask:4:15: note: 'readData(ofMinLength:maxLength:timeout:completionHandler:)' has been explicitly marked unavailable here
    open func readData(ofMinLength minBytes: Int, maxLength maxBytes: Int, timeout: TimeInterval, completionHandler: @escaping (Data?, Bool, Error?) -> Void)
              ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:84:16: error: 'write(_:timeout:completionHandler:)' is unavailable: URLSessionStreamTask is not available in swift-corelibs-foundation
        stream.write(data, timeout: 0, completionHandler: {
               ^~~~~
FoundationNetworking.URLSessionStreamTask:6:15: note: 'write(_:timeout:completionHandler:)' has been explicitly marked unavailable here
    open func write(_ data: Data, timeout: TimeInterval, completionHandler: @escaping (Error?) -> Void)
              ^
[0/1] Planning build
Building for debugging...
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1704392150, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1704392150, nanoseconds: 333431000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/RedShot.build/master.priors'
[1/8] Compiling RedShot Constants.swift
[2/8] Emitting module RedShot
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:23:17: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
    var stream: URLSessionStreamTask
                ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:111:47: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    readClosedFor streamTask: URLSessionStreamTask) {
                                              ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:116:48: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    writeClosedFor streamTask: URLSessionStreamTask) {
                                               ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:121:58: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
                                                         ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:126:33: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    streamTask: URLSessionStreamTask,
                                ^
[3/8] Compiling RedShot RedisType.swift
[4/8] Compiling RedShot RedisSubscribe.swift
[5/8] Compiling RedShot ResponseParser.swift
/host/spi-builder-workspace/Sources/RedShot/ResponseParser.swift:74:20: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
            return Data(bytes: buffer)
                   ^
/host/spi-builder-workspace/Sources/RedShot/ResponseParser.swift:74:20: note: use 'init(_:)' instead
            return Data(bytes: buffer)
                   ^    ~~~~~~~

[6/8] Compiling RedShot RedisCommands.swift
[7/8] 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
            let bytes = copyData.withUnsafeBytes {
                                 ^
/host/spi-builder-workspace/Sources/RedShot/Redis.swift:160:30: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
            let bytes = data.withUnsafeBytes {
                             ^
/host/spi-builder-workspace/Sources/RedShot/Redis.swift:183:38: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
                    let bytes = data.withUnsafeBytes {
                                     ^
[8/8] Compiling RedShot RedisSocket.swift
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:23:17: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
    var stream: URLSessionStreamTask
                ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:111:47: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    readClosedFor streamTask: URLSessionStreamTask) {
                                              ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:116:48: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    writeClosedFor streamTask: URLSessionStreamTask) {
                                               ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:121:58: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
                                                         ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:126:33: warning: 'URLSessionStreamTask' is deprecated: URLSessionStreamTask is not available in swift-corelibs-foundation
                    streamTask: URLSessionStreamTask,
                                ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:30:26: error: 'streamTask(withHostName:port:)' is unavailable: URLSessionStreamTask is not available in swift-corelibs-foundation
        stream = session.streamTask(withHostName: hostname, port: port)
                         ^~~~~~~~~~
FoundationNetworking.URLSession:33:15: note: 'streamTask(withHostName:port:)' has been explicitly marked unavailable here
    open func streamTask(withHostName hostname: String, port: Int) -> URLSessionStreamTask
              ^
/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
        stream.readData(ofMinLength: 1, maxLength: maxLength, timeout: timeout) {
               ^~~~~~~~
FoundationNetworking.URLSessionStreamTask:4:15: note: 'readData(ofMinLength:maxLength:timeout:completionHandler:)' has been explicitly marked unavailable here
    open func readData(ofMinLength minBytes: Int, maxLength maxBytes: Int, timeout: TimeInterval, completionHandler: @escaping (Data?, Bool, Error?) -> Void)
              ^
/host/spi-builder-workspace/Sources/RedShot/RedisSocket.swift:84:16: error: 'write(_:timeout:completionHandler:)' is unavailable: URLSessionStreamTask is not available in swift-corelibs-foundation
        stream.write(data, timeout: 0, completionHandler: {
               ^~~~~
FoundationNetworking.URLSessionStreamTask:6:15: note: 'write(_:timeout:completionHandler:)' has been explicitly marked unavailable here
    open func write(_ data: Data, timeout: TimeInterval, completionHandler: @escaping (Error?) -> Void)
              ^
BUILD FAILURE 5.8 linux