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 Changelly, reference master (cf12ab), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 22:03:42 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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
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.14s)
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.57s)
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.86s)
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.45s)
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/coinpaprika-api-swift-client.git
Working copy of https://github.com/coinpaprika/coinpaprika-api-swift-client.git resolved at 2.4.0
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 master (cf12ab4)
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/9] Compiling CoinpaprikaNetworking Result.swift
[5/9] Compiling CoinpaprikaNetworking NetworkSession.swift
[6/9] Emitting module CoinpaprikaNetworking
[7/9] Compiling CoinpaprikaNetworking Errors.swift
[8/9] Compiling CoinpaprikaNetworking CodableModel.swift
[9/9] Compiling CoinpaprikaNetworking Request.swift
[10/17] Compiling Changelly String+HMAC.swift
[11/17] Compiling Changelly Transaction.swift
[12/17] Compiling Changelly Credentials.swift
[13/17] Compiling Changelly TransactionLog.swift
[14/17] Compiling Changelly Currency.swift
[15/17] Compiling Changelly API.swift
[16/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 {
[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 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.00s)
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.