Build Information
Failed to build xivapi-swift, reference v0.6.0 (6da6ab
), with Swift 5.9 for Linux on 14 Nov 2024 03:38:45 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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Eisenhuth/xivapi-swift.git
Reference: v0.6.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/xivapi-swift
* tag v0.6.0 -> FETCH_HEAD
HEAD is now at 6da6ab0 7.1, initial schema/version pinning & cleanup (#4)
Cloned https://github.com/Eisenhuth/xivapi-swift.git
Revision (git rev-parse @):
6da6ab068561acb51b571256ca9773c1f407c3fb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Eisenhuth/xivapi-swift.git at v0.6.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/Eisenhuth/xivapi-swift.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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[0/1] Copying itemRecipeDict.json
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/39] Emitting module xivapi_swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-swift.swift:3:28: error: cannot find type 'ObservableObject' in scope
public class xivapiClient: ObservableObject {
^~~~~~~~~~~~~~~~
[3/44] Compiling xivapi_swift TripleTriadCardResident.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-swift.swift:3:28: error: cannot find type 'ObservableObject' in scope
public class xivapiClient: ObservableObject {
^~~~~~~~~~~~~~~~
[4/44] Compiling xivapi_swift TripleTriadCardType.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-swift.swift:3:28: error: cannot find type 'ObservableObject' in scope
public class xivapiClient: ObservableObject {
^~~~~~~~~~~~~~~~
[5/44] Compiling xivapi_swift TripleTriadRule.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-swift.swift:3:28: error: cannot find type 'ObservableObject' in scope
public class xivapiClient: ObservableObject {
^~~~~~~~~~~~~~~~
[6/44] Compiling xivapi_swift xivapi-swift.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-swift.swift:3:28: error: cannot find type 'ObservableObject' in scope
public class xivapiClient: ObservableObject {
^~~~~~~~~~~~~~~~
[7/44] Compiling xivapi_swift resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-swift.swift:3:28: error: cannot find type 'ObservableObject' in scope
public class xivapiClient: ObservableObject {
^~~~~~~~~~~~~~~~
[8/44] Compiling xivapi_swift AozAction.swift
[9/44] Compiling xivapi_swift AozActionTransient.swift
[10/44] Compiling xivapi_swift BGM.swift
[11/44] Compiling xivapi_swift BaseParam.swift
[12/44] Compiling xivapi_swift ClassJob.swift
[13/44] Compiling xivapi_swift ClassJobCategory.swift
[14/44] Compiling xivapi_swift InstanceContent.swift
[15/44] Compiling xivapi_swift Item.swift
[16/44] Compiling xivapi_swift ItemAction.swift
[17/44] Compiling xivapi_swift ItemFood.swift
[18/44] Compiling xivapi_swift ItemSearchCategory.swift
[19/44] Compiling xivapi_swift ItemUICategory.swift
[20/44] Compiling xivapi_swift LevelItem.swift
[21/44] Compiling xivapi_swift Map.swift
[22/44] Compiling xivapi_swift NpcYell.swift
[23/44] Compiling xivapi_swift PvPAction.swift
[24/44] Compiling xivapi_swift Town.swift
[25/44] Compiling xivapi_swift Trait.swift
[26/44] Compiling xivapi_swift TripleTriad.swift
[27/44] Compiling xivapi_swift TripleTriadCard.swift
[28/44] Compiling xivapi_swift TripleTriadCardRarity.swift
[29/44] Compiling xivapi_swift ContentFinderCondition.swift
[30/44] Compiling xivapi_swift ContentFinderConditionTransient.swift
[31/44] Compiling xivapi_swift ContentType.swift
[32/44] Compiling xivapi_swift ENpcResident.swift
[33/44] Compiling xivapi_swift Icon.swift
[34/44] Compiling xivapi_swift Quest.swift
[35/44] Compiling xivapi_swift Recipe.swift
[36/44] Compiling xivapi_swift SearchResult.swift
[37/44] Compiling xivapi_swift SecretRecipeBook.swift
[38/44] Compiling xivapi_swift Status.swift
[39/44] Compiling xivapi_swift BundleExtension.swift
/host/spi-builder-workspace/Sources/xivapi-swift/LoadData.swift:8:53: error: value of type 'URLSession' has no member 'data'
let (data, _) = try await URLSession.shared.data(from: url)
~~~~~~~~~~~~~~~~~ ^~~~
[40/44] Compiling xivapi_swift Endpoint.swift
/host/spi-builder-workspace/Sources/xivapi-swift/LoadData.swift:8:53: error: value of type 'URLSession' has no member 'data'
let (data, _) = try await URLSession.shared.data(from: url)
~~~~~~~~~~~~~~~~~ ^~~~
[41/44] Compiling xivapi_swift Enums.swift
/host/spi-builder-workspace/Sources/xivapi-swift/LoadData.swift:8:53: error: value of type 'URLSession' has no member 'data'
let (data, _) = try await URLSession.shared.data(from: url)
~~~~~~~~~~~~~~~~~ ^~~~
[42/44] Compiling xivapi_swift LoadData.swift
/host/spi-builder-workspace/Sources/xivapi-swift/LoadData.swift:8:53: error: value of type 'URLSession' has no member 'data'
let (data, _) = try await URLSession.shared.data(from: url)
~~~~~~~~~~~~~~~~~ ^~~~
[43/44] Compiling xivapi_swift Sheets.swift
/host/spi-builder-workspace/Sources/xivapi-swift/LoadData.swift:8:53: error: value of type 'URLSession' has no member 'data'
let (data, _) = try await URLSession.shared.data(from: url)
~~~~~~~~~~~~~~~~~ ^~~~
[44/44] Compiling xivapi_swift Action.swift
/host/spi-builder-workspace/Sources/xivapi-swift/LoadData.swift:8:53: error: value of type 'URLSession' has no member 'data'
let (data, _) = try await URLSession.shared.data(from: url)
~~~~~~~~~~~~~~~~~ ^~~~
error: fatalError
BUILD FAILURE 5.9 linux