Build Information
Failed to build Auburn with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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: 5.10
Building package at path: $workDir
https://github.com/OperatorFoundation/Auburn.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/OperatorFoundation/Redshot.git
[1/555] Fetching redshot
Fetched https://github.com/OperatorFoundation/Redshot.git from cache (0.29s)
Computing version for https://github.com/OperatorFoundation/Redshot.git
Computed https://github.com/OperatorFoundation/Redshot.git at 0.8.5 (0.42s)
Fetching https://github.com/OperatorFoundation/Datable.git
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable.git from cache (0.22s)
Computing version for https://github.com/OperatorFoundation/Datable.git
Computed https://github.com/OperatorFoundation/Datable.git at 3.1.5 (0.40s)
Creating working copy for https://github.com/OperatorFoundation/Datable.git
Working copy of https://github.com/OperatorFoundation/Datable.git resolved at 3.1.5
Creating working copy for https://github.com/OperatorFoundation/Redshot.git
Working copy of https://github.com/OperatorFoundation/Redshot.git resolved at 0.8.5
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/33] Emitting module Datable
[6/37] Compiling Datable MaybeIntable.swift
[7/37] Compiling Datable MaybeNetworkIntable.swift
[8/37] Compiling Datable NetworkDatable.swift
[9/37] Compiling Datable NetworkIntable.swift
[10/37] Compiling Datable Data+Stringable.swift
[11/37] Compiling Datable Datable.swift
[12/37] Compiling Datable DatableConfig.swift
[13/37] Compiling Datable Double+MaybeDatable.swift
[14/37] Compiling Datable Arrayable.swift
[15/37] Compiling Datable CSVable.swift
[16/37] Compiling Datable Data+Arrayable.swift
[17/37] Compiling Datable Data+Datable.swift
[18/37] Compiling Datable Int+MaybeDatable.swift
[19/37] Compiling Datable Int+Stringable.swift
[20/37] Compiling Datable Intable.swift
[21/37] Compiling Datable MaybeDatable.swift
[22/37] Compiling Datable String+Arrayable.swift
[23/37] Compiling Datable String+Datable.swift
[24/37] Compiling Datable String+Intable.swift
[25/37] Compiling Datable Stringable.swift
[26/37] Compiling Datable Double+Stringable.swift
[27/37] Compiling Datable File.swift
[28/37] Compiling Datable Float+MaybeDatable.swift
[29/37] Compiling Datable Floatable.swift
[30/37] Compiling Datable Data+ExpressibleByStringLiteral.swift
[31/37] Compiling Datable Data+Floatable.swift
[32/37] Compiling Datable Data+MaybeIntable.swift
[33/37] Compiling Datable Data+MaybeNetworkIntable.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 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
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/.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
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, (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
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 ((any Error)?) -> Void)
^
[41/46] Compiling RedShot RedisType.swift
[42/46] Compiling RedShot ResponseParser.swift
[43/46] Compiling RedShot Redis.swift
[44/46] Emitting module RedShot
[45/46] Compiling RedShot Constants.swift
[46/46] Compiling RedShot RedisCommands.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module RedShot
[3/3] 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
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/.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
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, (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
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 ((any Error)?) -> Void)
^
error: fatalError
BUILD FAILURE 5.10 linux