Build Information
Failed to build Swiftagram with Swift 5.7 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.7-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbertix/Swiftagram.git
Reference: 5.4.0
Cloned https://github.com/sbertix/Swiftagram.git into spi-builder-workspace
SUCCESS checkout https://github.com/sbertix/Swiftagram.git at 5.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.7
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.7-latest swift build 2>&1
Fetching https://github.com/sbertix/SwCrypt.git
Fetching https://github.com/sbertix/ComposableRequest
[1/495] Fetching swcrypt
[496/8913] Fetching swcrypt, composablerequest
Fetched https://github.com/sbertix/SwCrypt.git (0.47s)
Fetched https://github.com/sbertix/ComposableRequest (0.48s)
Computing version for https://github.com/sbertix/ComposableRequest
Computed https://github.com/sbertix/ComposableRequest at 5.3.2 (0.31s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/4292] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess (0.56s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.28s)
Computing version for https://github.com/sbertix/SwCrypt.git
Computed https://github.com/sbertix/SwCrypt.git at 5.1.4 (0.28s)
Creating working copy for https://github.com/sbertix/ComposableRequest
Working copy of https://github.com/sbertix/ComposableRequest resolved at 5.3.2
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
Creating working copy for https://github.com/sbertix/SwCrypt.git
Working copy of https://github.com/sbertix/SwCrypt.git resolved at 5.1.4
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/49] Emitting module ComposableRequest
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
error: emit-module command failed with exit code 1 (use -v to see invocation)[2/49] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
^
[3/54] Compiling ComposableStorage Storage.swift
[4/55] Compiling ComposableStorage ThrowingStorage.swift
[5/55] Compiling ComposableRequest SessionProvider.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[6/55] Compiling ComposableRequest SessionProviderInput.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[7/55] Compiling ComposableRequest SessionProviderType.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[8/55] Compiling ComposableRequest Pager+Delay.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[9/55] Compiling ComposableRequest Pager+Iteration.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[10/55] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
^
[11/55] Compiling ComposableStorage NonThrowingStorage.swift
[12/55] Compiling ComposableStorage Storable.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
error: emit-module command failed with exit code 1 (use -v to see invocation)[13/55] Emitting module SwCrypt
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:5:24: error: cannot find type 'OSStatus' in scope
public enum SecError: OSStatus, Error {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:19:18: error: cannot find type 'OSStatus' in scope
init(_ status: OSStatus, function: String = #function, file: String = #file, line: Int = #line) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:5:24: error: cannot find type 'OSStatus' in scope
public enum SecError: OSStatus, Error {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:19:18: error: cannot find type 'OSStatus' in scope
init(_ status: OSStatus, function: String = #function, file: String = #file, line: Int = #line) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:20:19: error: extraneous argument label 'rawValue:' in call
self = SecError(rawValue: status)!
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:20:37: error: cannot force unwrap value of non-optional type 'SwKeyStore.SecError'
self = SecError(rawValue: status)!
~~~~~~~~~~~~~~~~~~~~~~~~~~^
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:22:76: error: value of type 'SwKeyStore.SecError' has no member 'rawValue'
print("\(file):\(line): [\(function)] \(self._domain): \(self) (\(self.rawValue))")
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:5:14: note: did you mean to specify a raw type on the enum declaration?
public enum SecError: OSStatus, Error {
^
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:28:76: error: value of type 'SwKeyStore.SecError' has no member 'rawValue'
print("\(file):\(line): [\(function)] \(self._domain): \(self) (\(self.rawValue))")
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:5:14: note: did you mean to specify a raw type on the enum declaration?
public enum SecError: OSStatus, Error {
^
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:38:4: error: cannot find 'kSecClass' in scope
kSecClass: kSecClassKey,
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:38:15: error: cannot find 'kSecClassKey' in scope
kSecClass: kSecClassKey,
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:39:4: error: cannot find 'kSecAttrKeyType' in scope
kSecAttrKeyType: kSecAttrKeyTypeRSA,
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:39:21: error: cannot find 'kSecAttrKeyTypeRSA' in scope
kSecAttrKeyType: kSecAttrKeyTypeRSA,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:40:4: error: cannot find 'kSecAttrIsPermanent' in scope
kSecAttrIsPermanent: true as AnyObject,
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:41:4: error: cannot find 'kSecAttrApplicationTag' in scope
kSecAttrApplicationTag: keyTag as AnyObject,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:42:4: error: cannot find 'kSecValueData' in scope
kSecValueData: pemKeyAsData as AnyObject
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:48:16: error: cannot find 'SecItemAdd' in scope
var status = SecItemAdd(parameters as CFDictionary, nil)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:49:16: error: cannot find 'errSecDuplicateItem' in scope
if status == errSecDuplicateItem {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:51:13: error: cannot find 'SecItemAdd' in scope
status = SecItemAdd(parameters as CFDictionary, nil)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:53:19: error: cannot find 'errSecSuccess' in scope
guard status == errSecSuccess else { throw SecError(status) }
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:58:4: error: cannot find 'kSecClass' in scope
kSecClass : kSecClassKey,
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:58:16: error: cannot find 'kSecClassKey' in scope
kSecClass : kSecClassKey,
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:59:4: error: cannot find 'kSecAttrKeyType' in scope
kSecAttrKeyType : kSecAttrKeyTypeRSA,
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:59:22: error: cannot find 'kSecAttrKeyTypeRSA' in scope
kSecAttrKeyType : kSecAttrKeyTypeRSA,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:60:4: error: cannot find 'kSecAttrApplicationTag' in scope
kSecAttrApplicationTag : keyTag as AnyObject,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:61:4: error: cannot find 'kSecReturnData' in scope
kSecReturnData : true as AnyObject
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:64:16: error: cannot find 'SecItemCopyMatching' in scope
let status = SecItemCopyMatching(parameters as CFDictionary, &data)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:65:19: error: cannot find 'errSecSuccess' in scope
guard status == errSecSuccess else { throw SecError(status) }
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:78:4: error: cannot find 'kSecClass' in scope
kSecClass : kSecClassKey,
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:78:16: error: cannot find 'kSecClassKey' in scope
kSecClass : kSecClassKey,
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:79:4: error: cannot find 'kSecAttrApplicationTag' in scope
kSecAttrApplicationTag: keyTag as AnyObject
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:81:16: error: cannot find 'SecItemDelete' in scope
let status = SecItemDelete(parameters as CFDictionary)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:82:19: error: cannot find 'errSecSuccess' in scope
guard status == errSecSuccess else { throw SecError(status) }
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:743:19: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:758:19: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:762:59: error: cannot find type 'OSStatus' in scope
status = result.withUnsafeMutableBytes { resultBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:769:19: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:925:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:955:51: error: cannot find type 'OSStatus' in scope
var status = key.withUnsafeBytes { keyBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:962:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:967:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:970:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:972:45: error: cannot find type 'OSStatus' in scope
status = iv.withUnsafeBytes { ivBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:975:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:977:51: error: cannot find type 'OSStatus' in scope
status = aData.withUnsafeBytes { aDataBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:980:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:991:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:994:60: error: cannot find type 'OSStatus' in scope
status = result.withUnsafeMutableBytes { resultBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:999:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1005:54: error: cannot find type 'OSStatus' in scope
status = tag.withUnsafeMutableBytes { tagBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1009:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1063:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1109:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1137:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1145:57: error: cannot find type 'OSStatus' in scope
let status = derKey.withUnsafeBytes { derKeyBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1151:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1159:64: error: cannot find type 'OSStatus' in scope
let status = derKey.withUnsafeMutableBytes { derKeyBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1162:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1198:21: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1237:21: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1261:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1562:65: error: cannot find type 'OSStatus' in scope
let status = output.withUnsafeMutableBytes { outputBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1658:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1694:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1714:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1730:64: error: cannot find type 'OSStatus' in scope
let status = result.withUnsafeMutableBytes { resultBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1733:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1773:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1792:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1802:51: error: cannot find type 'OSStatus' in scope
let status = key.withUnsafeBytes { keyBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1807:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1816:64: error: cannot find type 'OSStatus' in scope
let status = expKey.withUnsafeMutableBytes { expKeyBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1824:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
BUILD FAILURE 5.7 linux
Build Machine: Linux 2