The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yenom/BitcoinKit.git
Reference: v1.1.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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 into spi-builder-workspace
5f1fe9253071aeb845fa1cc40a338f32c6e34a66
SUCCESS checkout https://github.com/yenom/BitcoinKit.git at v1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.2.app" xcrun swift build --arch arm64
Fetching https://github.com/vapor/debugging.git from cache
Fetching https://github.com/vapor/bits.git from cache
Fetching https://github.com/vapor-community/copenssl.git from cache
Fetched https://github.com/vapor-community/copenssl.git (0.28s)
Fetched https://github.com/vapor/bits.git (0.28s)
Fetching https://github.com/Boilertalk/secp256k1.swift from cache
Fetching https://github.com/vapor-community/random.git from cache
Fetched https://github.com/vapor/debugging.git (0.28s)
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/Boilertalk/secp256k1.swift (0.27s)
Fetched https://github.com/vapor-community/random.git (0.27s)
Computing version for https://github.com/vapor-community/random.git
Fetched https://github.com/vapor/core.git (0.39s)
Computed https://github.com/vapor-community/random.git at 1.2.0 (0.55s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.4 (0.37s)
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.36s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.47s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.37s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.37s)
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
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/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.4
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'secp256k1.swift': Invalid Source '/Users/builder/builds/TDmZkXJm/3/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/3/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
Building for debugging...
[1/25] Compiling Debugging Debuggable.swift
[2/25] Emitting module Debugging
[2/25] Compiling lax_der_parsing.c
[4/25] Emitting module libc
[4/25] Compiling lax_der_privatekey_parsing.c
[5/25] Compiling secp256k1.c
[7/27] Compiling secp256k1 Exporter.swift
[8/27] Emitting module secp256k1
[9/27] Compiling libc libc.swift
[10/29] Emitting module Bits
[11/31] Compiling Bits Aliases.swift
[12/31] Compiling Bits Base64Encoder.swift
[13/31] Compiling Bits Byte+Alphabet.swift
[14/31] Compiling Bits Byte+Random.swift
[15/31] Compiling Bits Byte+UTF8Numbers.swift
[16/31] Compiling Bits ByteSequence+Conversions.swift
[17/31] Compiling Bits UnsignedInteger+BytesConvertible.swift
[18/31] Compiling Bits UnsignedInteger+Shifting.swift
[19/31] Compiling Bits Bytes+Percent.swift
[20/31] Compiling Bits BytesConvertible.swift
[21/31] Compiling Bits Byte+ControlCharacters.swift
[22/31] Compiling Bits Byte+Convenience.swift
[23/31] Compiling Bits Byte+PatternMatching.swift
[24/31] Compiling Bits Bytes+Base64.swift
[25/31] Compiling Bits Bytes+Hex.swift
[26/31] Compiling Bits Operators.swift
[27/31] Compiling Bits String+BytesConvertible.swift
[28/31] Compiling Bits Data+BytesConvertible.swift
[29/31] Compiling Bits HexEncoder.swift
[30/53] Emitting module Core
[31/55] Compiling Core DispatchTime+Utilities.swift
[32/55] Compiling Core EmptyInitializable.swift
[33/55] Compiling Core Exports.swift
[34/55] Compiling Core Extendable.swift
[35/55] Compiling Core FileProtocol.swift
[36/55] Compiling Core Int+Hex.swift
[37/55] Compiling Core Result.swift
[38/55] Compiling Core Semaphore.swift
[39/55] Compiling Core Sequence.swift
[40/55] Compiling Core String.swift
[41/55] Compiling Core WorkingDirectory.swift
[42/55] Compiling Core StaticDataBuffer.swift
[43/55] Compiling Core String+CaseInsensitiveCompare.swift
[44/55] Compiling Core String+Polymorphic.swift
[45/55] Compiling Core Collection+Safe.swift
[46/55] Compiling Core DataFile.swift
[47/55] Compiling Core Dispatch.swift
[48/55] Compiling Core Lock.swift
[49/55] Compiling Core Portal.swift
[50/55] Compiling Core RFC1123.swift
[51/55] Compiling Core Array.swift
[52/55] Compiling Core Bits.swift
[53/55] Compiling Core Cache.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/62] Emitting module BitcoinKitPrivate
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[55/62] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/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/3/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
ShellOut encountered an error
Status code: 1
Message: "Fetching https://github.com/vapor/debugging.git from cache
Fetching https://github.com/vapor/bits.git from cache
Fetching https://github.com/vapor-community/copenssl.git from cache
Fetched https://github.com/vapor-community/copenssl.git (0.28s)
Fetched https://github.com/vapor/bits.git (0.28s)
Fetching https://github.com/Boilertalk/secp256k1.swift from cache
Fetching https://github.com/vapor-community/random.git from cache
Fetched https://github.com/vapor/debugging.git (0.28s)
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/Boilertalk/secp256k1.swift (0.27s)
Fetched https://github.com/vapor-community/random.git (0.27s)
Computing version for https://github.com/vapor-community/random.git
Fetched https://github.com/vapor/core.git (0.39s)
Computed https://github.com/vapor-community/random.git at 1.2.0 (0.55s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.4 (0.37s)
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.36s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.47s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.37s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.37s)
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
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/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.4
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'secp256k1.swift': Invalid Source '/Users/builder/builds/TDmZkXJm/3/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/3/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"
Output: "Building for debugging...
[1/25] Compiling Debugging Debuggable.swift
[2/25] Emitting module Debugging
[2/25] Compiling lax_der_parsing.c
[4/25] Emitting module libc
[4/25] Compiling lax_der_privatekey_parsing.c
[5/25] Compiling secp256k1.c
[7/27] Compiling secp256k1 Exporter.swift
[8/27] Emitting module secp256k1
[9/27] Compiling libc libc.swift
[10/29] Emitting module Bits
[11/31] Compiling Bits Aliases.swift
[12/31] Compiling Bits Base64Encoder.swift
[13/31] Compiling Bits Byte+Alphabet.swift
[14/31] Compiling Bits Byte+Random.swift
[15/31] Compiling Bits Byte+UTF8Numbers.swift
[16/31] Compiling Bits ByteSequence+Conversions.swift
[17/31] Compiling Bits UnsignedInteger+BytesConvertible.swift
[18/31] Compiling Bits UnsignedInteger+Shifting.swift
[19/31] Compiling Bits Bytes+Percent.swift
[20/31] Compiling Bits BytesConvertible.swift
[21/31] Compiling Bits Byte+ControlCharacters.swift
[22/31] Compiling Bits Byte+Convenience.swift
[23/31] Compiling Bits Byte+PatternMatching.swift
[24/31] Compiling Bits Bytes+Base64.swift
[25/31] Compiling Bits Bytes+Hex.swift
[26/31] Compiling Bits Operators.swift
[27/31] Compiling Bits String+BytesConvertible.swift
[28/31] Compiling Bits Data+BytesConvertible.swift
[29/31] Compiling Bits HexEncoder.swift
[30/53] Emitting module Core
[31/55] Compiling Core DispatchTime+Utilities.swift
[32/55] Compiling Core EmptyInitializable.swift
[33/55] Compiling Core Exports.swift
[34/55] Compiling Core Extendable.swift
[35/55] Compiling Core FileProtocol.swift
[36/55] Compiling Core Int+Hex.swift
[37/55] Compiling Core Result.swift
[38/55] Compiling Core Semaphore.swift
[39/55] Compiling Core Sequence.swift
[40/55] Compiling Core String.swift
[41/55] Compiling Core WorkingDirectory.swift
[42/55] Compiling Core StaticDataBuffer.swift
[43/55] Compiling Core String+CaseInsensitiveCompare.swift
[44/55] Compiling Core String+Polymorphic.swift
[45/55] Compiling Core Collection+Safe.swift
[46/55] Compiling Core DataFile.swift
[47/55] Compiling Core Dispatch.swift
[48/55] Compiling Core Lock.swift
[49/55] Compiling Core Portal.swift
[50/55] Compiling Core RFC1123.swift
[51/55] Compiling Core Array.swift
[52/55] Compiling Core Bits.swift
[53/55] Compiling Core Cache.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/62] Emitting module BitcoinKitPrivate
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[55/62] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/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/3/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"
Retrying in 0.0 seconds ...
Building ... (attempt 2)
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'secp256k1.swift': Invalid Source '/Users/builder/builds/TDmZkXJm/3/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/3/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...
[1/9] Compiling Random Array+Random.swift
[2/9] Compiling Random RandomProtocol.swift
[3/9] Compiling Random EmptyInitializable.swift
[4/9] Compiling Random OSRandom.swift
[5/9] Compiling Random Exports.swift
[6/9] Emitting module Random
[7/9] Compiling Random URandom.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] Emitting module BitcoinKitPrivate
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[9/9] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/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/3/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
ShellOut encountered an error
Status code: 1
Message: "warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'secp256k1.swift': Invalid Source '/Users/builder/builds/TDmZkXJm/3/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/3/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"
Output: "[0/1] Planning build
Building for debugging...
[1/9] Compiling Random Array+Random.swift
[2/9] Compiling Random RandomProtocol.swift
[3/9] Compiling Random EmptyInitializable.swift
[4/9] Compiling Random OSRandom.swift
[5/9] Compiling Random Exports.swift
[6/9] Emitting module Random
[7/9] Compiling Random URandom.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] Emitting module BitcoinKitPrivate
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[9/9] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/3/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/3/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"
BUILD FAILURE 5.9 macosSpm