The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BlockchainSwift, reference 0.2.0 (a7216e), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 02:28:00 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nevstad/blockchain-swift.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nevstad/blockchain-swift
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at a7216ed Merge pull request #1 from nevstad/feature/network
Cloned https://github.com/nevstad/blockchain-swift.git
Revision (git rev-parse @):
a7216eda4b2f598f190b49bbb325bfefa34b244c
SUCCESS checkout https://github.com/nevstad/blockchain-swift.git at 0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/nevstad/blockchain-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[31 / 40] BlockchainSwift
[32 / 40] BlockchainSwift
[37 / 40] BlockchainSwift
Build complete! (7.94 sec)
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Core/Serialization.swift:25:33: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
23 |     static func +(lhs: Data, rhs: Self) -> Data {
24 |         var value = rhs
25 |         let data = Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
   |                                 |                          |- note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
   |                                 |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                                 `- warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
26 |         return lhs + data
27 |     }
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:21:22: warning: 'SecKeyGeneratePair' was deprecated in macOS 12.0: Use SecKeyCreateRandomKey [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
19 |         var privateKey: SecKey?
20 |         var publicKey: SecKey?
21 |         let status = SecKeyGeneratePair(query as CFDictionary, &publicKey, &privateKey)
   |                      `- warning: 'SecKeyGeneratePair' was deprecated in macOS 12.0: Use SecKeyCreateRandomKey [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
22 |
23 |         guard status == errSecSuccess else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BlockchainSwift",
  "name" : "BlockchainSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BlockchainSwift",
      "targets" : [
        "BlockchainSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BlockchainSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "BlockchainSwiftTests",
      "path" : "Tests/BlockchainSwiftTests",
      "sources" : [
        "BlockchainSwiftTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "BlockchainSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BlockchainSwift",
      "module_type" : "SwiftTarget",
      "name" : "BlockchainSwift",
      "path" : "Sources/BlockchainSwift",
      "product_memberships" : [
        "BlockchainSwift"
      ],
      "sources" : [
        "Core/Block.swift",
        "Core/Blockchain.swift",
        "Core/Serialization.swift",
        "Core/Transaction.swift",
        "Core/TransactionInput.swift",
        "Core/TransactionOutPoint.swift",
        "Core/TransationOutput.swift",
        "Crypto/ECDSA.swift",
        "Crypto/SHA.swift",
        "Network/Node.swift",
        "Network/NodeAddress.swift",
        "Network/NodeClient.swift",
        "Network/NodeMessages.swift",
        "Network/NodeServer.swift",
        "ProofOfWork/ProofOfWork.swift",
        "Wallet/Wallet.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.