Build Information
Failed to build FLet with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.40.0
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: 6.0
Building package at path: $workDir
https://github.com/0xOpenBytes/FLet.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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
Fetching https://github.com/0xOpenBytes/o
Fetching https://github.com/0xOpenBytes/c
Fetching https://github.com/0xOpenBytes/t
[1/248] Fetching o
[249/485] Fetching o, c
Fetched https://github.com/0xOpenBytes/c from cache (0.25s)
[1/368] Fetching t
Fetched https://github.com/0xOpenBytes/o from cache (1.30s)
Fetched https://github.com/0xOpenBytes/t from cache (1.30s)
Computing version for https://github.com/0xOpenBytes/o
Computed https://github.com/0xOpenBytes/o at 0.2.1 (0.46s)
Computing version for https://github.com/0xOpenBytes/c
Computed https://github.com/0xOpenBytes/c at 1.0.0 (0.45s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 0.2.0 (0.43s)
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/o
Working copy of https://github.com/0xOpenBytes/o resolved at 0.2.1
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...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/22] 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.
20 | "Content-Type": "application/json; charset=utf-8"
21 | ],
22 | successHandler: @escaping (Value, URLResponse) -> Void,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | errorHandler: @escaping (Error) -> Void = {
24 | o.console.out($0.localizedDescription)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
27 | o.console.out("No URL Response")
28 | },
29 | failureHandler: @escaping (URLResponse) -> Void = {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | o.console.out("No Data (\(dump($0)))")
31 | },
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
81 | "Content-Type": "application/json; charset=utf-8"
82 | ],
83 | successHandler: @escaping (Data?, URLResponse?) -> Void,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | errorHandler: @escaping (Error) -> Void = { _ in }
85 | ) throws {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
[7/23] Compiling o NotificationUpdate.swift
[8/23] Compiling o o.swift
[9/23] Compiling o NotificationDelete.swift
[10/23] Compiling o NotificationGet.swift
[11/23] Compiling o NotificationPost.swift
[12/23] Compiling o NotificationAuthorization.swift
[13/23] Compiling o NotificationDelegate.swift
[14/23] 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'
1 | import Foundation.FoundationErrors
| `- error: no such module 'Foundation.FoundationErrors'
2 |
3 | public extension t {
[15/23] 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'
1 | import Foundation.FoundationErrors
| `- error: no such module 'Foundation.FoundationErrors'
2 |
3 | public extension t {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/23] Emitting module t
/host/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:1:8: error: no such module 'Foundation.FoundationErrors'
1 | import Foundation.FoundationErrors
| `- error: no such module 'Foundation.FoundationErrors'
2 |
3 | public extension t {
[17/23] 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'
1 | import Foundation.FoundationErrors
| `- error: no such module 'Foundation.FoundationErrors'
2 |
3 | public extension t {
[18/23] 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'
1 | import Foundation.FoundationErrors
| `- error: no such module 'Foundation.FoundationErrors'
2 |
3 | public extension t {
[19/23] 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'
1 | import Foundation.FoundationErrors
| `- error: no such module 'Foundation.FoundationErrors'
2 |
3 | public extension t {
[20/23] 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.
20 | "Content-Type": "application/json; charset=utf-8"
21 | ],
22 | successHandler: @escaping (Value, URLResponse) -> Void,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | errorHandler: @escaping (Error) -> Void = {
24 | o.console.out($0.localizedDescription)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
27 | o.console.out("No URL Response")
28 | },
29 | failureHandler: @escaping (URLResponse) -> Void = {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | o.console.out("No Data (\(dump($0)))")
31 | },
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
81 | "Content-Type": "application/json; charset=utf-8"
82 | ],
83 | successHandler: @escaping (Data?, URLResponse?) -> Void,
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | errorHandler: @escaping (Error) -> Void = { _ in }
85 | ) throws {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:36:23: error: cannot find 'URLRequest' in scope
34 | }
35 | ) {
36 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
37 |
38 | request.httpMethod = "GET"
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:41:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
39 | request.allHTTPHeaderFields = headerFields
40 |
41 | URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
42 | .dataTask(
43 | with: request,
/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
53 |
54 | guard let data = data else {
55 | failureHandler(response)
| `- error: argument type '_' expected to be an instance of a class or class-constrained type
56 | return
57 | }
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:86:23: error: cannot find 'URLRequest' in scope
84 | errorHandler: @escaping (Error) -> Void = { _ in }
85 | ) throws {
86 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
87 |
88 | request.httpMethod = "POST"
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:92:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
90 | request.allHTTPHeaderFields = headerFields
91 |
92 | URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
93 | .dataTask(
94 | with: request,
BUILD FAILURE 6.0 linux