Build Information
Failed to build Steam with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sebj/Steam.git
Reference: 0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/sebj/Steam
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 730abba 🚀 Initial commit
Cloned https://github.com/sebj/Steam.git
Revision (git rev-parse @):
730abbad18f7ff1f3eea0bfb2de0efa615d5183f
SUCCESS checkout https://github.com/sebj/Steam.git at 0.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/sebj/Steam.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/soyersoyer/SwCrypt.git
Fetching https://github.com/1024jp/GzipSwift.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/584] Fetching swcrypt
[130/2052] Fetching swcrypt, gzipswift
[2053/14608] Fetching swcrypt, gzipswift, cryptoswift
Fetched https://github.com/1024jp/GzipSwift.git from cache (0.26s)
[836/13140] Fetching swcrypt, cryptoswift
[11007/46867] Fetching swcrypt, cryptoswift, swift-protobuf
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.46s)
[11377/34311] Fetching swcrypt, swift-protobuf
Fetched https://github.com/soyersoyer/SwCrypt.git from cache (4.64s)
Fetched https://github.com/apple/swift-protobuf.git from cache (4.72s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.15.0 (1.12s)
Computing version for https://github.com/soyersoyer/SwCrypt.git
Computed https://github.com/soyersoyer/SwCrypt.git at 5.1.4 (1.20s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 5.1.1 (0.91s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.3.8 (0.41s)
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 5.1.1
Creating working copy for https://github.com/soyersoyer/SwCrypt.git
Working copy of https://github.com/soyersoyer/SwCrypt.git resolved at 5.1.4
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.15.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.3.8
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Steam/Protobuf': File not found.
Building for debugging...
[0/7] Write sources
[5/7] Compiling system-zlib anchor.c
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/153] Emitting module CryptoSwift
[9/162] Compiling CryptoSwift AEAD.swift
[10/162] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[11/162] Compiling CryptoSwift AES.Cryptors.swift
[12/162] Compiling CryptoSwift AES.swift
[13/162] Compiling CryptoSwift Array+Extension.swift
[14/162] Compiling CryptoSwift Authenticator.swift
[15/162] Compiling CryptoSwift BatchedCollection.swift
[16/162] Compiling CryptoSwift Bit.swift
[17/162] Compiling CryptoSwift BlockCipher.swift
[18/162] Compiling CryptoSwift BlockDecryptor.swift
[19/162] Compiling CryptoSwift String+Extension.swift
[20/162] Compiling CryptoSwift UInt128.swift
[21/162] Compiling CryptoSwift UInt16+Extension.swift
[22/162] Compiling CryptoSwift UInt32+Extension.swift
[23/162] Compiling CryptoSwift UInt64+Extension.swift
[24/162] Compiling CryptoSwift UInt8+Extension.swift
[25/162] Compiling CryptoSwift Updatable.swift
[26/162] Compiling CryptoSwift Utils.swift
[27/162] Compiling CryptoSwift ZeroPadding.swift
[28/162] Compiling CryptoSwift Scrypt.swift
[29/162] Compiling CryptoSwift SecureBytes.swift
[30/162] Compiling CryptoSwift StreamDecryptor.swift
[31/162] Compiling CryptoSwift StreamEncryptor.swift
[38/172] Compiling CryptoSwift CompactMap.swift
[39/172] Compiling CryptoSwift Cryptor.swift
[40/172] Compiling CryptoSwift Cryptors.swift
[41/172] Compiling CryptoSwift Digest.swift
[42/172] Compiling CryptoSwift DigestType.swift
[43/172] Compiling CryptoSwift AES+Foundation.swift
[44/172] Compiling CryptoSwift Array+Foundation.swift
[45/172] Compiling CryptoSwift Blowfish+Foundation.swift
[46/172] Compiling CryptoSwift ChaCha20+Foundation.swift
[47/172] Compiling CryptoSwift Data+Extension.swift
[48/172] Compiling CryptoSwift HMAC+Foundation.swift
[49/172] Compiling CryptoSwift Rabbit+Foundation.swift
[50/172] Compiling CryptoSwift String+FoundationExtension.swift
[51/172] Compiling CryptoSwift Utils+Foundation.swift
[52/172] Compiling CryptoSwift Generics.swift
[53/172] Compiling CryptoSwift HKDF.swift
[54/172] Compiling CryptoSwift HMAC.swift
[55/172] Compiling CryptoSwift ISO78164Padding.swift
[56/172] Compiling CryptoSwift Int+Extension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/172] 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) {
^~~~~~~~
[58/172] 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:742:19: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:757:19: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:768:19: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:924:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:961:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:966:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:969:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:974:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:979:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:990:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:998:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1008:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1062:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1108:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1136:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1150:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1161:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1197:21: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1236:21: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1260:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1657:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1693:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1713:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1732:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1772:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1791:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1806:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1823:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1984:20: error: cannot find 'noErr' in scope
guard status == noErr else {
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2054:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2098:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2119:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
[59/172] Compiling Gzip Data+Gzip.swift
[60/172] Emitting module Gzip
error: fatalError
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Steam/Protobuf': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/104] Emitting module Gzip
[4/105] Compiling CryptoSwift BlockEncryptor.swift
[5/105] Compiling CryptoSwift BlockMode.swift
[6/105] Compiling CryptoSwift BlockModeOptions.swift
[7/105] Compiling CryptoSwift CBC.swift
[8/105] Compiling CryptoSwift CCM.swift
[9/105] Compiling CryptoSwift OCB.swift
[10/105] Compiling CryptoSwift OFB.swift
[11/105] Compiling CryptoSwift PCBC.swift
[12/105] Compiling CryptoSwift Blowfish.swift
[13/114] Compiling CryptoSwift PKCS5.swift
[14/114] Compiling CryptoSwift PKCS7.swift
[15/114] Compiling CryptoSwift PKCS7Padding.swift
[16/114] Compiling CryptoSwift Padding.swift
[17/114] Compiling CryptoSwift Poly1305.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/118] 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) {
^~~~~~~~
[19/118] 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:742:19: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:757:19: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:768:19: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:924:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:961:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:966:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:969:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:974:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:979:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:990:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:998:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1008:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1062:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1108:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1136:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1150:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1161:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1197:21: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1236:21: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1260:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1657:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1693:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1713:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1732:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1772:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1791:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1806:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1823:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:1984:20: error: cannot find 'noErr' in scope
guard status == noErr else {
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2054:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2098:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
/host/spi-builder-workspace/.build/checkouts/SwCrypt/SwCrypt/SwCrypt.swift:2119:20: error: cannot find 'noErr' in scope
guard status == noErr else { throw CCError(status) }
^~~~~
error: fatalError
BUILD FAILURE 5.10 linux