The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Network, reference main (951967), with Swift 6.0 for Linux on 3 Nov 2024 00:41:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xOpenBytes/Network.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/Network
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 951967f Create LICENSE
Cloned https://github.com/0xOpenBytes/Network.git
Revision (git rev-parse @):
951967f2b448955573481e03c45afe956ca914f9
SUCCESS checkout https://github.com/0xOpenBytes/Network.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xOpenBytes/Network.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/0xOpenBytes/o
[1/248] Fetching o
Fetched https://github.com/0xOpenBytes/o from cache (0.18s)
Computing version for https://github.com/0xOpenBytes/o
Computed https://github.com/0xOpenBytes/o at 2.1.1 (0.78s)
Creating working copy for https://github.com/0xOpenBytes/o
Working copy of https://github.com/0xOpenBytes/o resolved at 2.1.1
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 NotificationPost.swift
[7/15] Compiling o NotificationDelete.swift
[8/15] Compiling o NotificationGet.swift
[9/15] Compiling o o+notification.swift
[10/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 |             )
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/15] Compiling o NotificationAuthorization.swift
[12/15] Compiling o NotificationDelegate.swift
[13/15] Compiling o o+console.swift
[14/15] Compiling o o+file.swift
[15/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 |
BUILD FAILURE 6.0 linux