The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Updeto, reference main (27b7b7), with Swift 6.1 for Wasm on 8 Feb 2026 11:29:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/manasv/Updeto.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/manasv/Updeto
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 27b7b72 fix(spi): harden cross-platform compilation for package builds
Cloned https://github.com/manasv/Updeto.git
Revision (git rev-parse @):
27b7b7290f7761a282a519d7b206dbb5c755ef42
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/manasv/Updeto.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/manasv/Updeto.git
https://github.com/manasv/Updeto.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Updeto",
  "name" : "Updeto",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Updeto",
      "targets" : [
        "Updeto"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UpdetoTests",
      "module_type" : "SwiftTarget",
      "name" : "UpdetoTests",
      "path" : "Tests",
      "sources" : [
        "UpdetoLiveIntegrationTests.swift",
        "UpdetoTests.swift"
      ],
      "target_dependencies" : [
        "Updeto"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Updeto",
      "module_type" : "SwiftTarget",
      "name" : "Updeto",
      "path" : "Sources/Updeto",
      "product_memberships" : [
        "Updeto"
      ],
      "sources" : [
        "Models/AppStoreLookup.swift",
        "Models/AppStoreLookupResult.swift",
        "Models/AppStoreUpdateInfo.swift",
        "Models/UpdetoError.swift",
        "Providers/AppStoreProvider.swift",
        "Providers/UpdateProvider.swift",
        "Updeto.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Emitting module Updeto
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 | /// This provider uses the iTunes Lookup API to check for updates on the App Store.
 12 | public final class AppStoreProvider: UpdateProvider {
 13 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |     private let decoder: JSONDecoder
 15 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:74:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |     ///   - appId: The App Store app ID. Defaults to an empty string.
 73 |     public init(
 74 |         urlSession: URLSession = .shared,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 75 |         decoder: JSONDecoder = JSONDecoder(),
 76 |         bundleId: String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:74:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |     ///   - appId: The App Store app ID. Defaults to an empty string.
 73 |     public init(
 74 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 75 |         decoder: JSONDecoder = JSONDecoder(),
 76 |         bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:108:32: error: cannot find type 'URLRequest' in scope
106 |     }
107 |
108 |     private var lookupRequest: URLRequest {
    |                                `- error: cannot find type 'URLRequest' in scope
109 |         var components = URLComponents(string: "https://itunes.apple.com/lookup")
110 |         var queryItems = [URLQueryItem(name: "bundleId", value: bundleId)]
[4/10] Compiling Updeto UpdateProvider.swift
[5/10] Compiling Updeto Updeto.swift
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:74:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |     ///   - appId: The App Store app ID. Defaults to an empty string.
 73 |     public init(
 74 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 75 |         decoder: JSONDecoder = JSONDecoder(),
 76 |         bundleId: String,
[6/10] Compiling Updeto AppStoreProvider.swift
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 | /// This provider uses the iTunes Lookup API to check for updates on the App Store.
 12 | public final class AppStoreProvider: UpdateProvider {
 13 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |     private let decoder: JSONDecoder
 15 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:74:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |     ///   - appId: The App Store app ID. Defaults to an empty string.
 73 |     public init(
 74 |         urlSession: URLSession = .shared,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 75 |         decoder: JSONDecoder = JSONDecoder(),
 76 |         bundleId: String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:74:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |     ///   - appId: The App Store app ID. Defaults to an empty string.
 73 |     public init(
 74 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 75 |         decoder: JSONDecoder = JSONDecoder(),
 76 |         bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:108:32: error: cannot find type 'URLRequest' in scope
106 |     }
107 |
108 |     private var lookupRequest: URLRequest {
    |                                `- error: cannot find type 'URLRequest' in scope
109 |         var components = URLComponents(string: "https://itunes.apple.com/lookup")
110 |         var queryItems = [URLQueryItem(name: "bundleId", value: bundleId)]
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:116:23: error: cannot find 'URLRequest' in scope
114 |         components?.queryItems = queryItems
115 |         let url = components?.url ?? URL(string: "https://itunes.apple.com/lookup")!
116 |         var request = URLRequest(url: url, timeoutInterval: requestTimeout)
    |                       `- error: cannot find 'URLRequest' in scope
117 |         request.httpMethod = "GET"
118 |         return request
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:239:21: error: cannot find 'DispatchQueue' in scope
237 |                         return
238 |                     }
239 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
240 |                         completion(failure)
241 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:246:21: error: cannot find 'DispatchQueue' in scope
244 |
245 |                 guard let http = response as? HTTPURLResponse else {
246 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
247 |                         completion(.failure(.badServerResponse(statusCode: -1)))
248 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:258:21: error: cannot find 'DispatchQueue' in scope
256 |                         return
257 |                     }
258 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
259 |                         completion(.failure(serverError))
260 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:265:21: error: cannot find 'DispatchQueue' in scope
263 |
264 |                 guard let data else {
265 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
266 |                         completion(.failure(.network(URLError(.badServerResponse))))
267 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:273:21: error: cannot find 'DispatchQueue' in scope
271 |                 do {
272 |                     let result = try self.parseLookupInfo(from: data)
273 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
274 |                         completion(.success(result))
275 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:277:21: error: cannot find 'DispatchQueue' in scope
275 |                     }
276 |                 } catch let error as UpdetoError {
277 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
278 |                         completion(.failure(error))
279 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:281:21: error: cannot find 'DispatchQueue' in scope
279 |                     }
280 |                 } catch {
281 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
282 |                         completion(.failure(.decoding))
283 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:232:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
230 |     ) {
231 |         urlSession
232 |             .dataTask(with: lookupRequest) { data, response, error in
    |              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
233 |                 if let urlError = error as? URLError {
234 |                     let failure: Result<AppStoreUpdateInfo, UpdetoError> = .failure(.network(urlError))
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:426:61: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
424 |         while true {
425 |             do {
426 |                 let (data, response) = try await urlSession.data(for: lookupRequest)
    |                                                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
427 |                 guard let http = response as? HTTPURLResponse else {
428 |                     throw UpdetoError.badServerResponse(statusCode: -1)
[7/10] Compiling Updeto AppStoreLookupResult.swift
[8/10] Compiling Updeto AppStoreLookup.swift
[9/10] Compiling Updeto AppStoreUpdateInfo.swift
[10/10] Compiling Updeto UpdetoError.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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/9] Compiling Updeto UpdateProvider.swift
[3/9] Compiling Updeto Updeto.swift
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:74:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |     ///   - appId: The App Store app ID. Defaults to an empty string.
 73 |     public init(
 74 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 75 |         decoder: JSONDecoder = JSONDecoder(),
 76 |         bundleId: String,
[4/9] Compiling Updeto AppStoreProvider.swift
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 | /// This provider uses the iTunes Lookup API to check for updates on the App Store.
 12 | public final class AppStoreProvider: UpdateProvider {
 13 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |     private let decoder: JSONDecoder
 15 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:74:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |     ///   - appId: The App Store app ID. Defaults to an empty string.
 73 |     public init(
 74 |         urlSession: URLSession = .shared,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 75 |         decoder: JSONDecoder = JSONDecoder(),
 76 |         bundleId: String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:74:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |     ///   - appId: The App Store app ID. Defaults to an empty string.
 73 |     public init(
 74 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 75 |         decoder: JSONDecoder = JSONDecoder(),
 76 |         bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:108:32: error: cannot find type 'URLRequest' in scope
106 |     }
107 |
108 |     private var lookupRequest: URLRequest {
    |                                `- error: cannot find type 'URLRequest' in scope
109 |         var components = URLComponents(string: "https://itunes.apple.com/lookup")
110 |         var queryItems = [URLQueryItem(name: "bundleId", value: bundleId)]
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:116:23: error: cannot find 'URLRequest' in scope
114 |         components?.queryItems = queryItems
115 |         let url = components?.url ?? URL(string: "https://itunes.apple.com/lookup")!
116 |         var request = URLRequest(url: url, timeoutInterval: requestTimeout)
    |                       `- error: cannot find 'URLRequest' in scope
117 |         request.httpMethod = "GET"
118 |         return request
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:239:21: error: cannot find 'DispatchQueue' in scope
237 |                         return
238 |                     }
239 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
240 |                         completion(failure)
241 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:246:21: error: cannot find 'DispatchQueue' in scope
244 |
245 |                 guard let http = response as? HTTPURLResponse else {
246 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
247 |                         completion(.failure(.badServerResponse(statusCode: -1)))
248 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:258:21: error: cannot find 'DispatchQueue' in scope
256 |                         return
257 |                     }
258 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
259 |                         completion(.failure(serverError))
260 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:265:21: error: cannot find 'DispatchQueue' in scope
263 |
264 |                 guard let data else {
265 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
266 |                         completion(.failure(.network(URLError(.badServerResponse))))
267 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:273:21: error: cannot find 'DispatchQueue' in scope
271 |                 do {
272 |                     let result = try self.parseLookupInfo(from: data)
273 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
274 |                         completion(.success(result))
275 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:277:21: error: cannot find 'DispatchQueue' in scope
275 |                     }
276 |                 } catch let error as UpdetoError {
277 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
278 |                         completion(.failure(error))
279 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:281:21: error: cannot find 'DispatchQueue' in scope
279 |                     }
280 |                 } catch {
281 |                     DispatchQueue.main.async {
    |                     `- error: cannot find 'DispatchQueue' in scope
282 |                         completion(.failure(.decoding))
283 |                     }
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:232:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
230 |     ) {
231 |         urlSession
232 |             .dataTask(with: lookupRequest) { data, response, error in
    |              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
233 |                 if let urlError = error as? URLError {
234 |                     let failure: Result<AppStoreUpdateInfo, UpdetoError> = .failure(.network(urlError))
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:426:61: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
424 |         while true {
425 |             do {
426 |                 let (data, response) = try await urlSession.data(for: lookupRequest)
    |                                                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
427 |                 guard let http = response as? HTTPURLResponse else {
428 |                     throw UpdetoError.badServerResponse(statusCode: -1)
[5/9] Compiling Updeto AppStoreUpdateInfo.swift
[6/9] Compiling Updeto UpdetoError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Compiling Updeto AppStoreLookup.swift
[8/9] Compiling Updeto AppStoreLookupResult.swift
[9/9] Emitting module Updeto
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 | /// This provider uses the iTunes Lookup API to check for updates on the App Store.
 12 | public final class AppStoreProvider: UpdateProvider {
 13 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |     private let decoder: JSONDecoder
 15 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:74:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 |     ///   - appId: The App Store app ID. Defaults to an empty string.
 73 |     public init(
 74 |         urlSession: URLSession = .shared,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 75 |         decoder: JSONDecoder = JSONDecoder(),
 76 |         bundleId: String,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:74:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 72 |     ///   - appId: The App Store app ID. Defaults to an empty string.
 73 |     public init(
 74 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 75 |         decoder: JSONDecoder = JSONDecoder(),
 76 |         bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:108:32: error: cannot find type 'URLRequest' in scope
106 |     }
107 |
108 |     private var lookupRequest: URLRequest {
    |                                `- error: cannot find type 'URLRequest' in scope
109 |         var components = URLComponents(string: "https://itunes.apple.com/lookup")
110 |         var queryItems = [URLQueryItem(name: "bundleId", value: bundleId)]
BUILD FAILURE 6.1 wasm