Build Information
Failed to build universalis-swift, reference master (e6b4b3
), with Swift 5.10 for Linux on 24 Sep 2024 03:28:18 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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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] Compiling universalis_swift ProblemDetails.swift
[4/26] Compiling universalis_swift RecentlyUpdatedItemsView.swift
[5/26] Compiling universalis_swift SaleView.swift
[6/29] Compiling universalis_swift WorldItemRecencyView.swift
[7/29] Compiling universalis_swift WorldUploadCounts.swift
[8/29] Compiling universalis_swift universalis-swift.swift
[9/29] Compiling universalis_swift HistoryMultiViewV2.swift
[10/29] Compiling universalis_swift HistoryView.swift
[11/29] Compiling universalis_swift ListingView.swift
[12/29] Emitting module universalis_swift
[13/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)
~^~~~~~~~~
[14/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)
~^~~~~~~~~
[15/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)
~^~~~~~~~~
[16/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)
~~~~~~~~~~~~~~~~~ ^~~~
[17/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)
~~~~~~~~~~~~~~~~~ ^~~~
[18/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)
~~~~~~~~~~~~~~~~~ ^~~~
[19/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)
~~~~~~~~~~~~~~~~~ ^~~~
[20/29] Compiling universalis_swift UploadCountHistoryView.swift
[21/29] Compiling universalis_swift UserListView.swift
[22/29] Compiling universalis_swift World.swift
[23/29] Compiling universalis_swift ContentView.swift
[24/29] Compiling universalis_swift CurrentlyShownMultiViewV2.swift
[25/29] Compiling universalis_swift CurrentlyShownView.swift
[26/29] Compiling universalis_swift DataCenter.swift
[27/29] Compiling universalis_swift SourceUploadCountView.swift
[28/29] Compiling universalis_swift TaxRatesView.swift
[29/29] Compiling universalis_swift TradeVolumeView.swift
error: fatalError
BUILD FAILURE 5.10 linux