Build Information
Failed to build TIMEncryptedStorage with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/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/trifork/TIMEncryptedStorage-iOS.git
Reference: main
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/trifork/TIMEncryptedStorage-iOS
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 466d9a9 Made constructor on TIMKeyModel public (#8)
Cloned https://github.com/trifork/TIMEncryptedStorage-iOS.git
Revision (git rev-parse @):
466d9a9f0eba1555b0a27034f5a3b5aee837c404
SUCCESS checkout https://github.com/trifork/TIMEncryptedStorage-iOS.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/trifork/TIMEncryptedStorage-iOS.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/22] Emitting module TIMEncryptedStorage
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[4/24] Compiling TIMEncryptedStorage SecureStorageMock.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[5/24] Compiling TIMEncryptedStorage URLSession+Extensions.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[6/24] Compiling TIMEncryptedStorage URLSessionMockProtocol.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[7/24] Compiling TIMEncryptedStorage OSStatus+Extensions.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[8/24] Compiling TIMEncryptedStorage TIMKeyModel+Extensions.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[9/24] Compiling TIMEncryptedStorage IVGenerator.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[10/24] Compiling TIMEncryptedStorage TIMKeyServiceProtocol.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[11/24] Compiling TIMEncryptedStorage TIMKeychain.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[12/24] Compiling TIMEncryptedStorage TIMKeychainStoreItem.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[13/24] Compiling TIMEncryptedStorage TIMSecureStorage.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[14/24] Compiling TIMEncryptedStorage TIMESBiometricEnableResult.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[15/24] Compiling TIMEncryptedStorage TIMESEncryptionMethod.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[16/24] Compiling TIMEncryptedStorage TIMESKeyCreationResult.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[17/24] Compiling TIMEncryptedStorage TIMErrorModels.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[18/24] Compiling TIMEncryptedStorage TIMKeyServiceModels.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[19/24] Compiling TIMEncryptedStorage TIMKeyService.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[20/24] Compiling TIMEncryptedStorage TIMSecureStorageItem.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[21/24] Compiling TIMEncryptedStorage TIMEncryptedStorage.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[22/24] Compiling TIMEncryptedStorage CBC.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[23/24] Compiling TIMEncryptedStorage GCM.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[24/24] Compiling TIMEncryptedStorage TIMESCryptor.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2: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/21] Compiling TIMEncryptedStorage TIMKeychainStoreItem.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[3/21] Compiling TIMEncryptedStorage TIMSecureStorage.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[4/23] Compiling TIMEncryptedStorage TIMESBiometricEnableResult.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[5/23] Compiling TIMEncryptedStorage TIMESEncryptionMethod.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[6/23] Compiling TIMEncryptedStorage TIMESKeyCreationResult.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/23] Emitting module TIMEncryptedStorage
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[8/23] Compiling TIMEncryptedStorage SecureStorageMock.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[9/23] Compiling TIMEncryptedStorage URLSession+Extensions.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[10/23] Compiling TIMEncryptedStorage URLSessionMockProtocol.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[11/23] Compiling TIMEncryptedStorage TIMKeyServiceProtocol.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[12/23] Compiling TIMEncryptedStorage TIMKeychain.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[13/23] Compiling TIMEncryptedStorage OSStatus+Extensions.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[14/23] Compiling TIMEncryptedStorage TIMKeyModel+Extensions.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[15/23] Compiling TIMEncryptedStorage IVGenerator.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[16/23] Compiling TIMEncryptedStorage CBC.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[17/23] Compiling TIMEncryptedStorage GCM.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[18/23] Compiling TIMEncryptedStorage TIMESCryptor.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[19/23] Compiling TIMEncryptedStorage TIMErrorModels.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[20/23] Compiling TIMEncryptedStorage TIMKeyServiceModels.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[21/23] Compiling TIMEncryptedStorage TIMKeyService.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[22/23] Compiling TIMEncryptedStorage TIMSecureStorageItem.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
[23/23] Compiling TIMEncryptedStorage TIMEncryptedStorage.swift
/host/spi-builder-workspace/Sources/TIMEncryptedStorage/Cryptors/AES/CBC.swift:2:8: error: no such module 'CommonCrypto'
import CommonCrypto
^
error: fatalError
BUILD FAILURE 5.10 linux