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 Changelly with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

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/coinpaprika/changelly-api-swift-client.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/coinpaprika/changelly-api-swift-client
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at cf12ab4 [SPM] Add Coinpaprika prefix to Networking and NetworkingMocks modules
Cloned https://github.com/coinpaprika/changelly-api-swift-client.git
Revision (git rev-parse @):
cf12ab46bdc74579cd25838bbd5764f102a2ae05
SUCCESS checkout https://github.com/coinpaprika/changelly-api-swift-client.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/coinpaprika/changelly-api-swift-client.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/9] Compiling CoinpaprikaNetworking Result.swift
[5/9] Emitting module CoinpaprikaNetworking
[6/9] Compiling CoinpaprikaNetworking Request.swift
[7/9] Compiling CoinpaprikaNetworking NetworkSession.swift
[8/9] Compiling CoinpaprikaNetworking Errors.swift
[9/9] Compiling CoinpaprikaNetworking CodableModel.swift
[10/17] Compiling Changelly String+HMAC.swift
[11/17] Compiling Changelly Credentials.swift
[12/17] Compiling Changelly Transaction.swift
[13/17] Compiling Changelly API.swift
[14/17] Compiling Changelly Currency.swift
[15/17] Compiling Changelly JsonRpcRequest.swift
/Users/admin/builder/spi-builder-workspace/ChangellyAPI/Classes/Request/JsonRpcRequest.swift:52:24: warning: static property 'currentId' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 50 |
 51 | struct JsonRpcIdentifier {
 52 |     private static var currentId: Int = 1
    |                        |- warning: static property 'currentId' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentId' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'currentId' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |
 54 |     static func next() -> Int {
[16/17] Compiling Changelly TransactionLog.swift
[17/17] Emitting module Changelly
/Users/admin/builder/spi-builder-workspace/ChangellyAPI/Classes/Request/JsonRpcRequest.swift:52:24: warning: static property 'currentId' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 50 |
 51 | struct JsonRpcIdentifier {
 52 |     private static var currentId: Int = 1
    |                        |- warning: static property 'currentId' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'currentId' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'currentId' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |
 54 |     static func next() -> Int {
Build complete! (21.97s)
Fetching https://github.com/coinpaprika/coinpaprika-api-swift-client.git
[1/2930] Fetching coinpaprika-api-swift-client
Fetched https://github.com/coinpaprika/coinpaprika-api-swift-client.git from cache (1.29s)
Computing version for https://github.com/coinpaprika/coinpaprika-api-swift-client.git
Computed https://github.com/coinpaprika/coinpaprika-api-swift-client.git at 2.4.0 (0.69s)
Creating working copy for https://github.com/coinpaprika/coinpaprika-api-swift-client.git
Working copy of https://github.com/coinpaprika/coinpaprika-api-swift-client.git resolved at 2.4.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "coinpaprika-api-swift-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/coinpaprika/coinpaprika-api-swift-client.git"
    }
  ],
  "manifest_display_name" : "Changelly",
  "name" : "Changelly",
  "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" : "Changelly",
      "targets" : [
        "Changelly"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ChangellyTests",
      "module_type" : "SwiftTarget",
      "name" : "ChangellyTests",
      "path" : "Example/Tests",
      "sources" : [
        "RequestsTest.swift"
      ],
      "target_dependencies" : [
        "Changelly"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Changelly",
      "module_type" : "SwiftTarget",
      "name" : "Changelly",
      "path" : "ChangellyAPI/Classes",
      "product_dependencies" : [
        "CoinpaprikaNetworking"
      ],
      "product_memberships" : [
        "Changelly"
      ],
      "sources" : [
        "API.swift",
        "Models/Currency.swift",
        "Models/Transaction.swift",
        "Models/TransactionLog.swift",
        "Request/Credentials.swift",
        "Request/JsonRpcRequest.swift",
        "Request/String+HMAC.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.