The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build OpenBytesNavigation, reference 0.1.0 (d97955), with Swift 6.1 for Wasm on 28 May 2025 13:29:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xOpenBytes/OpenBytesNavigation.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/OpenBytesNavigation
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at d979559 Update README.md
Cloned https://github.com/0xOpenBytes/OpenBytesNavigation.git
Revision (git rev-parse @):
d979559d15e1fde365e1814bfc01c62869e4ea2d
SUCCESS checkout https://github.com/0xOpenBytes/OpenBytesNavigation.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xOpenBytes/OpenBytesNavigation.git
https://github.com/0xOpenBytes/OpenBytesNavigation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "disk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xOpenBytes/Disk"
    }
  ],
  "manifest_display_name" : "OpenBytesNavigation",
  "name" : "OpenBytesNavigation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenBytesNavigation",
      "targets" : [
        "OpenBytesNavigation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenBytesNavigationTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenBytesNavigationTests",
      "path" : "Tests/OpenBytesNavigationTests",
      "sources" : [
        "OpenBytesNavigationTests.swift"
      ],
      "target_dependencies" : [
        "OpenBytesNavigation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenBytesNavigation",
      "module_type" : "SwiftTarget",
      "name" : "OpenBytesNavigation",
      "path" : "Sources/OpenBytesNavigation",
      "product_dependencies" : [
        "Disk"
      ],
      "product_memberships" : [
        "OpenBytesNavigation"
      ],
      "sources" : [
        "Interface/ActionSheetPresenting.swift",
        "Interface/AlertPresenting.swift",
        "Interface/BackwardNavigatable.swift",
        "Interface/ForwardNavigatable.swift",
        "Interface/ModalPresenting.swift",
        "Interface/ToastPresenting.swift",
        "Models/ActionSheet.swift",
        "Models/Alert.swift",
        "Models/Modal.swift",
        "Models/Toast.swift",
        "OpenBytesNavigationPath.swift",
        "OpenBytesNavigationView.swift",
        "Toast/ToastModifier.swift",
        "Toast/ToastNotificationView.swift",
        "Toast/ToastStyle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/0xOpenBytes/Disk
[1/29] Fetching disk
Fetched https://github.com/0xOpenBytes/Disk from cache (0.37s)
Computing version for https://github.com/0xOpenBytes/Disk
Computed https://github.com/0xOpenBytes/Disk at 0.1.0 (1.54s)
Fetching https://github.com/0xOpenBytes/o
[1/248] Fetching o
Fetched https://github.com/0xOpenBytes/o from cache (0.41s)
Computing version for https://github.com/0xOpenBytes/o
Computed https://github.com/0xOpenBytes/o at 2.1.1 (2.26s)
Creating working copy for https://github.com/0xOpenBytes/o
Working copy of https://github.com/0xOpenBytes/o resolved at 2.1.1
Creating working copy for https://github.com/0xOpenBytes/Disk
Working copy of https://github.com/0xOpenBytes/Disk resolved at 0.1.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/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 |
[6/15] Compiling o NotificationAuthorization.swift
[7/15] Compiling o NotificationDelegate.swift
[8/16] Compiling o NotificationPost.swift
[9/16] Compiling o NotificationDelete.swift
[10/16] Compiling o NotificationGet.swift
[11/16] Compiling o o.swift
[12/16] Compiling o o+notification.swift
[13/16] Compiling o NotificationUpdate.swift
[14/16] 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 |             )
[15/16] Compiling o o+console.swift
[16/16] Compiling o o+file.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling o NotificationPost.swift
[3/13] Compiling o NotificationDelete.swift
[4/13] Compiling o NotificationGet.swift
[5/13] Compiling o NotificationAuthorization.swift
[6/13] Compiling o NotificationDelegate.swift
[7/13] Compiling o NotificationUpdate.swift
[8/13] Compiling o o+notification.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/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 |
[10/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 |             )
[11/13] Compiling o o.swift
[12/13] Compiling o o+console.swift
[13/13] Compiling o o+file.swift
BUILD FAILURE 6.1 wasm