Build Information
Failed to build universalis-swift, reference master (e6b4b3
), with Swift 5.9 for Linux on 24 Sep 2024 03:28:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path: $PWD
https://github.com/Eisenhuth/universalis-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:66706f89ac15d55dcb11e8d3274e2fe11925b5da93d240b09d5a1eb775db6cc2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/24] Emitting module universalis_swift
[2/27] Compiling universalis_swift ProblemDetails.swift
[3/27] Compiling universalis_swift RecentlyUpdatedItemsView.swift
[4/27] Compiling universalis_swift SaleView.swift
[5/27] Compiling universalis_swift ContentView.swift
[6/27] Compiling universalis_swift CurrentlyShownMultiViewV2.swift
[7/27] Compiling universalis_swift CurrentlyShownView.swift
[8/27] Compiling universalis_swift DataCenter.swift
[9/27] Compiling universalis_swift WorldItemRecencyView.swift
[10/27] Compiling universalis_swift WorldUploadCounts.swift
[11/27] Compiling universalis_swift universalis-swift.swift
[12/27] 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)
~~~~~~~~~~~~~~~~~ ^~~~
[13/27] 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)
~~~~~~~~~~~~~~~~~ ^~~~
[14/27] 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)
~~~~~~~~~~~~~~~~~ ^~~~
[15/27] 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)
~~~~~~~~~~~~~~~~~ ^~~~
[16/27] Compiling universalis_swift SourceUploadCountView.swift
[17/27] Compiling universalis_swift TaxRatesView.swift
[18/27] Compiling universalis_swift TradeVolumeView.swift
[19/27] Compiling universalis_swift UploadCountHistoryView.swift
[20/27] Compiling universalis_swift UserListView.swift
[21/27] Compiling universalis_swift World.swift
[22/27] 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)
~^~~~~~~~~
[23/27] 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)
~^~~~~~~~~
[24/27] 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)
~^~~~~~~~~
[25/27] Compiling universalis_swift HistoryMultiViewV2.swift
[26/27] Compiling universalis_swift HistoryView.swift
[27/27] Compiling universalis_swift ListingView.swift
error: fatalError
BUILD FAILURE 5.9 linux