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, reference 1.1.2 (cf12ab), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 09:20:16 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coinpaprika/changelly-api-swift-client.git
Reference: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/coinpaprika/changelly-api-swift-client
 * tag               1.1.2      -> FETCH_HEAD
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 1.1.2
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.25s)
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.65s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "changelly-api-swift-client",
      "name": "Changelly",
      "url": "https://github.com/coinpaprika/changelly-api-swift-client.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/changelly-api-swift-client",
      "dependencies": [
        {
          "identity": "coinpaprika-api-swift-client",
          "name": "Coinpaprika",
          "url": "https://github.com/coinpaprika/coinpaprika-api-swift-client.git",
          "version": "2.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/coinpaprika-api-swift-client",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/coinpaprika/changelly-api-swift-client.git
[1/276] Fetching changelly-api-swift-client
Fetched https://github.com/coinpaprika/changelly-api-swift-client.git from cache (0.88s)
Fetching https://github.com/coinpaprika/coinpaprika-api-swift-client.git from cache
Fetched https://github.com/coinpaprika/coinpaprika-api-swift-client.git from cache (0.51s)
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.02s)
Creating working copy for https://github.com/coinpaprika/changelly-api-swift-client.git
Working copy of https://github.com/coinpaprika/changelly-api-swift-client.git resolved at 1.1.2 (cf12ab4)
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
warning: '.resolve-product-dependencies': dependency 'changelly-api-swift-client' is not used by any target
Found 1 product dependencies
  - Coinpaprika
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/coinpaprika/changelly-api-swift-client.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[4/9] Compiling CoinpaprikaNetworking CodableModel.swift
[5/9] Compiling CoinpaprikaNetworking Result.swift
[6/9] Compiling CoinpaprikaNetworking Errors.swift
[7/9] Emitting module CoinpaprikaNetworking
[8/9] Compiling CoinpaprikaNetworking NetworkSession.swift
[9/9] Compiling CoinpaprikaNetworking Request.swift
[10/17] Compiling Changelly API.swift
[11/17] Compiling Changelly String+HMAC.swift
[12/17] Compiling Changelly TransactionLog.swift
[13/17] Compiling Changelly Credentials.swift
[14/17] Compiling Changelly Transaction.swift
[15/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 nonisolated 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 nonisolated 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 Currency.swift
[17/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 nonisolated 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 nonisolated 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! (9.28s)
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.