The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BlockchainSwift, reference master (229e61), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 02:28:23 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nevstad/blockchain-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 229e614 Merge pull request #4 from nevstad/feature/nio
Cloned https://github.com/nevstad/blockchain-swift.git
Revision (git rev-parse @):
229e61429a7d9adfeb5d835bee9f75fc1c8f8d2f
SUCCESS checkout https://github.com/nevstad/blockchain-swift.git at master
========================================
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...
[Computing dependencies]
[Pre-planning 1 / 687]
[Planning deferred tasks]
[128 / 260] swift-nio_NIOPosix
[130 / 260]
[147 / 265] _AtomicsShims
[157 / 284]
[175 / 314] Atomics
[192 / 353]
[201 / 361]
[215 / 361] _NIOBase64
[229 / 361] InternalCollectionsUtilities
[240 / 361]
[243 / 361] InternalCollectionsUtilities
[249 / 361] ContainersPreview
[258 / 363]
[267 / 363] InternalCollectionsUtilities
[268 / 363]
[275 / 364] _NIODataStructures
[277 / 375] _NIODataStructures
[295 / 375] _NIODataStructures
[309 / 375] ContainersPreview
[314 / 375] ContainersPreview
[321 / 376]
[334 / 387] DequeModule
[336 / 387] DequeModule
[345 / 388] NIOCore
[348 / 405]
[350 / 405]
[360 / 405] NIOCore
[361 / 405] NIOCore
[362 / 405] NIOCore
[364 / 405] NIOCore
[374 / 407] NIOEmbedded
[378 / 411] NIOPosix
[386 / 440] NIOEmbedded
[396 / 440]
[401 / 440] NIOEmbedded
[401 / 440]
[402 / 440]
[403 / 440]
[404 / 440]
[415 / 440] NIOPosix
[422 / 441] NIOPosix
[424 / 443] NIO
[441 / 455] BlockchainSwift
[442 / 455] BlockchainSwift
[443 / 455] NIOPosix
[452 / 455] NIO
[452 / 455] BlockchainSwift
Build complete! (17.90 sec)
Fetching https://github.com/apple/swift-nio.git
[1/85947] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (7.92s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.102.0 (8.67s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1875] Fetching swift-atomics
[95/8773] Fetching swift-atomics, swift-system
[2192/36018] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git (2.99s)
Fetched https://github.com/apple/swift-system.git (2.99s)
Fetched https://github.com/apple/swift-atomics.git (2.99s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.57s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.102.0
/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/Network/Network.swift:245:45: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
243 |             .childChannelInitializer { channel in
244 |                 // Add handler that will buffer data until a full Message can be decoded
245 |                 channel.pipeline.addHandler(ByteToMessageHandler(MessageCodec())).flatMap { v in
    |                                             `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
246 |                     // It's important we use the same handler for all accepted channels. The MessageHandler is thread-safe!
247 |                     channel.pipeline.addHandler(self.messageHandler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
    | `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:194:40: warning: forming 'UnsafeRawPointer' to a variable of type 'IPv4Address'; this is likely incorrect because 'IPv4Address' may contain an object reference.
192 |                 var address = addr
193 |                 guard let presentationBytes = output.withUnsafeMutableBytes({
194 |                     inet_ntop(AF_INET, &address, $0, socklen_t(INET_ADDRSTRLEN))
    |                                        `- warning: forming 'UnsafeRawPointer' to a variable of type 'IPv4Address'; this is likely incorrect because 'IPv4Address' may contain an object reference.
195 |                 }) else {
196 |                     return nil
/Users/admin/builder/spi-builder-workspace/Sources/BlockchainSwift/Network/Network.swift:203:41: warning: forming 'UnsafeRawPointer' to a variable of type 'IPv6Address'; this is likely incorrect because 'IPv6Address' may contain an object reference.
201 |                 var address = addr
202 |                 guard let presentationBytes = output.withUnsafeMutableBytes({
203 |                     inet_ntop(AF_INET6, &address, $0, socklen_t(INET6_ADDRSTRLEN))
    |                                         `- warning: forming 'UnsafeRawPointer' to a variable of type 'IPv6Address'; this is likely incorrect because 'IPv6Address' may contain an object reference.
204 |                 }) else {
205 |                     return nil
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "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_dependencies" : [
        "NIO"
      ],
      "product_memberships" : [
        "BlockchainSwift"
      ],
      "sources" : [
        "Core/Block.swift",
        "Core/Blockchain.swift",
        "Core/Serialization.swift",
        "Core/Transaction.swift",
        "Core/TransactionInput.swift",
        "Core/TransactionOutputReference.swift",
        "Core/TransationOutput.swift",
        "Core/UnspentTransaction.swift",
        "Crypto/Keygen.swift",
        "Crypto/Keysign.swift",
        "Crypto/QRCodeConvertible.swift",
        "Crypto/SHA.swift",
        "Network/Messages.swift",
        "Network/Network.swift",
        "Network/Node.swift",
        "Network/NodeAddress.swift",
        "ProofOfWork/ProofOfWork.swift",
        "Wallet/Wallet.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.