The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Updeto, reference main (d4ee73), with Swift 5.10 for Linux on 26 May 2025 00:17: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-5.10-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:             5.10
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-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f16e7907a741759e496a8179f87952791f04c930716d978df82984176b0c37b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling Updeto UpdateProvider.swift
/host/spi-builder-workspace/Sources/Updeto/Providers/UpdateProvider.swift:15:28: error: cannot find type 'AnyPublisher' in scope
    func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
                           ^~~~~~~~~~~~
[4/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.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        urlSession: URLSession = .shared,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:59:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:73:32: error: cannot find type 'URLRequest' in scope
    private var lookupRequest: URLRequest {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:85:35: error: cannot find type 'AnyPublisher' in scope
    public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
                                  ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Updeto/Providers/UpdateProvider.swift:15:28: error: cannot find type 'AnyPublisher' in scope
    func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
                           ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:75:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:106:14: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
            .dataTask(with: lookupRequest) { data, _, _ in
             ^~~~~~~~
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:174:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, _) = try await urlSession.data(for: lookupRequest)
                                      ~~~~~~~~~~ ^~~~
[5/8] Compiling Updeto Updeto.swift
/host/spi-builder-workspace/Sources/Updeto/Providers/UpdateProvider.swift:15:28: error: cannot find type 'AnyPublisher' in scope
    func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
                           ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:59:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:61:35: error: cannot find type 'AnyPublisher' in scope
    public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
                                  ^~~~~~~~~~~~
[6/8] Compiling Updeto AppStoreLookupResult.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Compiling Updeto AppStoreLookup.swift
[8/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.
    private let urlSession: URLSession
                            ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
        urlSession: URLSession = .shared,
                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:59:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        urlSession: URLSession = .shared,
                                 ~^~~~~~
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:73:32: error: cannot find type 'URLRequest' in scope
    private var lookupRequest: URLRequest {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Updeto/Providers/AppStoreProvider.swift:85:35: error: cannot find type 'AnyPublisher' in scope
    public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
                                  ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Updeto/Providers/UpdateProvider.swift:15:28: error: cannot find type 'AnyPublisher' in scope
    func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never>
                           ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Updeto/Updeto.swift:61:35: error: cannot find type 'AnyPublisher' in scope
    public func isAppUpdated() -> AnyPublisher<AppStoreLookupResult, Never> {
                                  ^~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux