Build Information
Failed to build xivapi-swift, reference master (c0e9df
), with Swift 6.0 (beta) for Linux on 15 Sep 2024 22:59:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 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 c0e9df5 adds HP/MP item effects
Cloned https://github.com/Eisenhuth/xivapi-swift.git
Revision (git rev-parse @):
c0e9df5a9434ab00f7b5b98329188ef19d7a08cc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Eisenhuth/xivapi-swift.git at master
========================================
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-4606859-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/39] 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/43] 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)
[6/43] 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)
[7/43] Compiling xivapi_swift Enums.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)
[8/43] 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)
[9/43] 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)
[10/43] Compiling xivapi_swift ItemFood.swift
[11/43] Compiling xivapi_swift ItemSearchCategory.swift
[12/43] Compiling xivapi_swift ItemUICategory.swift
[13/43] Compiling xivapi_swift LevelItem.swift
[14/43] Compiling xivapi_swift Map.swift
[15/43] Compiling xivapi_swift ClassJob.swift
[16/43] Compiling xivapi_swift ClassJobCategory.swift
[17/43] Compiling xivapi_swift ContentFinderCondition.swift
[18/43] Compiling xivapi_swift ContentFinderConditionTransient.swift
[19/43] Compiling xivapi_swift ContentType.swift
[20/43] Compiling xivapi_swift ENpcResident.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:75:57: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
73 | switch itemAction.type {
74 | case 847:
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:75:92: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
73 | switch itemAction.type {
74 | case 847:
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:77:57: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
78 | default:
79 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:77:92: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
78 | default:
79 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:88:59: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
86 | switch itemAction.type {
87 | case 847:
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:88:96: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
86 | switch itemAction.type {
87 | case 847:
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:90:59: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
91 | default:
92 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:90:96: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
91 | default:
92 | return nil
[21/43] Compiling xivapi_swift Icon.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:75:57: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
73 | switch itemAction.type {
74 | case 847:
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:75:92: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
73 | switch itemAction.type {
74 | case 847:
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:77:57: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
78 | default:
79 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:77:92: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
78 | default:
79 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:88:59: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
86 | switch itemAction.type {
87 | case 847:
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:88:96: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
86 | switch itemAction.type {
87 | case 847:
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:90:59: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
91 | default:
92 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:90:96: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
91 | default:
92 | return nil
[22/43] Compiling xivapi_swift InstanceContent.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:75:57: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
73 | switch itemAction.type {
74 | case 847:
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:75:92: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
73 | switch itemAction.type {
74 | case 847:
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:77:57: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
78 | default:
79 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:77:92: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
78 | default:
79 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:88:59: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
86 | switch itemAction.type {
87 | case 847:
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:88:96: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
86 | switch itemAction.type {
87 | case 847:
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:90:59: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
91 | default:
92 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:90:96: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
91 | default:
92 | return nil
[23/43] Compiling xivapi_swift Item.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:75:57: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
73 | switch itemAction.type {
74 | case 847:
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:75:92: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
73 | switch itemAction.type {
74 | case 847:
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:77:57: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
78 | default:
79 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:77:92: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
78 | default:
79 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:88:59: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
86 | switch itemAction.type {
87 | case 847:
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:88:96: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
86 | switch itemAction.type {
87 | case 847:
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:90:59: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
91 | default:
92 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:90:96: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
91 | default:
92 | return nil
[24/43] Compiling xivapi_swift ItemAction.swift
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:75:57: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
73 | switch itemAction.type {
74 | case 847:
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:75:92: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
73 | switch itemAction.type {
74 | case 847:
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:77:57: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
78 | default:
79 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:77:92: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
75 | return "Restores up to \(itemAction.Data[0] ?? 0)% of HP (\(itemAction.Data[1] ?? 0) points max)."
76 | case 848:
77 | return "Restores up to \(itemAction.Data[0] ?? 0)% of MP (\(itemAction.Data[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
78 | default:
79 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:88:59: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
86 | switch itemAction.type {
87 | case 847:
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:88:96: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
86 | switch itemAction.type {
87 | case 847:
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:90:59: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
91 | default:
92 | return nil
/host/spi-builder-workspace/Sources/xivapi-swift/xivapi-api/Item.swift:90:96: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
88 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of HP (\(itemAction.DataHQ[1] ?? 0) points max)."
89 | case 848:
90 | return "Restores up to \(itemAction.DataHQ[0] ?? 0)% of MP (\(itemAction.DataHQ[1] ?? 0) points max)."
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
91 | default:
92 | return nil
[25/43] Compiling xivapi_swift Action.swift
[26/43] Compiling xivapi_swift AozAction.swift
[27/43] Compiling xivapi_swift AozActionTransient.swift
[28/43] Compiling xivapi_swift BGM.swift
[29/43] Compiling xivapi_swift BaseParam.swift
[30/43] Compiling xivapi_swift NpcYell.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 | }
[31/43] Compiling xivapi_swift PvPAction.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 | }
[32/43] 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 | }
[33/43] 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 | }
[34/43] 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 | }
[35/43] Compiling xivapi_swift SecretRecipeBook.swift
[36/43] Compiling xivapi_swift Status.swift
[37/43] Compiling xivapi_swift Town.swift
[38/43] Compiling xivapi_swift Trait.swift
[39/43] Compiling xivapi_swift TripleTriad.swift
[40/43] Compiling xivapi_swift TripleTriadCard.swift
[41/43] Compiling xivapi_swift TripleTriadRule.swift
[42/43] Compiling xivapi_swift xivapi-swift.swift
[43/43] Compiling xivapi_swift resource_bundle_accessor.swift
BUILD FAILURE 6.0 linux