Build Information
Failed to build Ospuze, reference master (658662
), with Swift 6.0 for Linux on 6 Nov 2024 08:07:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Eisenhuth/Ospuze.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/Ospuze
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6586625 Season 4
Cloned https://github.com/Eisenhuth/Ospuze.git
Revision (git rev-parse @):
658662547323f4d4f5761e88ec6371b462270e9f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Eisenhuth/Ospuze.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Eisenhuth/Ospuze.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/eisenhuth/yasu.git
[1/57] Fetching yasu
Fetched https://github.com/eisenhuth/yasu.git from cache (0.19s)
Computing version for https://github.com/eisenhuth/yasu.git
Computed https://github.com/eisenhuth/yasu.git at 1.0.1 (0.38s)
Creating working copy for https://github.com/eisenhuth/yasu.git
Working copy of https://github.com/eisenhuth/yasu.git resolved at 1.0.1
Building for debugging...
[0/16] Write sources
[2/16] Copying OB.json
[2/16] Copying S2_xbox.json
[4/16] Copying CB2.json
[4/16] Copying S1_crossplay.json
[4/16] Copying S2_steam.json
[4/16] Copying S2_psn.json
[4/16] Copying S3_crossplay.json
[4/16] Copying S2_crossplay.json
[7/16] Copying S1_xbox.json
[11/16] Copying S1_steam.json
[12/16] Copying CB1.json
[12/16] Copying S1_psn.json
[14/16] Copying S3_worldtour.json
[15/16] Write swift-version-24593BA9C3E375BF.txt
[17/19] Emitting module YASU
[18/19] Compiling YASU BundleExtension.swift
[19/19] Compiling YASU LoadData.swift
/host/spi-builder-workspace/.build/checkouts/yasu/Sources/YASU/Data/LoadData.swift:5:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
3 | public func loadData<T: Decodable>(_ url: URL) async -> T? {
4 | do{
5 | let (data, _) = try await URLSession.shared.data(from: url)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
6 | let decoder = JSONDecoder()
7 | let decoded = try decoder.decode(T.self, from: data)
BUILD FAILURE 6.0 linux