The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build BlockchainSwift with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nevstad/blockchain-swift.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/nevstad/blockchain-swift
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at a7216ed Merge pull request #1 from nevstad/feature/network
Cloned https://github.com/nevstad/blockchain-swift.git
Revision (git rev-parse @):
a7216eda4b2f598f190b49bbb325bfefa34b244c
SUCCESS checkout https://github.com/nevstad/blockchain-swift.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/nevstad/blockchain-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling BlockchainSwift NodeAddress.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[4/17] Compiling BlockchainSwift NodeClient.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[5/19] Compiling BlockchainSwift TransationOutput.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[6/19] Compiling BlockchainSwift ECDSA.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[7/19] Compiling BlockchainSwift SHA.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[8/19] Compiling BlockchainSwift Node.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[9/19] Compiling BlockchainSwift TransactionInput.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[10/19] Compiling BlockchainSwift TransactionOutPoint.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[11/19] Compiling BlockchainSwift Serialization.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[12/19] Compiling BlockchainSwift Transaction.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/19] Emitting module BlockchainSwift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[14/19] Compiling BlockchainSwift Block.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[15/19] Compiling BlockchainSwift Blockchain.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[16/19] Compiling BlockchainSwift ProofOfWork.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[17/19] Compiling BlockchainSwift Wallet.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[18/19] Compiling BlockchainSwift NodeMessages.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[19/19] Compiling BlockchainSwift NodeServer.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling BlockchainSwift TransactionInput.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[3/16] Compiling BlockchainSwift TransactionOutPoint.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[4/18] Compiling BlockchainSwift NodeAddress.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[5/18] Compiling BlockchainSwift NodeClient.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[6/18] Compiling BlockchainSwift NodeMessages.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[7/18] Compiling BlockchainSwift NodeServer.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[8/18] Compiling BlockchainSwift Serialization.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[9/18] Compiling BlockchainSwift Transaction.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/18] Emitting module BlockchainSwift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[11/18] Compiling BlockchainSwift Block.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[12/18] Compiling BlockchainSwift Blockchain.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[13/18] Compiling BlockchainSwift SHA.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[14/18] Compiling BlockchainSwift Node.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[15/18] Compiling BlockchainSwift TransationOutput.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[16/18] Compiling BlockchainSwift ECDSA.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[17/18] Compiling BlockchainSwift ProofOfWork.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[18/18] Compiling BlockchainSwift Wallet.swift
/host/spi-builder-workspace/Sources/BlockchainSwift/Crypto/ECDSA.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
error: fatalError
BUILD FAILURE 5.10 linux