Build Information
Successful build of CoinGecko-Swift with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crewshin/CoinGecko-Swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/crewshin/CoinGecko-Swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 38a466d Cleanup
Cloned https://github.com/crewshin/CoinGecko-Swift.git
Revision (git rev-parse @):
38a466db14b3533dce95f5cfb56a74595805db31
SUCCESS checkout https://github.com/crewshin/CoinGecko-Swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/crewshin/CoinGecko-Swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/11] Compiling CoinGecko_Swift PingResponse.swift
[4/11] Compiling CoinGecko_Swift NetworkRequestType.swift
[5/11] Compiling CoinGecko_Swift Networking.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoinGecko-Swift/Networking.swift:38:17: warning: capture of 'completion' with non-sendable type '(Result<Networking.Response<T>, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | let objectOutput = try? JSONDecoder().decode(T.self, from: data)
37 | else {
38 | completion(.failure(APIError.generic(message: "There was an issue decoding the response.")))
| |- warning: capture of 'completion' with non-sendable type '(Result<Networking.Response<T>, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | return
40 | }
[6/11] Compiling CoinGecko_Swift String+.swift
[7/11] Compiling CoinGecko_Swift JSON+.swift
[8/11] Emitting module CoinGecko_Swift
[9/11] Compiling CoinGecko_Swift CoinGecko.swift
[10/11] Compiling CoinGecko_Swift API.swift
[11/11] Compiling CoinGecko_Swift APIErrors.swift
Build complete! (19.78s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CoinGecko-Swift",
"name" : "CoinGecko-Swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CoinGecko-Swift",
"targets" : [
"CoinGecko-Swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoinGecko_SwiftTests",
"module_type" : "SwiftTarget",
"name" : "CoinGecko-SwiftTests",
"path" : "Tests/CoinGecko-SwiftTests",
"sources" : [
"CoinGecko_SwiftTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"CoinGecko-Swift"
],
"type" : "test"
},
{
"c99name" : "CoinGecko_Swift",
"module_type" : "SwiftTarget",
"name" : "CoinGecko-Swift",
"path" : "Sources/CoinGecko-Swift",
"product_memberships" : [
"CoinGecko-Swift"
],
"sources" : [
"API.swift",
"APIErrors.swift",
"CoinGecko.swift",
"Extensions/JSON+.swift",
"Extensions/String+.swift",
"Models/Responses/PingResponse.swift",
"NetworkRequestType.swift",
"Networking.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.