Build Information
Failed to build BitcoinKit, reference master (74bd76
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 05:48:54 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yenom/BitcoinKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yenom/BitcoinKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 74bd764 Merge pull request #236 from yenom/update-documents
Cloned https://github.com/yenom/BitcoinKit.git
Revision (git rev-parse @):
74bd7642dfb3f6af6baf242c7bb084af6ee3ae1b
SUCCESS checkout https://github.com/yenom/BitcoinKit.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/yenom/BitcoinKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Write sources
[8/12] Write swift-version-1EA4D86E10B52AF.txt
[9/35] Compiling lax_der_privatekey_parsing.c
[10/35] Compiling lax_der_parsing.c
[11/35] Compiling secp256k1.c
[13/37] Emitting module Debugging
[14/37] Compiling Debugging Debuggable.swift
[15/37] Compiling secp256k1 Exporter.swift
[16/37] Emitting module secp256k1
[17/39] Compiling libc libc.swift
[18/39] Emitting module libc
[19/39] Compiling Bits String+BytesConvertible.swift
[20/39] Compiling Bits UnsignedInteger+BytesConvertible.swift
[21/39] Compiling Bits HexEncoder.swift
[22/39] Compiling Bits Operators.swift
[23/40] Compiling Bits UnsignedInteger+Shifting.swift
[24/40] Compiling Bits BytesConvertible.swift
[25/40] Compiling Bits Data+BytesConvertible.swift
[26/40] Compiling Bits Byte+Alphabet.swift
[27/40] Compiling Bits Byte+ControlCharacters.swift
[28/40] Compiling Bits ByteSequence+Conversions.swift
[29/40] Compiling Bits Bytes+Base64.swift
[30/40] Emitting module Bits
[31/40] Compiling Bits Byte+Convenience.swift
[32/40] Compiling Bits Byte+PatternMatching.swift
[33/40] Compiling Bits Aliases.swift
[34/40] Compiling Bits Base64Encoder.swift
[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/62] 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/62] 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 |
Fetching https://github.com/vapor-community/random.git
Fetching https://github.com/vapor-community/copenssl.git
Fetching https://github.com/Boilertalk/secp256k1.swift
[1/34] Fetching copenssl
[35/182] Fetching copenssl, random
Fetched https://github.com/vapor-community/random.git from cache (0.65s)
[1/780] Fetching secp256k1.swift
Fetched https://github.com/Boilertalk/secp256k1.swift from cache (1.02s)
Fetched https://github.com/vapor-community/copenssl.git from cache (1.02s)
Computing version for https://github.com/vapor-community/random.git
Computed https://github.com/vapor-community/random.git at 1.2.0 (2.91s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (1.33s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (1.86s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/260] Fetching debugging
[69/618] Fetching debugging, bits
Fetched https://github.com/vapor/bits.git from cache (0.68s)
Fetched https://github.com/vapor/debugging.git from cache (0.68s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.21s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.50s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.7 (0.50s)
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.50s)
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-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/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.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/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/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
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
warning: you may be able to install openssl using your system-packager:
brew install openssl
BUILD FAILURE 6.2 macosSpm