Build Information
Failed to build Disk with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/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/Disk.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/Disk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7804456 Update Disk.swift
Cloned https://github.com/0xOpenBytes/Disk.git
Revision (git rev-parse @):
7804456d7e02221ac21c755c22c735fc0dd43f81
SUCCESS checkout https://github.com/0xOpenBytes/Disk.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/0xOpenBytes/Disk.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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
[1/248] Fetching o
Fetched https://github.com/0xOpenBytes/o from cache (0.44s)
Computing version for https://github.com/0xOpenBytes/o
Computed https://github.com/0xOpenBytes/o at 2.1.0 (0.51s)
Creating working copy for https://github.com/0xOpenBytes/o
Working copy of https://github.com/0xOpenBytes/o resolved at 2.1.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling o NotificationUpdate.swift
[5/15] Compiling o o.swift
[6/15] Compiling o NotificationAuthorization.swift
[7/15] Compiling o NotificationDelegate.swift
[8/15] Compiling o NotificationPost.swift
[9/15] Compiling o NotificationDelete.swift
[10/15] Compiling o NotificationGet.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/15] Emitting module o
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:15:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | public struct DataResponse {
14 | public let data: Data?
15 | public let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | init(data: Data?, response: URLResponse?) {
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:17:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | public let response: URLResponse?
16 |
17 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | self.data = data
19 | self.response = response
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:22:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | }
21 |
22 | init(_ tuple: (Data?, URLResponse?)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | self.data = tuple.0
24 | self.response = tuple.1
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:44:14: error: cannot find type 'URLRequest' in scope
42 | method : HTTPRequestMethod,
43 | headerFields: [String: String]
44 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
45 | var request = URLRequest(url: url)
46 |
[12/15] Compiling o o+console.swift
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/File/o+file.swift:260:20: error: no exact matches in call to initializer
258 | static func url(filePath: String) -> URL {
259 | if #available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) {
260 | return URL(filePath: filePath)
| `- error: no exact matches in call to initializer
261 | } else {
262 | return URL(fileURLWithPath: filePath)
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
6 | public init(fileURLWithPath path: String, relativeTo base: URL?)
7 | public init(fileURLWithPath path: String, isDirectory: Bool)
8 | public init(fileURLWithPath path: String)
| `- note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
9 | public init?(dataRepresentation: Data, relativeTo url: URL?, isAbsolute: Bool = false)
10 | public init(fileURLWithFileSystemRepresentation path: UnsafePointer<Int8>, isDirectory: Bool, relativeTo baseURL: URL?)
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
1 | extension URL : _ExpressibleByFileReferenceLiteral {
2 | public init(fileReferenceLiteralResourceName name: String)
| `- note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
3 | }
[13/15] Compiling o o+file.swift
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/File/o+file.swift:260:20: error: no exact matches in call to initializer
258 | static func url(filePath: String) -> URL {
259 | if #available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) {
260 | return URL(filePath: filePath)
| `- error: no exact matches in call to initializer
261 | } else {
262 | return URL(fileURLWithPath: filePath)
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
6 | public init(fileURLWithPath path: String, relativeTo base: URL?)
7 | public init(fileURLWithPath path: String, isDirectory: Bool)
8 | public init(fileURLWithPath path: String)
| `- note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
9 | public init?(dataRepresentation: Data, relativeTo url: URL?, isAbsolute: Bool = false)
10 | public init(fileURLWithFileSystemRepresentation path: UnsafePointer<Int8>, isDirectory: Bool, relativeTo baseURL: URL?)
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
1 | extension URL : _ExpressibleByFileReferenceLiteral {
2 | public init(fileReferenceLiteralResourceName name: String)
| `- note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
3 | }
[14/15] Compiling o o+notification.swift
[15/15] Compiling o o+url.swift
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:15:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | public struct DataResponse {
14 | public let data: Data?
15 | public let response: URLResponse?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | init(data: Data?, response: URLResponse?) {
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:17:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | public let response: URLResponse?
16 |
17 | init(data: Data?, response: URLResponse?) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | self.data = data
19 | self.response = response
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:22:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | }
21 |
22 | init(_ tuple: (Data?, URLResponse?)) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | self.data = tuple.0
24 | self.response = tuple.1
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:44:14: error: cannot find type 'URLRequest' in scope
42 | method : HTTPRequestMethod,
43 | headerFields: [String: String]
44 | ) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
45 | var request = URLRequest(url: url)
46 |
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:45:27: error: cannot find 'URLRequest' in scope
43 | headerFields: [String: String]
44 | ) -> URLRequest {
45 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
46 |
47 | request.httpMethod = method.rawValue
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:66:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
64 | ) async throws -> DataResponse {
65 | DataResponse(
66 | try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
67 | for: request(
68 | for: url,
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:69:30: error: cannot infer contextual base in reference to member 'GET'
67 | for: request(
68 | for: url,
69 | method: .GET,
| `- error: cannot infer contextual base in reference to member 'GET'
70 | headerFields: headerFields
71 | )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:84:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
82 | ) async throws -> DataResponse {
83 | DataResponse(
84 | try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
85 | for: request(
86 | for: url,
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:87:30: error: cannot infer contextual base in reference to member 'HEAD'
85 | for: request(
86 | for: url,
87 | method: .HEAD,
| `- error: cannot infer contextual base in reference to member 'HEAD'
88 | headerFields: headerFields
89 | )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:102:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
100 | ) async throws -> DataResponse {
101 | DataResponse(
102 | try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
103 | for: request(
104 | for: url,
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:105:30: error: cannot infer contextual base in reference to member 'CONNECT'
103 | for: request(
104 | for: url,
105 | method: .CONNECT,
| `- error: cannot infer contextual base in reference to member 'CONNECT'
106 | headerFields: headerFields
107 | )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:120:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
118 | ) async throws -> DataResponse {
119 | DataResponse(
120 | try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
121 | for: request(
122 | for: url,
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:123:30: error: cannot infer contextual base in reference to member 'OPTIONS'
121 | for: request(
122 | for: url,
123 | method: .OPTIONS,
| `- error: cannot infer contextual base in reference to member 'OPTIONS'
124 | headerFields: headerFields
125 | )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:138:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
136 | ) async throws -> DataResponse {
137 | DataResponse(
138 | try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
139 | for: request(
140 | for: url,
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:141:30: error: cannot infer contextual base in reference to member 'TRACE'
139 | for: request(
140 | for: url,
141 | method: .TRACE,
| `- error: cannot infer contextual base in reference to member 'TRACE'
142 | headerFields: headerFields
143 | )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:158:22: error: cannot infer contextual base in reference to member 'POST'
156 | var request = request(
157 | for: url,
158 | method: .POST,
| `- error: cannot infer contextual base in reference to member 'POST'
159 | headerFields: headerFields
160 | )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:165:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
163 |
164 | return DataResponse(
165 | try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
166 | for: request
167 | )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:181:22: error: cannot infer contextual base in reference to member 'PUT'
179 | var request = request(
180 | for: url,
181 | method: .PUT,
| `- error: cannot infer contextual base in reference to member 'PUT'
182 | headerFields: headerFields
183 | )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:188:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
186 |
187 | return DataResponse(
188 | try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
189 | for: request
190 | )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:204:22: error: cannot infer contextual base in reference to member 'PATCH'
202 | var request = request(
203 | for: url,
204 | method: .PATCH,
| `- error: cannot infer contextual base in reference to member 'PATCH'
205 | headerFields: headerFields
206 | )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:211:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
209 |
210 | return DataResponse(
211 | try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
212 | for: request
213 | )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:227:22: error: cannot infer contextual base in reference to member 'DELETE'
225 | var request = request(
226 | for: url,
227 | method: .DELETE,
| `- error: cannot infer contextual base in reference to member 'DELETE'
228 | headerFields: headerFields
229 | )
/host/spi-builder-workspace/.build/checkouts/o/Sources/o/URL/o+url.swift:234:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
232 |
233 | return DataResponse(
234 | try await URLSession.shared.data(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
235 | for: request
236 | )
BUILD FAILURE 6.0 linux