The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CryptomatorCryptoLib with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/cryptomator/cryptolib-swift.git
Reference: 1.1.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/cryptomator/cryptolib-swift
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 6e5dbea Merge branch 'release/1.1.0'
Cloned https://github.com/cryptomator/cryptolib-swift.git
Revision (git rev-parse @):
6e5dbea6e05742ad82a074bf7ee8c3305d92fbae
SUCCESS checkout https://github.com/cryptomator/cryptolib-swift.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/cryptomator/cryptolib-swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/norio-nomura/Base32.git
[1/1168] Fetching base32
Fetched https://github.com/norio-nomura/Base32.git from cache (0.23s)
Computing version for https://github.com/norio-nomura/Base32.git
Computed https://github.com/norio-nomura/Base32.git at 0.9.0 (1.30s)
Creating working copy for https://github.com/norio-nomura/Base32.git
Working copy of https://github.com/norio-nomura/Base32.git resolved at 0.9.0
Building for debugging...
[0/6] Write sources
[2/6] Compiling scrypt insecure_memzero.c
[3/6] Compiling scrypt crypto_scrypt.c
[4/6] Compiling scrypt sha256.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/11] Compiling Base32 StringExtension.swift
[8/11] Compiling Base32 shim.swift
[9/11] Compiling Base32 Base16.swift
[10/11] Emitting module Base32
[11/11] Compiling Base32 Base32.swift
[13/20] Compiling CryptomatorCryptoLib CryptoError.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[14/21] Compiling CryptomatorCryptoLib Masterkey.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[15/21] Compiling CryptomatorCryptoLib Cryptor.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[16/21] Compiling CryptomatorCryptoLib CryptoSupport.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[17/21] Compiling CryptomatorCryptoLib MasterkeyFile.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/21] Emitting module CryptomatorCryptoLib
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[19/21] Compiling CryptomatorCryptoLib AesSiv.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[20/21] Compiling CryptomatorCryptoLib ContentCryptor.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[21/21] Compiling CryptomatorCryptoLib AesCtr.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.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/9] Compiling CryptomatorCryptoLib Masterkey.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[3/10] Compiling CryptomatorCryptoLib Cryptor.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[4/10] Compiling CryptomatorCryptoLib CryptoError.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[5/10] Compiling CryptomatorCryptoLib CryptoSupport.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/10] Emitting module CryptomatorCryptoLib
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[7/10] Compiling CryptomatorCryptoLib AesCtr.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[8/10] Compiling CryptomatorCryptoLib AesSiv.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[9/10] Compiling CryptomatorCryptoLib ContentCryptor.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[10/10] Compiling CryptomatorCryptoLib MasterkeyFile.swift
/host/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesCtr.swift:9:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2