The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Hash with Swift 5.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rwbutler/Hash.git
Reference: 1.5.0
Cloned https://github.com/rwbutler/Hash.git into spi-builder-workspace
SUCCESS checkout https://github.com/rwbutler/Hash.git at 1.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/10] Emitting module Hash
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[2/11] Compiling Hash HashAlgorithm.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[3/11] Compiling Hash DataAdditions.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[4/11] Compiling Hash StringAdditions.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[5/11] Compiling Hash Hash.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[6/11] Compiling Hash HMAC.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[7/11] Compiling Hash EncryptedData.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[8/11] Compiling Hash EncryptionAlgorithm.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[9/11] Compiling Hash Cryptable.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[10/11] Compiling Hash DecryptedData.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[11/11] Compiling Hash StringRepresentable.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1