The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR="/Applications/Xcode-14.3.0.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/o86TiJKT/1/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.8
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.3.0.app" xcrun swift build --arch arm64
Fetching https://github.com/vapor/bits.git from cache
Fetching https://github.com/vapor-community/copenssl.git from cache
Fetching https://github.com/vapor/debugging.git from cache
Fetched https://github.com/vapor/debugging.git (0.27s)
Fetching https://github.com/vapor-community/random.git from cache
Fetched https://github.com/vapor/bits.git (0.28s)
Fetching https://github.com/Boilertalk/secp256k1.swift from cache
Fetched https://github.com/vapor-community/copenssl.git (0.28s)
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/Boilertalk/secp256k1.swift (0.18s)
Fetched https://github.com/vapor-community/random.git (0.19s)
Computing version for https://github.com/vapor-community/random.git
Fetched https://github.com/vapor/core.git (0.21s)
Computed https://github.com/vapor-community/random.git at 1.2.0 (0.46s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.4 (0.44s)
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.43s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.45s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.47s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.44s)
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/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/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
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'secp256k1.swift': Invalid Source '/Users/builder/builds/o86TiJKT/1/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/o86TiJKT/1/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...
[0/25] Compiling lax_der_privatekey_parsing.c
[2/25] Emitting module Debugging
[3/25] Compiling Debugging Debuggable.swift
[3/25] Compiling lax_der_parsing.c
[4/25] Compiling secp256k1.c
[6/25] Emitting module libc
[7/27] Emitting module secp256k1
[8/27] Compiling secp256k1 Exporter.swift
[9/27] Compiling libc libc.swift
[10/29] Emitting module Bits
[11/31] Compiling Bits Byte+Random.swift
[12/31] Compiling Bits Byte+UTF8Numbers.swift
[13/31] Compiling Bits ByteSequence+Conversions.swift
[14/31] Compiling Bits UnsignedInteger+BytesConvertible.swift
[15/31] Compiling Bits UnsignedInteger+Shifting.swift
[16/31] Compiling Bits Bytes+Base64.swift
[17/31] Compiling Bits Bytes+Hex.swift
[18/31] Compiling Bits Byte+ControlCharacters.swift
[19/31] Compiling Bits Byte+Convenience.swift
[20/31] Compiling Bits Byte+PatternMatching.swift
[21/31] Compiling Bits Bytes+Percent.swift
[22/31] Compiling Bits BytesConvertible.swift
[23/31] Compiling Bits Aliases.swift
[24/31] Compiling Bits Base64Encoder.swift
[25/31] Compiling Bits Byte+Alphabet.swift
[26/31] Compiling Bits Data+BytesConvertible.swift
[27/31] Compiling Bits HexEncoder.swift
[28/31] Compiling Bits Operators.swift
[29/31] Compiling Bits String+BytesConvertible.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/53] Emitting module BitcoinKitPrivate
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/1/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/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[31/53] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/1/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/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
ShellOut encountered an error
Status code: 1
Message: "Fetching https://github.com/vapor/bits.git from cache
Fetching https://github.com/vapor-community/copenssl.git from cache
Fetching https://github.com/vapor/debugging.git from cache
Fetched https://github.com/vapor/debugging.git (0.27s)
Fetching https://github.com/vapor-community/random.git from cache
Fetched https://github.com/vapor/bits.git (0.28s)
Fetching https://github.com/Boilertalk/secp256k1.swift from cache
Fetched https://github.com/vapor-community/copenssl.git (0.28s)
Fetching https://github.com/vapor/core.git from cache
Fetched https://github.com/Boilertalk/secp256k1.swift (0.18s)
Fetched https://github.com/vapor-community/random.git (0.19s)
Computing version for https://github.com/vapor-community/random.git
Fetched https://github.com/vapor/core.git (0.21s)
Computed https://github.com/vapor-community/random.git at 1.2.0 (0.46s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.4 (0.44s)
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.43s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.45s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.47s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.44s)
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/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/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
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'secp256k1.swift': Invalid Source '/Users/builder/builds/o86TiJKT/1/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/o86TiJKT/1/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...
[0/25] Compiling lax_der_privatekey_parsing.c
[2/25] Emitting module Debugging
[3/25] Compiling Debugging Debuggable.swift
[3/25] Compiling lax_der_parsing.c
[4/25] Compiling secp256k1.c
[6/25] Emitting module libc
[7/27] Emitting module secp256k1
[8/27] Compiling secp256k1 Exporter.swift
[9/27] Compiling libc libc.swift
[10/29] Emitting module Bits
[11/31] Compiling Bits Byte+Random.swift
[12/31] Compiling Bits Byte+UTF8Numbers.swift
[13/31] Compiling Bits ByteSequence+Conversions.swift
[14/31] Compiling Bits UnsignedInteger+BytesConvertible.swift
[15/31] Compiling Bits UnsignedInteger+Shifting.swift
[16/31] Compiling Bits Bytes+Base64.swift
[17/31] Compiling Bits Bytes+Hex.swift
[18/31] Compiling Bits Byte+ControlCharacters.swift
[19/31] Compiling Bits Byte+Convenience.swift
[20/31] Compiling Bits Byte+PatternMatching.swift
[21/31] Compiling Bits Bytes+Percent.swift
[22/31] Compiling Bits BytesConvertible.swift
[23/31] Compiling Bits Aliases.swift
[24/31] Compiling Bits Base64Encoder.swift
[25/31] Compiling Bits Byte+Alphabet.swift
[26/31] Compiling Bits Data+BytesConvertible.swift
[27/31] Compiling Bits HexEncoder.swift
[28/31] Compiling Bits Operators.swift
[29/31] Compiling Bits String+BytesConvertible.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/53] Emitting module BitcoinKitPrivate
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/1/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/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[31/53] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/1/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/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^"
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/o86TiJKT/1/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/o86TiJKT/1/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/24] Compiling Core DispatchTime+Utilities.swift
[2/24] Compiling Core EmptyInitializable.swift
[3/24] Compiling Core Exports.swift
[4/26] Emitting module Core
[5/26] Compiling Core Extendable.swift
[6/26] Compiling Core FileProtocol.swift
[7/26] Compiling Core Int+Hex.swift
[8/26] Compiling Core Result.swift
[9/26] Compiling Core Semaphore.swift
[10/26] Compiling Core Sequence.swift
[11/26] Compiling Core String.swift
[12/26] Compiling Core WorkingDirectory.swift
[13/26] Compiling Core StaticDataBuffer.swift
[14/26] Compiling Core String+CaseInsensitiveCompare.swift
[15/26] Compiling Core String+Polymorphic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/26] Emitting module BitcoinKitPrivate
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/1/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/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[17/26] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/1/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/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[18/26] Compiling Core Collection+Safe.swift
[19/26] Compiling Core DataFile.swift
[20/26] Compiling Core Dispatch.swift
[21/26] Compiling Core Lock.swift
[22/26] Compiling Core Portal.swift
[23/26] Compiling Core RFC1123.swift
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/o86TiJKT/1/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/o86TiJKT/1/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/24] Compiling Core DispatchTime+Utilities.swift
[2/24] Compiling Core EmptyInitializable.swift
[3/24] Compiling Core Exports.swift
[4/26] Emitting module Core
[5/26] Compiling Core Extendable.swift
[6/26] Compiling Core FileProtocol.swift
[7/26] Compiling Core Int+Hex.swift
[8/26] Compiling Core Result.swift
[9/26] Compiling Core Semaphore.swift
[10/26] Compiling Core Sequence.swift
[11/26] Compiling Core String.swift
[12/26] Compiling Core WorkingDirectory.swift
[13/26] Compiling Core StaticDataBuffer.swift
[14/26] Compiling Core String+CaseInsensitiveCompare.swift
[15/26] Compiling Core String+Polymorphic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/26] Emitting module BitcoinKitPrivate
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/1/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/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[17/26] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/o86TiJKT/1/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/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[18/26] Compiling Core Collection+Safe.swift
[19/26] Compiling Core DataFile.swift
[20/26] Compiling Core Dispatch.swift
[21/26] Compiling Core Lock.swift
[22/26] Compiling Core Portal.swift
[23/26] Compiling Core RFC1123.swift"
BUILD FAILURE 5.8 macosSpm

Build Machine: Mac 5