The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Updeto, reference 0.1.0 (62f770), with Swift 6.3 for Android on 13 Apr 2026 04:33:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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:         android
Swift version:             6.3
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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.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:80:35: error: value of type '_' expected to be instance of class or class-constrained type
 78 |     #else
 79 |     public init(
 80 |         urlSession: URLSession = .shared,
    |                                   `- error: value of type '_' expected to be instance of class or class-constrained type
 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: value of type '_' expected to be instance of class or class-constrained type
 78 |     #else
 79 |     public init(
 80 |         urlSession: URLSession = .shared,
    |                                   `- error: value of type '_' expected to be instance of class or class-constrained type
 81 |         decoder: JSONDecoder = JSONDecoder(),
 82 |         bundleId: String,
/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:120:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTaskPublisher'
118 |     public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
119 |         urlSession
120 |             .dataTaskPublisher(for: lookupRequest)
    |              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTaskPublisher'
121 |             .map { $0.data }
122 |             .decode(type: AppStoreLookup.self, decoder: decoder)
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:132:34: error: cannot infer contextual base in reference to member 'noResults'
130 |                 return self.compareVersions(result.version, self.installedAppVersion).appstoreLookupResult
131 |             }
132 |             .replaceError(with: .noResults)
    |                                  `- error: cannot infer contextual base in reference to member 'noResults'
133 |             .eraseToAnyPublisher()
134 |     }
/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.3 android