Build Information
Failed to build Updeto, reference main (d4ee73
), with Swift 6.1 for Android on 28 May 2025 07:35:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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 d4ee733 chore(readme): update badges and usage to match current codebase
Cloned https://github.com/manasv/Updeto.git
Revision (git rev-parse @):
d4ee733a798230fc026524c8606ce75625b0751d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/manasv/Updeto.git at main
========================================
Build
========================================
Selected platform: android
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"
}
],
"products" : [
{
"name" : "Updeto",
"targets" : [
"Updeto"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UpdetoTests",
"module_type" : "SwiftTarget",
"name" : "UpdetoTests",
"path" : "Tests",
"sources" : [
"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",
"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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling Updeto Updeto.swift
/host/spi-builder-workspace/Sources/Updeto/Providers/UpdateProvider.swift:15:28: error: cannot find type 'AnyPublisher' in scope
13 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
14 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
15 | func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
| `- error: cannot find type 'AnyPublisher' in scope
16 |
17 | /// Checks if the app is updated using a completion handler.
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:59:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - appId: The App Store app ID. Defaults to an empty string.
58 | public init(
59 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | decoder: JSONDecoder = JSONDecoder(),
61 | bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:61:35: error: cannot find type 'AnyPublisher' in scope
59 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
60 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
61 | public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
| `- error: cannot find type 'AnyPublisher' in scope
62 | provider.isAppUpdated()
63 | }
[4/8] Compiling Updeto UpdateProvider.swift
/host/spi-builder-workspace/Sources/Updeto/Providers/UpdateProvider.swift:15:28: error: cannot find type 'AnyPublisher' in scope
13 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
14 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
15 | func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
| `- error: cannot find type 'AnyPublisher' in scope
16 |
17 | /// Checks if the app is updated using a completion handler.
[5/8] Compiling Updeto AppStoreProvider.swift
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | /// This provider uses the iTunes Lookup API to check for updates on the App Store.
9 | public final class AppStoreProvider: UpdateProvider {
10 | private let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | private let decoder: JSONDecoder
12 |
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:59:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - appId: The App Store app ID. Defaults to an empty string.
58 | public init(
59 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | decoder: JSONDecoder = JSONDecoder(),
61 | 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:59:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - appId: The App Store app ID. Defaults to an empty string.
58 | public init(
59 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | decoder: JSONDecoder = JSONDecoder(),
61 | bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:73:32: error: cannot find type 'URLRequest' in scope
71 | #endif
72 |
73 | private var lookupRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
74 | let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(bundleId)")!
75 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:85:35: error: cannot find type 'AnyPublisher' in scope
83 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
84 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
85 | public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
| `- error: cannot find type 'AnyPublisher' in scope
86 | urlSession
87 | .dataTaskPublisher(for: lookupRequest)
/host/spi-builder-workspace/Sources/Updeto/Providers/UpdateProvider.swift:15:28: error: cannot find type 'AnyPublisher' in scope
13 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
14 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
15 | func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
| `- error: cannot find type 'AnyPublisher' in scope
16 |
17 | /// Checks if the app is updated using a completion handler.
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:75:23: error: cannot find 'URLRequest' in scope
73 | private var lookupRequest: URLRequest {
74 | let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(bundleId)")!
75 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
76 | request.httpMethod = "POST"
77 | return request
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:106:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
104 | public func isAppUpdated(completion: @escaping (AppStoreLookupResult) -> Void) {
105 | urlSession
106 | .dataTask(with: lookupRequest) { data, _, _ in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
107 | guard let data = data,
108 | let lookup = try? self.decoder.decode(AppStoreLookup.self, from: data)
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:174:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
172 | public func isAppUpdated() async -> AppStoreLookupResult {
173 | do {
174 | let (data, _) = try await urlSession.data(for: lookupRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
175 | let lookup = try decoder.decode(AppStoreLookup.self, from: data)
176 | if !lookup.results.isEmpty, let result = lookup.results.first {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Compiling Updeto AppStoreLookup.swift
[7/8] Emitting module Updeto
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | /// This provider uses the iTunes Lookup API to check for updates on the App Store.
9 | public final class AppStoreProvider: UpdateProvider {
10 | private let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | private let decoder: JSONDecoder
12 |
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:59:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - appId: The App Store app ID. Defaults to an empty string.
58 | public init(
59 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | decoder: JSONDecoder = JSONDecoder(),
61 | 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:59:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - appId: The App Store app ID. Defaults to an empty string.
58 | public init(
59 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | decoder: JSONDecoder = JSONDecoder(),
61 | bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:73:32: error: cannot find type 'URLRequest' in scope
71 | #endif
72 |
73 | private var lookupRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
74 | let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(bundleId)")!
75 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:85:35: error: cannot find type 'AnyPublisher' in scope
83 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
84 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
85 | public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
| `- error: cannot find type 'AnyPublisher' in scope
86 | urlSession
87 | .dataTaskPublisher(for: lookupRequest)
/host/spi-builder-workspace/Sources/Updeto/Providers/UpdateProvider.swift:15:28: error: cannot find type 'AnyPublisher' in scope
13 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
14 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
15 | func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
| `- error: cannot find type 'AnyPublisher' in scope
16 |
17 | /// Checks if the app is updated using a completion handler.
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:61:35: error: cannot find type 'AnyPublisher' in scope
59 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
60 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
61 | public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
| `- error: cannot find type 'AnyPublisher' in scope
62 | provider.isAppUpdated()
63 | }
[8/8] Compiling Updeto AppStoreLookupResult.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling Updeto UpdateProvider.swift
/host/spi-builder-workspace/Sources/Updeto/Providers/UpdateProvider.swift:15:28: error: cannot find type 'AnyPublisher' in scope
13 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
14 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
15 | func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
| `- error: cannot find type 'AnyPublisher' in scope
16 |
17 | /// Checks if the app is updated using a completion handler.
[3/7] Compiling Updeto Updeto.swift
/host/spi-builder-workspace/Sources/Updeto/Providers/UpdateProvider.swift:15:28: error: cannot find type 'AnyPublisher' in scope
13 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
14 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
15 | func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
| `- error: cannot find type 'AnyPublisher' in scope
16 |
17 | /// Checks if the app is updated using a completion handler.
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:59:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - appId: The App Store app ID. Defaults to an empty string.
58 | public init(
59 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | decoder: JSONDecoder = JSONDecoder(),
61 | bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:61:35: error: cannot find type 'AnyPublisher' in scope
59 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
60 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
61 | public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
| `- error: cannot find type 'AnyPublisher' in scope
62 | provider.isAppUpdated()
63 | }
[4/7] Compiling Updeto AppStoreLookupResult.swift
[5/7] Compiling Updeto AppStoreProvider.swift
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | /// This provider uses the iTunes Lookup API to check for updates on the App Store.
9 | public final class AppStoreProvider: UpdateProvider {
10 | private let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | private let decoder: JSONDecoder
12 |
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:59:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - appId: The App Store app ID. Defaults to an empty string.
58 | public init(
59 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | decoder: JSONDecoder = JSONDecoder(),
61 | 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:59:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - appId: The App Store app ID. Defaults to an empty string.
58 | public init(
59 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | decoder: JSONDecoder = JSONDecoder(),
61 | bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:73:32: error: cannot find type 'URLRequest' in scope
71 | #endif
72 |
73 | private var lookupRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
74 | let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(bundleId)")!
75 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:85:35: error: cannot find type 'AnyPublisher' in scope
83 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
84 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
85 | public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
| `- error: cannot find type 'AnyPublisher' in scope
86 | urlSession
87 | .dataTaskPublisher(for: lookupRequest)
/host/spi-builder-workspace/Sources/Updeto/Providers/UpdateProvider.swift:15:28: error: cannot find type 'AnyPublisher' in scope
13 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
14 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
15 | func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
| `- error: cannot find type 'AnyPublisher' in scope
16 |
17 | /// Checks if the app is updated using a completion handler.
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:75:23: error: cannot find 'URLRequest' in scope
73 | private var lookupRequest: URLRequest {
74 | let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(bundleId)")!
75 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
76 | request.httpMethod = "POST"
77 | return request
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:106:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
104 | public func isAppUpdated(completion: @escaping (AppStoreLookupResult) -> Void) {
105 | urlSession
106 | .dataTask(with: lookupRequest) { data, _, _ in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
107 | guard let data = data,
108 | let lookup = try? self.decoder.decode(AppStoreLookup.self, from: data)
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:174:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
172 | public func isAppUpdated() async -> AppStoreLookupResult {
173 | do {
174 | let (data, _) = try await urlSession.data(for: lookupRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
175 | let lookup = try decoder.decode(AppStoreLookup.self, from: data)
176 | if !lookup.results.isEmpty, let result = lookup.results.first {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module Updeto
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:10:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | /// This provider uses the iTunes Lookup API to check for updates on the App Store.
9 | public final class AppStoreProvider: UpdateProvider {
10 | private let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | private let decoder: JSONDecoder
12 |
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:59:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | /// - appId: The App Store app ID. Defaults to an empty string.
58 | public init(
59 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | decoder: JSONDecoder = JSONDecoder(),
61 | 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:59:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
57 | /// - appId: The App Store app ID. Defaults to an empty string.
58 | public init(
59 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 | decoder: JSONDecoder = JSONDecoder(),
61 | bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:73:32: error: cannot find type 'URLRequest' in scope
71 | #endif
72 |
73 | private var lookupRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
74 | let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(bundleId)")!
75 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:85:35: error: cannot find type 'AnyPublisher' in scope
83 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
84 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
85 | public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
| `- error: cannot find type 'AnyPublisher' in scope
86 | urlSession
87 | .dataTaskPublisher(for: lookupRequest)
/host/spi-builder-workspace/Sources/Updeto/Providers/UpdateProvider.swift:15:28: error: cannot find type 'AnyPublisher' in scope
13 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
14 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
15 | func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
| `- error: cannot find type 'AnyPublisher' in scope
16 |
17 | /// Checks if the app is updated using a completion handler.
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:61:35: error: cannot find type 'AnyPublisher' in scope
59 | /// - Note: Available on macOS 12.0+, iOS 15.0+, tvOS 15.0+.
60 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, *)
61 | public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
| `- error: cannot find type 'AnyPublisher' in scope
62 | provider.isAppUpdated()
63 | }
[7/7] Compiling Updeto AppStoreLookup.swift
BUILD FAILURE 6.1 android