The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

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