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 6.0 (beta) for Linux on 15 Sep 2024 22:58:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.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:             6.0
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-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying itemRecipeDict.json
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/37] 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
 89 |
 90 | public extension Ingredient {
 91 |     public var id: UUID { UUID() }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 92 |
 93 |     public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
/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
 91 |     public var id: UUID { UUID() }
 92 |
 93 |     public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
 94 |         return lhs.itemId == rhs.itemId
 95 |     }
[5/41] 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
 89 |
 90 | public extension Ingredient {
 91 |     public var id: UUID { UUID() }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 92 |
 93 |     public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
/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
 91 |     public var id: UUID { UUID() }
 92 |
 93 |     public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
 94 |         return lhs.itemId == rhs.itemId
 95 |     }
[6/41] 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
 89 |
 90 | public extension Ingredient {
 91 |     public var id: UUID { UUID() }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 92 |
 93 |     public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
/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
 91 |     public var id: UUID { UUID() }
 92 |
 93 |     public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
 94 |         return lhs.itemId == rhs.itemId
 95 |     }
[7/41] 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
 89 |
 90 | public extension Ingredient {
 91 |     public var id: UUID { UUID() }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 92 |
 93 |     public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
/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
 91 |     public var id: UUID { UUID() }
 92 |
 93 |     public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
 94 |         return lhs.itemId == rhs.itemId
 95 |     }
[8/41] 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
 89 |
 90 | public extension Ingredient {
 91 |     public var id: UUID { UUID() }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 92 |
 93 |     public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
/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
 91 |     public var id: UUID { UUID() }
 92 |
 93 |     public static func == (lhs: Ingredient, rhs: Ingredient) -> Bool {
    |     `- warning: 'public' modifier is redundant for operator function declared in a public extension
 94 |         return lhs.itemId == rhs.itemId
 95 |     }
[9/41] Compiling xivapi_swift ENpcResident.swift
[10/41] Compiling xivapi_swift Icon.swift
[11/41] Compiling xivapi_swift InstanceContent.swift
[12/41] Compiling xivapi_swift Item.swift
[13/41] Compiling xivapi_swift ItemSearchCategory.swift
[14/41] Compiling xivapi_swift ItemUICategory.swift
[15/41] Compiling xivapi_swift LevelItem.swift
[16/41] Compiling xivapi_swift Map.swift
[17/41] Compiling xivapi_swift NpcYell.swift
[18/41] Compiling xivapi_swift PvPAction.swift
[19/41] Compiling xivapi_swift Status.swift
[20/41] Compiling xivapi_swift Town.swift
[21/41] Compiling xivapi_swift Trait.swift
[22/41] Compiling xivapi_swift TripleTriad.swift
[23/41] Compiling xivapi_swift ClassJob.swift
[24/41] Compiling xivapi_swift ClassJobCategory.swift
[25/41] Compiling xivapi_swift ContentFinderCondition.swift
[26/41] Compiling xivapi_swift ContentFinderConditionTransient.swift
[27/41] Compiling xivapi_swift ContentType.swift
[28/41] Compiling xivapi_swift Action.swift
[29/41] Compiling xivapi_swift AozAction.swift
[30/41] Compiling xivapi_swift AozActionTransient.swift
[31/41] Compiling xivapi_swift BGM.swift
[32/41] Compiling xivapi_swift BaseParam.swift
[33/41] 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'
 3 | public func loadData<T: Decodable>(_ url: URL) async -> T? {
 4 |     do{
 5 |         let (data, _) = try await URLSession.shared.data(from: url)
   |                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |         let decoder = JSONDecoder()
 7 |         let decoded = try decoder.decode(T.self, from: data)
[34/41] 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'
 3 | public func loadData<T: Decodable>(_ url: URL) async -> T? {
 4 |     do{
 5 |         let (data, _) = try await URLSession.shared.data(from: url)
   |                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |         let decoder = JSONDecoder()
 7 |         let decoded = try decoder.decode(T.self, from: data)
[35/41] 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'
 3 | public func loadData<T: Decodable>(_ url: URL) async -> T? {
 4 |     do{
 5 |         let (data, _) = try await URLSession.shared.data(from: url)
   |                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |         let decoder = JSONDecoder()
 7 |         let decoded = try decoder.decode(T.self, from: data)
[36/41] 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'
 3 | public func loadData<T: Decodable>(_ url: URL) async -> T? {
 4 |     do{
 5 |         let (data, _) = try await URLSession.shared.data(from: url)
   |                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |         let decoder = JSONDecoder()
 7 |         let decoded = try decoder.decode(T.self, from: data)
[37/41] 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'
 3 | public func loadData<T: Decodable>(_ url: URL) async -> T? {
 4 |     do{
 5 |         let (data, _) = try await URLSession.shared.data(from: url)
   |                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 6 |         let decoder = JSONDecoder()
 7 |         let decoded = try decoder.decode(T.self, from: data)
[38/41] Compiling xivapi_swift TripleTriadCard.swift
[39/41] Compiling xivapi_swift TripleTriadRule.swift
[40/41] Compiling xivapi_swift xivapi-swift.swift
[41/41] Compiling xivapi_swift resource_bundle_accessor.swift
BUILD FAILURE 6.0 linux