Build Information
Failed to build Swiftagram, reference main (de8a5d
), with Swift 6.0 for Linux on 1 Nov 2024 20:23:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbertix/Swiftagram.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/sbertix/Swiftagram
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/sbertix/Swiftagram.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/sbertix/SwCrypt.git
Fetching https://github.com/sbertix/ComposableRequest
[1/495] Fetching swcrypt
[472/8921] Fetching swcrypt, composablerequest
Fetched https://github.com/sbertix/SwCrypt.git from cache (0.77s)
Fetched https://github.com/sbertix/ComposableRequest from cache (0.77s)
Computing version for https://github.com/sbertix/ComposableRequest
Computed https://github.com/sbertix/ComposableRequest at 5.3.3 (0.97s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/4389] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.85s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.94s)
Computing version for https://github.com/sbertix/SwCrypt.git
Computed https://github.com/sbertix/SwCrypt.git at 5.1.4 (0.97s)
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
Creating working copy for https://github.com/sbertix/ComposableRequest
Working copy of https://github.com/sbertix/ComposableRequest resolved at 5.3.3
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/57] Emitting module ComposableRequest
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/62] Emitting module SwCrypt
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:5:24: error: cannot find type 'OSStatus' in scope
3 | open class SwKeyStore {
4 |
5 | public enum SecError: OSStatus, Error {
| `- error: cannot find type 'OSStatus' in scope
6 | case unimplemented = -4
7 | case param = -50
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:19:18: error: cannot find type 'OSStatus' in scope
17 | public static var debugLevel = 1
18 |
19 | init(_ status: OSStatus, function: String = #function, file: String = #file, line: Int = #line) {
| `- error: cannot find type 'OSStatus' in scope
20 | self = SecError(rawValue: status)!
21 | if SecError.debugLevel > 0 {
[11/62] Compiling ComposableRequest Request+Response.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[12/62] Compiling ComposableRequest Request.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[13/62] Compiling ComposableRequest Wrappable.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[14/62] Compiling ComposableRequest Wrapped.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[15/62] Compiling ComposableRequest Wrapper.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[16/62] Compiling ComposableRequest Pager.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[17/62] Compiling ComposableRequest Paginatable.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[18/62] Compiling ComposableRequest RankedOffset.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[19/62] Compiling ComposableRequest Publisher+Request.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[20/62] Compiling ComposableRequest Publisher+Wrapper.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[21/62] Compiling ComposableStorage Storage.swift
[22/62] Compiling ComposableStorage Storable.swift
[23/63] Compiling ComposableRequest SessionProvider.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[24/63] Compiling ComposableRequest SessionProviderInput.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[25/63] Compiling ComposableRequest SessionProviderType.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[26/63] Compiling ComposableRequest Pager+Delay.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[27/63] Compiling ComposableRequest Pager+Iteration.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[28/63] Compiling ComposableStorage CodableStorable.swift
[29/63] Compiling ComposableStorage NonThrowingStorage.swift
[30/63] Compiling ComposableStorage UserDefaultsStorage.swift
[31/63] Compiling ComposableStorage ThrowingStorage.swift
[32/63] Compiling ComposableRequest String.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[33/63] Compiling ComposableRequest Logger+Level.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[34/63] Compiling ComposableRequest Logger.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[35/63] Compiling ComposableRequest ConcatProvider.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[36/63] Compiling ComposableRequest ConcatProvider3.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/63] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
25 |
26 | import Foundation
27 | import Security
| `- error: no such module 'Security'
28 | #if os(iOS) || os(OSX)
29 | import LocalAuthentication
[38/63] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
25 |
26 | import Foundation
27 | import Security
| `- error: no such module 'Security'
28 | #if os(iOS) || os(OSX)
29 | import LocalAuthentication
[39/63] Compiling ComposableRequest Body.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[40/63] Compiling ComposableRequest Header.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[41/63] Compiling ComposableRequest Method.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[42/63] Compiling ComposableRequest Path.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[43/63] Compiling ComposableRequest Query.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[44/63] Compiling ComposableRequest Timeout.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[45/63] Compiling ComposableRequest @_exported.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[46/63] Compiling ComposableRequest CharacterSet.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[47/63] Compiling ComposableRequest CodableHTTPCookie.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[48/63] Compiling ComposableRequest Data.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[49/63] Compiling ComposableRequest Reference.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[50/63] Compiling SwCrypt SwCrypt.swift
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:5:24: error: cannot find type 'OSStatus' in scope
3 | open class SwKeyStore {
4 |
5 | public enum SecError: OSStatus, Error {
| `- error: cannot find type 'OSStatus' in scope
6 | case unimplemented = -4
7 | case param = -50
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:19:18: error: cannot find type 'OSStatus' in scope
17 | public static var debugLevel = 1
18 |
19 | init(_ status: OSStatus, function: String = #function, file: String = #file, line: Int = #line) {
| `- error: cannot find type 'OSStatus' in scope
20 | self = SecError(rawValue: status)!
21 | if SecError.debugLevel > 0 {
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:20:19: error: extraneous argument label 'rawValue:' in call
18 |
19 | init(_ status: OSStatus, function: String = #function, file: String = #file, line: Int = #line) {
20 | self = SecError(rawValue: status)!
| `- error: extraneous argument label 'rawValue:' in call
21 | if SecError.debugLevel > 0 {
22 | print("\(file):\(line): [\(function)] \(self._domain): \(self) (\(self.rawValue))")
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:20:37: error: cannot force unwrap value of non-optional type 'SwKeyStore.SecError'
18 |
19 | init(_ status: OSStatus, function: String = #function, file: String = #file, line: Int = #line) {
20 | self = SecError(rawValue: status)!
| `- error: cannot force unwrap value of non-optional type 'SwKeyStore.SecError'
21 | if SecError.debugLevel > 0 {
22 | print("\(file):\(line): [\(function)] \(self._domain): \(self) (\(self.rawValue))")
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:22:76: error: value of type 'SwKeyStore.SecError' has no member 'rawValue'
3 | open class SwKeyStore {
4 |
5 | public enum SecError: OSStatus, Error {
| `- note: did you mean to specify a raw type on the enum declaration?
6 | case unimplemented = -4
7 | case param = -50
:
20 | self = SecError(rawValue: status)!
21 | if SecError.debugLevel > 0 {
22 | print("\(file):\(line): [\(function)] \(self._domain): \(self) (\(self.rawValue))")
| `- error: value of type 'SwKeyStore.SecError' has no member 'rawValue'
23 | }
24 | }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:28:76: error: value of type 'SwKeyStore.SecError' has no member 'rawValue'
3 | open class SwKeyStore {
4 |
5 | public enum SecError: OSStatus, Error {
| `- note: did you mean to specify a raw type on the enum declaration?
6 | case unimplemented = -4
7 | case param = -50
:
26 | self = type
27 | if SecError.debugLevel > 0 {
28 | print("\(file):\(line): [\(function)] \(self._domain): \(self) (\(self.rawValue))")
| `- error: value of type 'SwKeyStore.SecError' has no member 'rawValue'
29 | }
30 | }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:38:4: error: cannot find 'kSecClass' in scope
36 |
37 | var parameters: [NSString : AnyObject] = [
38 | kSecClass: kSecClassKey,
| `- error: cannot find 'kSecClass' in scope
39 | kSecAttrKeyType: kSecAttrKeyTypeRSA,
40 | kSecAttrIsPermanent: true as AnyObject,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:38:15: error: cannot find 'kSecClassKey' in scope
36 |
37 | var parameters: [NSString : AnyObject] = [
38 | kSecClass: kSecClassKey,
| `- error: cannot find 'kSecClassKey' in scope
39 | kSecAttrKeyType: kSecAttrKeyTypeRSA,
40 | kSecAttrIsPermanent: true as AnyObject,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:39:4: error: cannot find 'kSecAttrKeyType' in scope
37 | var parameters: [NSString : AnyObject] = [
38 | kSecClass: kSecClassKey,
39 | kSecAttrKeyType: kSecAttrKeyTypeRSA,
| `- error: cannot find 'kSecAttrKeyType' in scope
40 | kSecAttrIsPermanent: true as AnyObject,
41 | kSecAttrApplicationTag: keyTag as AnyObject,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:39:21: error: cannot find 'kSecAttrKeyTypeRSA' in scope
37 | var parameters: [NSString : AnyObject] = [
38 | kSecClass: kSecClassKey,
39 | kSecAttrKeyType: kSecAttrKeyTypeRSA,
| `- error: cannot find 'kSecAttrKeyTypeRSA' in scope
40 | kSecAttrIsPermanent: true as AnyObject,
41 | kSecAttrApplicationTag: keyTag as AnyObject,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:40:4: error: cannot find 'kSecAttrIsPermanent' in scope
38 | kSecClass: kSecClassKey,
39 | kSecAttrKeyType: kSecAttrKeyTypeRSA,
40 | kSecAttrIsPermanent: true as AnyObject,
| `- error: cannot find 'kSecAttrIsPermanent' in scope
41 | kSecAttrApplicationTag: keyTag as AnyObject,
42 | kSecValueData: pemKeyAsData as AnyObject
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:41:4: error: cannot find 'kSecAttrApplicationTag' in scope
39 | kSecAttrKeyType: kSecAttrKeyTypeRSA,
40 | kSecAttrIsPermanent: true as AnyObject,
41 | kSecAttrApplicationTag: keyTag as AnyObject,
| `- error: cannot find 'kSecAttrApplicationTag' in scope
42 | kSecValueData: pemKeyAsData as AnyObject
43 | ]
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:42:4: error: cannot find 'kSecValueData' in scope
40 | kSecAttrIsPermanent: true as AnyObject,
41 | kSecAttrApplicationTag: keyTag as AnyObject,
42 | kSecValueData: pemKeyAsData as AnyObject
| `- error: cannot find 'kSecValueData' in scope
43 | ]
44 | options.forEach { k, v in
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:48:16: error: cannot find 'SecItemAdd' in scope
46 | }
47 |
48 | var status = SecItemAdd(parameters as CFDictionary, nil)
| `- error: cannot find 'SecItemAdd' in scope
49 | if status == errSecDuplicateItem {
50 | try delKey(keyTag)
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:48:41: error: cannot find type 'CFDictionary' in scope
46 | }
47 |
48 | var status = SecItemAdd(parameters as CFDictionary, nil)
| `- error: cannot find type 'CFDictionary' in scope
49 | if status == errSecDuplicateItem {
50 | try delKey(keyTag)
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:48:55: error: 'nil' requires a contextual type
46 | }
47 |
48 | var status = SecItemAdd(parameters as CFDictionary, nil)
| `- error: 'nil' requires a contextual type
49 | if status == errSecDuplicateItem {
50 | try delKey(keyTag)
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:49:16: error: cannot find 'errSecDuplicateItem' in scope
47 |
48 | var status = SecItemAdd(parameters as CFDictionary, nil)
49 | if status == errSecDuplicateItem {
| `- error: cannot find 'errSecDuplicateItem' in scope
50 | try delKey(keyTag)
51 | status = SecItemAdd(parameters as CFDictionary, nil)
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:51:13: error: cannot find 'SecItemAdd' in scope
49 | if status == errSecDuplicateItem {
50 | try delKey(keyTag)
51 | status = SecItemAdd(parameters as CFDictionary, nil)
| `- error: cannot find 'SecItemAdd' in scope
52 | }
53 | guard status == errSecSuccess else { throw SecError(status) }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:51:38: error: cannot find type 'CFDictionary' in scope
49 | if status == errSecDuplicateItem {
50 | try delKey(keyTag)
51 | status = SecItemAdd(parameters as CFDictionary, nil)
| `- error: cannot find type 'CFDictionary' in scope
52 | }
53 | guard status == errSecSuccess else { throw SecError(status) }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:51:52: error: 'nil' requires a contextual type
49 | if status == errSecDuplicateItem {
50 | try delKey(keyTag)
51 | status = SecItemAdd(parameters as CFDictionary, nil)
| `- error: 'nil' requires a contextual type
52 | }
53 | guard status == errSecSuccess else { throw SecError(status) }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:53:19: error: cannot find 'errSecSuccess' in scope
51 | status = SecItemAdd(parameters as CFDictionary, nil)
52 | }
53 | guard status == errSecSuccess else { throw SecError(status) }
| `- error: cannot find 'errSecSuccess' in scope
54 | }
55 |
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:58:4: error: cannot find 'kSecClass' in scope
56 | public static func getKey(_ keyTag: String) throws -> String {
57 | let parameters: [NSString : AnyObject] = [
58 | kSecClass : kSecClassKey,
| `- error: cannot find 'kSecClass' in scope
59 | kSecAttrKeyType : kSecAttrKeyTypeRSA,
60 | kSecAttrApplicationTag : keyTag as AnyObject,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:58:16: error: cannot find 'kSecClassKey' in scope
56 | public static func getKey(_ keyTag: String) throws -> String {
57 | let parameters: [NSString : AnyObject] = [
58 | kSecClass : kSecClassKey,
| `- error: cannot find 'kSecClassKey' in scope
59 | kSecAttrKeyType : kSecAttrKeyTypeRSA,
60 | kSecAttrApplicationTag : keyTag as AnyObject,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:59:4: error: cannot find 'kSecAttrKeyType' in scope
57 | let parameters: [NSString : AnyObject] = [
58 | kSecClass : kSecClassKey,
59 | kSecAttrKeyType : kSecAttrKeyTypeRSA,
| `- error: cannot find 'kSecAttrKeyType' in scope
60 | kSecAttrApplicationTag : keyTag as AnyObject,
61 | kSecReturnData : true as AnyObject
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:59:22: error: cannot find 'kSecAttrKeyTypeRSA' in scope
57 | let parameters: [NSString : AnyObject] = [
58 | kSecClass : kSecClassKey,
59 | kSecAttrKeyType : kSecAttrKeyTypeRSA,
| `- error: cannot find 'kSecAttrKeyTypeRSA' in scope
60 | kSecAttrApplicationTag : keyTag as AnyObject,
61 | kSecReturnData : true as AnyObject
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:60:4: error: cannot find 'kSecAttrApplicationTag' in scope
58 | kSecClass : kSecClassKey,
59 | kSecAttrKeyType : kSecAttrKeyTypeRSA,
60 | kSecAttrApplicationTag : keyTag as AnyObject,
| `- error: cannot find 'kSecAttrApplicationTag' in scope
61 | kSecReturnData : true as AnyObject
62 | ]
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:61:4: error: cannot find 'kSecReturnData' in scope
59 | kSecAttrKeyType : kSecAttrKeyTypeRSA,
60 | kSecAttrApplicationTag : keyTag as AnyObject,
61 | kSecReturnData : true as AnyObject
| `- error: cannot find 'kSecReturnData' in scope
62 | ]
63 | var data: AnyObject?
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:64:16: error: cannot find 'SecItemCopyMatching' in scope
62 | ]
63 | var data: AnyObject?
64 | let status = SecItemCopyMatching(parameters as CFDictionary, &data)
| `- error: cannot find 'SecItemCopyMatching' in scope
65 | guard status == errSecSuccess else { throw SecError(status) }
66 |
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:64:50: error: cannot find type 'CFDictionary' in scope
62 | ]
63 | var data: AnyObject?
64 | let status = SecItemCopyMatching(parameters as CFDictionary, &data)
| `- error: cannot find type 'CFDictionary' in scope
65 | guard status == errSecSuccess else { throw SecError(status) }
66 |
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:65:19: error: cannot find 'errSecSuccess' in scope
63 | var data: AnyObject?
64 | let status = SecItemCopyMatching(parameters as CFDictionary, &data)
65 | guard status == errSecSuccess else { throw SecError(status) }
| `- error: cannot find 'errSecSuccess' in scope
66 |
67 | guard let pemKeyAsData = data as? Data else {
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:78:4: error: cannot find 'kSecClass' in scope
76 | public static func delKey(_ keyTag: String) throws {
77 | let parameters: [NSString : AnyObject] = [
78 | kSecClass : kSecClassKey,
| `- error: cannot find 'kSecClass' in scope
79 | kSecAttrApplicationTag: keyTag as AnyObject
80 | ]
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:78:16: error: cannot find 'kSecClassKey' in scope
76 | public static func delKey(_ keyTag: String) throws {
77 | let parameters: [NSString : AnyObject] = [
78 | kSecClass : kSecClassKey,
| `- error: cannot find 'kSecClassKey' in scope
79 | kSecAttrApplicationTag: keyTag as AnyObject
80 | ]
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:79:4: error: cannot find 'kSecAttrApplicationTag' in scope
77 | let parameters: [NSString : AnyObject] = [
78 | kSecClass : kSecClassKey,
79 | kSecAttrApplicationTag: keyTag as AnyObject
| `- error: cannot find 'kSecAttrApplicationTag' in scope
80 | ]
81 | let status = SecItemDelete(parameters as CFDictionary)
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:81:16: error: cannot find 'SecItemDelete' in scope
79 | kSecAttrApplicationTag: keyTag as AnyObject
80 | ]
81 | let status = SecItemDelete(parameters as CFDictionary)
| `- error: cannot find 'SecItemDelete' in scope
82 | guard status == errSecSuccess else { throw SecError(status) }
83 | }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:81:44: error: cannot find type 'CFDictionary' in scope
79 | kSecAttrApplicationTag: keyTag as AnyObject
80 | ]
81 | let status = SecItemDelete(parameters as CFDictionary)
| `- error: cannot find type 'CFDictionary' in scope
82 | guard status == errSecSuccess else { throw SecError(status) }
83 | }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:82:19: error: cannot find 'errSecSuccess' in scope
80 | ]
81 | let status = SecItemDelete(parameters as CFDictionary)
82 | guard status == errSecSuccess else { throw SecError(status) }
| `- error: cannot find 'errSecSuccess' in scope
83 | }
84 | }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:743:19: error: cannot find 'noErr' in scope
741 | })
742 |
743 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
744 |
745 | defer { _ = CCCryptorRelease!(cryptor!) }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:758:19: error: cannot find 'noErr' in scope
756 | &updateLen)
757 | })
758 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
759 |
760 |
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:762:59: error: cannot find type 'OSStatus' in scope
760 |
761 | var finalLen: size_t = 0
762 | status = result.withUnsafeMutableBytes { resultBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
763 | return CCCryptorFinal!(
764 | cryptor!,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:769:19: error: cannot find 'noErr' in scope
767 | &finalLen)
768 | }
769 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
770 |
771 |
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:925:20: error: cannot find 'noErr' in scope
923 | resultBytes, tagBytes, &tagLength_)
924 | })
925 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
926 |
927 | tag.count = tagLength_
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:955:51: error: cannot find type 'OSStatus' in scope
953 | aData: Data, tagLength: Int) throws -> (Data, Data) {
954 | var cryptor: CCCryptorRef? = nil
955 | var status = key.withUnsafeBytes { keyBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
956 | CCCryptorCreateWithMode!(
957 | opMode.rawValue, AuthBlockMode.ccm.rawValue,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:962:20: error: cannot find 'noErr' in scope
960 | 0, CCModeOptions(), &cryptor)
961 | }
962 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
963 | defer { _ = CCCryptorRelease!(cryptor!) }
964 |
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:967:20: error: cannot find 'noErr' in scope
965 | status = CCCryptorAddParameter!(cryptor!,
966 | Parameter.dataSize.rawValue, nil, data.count)
967 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
968 |
969 | status = CCCryptorAddParameter!(cryptor!, Parameter.macSize.rawValue, nil, tagLength)
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:970:20: error: cannot find 'noErr' in scope
968 |
969 | status = CCCryptorAddParameter!(cryptor!, Parameter.macSize.rawValue, nil, tagLength)
970 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
971 |
972 | status = iv.withUnsafeBytes { ivBytes -> OSStatus in
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:972:45: error: cannot find type 'OSStatus' in scope
970 | guard status == noErr else { throw CCError(status) }
971 |
972 | status = iv.withUnsafeBytes { ivBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
973 | CCCryptorAddParameter!(cryptor!, Parameter.iv.rawValue, ivBytes.baseAddress!, iv.count)
974 | }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:975:20: error: cannot find 'noErr' in scope
973 | CCCryptorAddParameter!(cryptor!, Parameter.iv.rawValue, ivBytes.baseAddress!, iv.count)
974 | }
975 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
976 |
977 | status = aData.withUnsafeBytes { aDataBytes -> OSStatus in
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:977:51: error: cannot find type 'OSStatus' in scope
975 | guard status == noErr else { throw CCError(status) }
976 |
977 | status = aData.withUnsafeBytes { aDataBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
978 | CCCryptorAddParameter!(cryptor!, Parameter.authData.rawValue, aDataBytes.baseAddress!, aData.count)
979 | }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:980:20: error: cannot find 'noErr' in scope
978 | CCCryptorAddParameter!(cryptor!, Parameter.authData.rawValue, aDataBytes.baseAddress!, aData.count)
979 | }
980 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
981 |
982 | var result = Data(count: data.count)
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:991:20: error: cannot find 'noErr' in scope
989 | &updateLen)
990 | })
991 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
992 |
993 | var finalLen: size_t = 0
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:994:60: error: cannot find type 'OSStatus' in scope
992 |
993 | var finalLen: size_t = 0
994 | status = result.withUnsafeMutableBytes { resultBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
995 | CCCryptorFinal!(cryptor!, resultBytes.baseAddress! + updateLen,
996 | rescount - updateLen,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:999:20: error: cannot find 'noErr' in scope
997 | &finalLen)
998 | }
999 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1000 |
1001 | result.count = updateLen + finalLen
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1005:54: error: cannot find type 'OSStatus' in scope
1003 | var tagLength_ = tagLength
1004 | var tag = Data(count: tagLength)
1005 | status = tag.withUnsafeMutableBytes { tagBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
1006 | CCCryptorGetParameter!(cryptor!, Parameter.authTag.rawValue,
1007 | tagBytes.baseAddress!, &tagLength_)
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1009:20: error: cannot find 'noErr' in scope
1007 | tagBytes.baseAddress!, &tagLength_)
1008 | }
1009 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1010 |
1011 | tag.count = tagLength_
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1063:20: error: cannot find 'noErr' in scope
1061 | &publicKey,
1062 | &privateKey)
1063 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1064 |
1065 | defer {
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1109:20: error: cannot find 'noErr' in scope
1107 | digest.rawValue)
1108 | })
1109 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1110 |
1111 | buffer.count = bufferSize
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1137:20: error: cannot find 'noErr' in scope
1135 | digest.rawValue)
1136 | })
1137 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1138 | buffer.count = bufferSize
1139 |
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1145:57: error: cannot find type 'OSStatus' in scope
1143 | fileprivate static func importFromDERKey(_ derKey: Data) throws -> CCRSACryptorRef {
1144 | var key: CCRSACryptorRef? = nil
1145 | let status = derKey.withUnsafeBytes { derKeyBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
1146 | CCRSACryptorImport!(
1147 | derKeyBytes.baseAddress!,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1151:20: error: cannot find 'noErr' in scope
1149 | &key)
1150 | }
1151 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1152 |
1153 | return key!
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1159:64: error: cannot find type 'OSStatus' in scope
1157 | var derKeyLength = 8192
1158 | var derKey = Data(count: derKeyLength)
1159 | let status = derKey.withUnsafeMutableBytes { derKeyBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
1160 | CCRSACryptorExport!(key, derKeyBytes.baseAddress!, &derKeyLength)
1161 | }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1162:20: error: cannot find 'noErr' in scope
1160 | CCRSACryptorExport!(key, derKeyBytes.baseAddress!, &derKeyLength)
1161 | }
1162 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1163 |
1164 | derKey.count = derKeyLength
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1198:21: error: cannot find 'noErr' in scope
1196 | signedDataBytes, &signedDataLength)
1197 | })
1198 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1199 |
1200 | signedData.count = signedDataLength
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1237:21: error: cannot find 'noErr' in scope
1235 | return false
1236 | }
1237 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1238 | return true
1239 | case .pss:
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1261:20: error: cannot find 'noErr' in scope
1259 | })
1260 |
1261 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1262 | out.count = outLength
1263 |
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1562:65: error: cannot find type 'OSStatus' in scope
1560 | var outputLength = 8192
1561 | var output = Data(count: outputLength)
1562 | let status = output.withUnsafeMutableBytes { outputBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
1563 | CCDHGenerateKey!(ref!, outputBytes.baseAddress!, &outputLength)
1564 | }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1658:20: error: cannot find 'noErr' in scope
1656 | &pubKey,
1657 | &privKey)
1658 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1659 |
1660 | defer {
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1694:20: error: cannot find 'noErr' in scope
1692 | signedDataBytes, &signedDataLength)
1693 | })
1694 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1695 |
1696 | signedData.count = signedDataLength
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1714:20: error: cannot find 'noErr' in scope
1712 | &valid)
1713 | })
1714 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1715 |
1716 | return valid != 0
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1730:64: error: cannot find type 'OSStatus' in scope
1728 | var outSize = 8192
1729 | var result = Data(count:outSize)
1730 | let status = result.withUnsafeMutableBytes { resultBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
1731 | CCECCryptorComputeSharedSecret!(privKey, pubKey, resultBytes.baseAddress!, &outSize)
1732 | }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1733:20: error: cannot find 'noErr' in scope
1731 | CCECCryptorComputeSharedSecret!(privKey, pubKey, resultBytes.baseAddress!, &outSize)
1732 | }
1733 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1734 |
1735 | result.count = outSize
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1773:20: error: cannot find 'noErr' in scope
1771 | dBytes, &dSize)
1772 | })
1773 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1774 |
1775 | x.count = xSize
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1792:20: error: cannot find 'noErr' in scope
1790 | yBytes, y.count, &pubKey)
1791 | })
1792 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1793 | defer { CCECCryptorRelease!(pubKey!) }
1794 |
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1802:51: error: cannot find type 'OSStatus' in scope
1800 | keyType: KeyType) throws -> CCECCryptorRef {
1801 | var impKey: CCECCryptorRef? = nil
1802 | let status = key.withUnsafeBytes { keyBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
1803 | CCECCryptorImportKey!(format.rawValue,
1804 | keyBytes.baseAddress!, key.count,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1807:20: error: cannot find 'noErr' in scope
1805 | keyType.rawValue, &impKey)
1806 | }
1807 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1808 |
1809 | return impKey!
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1816:64: error: cannot find type 'OSStatus' in scope
1814 | var expKeyLength = 8192
1815 | var expKey = Data(count:expKeyLength)
1816 | let status = expKey.withUnsafeMutableBytes { expKeyBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
1817 | CCECCryptorExportKey!(
1818 | format.rawValue,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1824:20: error: cannot find 'noErr' in scope
1822 | key)
1823 | }
1824 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
1825 |
1826 | expKey.count = expKeyLength
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1979:55: error: cannot find type 'OSStatus' in scope
1977 | public static func crc(_ input: Data, mode: Mode) throws -> UInt64 {
1978 | var result: UInt64 = 0
1979 | let status = input.withUnsafeBytes { inputBytes -> OSStatus in
| `- error: cannot find type 'OSStatus' in scope
1980 | CNCRC!(
1981 | mode.rawValue,
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1985:20: error: cannot find 'noErr' in scope
1983 | &result)
1984 | }
1985 | guard status == noErr else {
| `- error: cannot find 'noErr' in scope
1986 | throw CCError(status)
1987 | }
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2055:20: error: cannot find 'noErr' in scope
2053 | resultBytes, rescount)
2054 | })
2055 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
2056 |
2057 | return result
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2100:20: error: cannot find 'noErr' in scope
2098 | wrappedKeyBytes, &wrappedKeyLength)
2099 | })
2100 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
2101 |
2102 | wrappedKey.count = wrappedKeyLength
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2121:20: error: cannot find 'noErr' in scope
2119 | rawKeyBytes, &rawKeyLength)
2120 | })
2121 | guard status == noErr else { throw CCError(status) }
| `- error: cannot find 'noErr' in scope
2122 |
2123 | rawKey.count = rawKeyLength
[51/63] Compiling ComposableStorage AnyStorage.swift
[52/63] Emitting module ComposableStorage
[53/63] Compiling ComposableStorage TransientStorage.swift
[54/64] Compiling ComposableRequest ConcatProvider4.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[55/64] Compiling ComposableRequest ConcatProvider5.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[56/64] Compiling ComposableRequest LockProvider.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[57/64] Compiling ComposableRequest LockProviderType.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[58/64] Compiling ComposableRequest ComposableOptionalType.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[59/64] Compiling ComposableRequest PagerProvider.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[60/64] Compiling ComposableRequest PagerProviderInput.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[61/64] Compiling ComposableRequest PagerProviderType.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[62/64] Compiling ComposableRequest Provider+Alias.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
[63/64] Compiling ComposableRequest Provider.swift
/host/spi-builder-workspace/.build/checkouts/ComposableRequest/Sources/ComposableRequest/Extensions/@_exported.swift:8:19: error: no such module 'Combine'
6 | //
7 |
8 | @_exported import Combine
| `- error: no such module 'Combine'
9 |
BUILD FAILURE 6.0 linux