Build Information
Failed to build xivapi-swift, reference master (6da6ab
), with Swift 5.9 for Linux on 14 Nov 2024 03:36:49 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.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: 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/xivapi-swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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-1":/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
[2/39] Compiling xivapi_swift InstanceContent.swift
[3/39] Compiling xivapi_swift Item.swift
[4/39] Compiling xivapi_swift ItemAction.swift
[5/39] Compiling xivapi_swift ItemFood.swift
[6/39] Compiling xivapi_swift ItemSearchCategory.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/44] Compiling xivapi_swift AozAction.swift
[8/44] Compiling xivapi_swift AozActionTransient.swift
[9/44] Compiling xivapi_swift BGM.swift
[10/44] Compiling xivapi_swift BaseParam.swift
[11/44] Compiling xivapi_swift ClassJob.swift
[12/44] Compiling xivapi_swift ClassJobCategory.swift
[13/44] 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 {
^~~~~~~~~~~~~~~~
[14/44] Compiling xivapi_swift Town.swift
[15/44] Compiling xivapi_swift Trait.swift
[16/44] Compiling xivapi_swift TripleTriad.swift
[17/44] Compiling xivapi_swift TripleTriadCard.swift
[18/44] Compiling xivapi_swift TripleTriadCardRarity.swift
[19/44] Compiling xivapi_swift ContentFinderCondition.swift
[20/44] Compiling xivapi_swift ContentFinderConditionTransient.swift
[21/44] Compiling xivapi_swift ContentType.swift
[22/44] Compiling xivapi_swift ENpcResident.swift
[23/44] Compiling xivapi_swift Icon.swift
[24/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)
~~~~~~~~~~~~~~~~~ ^~~~
[25/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)
~~~~~~~~~~~~~~~~~ ^~~~
[26/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)
~~~~~~~~~~~~~~~~~ ^~~~
[27/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)
~~~~~~~~~~~~~~~~~ ^~~~
[28/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)
~~~~~~~~~~~~~~~~~ ^~~~
[29/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)
~~~~~~~~~~~~~~~~~ ^~~~
[30/44] Compiling xivapi_swift ItemUICategory.swift
[31/44] Compiling xivapi_swift LevelItem.swift
[32/44] Compiling xivapi_swift Map.swift
[33/44] Compiling xivapi_swift NpcYell.swift
[34/44] Compiling xivapi_swift PvPAction.swift
[35/44] Compiling xivapi_swift Quest.swift
[36/44] Compiling xivapi_swift Recipe.swift
[37/44] Compiling xivapi_swift SearchResult.swift
[38/44] Compiling xivapi_swift SecretRecipeBook.swift
[39/44] Compiling xivapi_swift Status.swift
[40/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 {
^~~~~~~~~~~~~~~~
[41/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 {
^~~~~~~~~~~~~~~~
[42/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 {
^~~~~~~~~~~~~~~~
[43/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 {
^~~~~~~~~~~~~~~~
[44/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 {
^~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux