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.3.0 (4eede8), with Swift 5.9 for Linux on 18 Aug 2024 10:04:54 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.50.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Eisenhuth/xivapi-swift.git
Reference: v0.3.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.3.0     -> FETCH_HEAD
HEAD is now at 4eede83 XIVAPI v3 (#2)
Cloned https://github.com/Eisenhuth/xivapi-swift.git
Revision (git rev-parse @):
4eede8343b09d2cafb750fcb25c3ddb2aa44f058
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Eisenhuth/xivapi-swift.git at v0.3.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-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:2fbbf0786de06d5b5ae93c54da051e64b9ddb960e317c9af2272259f6411b6fe
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/35] Emitting module xivapi_swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Recipe.swift:91:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var id: UUID { UUID() }
    ^~~~~~~

/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Recipe.swift:93:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
    ^~~~~~~

[3/39] Compiling xivapi_swift Action.swift
[4/39] Compiling xivapi_swift AozAction.swift
[5/39] Compiling xivapi_swift AozActionTransient.swift
[6/39] Compiling xivapi_swift BGM.swift
[7/39] Compiling xivapi_swift BaseParam.swift
[8/39] Compiling xivapi_swift BundleExtension.swift
/host/spi-builder-workspace/Sources/xivapi-swift/LoadData.swift:5:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(from: url)
                                  ~~~~~~~~~~ ^~~~~~
[9/39] Compiling xivapi_swift Endpoint.swift
/host/spi-builder-workspace/Sources/xivapi-swift/LoadData.swift:5:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(from: url)
                                  ~~~~~~~~~~ ^~~~~~
[10/39] Compiling xivapi_swift Language.swift
/host/spi-builder-workspace/Sources/xivapi-swift/LoadData.swift:5:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(from: url)
                                  ~~~~~~~~~~ ^~~~~~
[11/39] Compiling xivapi_swift LoadData.swift
/host/spi-builder-workspace/Sources/xivapi-swift/LoadData.swift:5:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(from: url)
                                  ~~~~~~~~~~ ^~~~~~
[12/39] Compiling xivapi_swift Sheets.swift
/host/spi-builder-workspace/Sources/xivapi-swift/LoadData.swift:5:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        let (data, _) = try await URLSession.shared.data(from: url)
                                  ~~~~~~~~~~ ^~~~~~
[13/39] Compiling xivapi_swift ENpcResident.swift
[14/39] Compiling xivapi_swift Icon.swift
[15/39] Compiling xivapi_swift InstanceContent.swift
[16/39] Compiling xivapi_swift Item.swift
[17/39] Compiling xivapi_swift ItemSearchCategory.swift
[18/39] Compiling xivapi_swift ItemUICategory.swift
[19/39] Compiling xivapi_swift LevelItem.swift
[20/39] Compiling xivapi_swift Map.swift
[21/39] Compiling xivapi_swift NpcYell.swift
[22/39] Compiling xivapi_swift PvPAction.swift
[23/39] Compiling xivapi_swift Status.swift
[24/39] Compiling xivapi_swift Town.swift
[25/39] Compiling xivapi_swift Trait.swift
[26/39] Compiling xivapi_swift TripleTriad.swift
[27/39] Compiling xivapi_swift ClassJob.swift
[28/39] Compiling xivapi_swift ClassJobCategory.swift
[29/39] Compiling xivapi_swift ContentFinderCondition.swift
[30/39] Compiling xivapi_swift ContentFinderConditionTransient.swift
[31/39] Compiling xivapi_swift ContentType.swift
[32/39] Compiling xivapi_swift Quest.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Recipe.swift:91:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var id: UUID { UUID() }
    ^~~~~~~

/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Recipe.swift:93:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
    ^~~~~~~

[33/39] Compiling xivapi_swift Recipe.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Recipe.swift:91:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var id: UUID { UUID() }
    ^~~~~~~

/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Recipe.swift:93:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
    ^~~~~~~

[34/39] Compiling xivapi_swift SearchResult.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Recipe.swift:91:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var id: UUID { UUID() }
    ^~~~~~~

/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Recipe.swift:93:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
    ^~~~~~~

[35/39] Compiling xivapi_swift SecretRecipeBook.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Recipe.swift:91:5: warning: 'public' modifier is redundant for property declared in a public extension
    public var id: UUID { UUID() }
    ^~~~~~~

/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Recipe.swift:93:5: warning: 'public' modifier is redundant for operator function declared in a public extension
    public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
    ^~~~~~~

[36/39] Compiling xivapi_swift TripleTriadCard.swift
[37/39] Compiling xivapi_swift TripleTriadRule.swift
[38/39] Compiling xivapi_swift xivapi-swift.swift
[39/39] Compiling xivapi_swift resource_bundle_accessor.swift
error: fatalError
BUILD FAILURE 5.9 linux