The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BitcoinKit with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yenom/BitcoinKit.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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:             5.10
Building package at path:  $workDir
https://github.com/yenom/BitcoinKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Write sources
[8/12] Write swift-version--423B1241ED78D482.txt
[9/34] Compiling lax_der_privatekey_parsing.c
[10/34] Compiling secp256k1.c
[11/34] Compiling lax_der_parsing.c
[13/34] Emitting module Debugging
[14/34] Compiling Debugging Debuggable.swift
[15/36] Compiling secp256k1 Exporter.swift
[16/36] Emitting module secp256k1
[17/36] Emitting module libc
[18/38] Compiling libc libc.swift
[19/38] Compiling Bits Operators.swift
[20/38] Compiling Bits String+BytesConvertible.swift
[21/40] Compiling Bits UnsignedInteger+BytesConvertible.swift
[22/40] Compiling Bits UnsignedInteger+Shifting.swift
[23/40] Compiling Bits Byte+Random.swift
[24/40] Compiling Bits Byte+UTF8Numbers.swift
[25/40] Compiling Bits ByteSequence+Conversions.swift
[26/40] Compiling Bits Byte+ControlCharacters.swift
[27/40] Compiling Bits Byte+Convenience.swift
[28/40] Compiling Bits Byte+PatternMatching.swift
[29/40] Compiling Bits Bytes+Base64.swift
[30/40] Compiling Bits Bytes+Hex.swift
[31/40] Compiling Bits Bytes+Percent.swift
[32/40] Compiling Bits BytesConvertible.swift
[33/40] Compiling Bits Data+BytesConvertible.swift
[34/40] Compiling Bits HexEncoder.swift
[35/40] Compiling Bits Aliases.swift
[36/40] Compiling Bits Base64Encoder.swift
[37/40] Compiling Bits Byte+Alphabet.swift
[38/40] Emitting module Bits
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:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/copenssl/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[40/40] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/copenssl/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
error: fatalError
Fetching https://github.com/vapor-community/copenssl.git
Fetching https://github.com/vapor-community/random.git
Fetching https://github.com/Boilertalk/secp256k1.swift
Fetching https://github.com/vapor/bits.git from cache
Fetching https://github.com/vapor/core.git from cache
Fetching https://github.com/vapor/debugging.git from cache
[1/148] Fetching random
[149/182] Fetching random, copenssl
Fetched https://github.com/vapor/core.git from cache (0.46s)
[1/780] Fetching secp256k1.swift
Fetched https://github.com/Boilertalk/secp256k1.swift from cache (0.70s)
Fetched https://github.com/vapor-community/copenssl.git from cache (0.71s)
Fetched https://github.com/vapor/bits.git from cache (0.71s)
Fetched https://github.com/vapor-community/random.git from cache (0.71s)
Computing version for https://github.com/vapor-community/random.git
Fetched https://github.com/vapor/debugging.git from cache (0.71s)
Computed https://github.com/vapor-community/random.git at 1.2.0 (0.59s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.4 (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.54s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.07s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.07s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.06s)
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/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.4
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/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-community/copenssl.git
Working copy of https://github.com/vapor-community/copenssl.git resolved at 1.0.0-rc.1
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'secp256k1.swift': Invalid Source '/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/secp256k1.swift/secp256k1/Classes/secp256k1/modules/ecdh': File not found.
warning: 'secp256k1.swift': Invalid Source '/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/25] Emitting module Core
[3/27] Compiling Core Extendable.swift
[4/27] Compiling Core FileProtocol.swift
[5/27] Compiling Core Int+Hex.swift
[6/27] Compiling Core Array.swift
[7/27] Compiling Core Bits.swift
[8/27] Compiling Core Cache.swift
[9/27] Compiling Core Result.swift
[10/27] Compiling Core Semaphore.swift
[11/27] Compiling Core Sequence.swift
[12/27] Compiling Core Collection+Safe.swift
[13/27] Compiling Core DataFile.swift
[14/27] Compiling Core Dispatch.swift
[15/27] Compiling Core StaticDataBuffer.swift
[16/27] Compiling Core String+CaseInsensitiveCompare.swift
[17/27] Compiling Core String+Polymorphic.swift
[18/27] Compiling Core Lock.swift
[19/27] Compiling Core Portal.swift
[20/27] Compiling Core RFC1123.swift
[21/27] Compiling Core DispatchTime+Utilities.swift
[22/27] Compiling Core EmptyInitializable.swift
[23/27] Compiling Core Exports.swift
[24/27] Compiling Core String.swift
[25/27] Compiling Core WorkingDirectory.swift
[26/34] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/copenssl/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/34] Emitting module BitcoinKitPrivate
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/copenssl/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
error: fatalError
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'secp256k1.swift': Invalid Source '/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/secp256k1.swift/secp256k1/Classes/secp256k1/modules/ecdh': File not found.
warning: 'secp256k1.swift': Invalid Source '/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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 5.10 macosSpm