Build Information
Failed to build FLet with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xOpenBytes/FLet.git
Reference: 2.0.0
Cloned https://github.com/0xOpenBytes/FLet.git into spi-builder-workspace
SUCCESS checkout https://github.com/0xOpenBytes/FLet.git at 2.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/0xOpenBytes/c
Fetching https://github.com/0xOpenBytes/o
Fetching https://github.com/0xOpenBytes/t
[1/248] Fetching o
[56/485] Fetching o, c
[486/853] Fetching o, c, t
Fetched https://github.com/0xOpenBytes/o (0.31s)
Fetched https://github.com/0xOpenBytes/c (0.31s)
Fetched https://github.com/0xOpenBytes/t (0.31s)
Computing version for https://github.com/0xOpenBytes/o
Computed https://github.com/0xOpenBytes/o at 0.2.1 (0.28s)
Computing version for https://github.com/0xOpenBytes/c
Computed https://github.com/0xOpenBytes/c at 1.0.0 (0.30s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 0.2.0 (0.25s)
Creating working copy for https://github.com/0xOpenBytes/t
Working copy of https://github.com/0xOpenBytes/t resolved at 0.2.0
Creating working copy for https://github.com/0xOpenBytes/c
Working copy of https://github.com/0xOpenBytes/c resolved at 1.0.0
Creating working copy for https://github.com/0xOpenBytes/o
Working copy of https://github.com/0xOpenBytes/o resolved at 0.2.1
Building for debugging...
[1/17] Compiling t t+Structure.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
import Foundation.FoundationErrors
^
[2/17] Compiling o NotificationUpdate.swift
[3/18] Compiling t t.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
import Foundation.FoundationErrors
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/18] Emitting module t
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
import Foundation.FoundationErrors
^
[5/18] Compiling t t+Factories.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
import Foundation.FoundationErrors
^
[6/18] Compiling t t+Logging.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
import Foundation.FoundationErrors
^
[7/18] Compiling t t+Assertion.swift
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
import Foundation.FoundationErrors
^
[8/18] Compiling o o.swift
[9/18] Compiling o NotificationDelete.swift
[10/18] Compiling o NotificationGet.swift
[11/18] Compiling o NotificationAuthorization.swift
[12/18] Compiling o NotificationDelegate.swift
[13/18] Compiling o NotificationPost.swift
error: fatalError
[14/18] Compiling o o+notification.swift
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:22:43: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
successHandler: @escaping (Value, URLResponse) -> Void,
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:29:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
failureHandler: @escaping (URLResponse) -> Void = {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:83:43: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
successHandler: @escaping (Data?, URLResponse?) -> Void,
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:36:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:41:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
URLSession.shared
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:55:40: error: argument type '_' expected to be an instance of a class or class-constrained type
failureHandler(response)
^
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:86:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:92:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
URLSession.shared
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:99:40: error: cannot convert value of type '_' to expected argument type 'Data?'
successHandler(data, response)
^
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:99:46: error: argument type '_' expected to be an instance of a class or class-constrained type
successHandler(data, response)
^
BUILD FAILURE 5.9 linux
Build Machine: Linux 1