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 0.1.0 (c6c40e), with Swift 6.1 for Linux on 27 Apr 2025 10:22:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xOpenBytes/Network.git
Reference: 0.1.0
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
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at c6c40ef init
Cloned https://github.com/0xOpenBytes/Network.git
Revision (git rev-parse @):
c6c40ef1d9198df3b1f35b267f246a7ffa9b0571
SUCCESS checkout https://github.com/0xOpenBytes/Network.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xOpenBytes/Network.git
https://github.com/0xOpenBytes/Network.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "o",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xOpenBytes/o"
    }
  ],
  "manifest_display_name" : "Network",
  "name" : "Network",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Network",
      "targets" : [
        "Network"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkTests",
      "path" : "Tests/NetworkTests",
      "sources" : [
        "NetworkTests.swift"
      ],
      "target_dependencies" : [
        "Network"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Network",
      "module_type" : "SwiftTarget",
      "name" : "Network",
      "path" : "Sources/Network",
      "product_dependencies" : [
        "o"
      ],
      "product_memberships" : [
        "Network"
      ],
      "sources" : [
        "Network.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/0xOpenBytes/o
[1/248] Fetching o
Fetched https://github.com/0xOpenBytes/o from cache (0.17s)
Computing version for https://github.com/0xOpenBytes/o
Computed https://github.com/0xOpenBytes/o at 2.1.1 (0.64s)
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 NotificationPost.swift
[5/15] Compiling o NotificationDelete.swift
[6/15] Compiling o NotificationGet.swift
[7/15] Compiling o o.swift
[8/15] Compiling o NotificationUpdate.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 |             )
[11/15] Compiling o NotificationAuthorization.swift
[12/15] Compiling o NotificationDelegate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/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 |
[14/15] Compiling o o+console.swift
[15/15] Compiling o o+file.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling o NotificationUpdate.swift
[3/12] Compiling o o+notification.swift
[4/13] Compiling o NotificationAuthorization.swift
[5/13] Compiling o NotificationDelegate.swift
[6/13] Compiling o NotificationDelete.swift
[7/13] Compiling o NotificationGet.swift
[8/13] Compiling o NotificationPost.swift
[9/13] 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 |             )
[10/13] Compiling o o+console.swift
[11/13] Compiling o o+file.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/13] 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 |
[13/13] Compiling o o.swift
BUILD FAILURE 6.1 linux