Build Information
Failed to build Hash with Swift 5.9 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.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: master
Cloned https://github.com/rwbutler/Hash.git into spi-builder-workspace
SUCCESS checkout https://github.com/rwbutler/Hash.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
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.9-latest swift build 2>&1
Building for debugging...
[1/10] Compiling Hash DataAdditions.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[2/10] Compiling Hash StringAdditions.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[3/11] Compiling Hash Hash.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[4/11] Compiling Hash HMAC.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[5/11] Compiling Hash EncryptedData.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[6/11] Compiling Hash EncryptionAlgorithm.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[7/11] Compiling Hash HashAlgorithm.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[8/11] Compiling Hash StringRepresentable.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Emitting module Hash
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[10/11] Compiling Hash Cryptable.swift
/host/spi-builder-workspace/Hash/Classes/Cryptography/Cryptable.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[11/11] Compiling Hash DecryptedData.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 2