Build Information
Failed to build FLet with Swift 5.9 for Linux.
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xOpenBytes/FLet.git
Reference: main
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/0xOpenBytes/FLet
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0ca1cd5 Update c to 1.0.0
Cloned https://github.com/0xOpenBytes/FLet.git
Revision (git rev-parse @):
0ca1cd5a70e9f790bd3ef6f99c14e721bbce2386
SUCCESS checkout https://github.com/0xOpenBytes/FLet.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
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.9-latest swift build 2>&1
Fetching https://github.com/0xOpenBytes/o
Fetching https://github.com/0xOpenBytes/c
Fetching https://github.com/0xOpenBytes/t
[1/237] Fetching c
[238/485] Fetching c, o
[477/853] Fetching c, o, t
[343/616] Fetching o, t
Fetched https://github.com/0xOpenBytes/c (0.34s)
Fetched https://github.com/0xOpenBytes/o (0.35s)
[269/368] Fetching t
Fetched https://github.com/0xOpenBytes/t (0.46s)
Computing version for https://github.com/0xOpenBytes/o
Computed https://github.com/0xOpenBytes/o at 0.2.1 (0.57s)
Computing version for https://github.com/0xOpenBytes/c
Computed https://github.com/0xOpenBytes/c at 1.0.0 (0.99s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 0.2.0 (0.36s)
Creating working copy for https://github.com/0xOpenBytes/o
Working copy of https://github.com/0xOpenBytes/o resolved at 0.2.1
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
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/17] 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
^
[2/17] 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
^
[3/17] 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
^
[4/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
^
[5/17] 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
^
[6/17] 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: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/17] Emitting module o
/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
^
[8/17] Compiling o o+notification.swift
[9/17] Compiling o NotificationUpdate.swift
[10/17] Compiling o NotificationPost.swift
[11/17] Compiling o NotificationDelete.swift
[12/17] Compiling o NotificationGet.swift
[13/17] Compiling o NotificationAuthorization.swift
[14/17] Compiling o NotificationDelegate.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)
^
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/6] 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
^
[2/6] 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
^
[3/6] 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
^
[4/6] 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
^
[5/6] 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
^
[6/6] 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: fatalError
BUILD FAILURE 5.9 linux