This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of CryptoCurrencyKit with Swift 6.0 (beta) for macOS (SPM).

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/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.0
Building package at path:  $workDir
https://github.com/iCell/CryptoCurrencyKit.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/8] Compiling CryptoCurrencyKit Ticker.swift
[4/8] Compiling CryptoCurrencyKit Global.swift
[5/8] Compiling CryptoCurrencyKit Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:37:25: warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseA<T>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 |                     do {
36 |                         let objects = try JSONDecoder().decode([T].self, from: data)
37 |                         response?(ResponseA.success(objects))
   |                         |- warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseA<T>) -> 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'
38 |                     } catch let decodeE {
39 |                         response?(ResponseA.failure(error: decodeE))
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:37:25: warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseA<T>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 |                     do {
36 |                         let objects = try JSONDecoder().decode([T].self, from: data)
37 |                         response?(ResponseA.success(objects))
   |                         |- warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseA<T>) -> 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'
38 |                     } catch let decodeE {
39 |                         response?(ResponseA.failure(error: decodeE))
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:56:25: warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseD<T>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |                     do {
55 |                         let object = try JSONDecoder().decode(T.self, from: data)
56 |                         response?(ResponseD.success(object))
   |                         |- warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseD<T>) -> 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'
57 |                     } catch let decodeE {
58 |                         response?(ResponseD.failure(error: decodeE))
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:56:25: warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseD<T>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |                     do {
55 |                         let object = try JSONDecoder().decode(T.self, from: data)
56 |                         response?(ResponseD.success(object))
   |                         |- warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseD<T>) -> 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'
57 |                     } catch let decodeE {
58 |                         response?(ResponseD.failure(error: decodeE))
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:73:21: warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseRaw) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |             DispatchQueue.main.async {
72 |                 if let data = data {
73 |                     response?(ResponseRaw.success(raw: data))
   |                     |- warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseRaw) -> 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'
74 |                 } else if let error = error {
75 |                     response?(ResponseRaw.failure(error: error))
/Users/admin/builder/spi-builder-workspace/Sources/Request.swift:73:21: warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseRaw) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 |             DispatchQueue.main.async {
72 |                 if let data = data {
73 |                     response?(ResponseRaw.success(raw: data))
   |                     |- warning: capture of 'response' with non-sendable type '((CryptoCurrencyKit.ResponseRaw) -> 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'
74 |                 } else if let error = error {
75 |                     response?(ResponseRaw.failure(error: error))
[6/8] Emitting module CryptoCurrencyKit
[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
 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
    |                                            `- note: use 'compactMap(_:)' instead
 47 |                             if ele.count == 2 {
 48 |                                 return GraphLine(value: ele[1], timestamp: ele[0])
[8/8] Compiling CryptoCurrencyKit Graph.swift
Build complete! (17.54s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.