The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build universalis-swift, reference v1.4.0 (e6b4b3), with Swift 5.10 for Linux on 24 Sep 2024 16:01:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Eisenhuth/universalis-swift.git
Reference: v1.4.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/Eisenhuth/universalis-swift
 * tag               v1.4.0     -> FETCH_HEAD
HEAD is now at e6b4b35 Update LoadData.swift
Cloned https://github.com/Eisenhuth/universalis-swift.git
Revision (git rev-parse @):
e6b4b35d1d10baf7eb0d273c68f83407129a1932
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Eisenhuth/universalis-swift.git at v1.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Eisenhuth/universalis-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:6c25c99211d1e15148b101a61df2563575f50d0f624cb6ce5a573a0b53fb5dca
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/26] Emitting module universalis_swift
[4/29] Compiling universalis_swift ProblemDetails.swift
[5/29] Compiling universalis_swift RecentlyUpdatedItemsView.swift
[6/29] Compiling universalis_swift SaleView.swift
[7/29] Compiling universalis_swift SourceUploadCountView.swift
[8/29] Compiling universalis_swift TaxRatesView.swift
[9/29] Compiling universalis_swift TradeVolumeView.swift
[10/29] Compiling universalis_swift MateriaView.swift
/host/spi-builder-workspace/Sources/universalis-swift/universalis-api/MinimizedSaleView.swift:26:62: error: value of type 'Date' has no member 'formatted'
        Date(timeIntervalSince1970: TimeInterval(timestamp)).formatted(date: .numeric, time: .shortened)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/universalis-swift/universalis-api/MinimizedSaleView.swift:26:79: error: cannot infer contextual base in reference to member 'numeric'
        Date(timeIntervalSince1970: TimeInterval(timestamp)).formatted(date: .numeric, time: .shortened)
                                                                             ~^~~~~~~
/host/spi-builder-workspace/Sources/universalis-swift/universalis-api/MinimizedSaleView.swift:26:95: error: cannot infer contextual base in reference to member 'shortened'
        Date(timeIntervalSince1970: TimeInterval(timestamp)).formatted(date: .numeric, time: .shortened)
                                                                                             ~^~~~~~~~~
[11/29] Compiling universalis_swift MinimizedSaleView.swift
/host/spi-builder-workspace/Sources/universalis-swift/universalis-api/MinimizedSaleView.swift:26:62: error: value of type 'Date' has no member 'formatted'
        Date(timeIntervalSince1970: TimeInterval(timestamp)).formatted(date: .numeric, time: .shortened)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/universalis-swift/universalis-api/MinimizedSaleView.swift:26:79: error: cannot infer contextual base in reference to member 'numeric'
        Date(timeIntervalSince1970: TimeInterval(timestamp)).formatted(date: .numeric, time: .shortened)
                                                                             ~^~~~~~~
/host/spi-builder-workspace/Sources/universalis-swift/universalis-api/MinimizedSaleView.swift:26:95: error: cannot infer contextual base in reference to member 'shortened'
        Date(timeIntervalSince1970: TimeInterval(timestamp)).formatted(date: .numeric, time: .shortened)
                                                                                             ~^~~~~~~~~
[12/29] Compiling universalis_swift MostRecentlyUpdatedItemsView.swift
/host/spi-builder-workspace/Sources/universalis-swift/universalis-api/MinimizedSaleView.swift:26:62: error: value of type 'Date' has no member 'formatted'
        Date(timeIntervalSince1970: TimeInterval(timestamp)).formatted(date: .numeric, time: .shortened)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/universalis-swift/universalis-api/MinimizedSaleView.swift:26:79: error: cannot infer contextual base in reference to member 'numeric'
        Date(timeIntervalSince1970: TimeInterval(timestamp)).formatted(date: .numeric, time: .shortened)
                                                                             ~^~~~~~~
/host/spi-builder-workspace/Sources/universalis-swift/universalis-api/MinimizedSaleView.swift:26:95: error: cannot infer contextual base in reference to member 'shortened'
        Date(timeIntervalSince1970: TimeInterval(timestamp)).formatted(date: .numeric, time: .shortened)
                                                                                             ~^~~~~~~~~
[13/29] Compiling universalis_swift UploadCountHistoryView.swift
[14/29] Compiling universalis_swift UserListView.swift
[15/29] Compiling universalis_swift World.swift
[16/29] Compiling universalis_swift HistoryMultiViewV2.swift
[17/29] Compiling universalis_swift HistoryView.swift
[18/29] Compiling universalis_swift ListingView.swift
[19/29] Compiling universalis_swift ContentView.swift
[20/29] Compiling universalis_swift CurrentlyShownMultiViewV2.swift
[21/29] Compiling universalis_swift CurrentlyShownView.swift
[22/29] Compiling universalis_swift DataCenter.swift
[23/29] Compiling universalis_swift ConvertDict.swift
/host/spi-builder-workspace/Sources/universalis-swift/LoadData.swift:14:60: error: value of type 'URLSession' has no member 'data'
        let (data, response) = try await URLSession.shared.data(from: url)
                                         ~~~~~~~~~~~~~~~~~ ^~~~
[24/29] Compiling universalis_swift Endpoint.swift
/host/spi-builder-workspace/Sources/universalis-swift/LoadData.swift:14:60: error: value of type 'URLSession' has no member 'data'
        let (data, response) = try await URLSession.shared.data(from: url)
                                         ~~~~~~~~~~~~~~~~~ ^~~~
[25/29] Compiling universalis_swift LoadData.swift
/host/spi-builder-workspace/Sources/universalis-swift/LoadData.swift:14:60: error: value of type 'URLSession' has no member 'data'
        let (data, response) = try await URLSession.shared.data(from: url)
                                         ~~~~~~~~~~~~~~~~~ ^~~~
[26/29] Compiling universalis_swift AggregatedMarketBoardData.swift
/host/spi-builder-workspace/Sources/universalis-swift/LoadData.swift:14:60: error: value of type 'URLSession' has no member 'data'
        let (data, response) = try await URLSession.shared.data(from: url)
                                         ~~~~~~~~~~~~~~~~~ ^~~~
[27/29] Compiling universalis_swift WorldItemRecencyView.swift
[28/29] Compiling universalis_swift WorldUploadCounts.swift
[29/29] Compiling universalis_swift universalis-swift.swift
error: fatalError
BUILD FAILURE 5.10 linux