The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CryptoCurrencyKit, reference master (61b725), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 12:09:15 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/iCell/CryptoCurrencyKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iCell/CryptoCurrencyKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 61b725a update podspec
Cloned https://github.com/iCell/CryptoCurrencyKit.git
Revision (git rev-parse @):
61b725a65643ff9668c02e6915982ace109e2716
SUCCESS checkout https://github.com/iCell/CryptoCurrencyKit.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/iCell/CryptoCurrencyKit.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/8] Compiling CryptoCurrencyKit Ticker.swift
[4/8] Compiling CryptoCurrencyKit Graph.swift
[5/8] Emitting module CryptoCurrencyKit
[6/8] Compiling CryptoCurrencyKit Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:31:53: warning: capture of non-sendable type 'T.Type' in an isolated closure
29 |     }
30 |
31 |     static func requestA<T>(urlRequest: URLRequest, response: ((_ r: ResponseA<T>) -> Void)?) {
   |                                                     `- warning: capture of non-sendable type 'T.Type' in an isolated closure
32 |         URLSession.shared.dataTask(with: urlRequest) { (data, _, error) in
33 |             DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:50:53: warning: capture of non-sendable type 'T.Type' in an isolated closure
48 |     }
49 |
50 |     static func requestD<T>(urlRequest: URLRequest, response: ((_ r: ResponseD<T>) -> Void)?) {
   |                                                     `- warning: capture of non-sendable type 'T.Type' in an isolated closure
51 |         URLSession.shared.dataTask(with: urlRequest) { (data, _, error) in
52 |             DispatchQueue.main.async {
[7/8] Compiling CryptoCurrencyKit CryptoCurrencyKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/CryptoCurrencyKit.swift:46:44: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
 44 |                 do {
 45 |                     if let decoded = try JSONSerialization.jsonObject(with: data, options: .allowFragments) as? [String: [[Double]]], let values = decoded[graph.rawValue] {
 46 |                         let lines = values.flatMap { ele -> GraphLine? in
    |                                            |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                            `- note: use 'compactMap(_:)' instead
 47 |                             if ele.count == 2 {
 48 |                                 return GraphLine(value: ele[1], timestamp: ele[0])
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/8] Compiling CryptoCurrencyKit Global.swift
Build complete! (3.33s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CryptoCurrencyKit",
  "name" : "CryptoCurrencyKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CryptoCurrencyKit",
      "targets" : [
        "CryptoCurrencyKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CryptoCurrencyKit",
      "module_type" : "SwiftTarget",
      "name" : "CryptoCurrencyKit",
      "path" : ".",
      "product_memberships" : [
        "CryptoCurrencyKit"
      ],
      "sources" : [
        "Sources/CryptoCurrencyKit.swift",
        "Sources/Global.swift",
        "Sources/Graph.swift",
        "Sources/Request.swift",
        "Sources/Ticker.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.