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

Failed to build BitcoinKit, reference v1.1.0 (5f1fe9), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 05:56:31 UTC.

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/yenom/BitcoinKit.git
Reference: v1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yenom/BitcoinKit
 * tag               v1.1.0     -> FETCH_HEAD
HEAD is now at 5f1fe92 :rocket: Update posepc version to 1.1.0
Cloned https://github.com/yenom/BitcoinKit.git
Revision (git rev-parse @):
5f1fe9253071aeb845fa1cc40a338f32c6e34a66
SUCCESS checkout https://github.com/yenom/BitcoinKit.git at v1.1.0
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/Boilertalk/secp256k1.swift
Fetching https://github.com/vapor-community/random.git
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor-community/copenssl.git
[3/34] Fetching copenssl
[35/182] Fetching copenssl, random
[38/442] Fetching copenssl, random, debugging
[251/800] Fetching copenssl, random, debugging, bits
[266/20943] Fetching copenssl, random, debugging, bits, core
[516/21723] Fetching copenssl, random, debugging, bits, core, secp256k1.swift
Fetched https://github.com/Boilertalk/secp256k1.swift from cache (1.68s)
Fetched https://github.com/vapor-community/copenssl.git from cache (1.68s)
Fetched https://github.com/vapor-community/random.git from cache (1.68s)
Fetched https://github.com/vapor/core.git from cache (1.68s)
Fetched https://github.com/vapor/debugging.git from cache (1.68s)
Fetched https://github.com/vapor/bits.git from cache (1.68s)
Computing version for https://github.com/vapor-community/random.git
Computed https://github.com/vapor-community/random.git at 1.2.0 (2.36s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.4 (0.53s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.53s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.53s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.55s)
Computing version for https://github.com/vapor-community/copenssl.git
Computed https://github.com/vapor-community/copenssl.git at 1.0.0-rc.1 (0.52s)
Creating working copy for https://github.com/vapor-community/copenssl.git
Working copy of https://github.com/vapor-community/copenssl.git resolved at 1.0.0-rc.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor-community/random.git
Working copy of https://github.com/vapor-community/random.git resolved at 1.2.0
Creating working copy for https://github.com/Boilertalk/secp256k1.swift
Working copy of https://github.com/Boilertalk/secp256k1.swift resolved at 0.1.4
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
========================================
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": "bitcoinkit",
      "name": "BitcoinKit",
      "url": "https://github.com/yenom/BitcoinKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BitcoinKit",
      "dependencies": [
        {
          "identity": "copenssl",
          "name": "COpenSSL",
          "url": "https://github.com/vapor-community/copenssl.git",
          "version": "1.0.0-rc.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/copenssl",
          "dependencies": [
          ]
        },
        {
          "identity": "secp256k1.swift",
          "name": "secp256k1",
          "url": "https://github.com/Boilertalk/secp256k1.swift",
          "version": "0.1.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/secp256k1.swift",
          "dependencies": [
          ]
        },
        {
          "identity": "random",
          "name": "Random",
          "url": "https://github.com/vapor-community/random.git",
          "version": "1.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/random",
          "dependencies": [
            {
              "identity": "core",
              "name": "Core",
              "url": "https://github.com/vapor/core.git",
              "version": "2.2.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/core",
              "dependencies": [
                {
                  "identity": "bits",
                  "name": "Bits",
                  "url": "https://github.com/vapor/bits.git",
                  "version": "1.1.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/bits",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "debugging",
                  "name": "Debugging",
                  "url": "https://github.com/vapor/debugging.git",
                  "version": "1.1.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/debugging",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/yenom/BitcoinKit.git
[1/6909] Fetching bitcoinkit
Fetched https://github.com/yenom/BitcoinKit.git from cache (1.57s)
Fetching https://github.com/vapor-community/copenssl.git from cache
Fetching https://github.com/vapor-community/random.git from cache
Fetching https://github.com/Boilertalk/secp256k1.swift from cache
Fetched https://github.com/vapor-community/copenssl.git from cache (0.47s)
Fetched https://github.com/Boilertalk/secp256k1.swift from cache (0.47s)
Fetched https://github.com/vapor-community/random.git from cache (0.47s)
Computing version for https://github.com/vapor-community/random.git
Computed https://github.com/vapor-community/random.git at 1.2.0 (0.03s)
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/vapor/core.git from cache (0.55s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.03s)
Fetching https://github.com/vapor/debugging.git from cache
Fetching https://github.com/vapor/bits.git from cache
Fetched https://github.com/vapor/debugging.git from cache (0.45s)
Fetched https://github.com/vapor/bits.git from cache (0.46s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.03s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.03s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.7 (0.55s)
Computing version for https://github.com/vapor-community/copenssl.git
Computed https://github.com/vapor-community/copenssl.git at 1.0.0-rc.1 (0.02s)
Creating working copy for https://github.com/vapor-community/random.git
Working copy of https://github.com/vapor-community/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor-community/copenssl.git
Working copy of https://github.com/vapor-community/copenssl.git resolved at 1.0.0-rc.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/Boilertalk/secp256k1.swift
Working copy of https://github.com/Boilertalk/secp256k1.swift resolved at 0.1.7
Creating working copy for https://github.com/yenom/BitcoinKit.git
Working copy of https://github.com/yenom/BitcoinKit.git resolved at v1.1.0 (5f1fe92)
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: '.resolve-product-dependencies': dependency 'bitcoinkit' is not used by any target
Found 3 product dependencies
  - COpenSSL
  - secp256k1
  - Random
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/yenom/BitcoinKit.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/12] Write sources
[8/12] Write swift-version--7754E27361AE5C74.txt
[9/35] Compiling lax_der_privatekey_parsing.c
[10/35] Compiling lax_der_parsing.c
[11/35] Compiling secp256k1.c
[13/37] Compiling Debugging Debuggable.swift
[14/37] Emitting module Debugging
[15/37] Emitting module secp256k1
[16/37] Compiling secp256k1 Exporter.swift
[17/39] Compiling Bits String+BytesConvertible.swift
[18/39] Compiling Bits UnsignedInteger+BytesConvertible.swift
[19/40] Emitting module libc
[20/40] Compiling libc libc.swift
[21/40] Compiling Bits UnsignedInteger+Shifting.swift
[22/40] Compiling Bits HexEncoder.swift
[23/40] Compiling Bits Operators.swift
[24/40] Compiling Bits BytesConvertible.swift
[25/40] Compiling Bits Data+BytesConvertible.swift
[26/40] Compiling Bits Byte+Convenience.swift
[27/40] Compiling Bits Byte+PatternMatching.swift
[28/40] Compiling Bits ByteSequence+Conversions.swift
[29/40] Compiling Bits Bytes+Base64.swift
[30/40] Compiling Bits Byte+Alphabet.swift
[31/40] Compiling Bits Byte+ControlCharacters.swift
[32/40] Compiling Bits Aliases.swift
[33/40] Compiling Bits Base64Encoder.swift
[34/40] Emitting module Bits
[35/40] Compiling Bits Bytes+Hex.swift
[36/40] Compiling Bits Bytes+Percent.swift
[37/40] Compiling Bits Byte+Random.swift
[38/40] Compiling Bits Byte+UTF8Numbers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/40] Emitting module BitcoinKitPrivate
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/copenssl/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
  8 |
  9 | import Foundation
 10 | import COpenSSL
    |        `- error: could not build Objective-C module 'COpenSSL'
 11 | import secp256k1
 12 |
[40/40] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/copenssl/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
  8 |
  9 | import Foundation
 10 | import COpenSSL
    |        `- error: could not build Objective-C module 'COpenSSL'
 11 | import secp256k1
 12 |
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'secp256k1.swift': Invalid Source '/Users/admin/builder/spi-builder-workspace/.build/checkouts/secp256k1.swift/secp256k1/Classes/secp256k1/modules/ecdh': File not found.
warning: 'secp256k1.swift': Invalid Source '/Users/admin/builder/spi-builder-workspace/.build/checkouts/secp256k1.swift/secp256k1/Classes/secp256k1/modules/recovery': File not found.
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install openssl using your system-packager:
    brew install openssl
BUILD FAILURE 6.0 macosSpm