The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BitcoinKit with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

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
Cloned https://github.com/yenom/BitcoinKit.git into spi-builder-workspace
SUCCESS checkout https://github.com/yenom/BitcoinKit.git at v1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/Boilertalk/secp256k1.swift
Fetching https://github.com/vapor-community/random.git
Fetching https://github.com/vapor/core.git
[1/757] Fetching secp256k1.swift
[62/905] Fetching secp256k1.swift, random
[906/21048] Fetching secp256k1.swift, random, core
Fetching https://github.com/vapor/bits.git
Fetched https://github.com/vapor-community/random.git (0.89s)
Fetched https://github.com/Boilertalk/secp256k1.swift (0.89s)
Fetching https://github.com/vapor/debugging.git
Fetched https://github.com/vapor/core.git (0.92s)
Fetching https://github.com/vapor-community/copenssl.git
[1/260] Fetching debugging
[155/618] Fetching debugging, bits
Fetched https://github.com/vapor-community/copenssl.git (0.20s)
Computing version for https://github.com/vapor-community/random.git
Fetched https://github.com/vapor/debugging.git (0.26s)
Fetched https://github.com/vapor/bits.git (0.27s)
Computed https://github.com/vapor-community/random.git at 1.2.0 (1.09s)
Computing version for https://github.com/Boilertalk/secp256k1.swift
Computed https://github.com/Boilertalk/secp256k1.swift at 0.1.4 (0.32s)
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.31s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.32s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.32s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.29s)
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/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/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/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/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 '/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/secp256k1/Classes/secp256k1/modules/ecdh': File not found.
warning: 'secp256k1.swift': Invalid Source '/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/secp256k1/Classes/secp256k1/modules/recovery': File not found.
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/3] Compiling lax_der_parsing.c
[1/3] Compiling lax_der_privatekey_parsing.c
[3/25] Emitting module Debugging
[3/25] Compiling secp256k1.c
[5/27] Compiling Bits Byte+ControlCharacters.swift
[6/27] Compiling Bits Byte+Convenience.swift
[7/27] Compiling Bits Byte+PatternMatching.swift
[8/29] Compiling Debugging Debuggable.swift
[11/31] Compiling secp256k1 Exporter.swift
[12/31] Emitting module secp256k1
[13/32] Compiling Bits Operators.swift
[14/32] Compiling Bits String+BytesConvertible.swift
[17/33] Compiling Bits Aliases.swift
[18/33] Compiling Bits Base64Encoder.swift
[19/33] Compiling Bits Byte+Alphabet.swift
[20/33] Compiling Bits UnsignedInteger+BytesConvertible.swift
[21/33] Compiling Bits UnsignedInteger+Shifting.swift
[22/35] Compiling Bits Bytes+Percent.swift
[23/35] Compiling Bits BytesConvertible.swift
[24/35] Compiling libc libc.swift
[25/35] Emitting module libc
[26/36] Compiling Bits Bytes+Base64.swift
[27/36] Compiling Bits Bytes+Hex.swift
[28/36] Emitting module Bits
[29/36] Compiling Bits Byte+Random.swift
[30/36] Compiling Bits Byte+UTF8Numbers.swift
[31/36] Compiling Bits ByteSequence+Conversions.swift
[32/36] Compiling Bits Data+BytesConvertible.swift
[33/36] Compiling Bits HexEncoder.swift
[38/61] Emitting module Core
[39/63] Compiling Core Result.swift
[40/63] Compiling Core Semaphore.swift
[41/63] Compiling Core Sequence.swift
[42/63] Compiling Core String.swift
[43/63] Compiling Core WorkingDirectory.swift
[44/63] Compiling Core Array.swift
[45/63] Compiling Core Bits.swift
[46/63] Compiling Core Cache.swift
[47/63] Compiling Core Extendable.swift
[48/63] Compiling Core FileProtocol.swift
[49/63] Compiling Core Int+Hex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/63] Emitting module BitcoinKitPrivate
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/copenssl/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build C module 'COpenSSL'
import COpenSSL
       ^
[51/63] Compiling BitcoinKitPrivate BitcoinKit.Private.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/.build/checkouts/copenssl/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/host/spi-builder-workspace/Sources/BitcoinKitPrivate/BitcoinKit.Private.swift:10:8: error: could not build C module 'COpenSSL'
import COpenSSL
       ^
[52/63] Compiling Core DispatchTime+Utilities.swift
[53/63] Compiling Core EmptyInitializable.swift
[54/63] Compiling Core Exports.swift
[55/63] Compiling Core Collection+Safe.swift
[56/63] Compiling Core DataFile.swift
[57/63] Compiling Core Dispatch.swift
[58/63] Compiling Core Lock.swift
[59/63] Compiling Core Portal.swift
[60/63] Compiling Core RFC1123.swift
[61/63] Compiling Core StaticDataBuffer.swift
[62/63] Compiling Core String+CaseInsensitiveCompare.swift
[63/63] Compiling Core String+Polymorphic.swift
BUILD FAILURE 5.8 linux

Build Machine: Linux 2