The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CoinGecko-Swift, reference main (38a466), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 23:21:51 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/crewshin/CoinGecko-Swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/11] Compiling CoinGecko_Swift PingResponse.swift
[4/11] Compiling CoinGecko_Swift NetworkRequestType.swift
[5/11] Compiling CoinGecko_Swift String+.swift
[6/11] Compiling CoinGecko_Swift CoinGecko.swift
[7/11] Compiling CoinGecko_Swift Networking.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoinGecko-Swift/Networking.swift:36:57: warning: capture of non-sendable type 'T.Type' in an isolated closure
34 |                   error == nil,
35 |                   let response = response,
36 |                   let objectOutput = try? JSONDecoder().decode(T.self, from: data)
   |                                                         `- warning: capture of non-sendable type 'T.Type' in an isolated closure
37 |             else {
38 |                 completion(.failure(APIError.generic(message: "There was an issue decoding the response.")))
/Users/admin/builder/spi-builder-workspace/Sources/CoinGecko-Swift/Networking.swift:24:102: warning: capture of non-sendable type 'T.Type' in an isolated closure
22 |     }
23 |
24 |     public func codableTask<T: Decodable>(request: URLRequest, decoder: JSONDecoder = JSONDecoder(), completion: @escaping (Result<Response<T>, Error>) -> Void) {
   |                                                                                                      `- warning: capture of non-sendable type 'T.Type' in an isolated closure
25 |
26 |         var tmpRequest = request
[8/11] Compiling CoinGecko_Swift APIErrors.swift
[9/11] Emitting module CoinGecko_Swift
[10/11] Compiling CoinGecko_Swift JSON+.swift
[11/11] Compiling CoinGecko_Swift API.swift
Build complete! (4.42s)
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.