Build Information
Failed to build Swiftagram 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/sbertix/Swiftagram.git
Reference: 5.4.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/sbertix/Swiftagram
* tag 5.4.0 -> FETCH_HEAD
HEAD is now at de8a5d8 feat: update collection and timeline endpoints
Cloned https://github.com/sbertix/Swiftagram.git
Revision (git rev-parse @):
de8a5d840a81b3d0dd66f0dc45304c54f29d0fda
SUCCESS checkout https://github.com/sbertix/Swiftagram.git at 5.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/sbertix/Swiftagram.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/sbertix/ComposableRequest
Fetching https://github.com/sbertix/SwCrypt.git
[1/495] Fetching swcrypt
[496/8913] Fetching swcrypt, composablerequest
Fetched https://github.com/sbertix/SwCrypt.git from cache (0.30s)
Fetched https://github.com/sbertix/ComposableRequest from cache (0.41s)
Computing version for https://github.com/sbertix/ComposableRequest
Computed https://github.com/sbertix/ComposableRequest at 5.3.2 (0.50s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/4368] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.53s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.45s)
Computing version for https://github.com/sbertix/SwCrypt.git
Computed https://github.com/sbertix/SwCrypt.git at 5.1.4 (0.44s)
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...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/57] Compiling ComposableStorage Storage.swift
[10/58] Compiling ComposableStorage Storable.swift
[11/58] 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
^
[12/58] 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
^
[13/58] 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
^
[14/58] 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
^
[15/58] 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
^
[16/58] Compiling ComposableRequest Pager.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[17/58] Compiling ComposableRequest Paginatable.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[18/58] Compiling ComposableRequest RankedOffset.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[19/58] Compiling ComposableRequest Publisher+Request.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[20/58] Compiling ComposableRequest Publisher+Wrapper.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[21/58] Compiling ComposableRequest String.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[22/58] Compiling ComposableRequest Logger+Level.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[23/58] Compiling ComposableRequest Logger.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[24/58] Compiling ComposableRequest ConcatProvider.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[25/58] Compiling ComposableRequest ConcatProvider3.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)
[26/63] 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) {
^~~~~~~~
[27/63] Compiling ComposableRequest @_exported.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[28/63] Compiling ComposableRequest CharacterSet.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[29/63] Compiling ComposableRequest CodableHTTPCookie.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[30/63] Compiling ComposableRequest Data.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[31/63] Compiling ComposableRequest Reference.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[32/63] Compiling SwCrypt SwCrypt.swift
/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:48:41: error: cannot find type 'CFDictionary' in scope
var status = SecItemAdd(parameters as CFDictionary, nil)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:48:55: error: 'nil' requires a contextual type
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:51:38: error: cannot find type 'CFDictionary' in scope
status = SecItemAdd(parameters as CFDictionary, nil)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:51:52: error: 'nil' requires a contextual type
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:64:50: error: cannot find type 'CFDictionary' 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:81:44: error: cannot find type 'CFDictionary' 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) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1979:55: error: cannot find type 'OSStatus' in scope
let status = input.withUnsafeBytes { inputBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1985:20: error: cannot find 'noErr' in scope
guard status == noErr else {
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2055:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2100:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2121:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
[33/63] Compiling ComposableStorage NonThrowingStorage.swift
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/63] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
^
[35/63] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
^
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/48] Compiling ComposableStorage CodableStorable.swift
[3/48] Emitting module ComposableStorage
[4/48] Compiling ComposableStorage ThrowingStorage.swift
[5/49] Compiling ComposableRequest PagerProvider.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[6/49] Compiling ComposableRequest PagerProviderInput.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[7/49] Compiling ComposableRequest PagerProviderType.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[8/49] Compiling ComposableRequest Provider+Alias.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[9/49] Compiling ComposableRequest Provider.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[10/49] Compiling ComposableRequest Pager.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[11/49] Compiling ComposableRequest Paginatable.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[12/49] Compiling ComposableRequest RankedOffset.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[13/49] Compiling ComposableRequest Publisher+Request.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[14/49] Compiling ComposableRequest Publisher+Wrapper.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[15/54] Compiling ComposableStorage AnyStorage.swift
[16/54] 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
^
[17/54] 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
^
[18/54] 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
^
[19/54] 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
^
[20/54] 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
^
[21/54] Compiling ComposableStorage Storable.swift
[22/54] Compiling ComposableStorage TransientStorage.swift
[23/54] Compiling ComposableStorage UserDefaultsStorage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/55] 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
^
[26/55] Compiling ComposableRequest Request+Response.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[27/55] Compiling ComposableRequest Request.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[28/55] Compiling ComposableRequest Wrappable.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[29/55] Compiling ComposableRequest Wrapped.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[30/55] Compiling ComposableRequest Wrapper.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[31/55] Compiling ComposableRequest String.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[32/55] Compiling ComposableRequest Logger+Level.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[33/55] Compiling ComposableRequest Logger.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[34/55] Compiling ComposableRequest ConcatProvider.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[35/55] Compiling ComposableRequest ConcatProvider3.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[36/55] Compiling ComposableRequest ConcatProvider4.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[37/55] Compiling ComposableRequest ConcatProvider5.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[38/55] Compiling ComposableRequest LockProvider.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[39/55] Compiling ComposableRequest LockProviderType.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[40/55] Compiling ComposableRequest ComposableOptionalType.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[41/55] Compiling ComposableRequest @_exported.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[42/55] Compiling ComposableRequest CharacterSet.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[43/55] Compiling ComposableRequest CodableHTTPCookie.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[44/55] Compiling ComposableRequest Data.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[45/55] Compiling ComposableRequest Reference.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[46/55] Compiling ComposableRequest Body.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[47/55] Compiling ComposableRequest Header.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[48/55] Compiling ComposableRequest Method.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[49/55] Compiling ComposableRequest Path.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[50/55] Compiling ComposableRequest Query.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
[51/55] Compiling ComposableRequest Timeout.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
@_exported import Combine
^
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/55] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
^
[53/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:48:41: error: cannot find type 'CFDictionary' in scope
var status = SecItemAdd(parameters as CFDictionary, nil)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:48:55: error: 'nil' requires a contextual type
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:51:38: error: cannot find type 'CFDictionary' in scope
status = SecItemAdd(parameters as CFDictionary, nil)
^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:51:52: error: 'nil' requires a contextual type
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:64:50: error: cannot find type 'CFDictionary' 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:81:44: error: cannot find type 'CFDictionary' 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) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1979:55: error: cannot find type 'OSStatus' in scope
let status = input.withUnsafeBytes { inputBytes -> OSStatus in
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1985:20: error: cannot find 'noErr' in scope
guard status == noErr else {
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2055:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2100:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2121:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
BUILD FAILURE 5.10 linux