Build Information
Failed to build Updeto, reference 0.1.0 (62f770
), with Swift 6.1 for Linux on 27 Apr 2025 01:14:30 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/manasv/Updeto.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/manasv/Updeto
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 62f7707 doc: updates documentation on enum
Cloned https://github.com/manasv/Updeto.git
Revision (git rev-parse @):
62f7707eaf76c353f9f3a423e341b2d9d61bbeff
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/manasv/Updeto.git at 0.1.0
========================================
Build
========================================
Selected platform: linux
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" : "12.0"
}
],
"products" : [
{
"name" : "Updeto",
"targets" : [
"Updeto"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UpdetoTests",
"module_type" : "SwiftTarget",
"name" : "UpdetoTests",
"path" : "Tests/UpdetoTests",
"sources" : [
"UpdetoMock.swift",
"UpdetoTests.swift"
],
"target_dependencies" : [
"Updeto"
],
"type" : "test"
},
{
"c99name" : "Updeto",
"module_type" : "SwiftTarget",
"name" : "Updeto",
"path" : "Sources/Updeto",
"product_memberships" : [
"Updeto"
],
"sources" : [
"Updeto.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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/4] Emitting module Updeto
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:35:28: error: cannot find type 'AnyPublisher' in scope
33 | protocol UpdetoType {
34 | @available(macOS 10.15, iOS 13.0, *)
35 | func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
| `- error: cannot find type 'AnyPublisher' in scope
36 | func isAppUpdated(completion: @escaping (AppStoreLookupResult) -> Void)
37 | var bundleId: String { get }
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:48:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 | // MARK: - Private Properties
47 |
48 | private let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 | private let decoder: JSONDecoder
50 |
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/Updeto.swift:80:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 | #else
79 | public init(
80 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | decoder: JSONDecoder = JSONDecoder(),
82 | 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/Updeto.swift:80:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
78 | #else
79 | public init(
80 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
81 | decoder: JSONDecoder = JSONDecoder(),
82 | bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:98:32: error: cannot find type 'URLRequest' in scope
96 |
97 | /// URLRequest to verify latest App Store version for the Bundle ID
98 | private var lookupRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
99 | let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(bundleId)")!
100 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:118:35: error: cannot find type 'AnyPublisher' in scope
116 | /// - returns: A publisher with `AppStoreLookupResult` with the status of the lookup operation.
117 | @available(macOS 10.15, iOS 13.0, *)
118 | public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
| `- error: cannot find type 'AnyPublisher' in scope
119 | urlSession
120 | .dataTaskPublisher(for: lookupRequest)
[4/4] Compiling Updeto Updeto.swift
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:35:28: error: cannot find type 'AnyPublisher' in scope
33 | protocol UpdetoType {
34 | @available(macOS 10.15, iOS 13.0, *)
35 | func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
| `- error: cannot find type 'AnyPublisher' in scope
36 | func isAppUpdated(completion: @escaping (AppStoreLookupResult) -> Void)
37 | var bundleId: String { get }
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:48:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 | // MARK: - Private Properties
47 |
48 | private let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 | private let decoder: JSONDecoder
50 |
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/Updeto.swift:80:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 | #else
79 | public init(
80 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | decoder: JSONDecoder = JSONDecoder(),
82 | 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/Updeto.swift:80:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
78 | #else
79 | public init(
80 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
81 | decoder: JSONDecoder = JSONDecoder(),
82 | bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:98:32: error: cannot find type 'URLRequest' in scope
96 |
97 | /// URLRequest to verify latest App Store version for the Bundle ID
98 | private var lookupRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
99 | let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(bundleId)")!
100 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:118:35: error: cannot find type 'AnyPublisher' in scope
116 | /// - returns: A publisher with `AppStoreLookupResult` with the status of the lookup operation.
117 | @available(macOS 10.15, iOS 13.0, *)
118 | public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
| `- error: cannot find type 'AnyPublisher' in scope
119 | urlSession
120 | .dataTaskPublisher(for: lookupRequest)
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:100:23: error: cannot find 'URLRequest' in scope
98 | private var lookupRequest: URLRequest {
99 | let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(bundleId)")!
100 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
101 | request.httpMethod = "POST"
102 |
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:141:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
139 | public func isAppUpdated(completion: @escaping (AppStoreLookupResult) -> Void) {
140 | urlSession
141 | .dataTask(with: lookupRequest) { data, _, _ in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
142 | guard let data = data,
143 | let lookup = try? self.decoder.decode(AppStoreLookup.self, from: data)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Updeto
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:35:28: error: cannot find type 'AnyPublisher' in scope
33 | protocol UpdetoType {
34 | @available(macOS 10.15, iOS 13.0, *)
35 | func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
| `- error: cannot find type 'AnyPublisher' in scope
36 | func isAppUpdated(completion: @escaping (AppStoreLookupResult) -> Void)
37 | var bundleId: String { get }
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:48:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 | // MARK: - Private Properties
47 |
48 | private let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 | private let decoder: JSONDecoder
50 |
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/Updeto.swift:80:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 | #else
79 | public init(
80 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | decoder: JSONDecoder = JSONDecoder(),
82 | 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/Updeto.swift:80:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
78 | #else
79 | public init(
80 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
81 | decoder: JSONDecoder = JSONDecoder(),
82 | bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:98:32: error: cannot find type 'URLRequest' in scope
96 |
97 | /// URLRequest to verify latest App Store version for the Bundle ID
98 | private var lookupRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
99 | let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(bundleId)")!
100 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:118:35: error: cannot find type 'AnyPublisher' in scope
116 | /// - returns: A publisher with `AppStoreLookupResult` with the status of the lookup operation.
117 | @available(macOS 10.15, iOS 13.0, *)
118 | public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
| `- error: cannot find type 'AnyPublisher' in scope
119 | urlSession
120 | .dataTaskPublisher(for: lookupRequest)
[3/3] Compiling Updeto Updeto.swift
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:35:28: error: cannot find type 'AnyPublisher' in scope
33 | protocol UpdetoType {
34 | @available(macOS 10.15, iOS 13.0, *)
35 | func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
| `- error: cannot find type 'AnyPublisher' in scope
36 | func isAppUpdated(completion: @escaping (AppStoreLookupResult) -> Void)
37 | var bundleId: String { get }
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:48:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 | // MARK: - Private Properties
47 |
48 | private let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 | private let decoder: JSONDecoder
50 |
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/Updeto.swift:80:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 | #else
79 | public init(
80 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | decoder: JSONDecoder = JSONDecoder(),
82 | 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/Updeto.swift:80:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
78 | #else
79 | public init(
80 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
81 | decoder: JSONDecoder = JSONDecoder(),
82 | bundleId: String,
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:98:32: error: cannot find type 'URLRequest' in scope
96 |
97 | /// URLRequest to verify latest App Store version for the Bundle ID
98 | private var lookupRequest: URLRequest {
| `- error: cannot find type 'URLRequest' in scope
99 | let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(bundleId)")!
100 | var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:118:35: error: cannot find type 'AnyPublisher' in scope
116 | /// - returns: A publisher with `AppStoreLookupResult` with the status of the lookup operation.
117 | @available(macOS 10.15, iOS 13.0, *)
118 | public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
| `- error: cannot find type 'AnyPublisher' in scope
119 | urlSession
120 | .dataTaskPublisher(for: lookupRequest)
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:100:23: error: cannot find 'URLRequest' in scope
98 | private var lookupRequest: URLRequest {
99 | let url = URL(string: "https://itunes.apple.com/lookup?bundleId=\(bundleId)")!
100 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
101 | request.httpMethod = "POST"
102 |
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:141:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
139 | public func isAppUpdated(completion: @escaping (AppStoreLookupResult) -> Void) {
140 | urlSession
141 | .dataTask(with: lookupRequest) { data, _, _ in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
142 | guard let data = data,
143 | let lookup = try? self.decoder.decode(AppStoreLookup.self, from: data)
BUILD FAILURE 6.1 linux