Build Information
Failed to build xivapi-swift, reference master (6da6ab
), with Swift 5.10 for Linux on 14 Nov 2024 03:38:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.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.10
Building package at path: $PWD
https://github.com/Eisenhuth/xivapi-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:bbf8567030a4fa53b55a34fff1a818ffa3e86e892fedc5d8aa9c6958f48fdf8a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/3] Write sources
[0/3] Copying itemRecipeDict.json
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/41] 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 {
^~~~~~~~~~~~~~~~
[5/46] Compiling xivapi_swift InstanceContent.swift
[6/46] Compiling xivapi_swift Item.swift
[7/46] Compiling xivapi_swift ItemAction.swift
[8/46] Compiling xivapi_swift ItemFood.swift
[9/46] Compiling xivapi_swift ItemSearchCategory.swift
[10/46] Compiling xivapi_swift ItemUICategory.swift
[11/46] Compiling xivapi_swift LevelItem.swift
[12/46] Compiling xivapi_swift Map.swift
[13/46] Compiling xivapi_swift NpcYell.swift
[14/46] Compiling xivapi_swift PvPAction.swift
[15/46] Compiling xivapi_swift Town.swift
[16/46] Compiling xivapi_swift Trait.swift
[17/46] Compiling xivapi_swift TripleTriad.swift
[18/46] Compiling xivapi_swift TripleTriadCard.swift
[19/46] Compiling xivapi_swift TripleTriadCardRarity.swift
[20/46] Compiling xivapi_swift Quest.swift
[21/46] Compiling xivapi_swift Recipe.swift
[22/46] Compiling xivapi_swift SearchResult.swift
[23/46] Compiling xivapi_swift SecretRecipeBook.swift
[24/46] Compiling xivapi_swift Status.swift
[25/46] Compiling xivapi_swift ContentFinderCondition.swift
[26/46] Compiling xivapi_swift ContentFinderConditionTransient.swift
[27/46] Compiling xivapi_swift ContentType.swift
[28/46] Compiling xivapi_swift ENpcResident.swift
[29/46] Compiling xivapi_swift Icon.swift
[30/46] 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 {
^~~~~~~~~~~~~~~~
[31/46] 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 {
^~~~~~~~~~~~~~~~
[32/46] 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 {
^~~~~~~~~~~~~~~~
[33/46] 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 {
^~~~~~~~~~~~~~~~
[34/46] 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 {
^~~~~~~~~~~~~~~~
[35/46] Compiling xivapi_swift AozAction.swift
[36/46] Compiling xivapi_swift AozActionTransient.swift
[37/46] Compiling xivapi_swift BGM.swift
[38/46] Compiling xivapi_swift BaseParam.swift
[39/46] Compiling xivapi_swift ClassJob.swift
[40/46] Compiling xivapi_swift ClassJobCategory.swift
[41/46] 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)
~~~~~~~~~~~~~~~~~ ^~~~
[42/46] 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)
~~~~~~~~~~~~~~~~~ ^~~~
[43/46] 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)
~~~~~~~~~~~~~~~~~ ^~~~
[44/46] 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)
~~~~~~~~~~~~~~~~~ ^~~~
[45/46] 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)
~~~~~~~~~~~~~~~~~ ^~~~
[46/46] 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.10 linux