Build Information
Successful build of Coinpaprika, reference master (824311), with Swift 6.1 for macOS (SPM) on 12 Aug 2026 16:52:52 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coinpaprika/coinpaprika-api-swift-client.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/coinpaprika/coinpaprika-api-swift-client
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8243118 Update the stale coin count in the podspec description (#23)
Cloned https://github.com/coinpaprika/coinpaprika-api-swift-client.git
Revision (git rev-parse @):
82431181a136a2df1ffa3f26dfaaa52b1c4ef139
SUCCESS checkout https://github.com/coinpaprika/coinpaprika-api-swift-client.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/coinpaprika/coinpaprika-api-swift-client.git
https://github.com/coinpaprika/coinpaprika-api-swift-client.git
{
"dependencies" : [
],
"manifest_display_name" : "Coinpaprika",
"name" : "Coinpaprika",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Coinpaprika",
"targets" : [
"Coinpaprika"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoinpaprikaNetworking",
"targets" : [
"CoinpaprikaNetworking"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoinpaprikaNetworkingMocks",
"targets" : [
"CoinpaprikaNetworkingMocks"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoinpaprikaTests",
"module_type" : "SwiftTarget",
"name" : "CoinpaprikaTests",
"path" : "Tests",
"sources" : [
"CodableTest.swift",
"QuotesTests.swift",
"RequestTests.swift"
],
"target_dependencies" : [
"Coinpaprika",
"CoinpaprikaNetworkingMocks"
],
"type" : "test"
},
{
"c99name" : "CoinpaprikaNetworkingMocks",
"module_type" : "SwiftTarget",
"name" : "CoinpaprikaNetworkingMocks",
"path" : "Sources/NetworkingMocks",
"product_memberships" : [
"CoinpaprikaNetworkingMocks"
],
"sources" : [
"CodableMock.swift",
"JsonMock.swift"
],
"target_dependencies" : [
"CoinpaprikaNetworking"
],
"type" : "library"
},
{
"c99name" : "CoinpaprikaNetworking",
"module_type" : "SwiftTarget",
"name" : "CoinpaprikaNetworking",
"path" : "Sources/Networking",
"product_memberships" : [
"Coinpaprika",
"CoinpaprikaNetworking",
"CoinpaprikaNetworkingMocks"
],
"sources" : [
"CodableModel.swift",
"CoinpaprikaSession.swift",
"Errors.swift",
"NetworkSession.swift",
"Request.swift",
"Result.swift"
],
"type" : "library"
},
{
"c99name" : "Coinpaprika",
"module_type" : "SwiftTarget",
"name" : "Coinpaprika",
"path" : "Sources/Client",
"product_memberships" : [
"Coinpaprika"
],
"sources" : [
"API.swift",
"Configuration.swift",
"Helpers/QueryRepresentable.swift",
"Models/ChangelogEntry.swift",
"Models/Coin.swift",
"Models/CoinExchange.swift",
"Models/CoinLink.swift",
"Models/CoinMapping.swift",
"Models/CoinMarket.swift",
"Models/Contract.swift",
"Models/Event.swift",
"Models/Exchange.swift",
"Models/Fiat.swift",
"Models/GlobalStats.swift",
"Models/KeyInfo.swift",
"Models/Market.swift",
"Models/News.swift",
"Models/Ohlcv.swift",
"Models/Person.swift",
"Models/PriceConversion.swift",
"Models/QuoteCurrency.swift",
"Models/SearchResults.swift",
"Models/StatusResponse.swift",
"Models/Tag.swift",
"Models/Ticker.swift",
"Models/TickerHistory.swift",
"Models/TopMovers.swift",
"Models/Tweet.swift"
],
"target_dependencies" : [
"CoinpaprikaNetworking"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/11] Compiling CoinpaprikaNetworking NetworkSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/NetworkSession.swift:18:13: warning: capture of 'completionHandler' with non-sendable type '(Data?, URLResponse?, (any Error)?) -> Void' in a '@Sendable' closure
16 | public func loadData(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
17 | let task = dataTask(with: request) { (data, response, error) in
18 | completionHandler(data, response, error)
| |- warning: capture of 'completionHandler' with non-sendable type '(Data?, URLResponse?, (any Error)?) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
19 | }
20 |
[6/11] Compiling CoinpaprikaNetworking CoinpaprikaSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:37:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CoinpaprikaSession' may have shared mutable state; this is an error in the Swift 6 language mode
32 | ///
33 | /// myRequest.perform(session: URLSession.shared) { ... }
34 | public final class CoinpaprikaSession: NetworkSession {
| `- note: class 'CoinpaprikaSession' does not conform to the 'Sendable' protocol
35 |
36 | /// Shared instance used as the default `NetworkSession` by `Request.perform(...)`.
37 | public static let shared = CoinpaprikaSession()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CoinpaprikaSession' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:50:13: warning: capture of 'completionHandler' with non-sendable type '(Data?, URLResponse?, (any Error)?) -> Void' in a '@Sendable' closure
48 | public func loadData(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
49 | let task = session.dataTask(with: request) { data, response, error in
50 | completionHandler(data, response, error)
| |- warning: capture of 'completionHandler' with non-sendable type '(Data?, URLResponse?, (any Error)?) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 | }
52 | task.resume()
[7/11] Emitting module CoinpaprikaNetworking
/Users/admin/builder/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:37:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CoinpaprikaSession' may have shared mutable state; this is an error in the Swift 6 language mode
32 | ///
33 | /// myRequest.perform(session: URLSession.shared) { ... }
34 | public final class CoinpaprikaSession: NetworkSession {
| `- note: class 'CoinpaprikaSession' does not conform to the 'Sendable' protocol
35 |
36 | /// Shared instance used as the default `NetworkSession` by `Request.perform(...)`.
37 | public static let shared = CoinpaprikaSession()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CoinpaprikaSession' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let session: URLSession
[8/11] Compiling CoinpaprikaNetworking Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Request.swift:85:66: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
82 | /// - callback: Completion handler triggered on request success & failure
83 | public func perform(responseQueue: DispatchQueue? = nil, cachePolicy: URLRequest.CachePolicy? = nil, session: NetworkSession = CoinpaprikaSession.shared, _ callback: @escaping (Result<Model, Error>) -> Void) {
84 | let onQueue = { (_ block: @escaping () -> Void) -> Void in
| `- note: parameter 'block' is implicitly non-sendable
85 | (responseQueue ?? DispatchQueue.main).async(execute: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
86 | }
87 |
[9/11] Compiling CoinpaprikaNetworking Result.swift
[10/11] Compiling CoinpaprikaNetworking Errors.swift
[11/11] Compiling CoinpaprikaNetworking CodableModel.swift
[12/41] Compiling CoinpaprikaNetworkingMocks CodableMock.swift
[13/41] Emitting module CoinpaprikaNetworkingMocks
[14/41] Compiling CoinpaprikaNetworkingMocks JsonMock.swift
[15/41] Emitting module Coinpaprika
/Users/admin/builder/spi-builder-workspace/Sources/Client/API.swift:163:27: warning: static property 'symbolSearch' is not concurrency-safe because non-'Sendable' type 'API.SearchModifier' may have shared mutable state; this is an error in the Swift 6 language mode
153 | /// while still being able to pass any future server-side modifier value via
154 | /// `SearchModifier(rawValue:)`.
155 | public struct SearchModifier: Equatable, RawRepresentable {
| `- note: consider making struct 'SearchModifier' conform to the 'Sendable' protocol
156 | public let rawValue: String
157 |
:
161 |
162 | /// Search by symbol only (works for currencies only).
163 | public static let symbolSearch = SearchModifier(rawValue: "symbol_search")
| |- warning: static property 'symbolSearch' is not concurrency-safe because non-'Sendable' type 'API.SearchModifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'symbolSearch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/Client/Configuration.swift:13:23: warning: static property 'baseUrl' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct Configuration {
13 | public static var baseUrl = URL(string: "https://api.coinpaprika.com/v1/")!
| |- warning: static property 'baseUrl' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'baseUrl' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'baseUrl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var userAgent = "Coinpaprika API Client - Swift"
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Client/Configuration.swift:14:23: warning: static property 'userAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public struct Configuration {
13 | public static var baseUrl = URL(string: "https://api.coinpaprika.com/v1/")!
14 | public static var userAgent = "Coinpaprika API Client - Swift"
| |- warning: static property 'userAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'userAgent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'userAgent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// API key used to authenticate requests against api-pro.coinpaprika.com.
/Users/admin/builder/spi-builder-workspace/Sources/Client/Configuration.swift:24:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | /// Configuration.apiKey = "your-api-key"
23 | /// Configuration.baseUrl = URL(string: "https://api-pro.coinpaprika.com/v1/")!
24 | public static var apiKey: String?
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[16/43] Compiling Coinpaprika Market.swift
[17/43] Compiling Coinpaprika News.swift
[18/43] Compiling Coinpaprika Ohlcv.swift
[19/43] Compiling Coinpaprika Ticker.swift
[20/43] Compiling Coinpaprika TickerHistory.swift
[21/43] Compiling Coinpaprika Person.swift
[22/43] Compiling Coinpaprika PriceConversion.swift
[23/43] Compiling Coinpaprika QuoteCurrency.swift
[24/43] Compiling Coinpaprika API.swift
/Users/admin/builder/spi-builder-workspace/Sources/Client/API.swift:163:27: warning: static property 'symbolSearch' is not concurrency-safe because non-'Sendable' type 'API.SearchModifier' may have shared mutable state; this is an error in the Swift 6 language mode
153 | /// while still being able to pass any future server-side modifier value via
154 | /// `SearchModifier(rawValue:)`.
155 | public struct SearchModifier: Equatable, RawRepresentable {
| `- note: consider making struct 'SearchModifier' conform to the 'Sendable' protocol
156 | public let rawValue: String
157 |
:
161 |
162 | /// Search by symbol only (works for currencies only).
163 | public static let symbolSearch = SearchModifier(rawValue: "symbol_search")
| |- warning: static property 'symbolSearch' is not concurrency-safe because non-'Sendable' type 'API.SearchModifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'symbolSearch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/Client/Configuration.swift:13:23: warning: static property 'baseUrl' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct Configuration {
13 | public static var baseUrl = URL(string: "https://api.coinpaprika.com/v1/")!
| |- warning: static property 'baseUrl' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'baseUrl' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'baseUrl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var userAgent = "Coinpaprika API Client - Swift"
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Client/Configuration.swift:14:23: warning: static property 'userAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public struct Configuration {
13 | public static var baseUrl = URL(string: "https://api.coinpaprika.com/v1/")!
14 | public static var userAgent = "Coinpaprika API Client - Swift"
| |- warning: static property 'userAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'userAgent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'userAgent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// API key used to authenticate requests against api-pro.coinpaprika.com.
/Users/admin/builder/spi-builder-workspace/Sources/Client/Configuration.swift:24:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | /// Configuration.apiKey = "your-api-key"
23 | /// Configuration.baseUrl = URL(string: "https://api-pro.coinpaprika.com/v1/")!
24 | public static var apiKey: String?
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[25/43] Compiling Coinpaprika Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Client/API.swift:163:27: warning: static property 'symbolSearch' is not concurrency-safe because non-'Sendable' type 'API.SearchModifier' may have shared mutable state; this is an error in the Swift 6 language mode
153 | /// while still being able to pass any future server-side modifier value via
154 | /// `SearchModifier(rawValue:)`.
155 | public struct SearchModifier: Equatable, RawRepresentable {
| `- note: consider making struct 'SearchModifier' conform to the 'Sendable' protocol
156 | public let rawValue: String
157 |
:
161 |
162 | /// Search by symbol only (works for currencies only).
163 | public static let symbolSearch = SearchModifier(rawValue: "symbol_search")
| |- warning: static property 'symbolSearch' is not concurrency-safe because non-'Sendable' type 'API.SearchModifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'symbolSearch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/Client/Configuration.swift:13:23: warning: static property 'baseUrl' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct Configuration {
13 | public static var baseUrl = URL(string: "https://api.coinpaprika.com/v1/")!
| |- warning: static property 'baseUrl' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'baseUrl' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'baseUrl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var userAgent = "Coinpaprika API Client - Swift"
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Client/Configuration.swift:14:23: warning: static property 'userAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public struct Configuration {
13 | public static var baseUrl = URL(string: "https://api.coinpaprika.com/v1/")!
14 | public static var userAgent = "Coinpaprika API Client - Swift"
| |- warning: static property 'userAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'userAgent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'userAgent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// API key used to authenticate requests against api-pro.coinpaprika.com.
/Users/admin/builder/spi-builder-workspace/Sources/Client/Configuration.swift:24:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | /// Configuration.apiKey = "your-api-key"
23 | /// Configuration.baseUrl = URL(string: "https://api-pro.coinpaprika.com/v1/")!
24 | public static var apiKey: String?
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[26/43] Compiling Coinpaprika QueryRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Client/API.swift:163:27: warning: static property 'symbolSearch' is not concurrency-safe because non-'Sendable' type 'API.SearchModifier' may have shared mutable state; this is an error in the Swift 6 language mode
153 | /// while still being able to pass any future server-side modifier value via
154 | /// `SearchModifier(rawValue:)`.
155 | public struct SearchModifier: Equatable, RawRepresentable {
| `- note: consider making struct 'SearchModifier' conform to the 'Sendable' protocol
156 | public let rawValue: String
157 |
:
161 |
162 | /// Search by symbol only (works for currencies only).
163 | public static let symbolSearch = SearchModifier(rawValue: "symbol_search")
| |- warning: static property 'symbolSearch' is not concurrency-safe because non-'Sendable' type 'API.SearchModifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'symbolSearch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | }
165 |
/Users/admin/builder/spi-builder-workspace/Sources/Client/Configuration.swift:13:23: warning: static property 'baseUrl' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct Configuration {
13 | public static var baseUrl = URL(string: "https://api.coinpaprika.com/v1/")!
| |- warning: static property 'baseUrl' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'baseUrl' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'baseUrl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var userAgent = "Coinpaprika API Client - Swift"
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Client/Configuration.swift:14:23: warning: static property 'userAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public struct Configuration {
13 | public static var baseUrl = URL(string: "https://api.coinpaprika.com/v1/")!
14 | public static var userAgent = "Coinpaprika API Client - Swift"
| |- warning: static property 'userAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'userAgent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'userAgent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// API key used to authenticate requests against api-pro.coinpaprika.com.
/Users/admin/builder/spi-builder-workspace/Sources/Client/Configuration.swift:24:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | /// Configuration.apiKey = "your-api-key"
23 | /// Configuration.baseUrl = URL(string: "https://api-pro.coinpaprika.com/v1/")!
24 | public static var apiKey: String?
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[27/43] Compiling Coinpaprika Contract.swift
[28/43] Compiling Coinpaprika Event.swift
[29/43] Compiling Coinpaprika Exchange.swift
[30/43] Compiling Coinpaprika Fiat.swift
[31/43] Compiling Coinpaprika GlobalStats.swift
[32/43] Compiling Coinpaprika KeyInfo.swift
[33/43] Compiling Coinpaprika CoinLink.swift
[34/43] Compiling Coinpaprika CoinMapping.swift
[35/43] Compiling Coinpaprika CoinMarket.swift
[36/43] Compiling Coinpaprika SearchResults.swift
[37/43] Compiling Coinpaprika StatusResponse.swift
[38/43] Compiling Coinpaprika Tag.swift
[39/43] Compiling Coinpaprika ChangelogEntry.swift
[40/43] Compiling Coinpaprika Coin.swift
[41/43] Compiling Coinpaprika CoinExchange.swift
[42/43] Compiling Coinpaprika TopMovers.swift
[43/43] Compiling Coinpaprika Tweet.swift
Build complete! (6.49s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Coinpaprika",
"name" : "Coinpaprika",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Coinpaprika",
"targets" : [
"Coinpaprika"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoinpaprikaNetworking",
"targets" : [
"CoinpaprikaNetworking"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CoinpaprikaNetworkingMocks",
"targets" : [
"CoinpaprikaNetworkingMocks"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoinpaprikaTests",
"module_type" : "SwiftTarget",
"name" : "CoinpaprikaTests",
"path" : "Tests",
"sources" : [
"CodableTest.swift",
"QuotesTests.swift",
"RequestTests.swift"
],
"target_dependencies" : [
"Coinpaprika",
"CoinpaprikaNetworkingMocks"
],
"type" : "test"
},
{
"c99name" : "CoinpaprikaNetworkingMocks",
"module_type" : "SwiftTarget",
"name" : "CoinpaprikaNetworkingMocks",
"path" : "Sources/NetworkingMocks",
"product_memberships" : [
"CoinpaprikaNetworkingMocks"
],
"sources" : [
"CodableMock.swift",
"JsonMock.swift"
],
"target_dependencies" : [
"CoinpaprikaNetworking"
],
"type" : "library"
},
{
"c99name" : "CoinpaprikaNetworking",
"module_type" : "SwiftTarget",
"name" : "CoinpaprikaNetworking",
"path" : "Sources/Networking",
"product_memberships" : [
"Coinpaprika",
"CoinpaprikaNetworking",
"CoinpaprikaNetworkingMocks"
],
"sources" : [
"CodableModel.swift",
"CoinpaprikaSession.swift",
"Errors.swift",
"NetworkSession.swift",
"Request.swift",
"Result.swift"
],
"type" : "library"
},
{
"c99name" : "Coinpaprika",
"module_type" : "SwiftTarget",
"name" : "Coinpaprika",
"path" : "Sources/Client",
"product_memberships" : [
"Coinpaprika"
],
"sources" : [
"API.swift",
"Configuration.swift",
"Helpers/QueryRepresentable.swift",
"Models/ChangelogEntry.swift",
"Models/Coin.swift",
"Models/CoinExchange.swift",
"Models/CoinLink.swift",
"Models/CoinMapping.swift",
"Models/CoinMarket.swift",
"Models/Contract.swift",
"Models/Event.swift",
"Models/Exchange.swift",
"Models/Fiat.swift",
"Models/GlobalStats.swift",
"Models/KeyInfo.swift",
"Models/Market.swift",
"Models/News.swift",
"Models/Ohlcv.swift",
"Models/Person.swift",
"Models/PriceConversion.swift",
"Models/QuoteCurrency.swift",
"Models/SearchResults.swift",
"Models/StatusResponse.swift",
"Models/Tag.swift",
"Models/Ticker.swift",
"Models/TickerHistory.swift",
"Models/TopMovers.swift",
"Models/Tweet.swift"
],
"target_dependencies" : [
"CoinpaprikaNetworking"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.