Build Information
Failed to build Updeto, reference main (d4ee73
), with Swift 6.0 for Linux on 26 May 2025 00:16:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/manasv/Updeto.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:eb4fa402aea9a5d8f220b50fa960a581858eee7d87d88f234799973af2acd8ee
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/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 | }
[4/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 | }
[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 {
[6/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.
[7/8] Compiling Updeto AppStoreLookup.swift
[8/8] Compiling Updeto AppStoreLookupResult.swift
BUILD FAILURE 6.0 linux