Build Information
Failed to build swift-steam with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sebj/Steam.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/sebj/Steam
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9b0e731 Build & test on macOS 14 M1 runner
Cloned https://github.com/sebj/Steam.git
Revision (git rev-parse @):
9b0e731c6ec4d66a81e0476fec904f5b482074e8
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/sebj/Steam.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
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.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/soyersoyer/SwCrypt.git
Fetching https://github.com/apple/swift-protobuf.git
[1/584] Fetching swcrypt
[585/2041] Fetching swcrypt, swift-docc-plugin
Fetching https://github.com/1024jp/GzipSwift.git
Fetched https://github.com/apple/swift-docc-plugin (0.37s)
[1/1468] Fetching gzipswift
Fetched https://github.com/1024jp/GzipSwift.git (0.31s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/33654] Fetching swift-protobuf
[2021/46210] Fetching swift-protobuf, cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.33s)
[33654/33654] Fetching swift-protobuf
Fetched https://github.com/soyersoyer/SwCrypt.git (4.70s)
Fetched https://github.com/apple/swift-protobuf.git (4.77s)
Computing version for https://github.com/soyersoyer/SwCrypt.git
Computed https://github.com/soyersoyer/SwCrypt.git at 5.1.4 (1.49s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 5.2.0 (0.35s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.6.0 (0.37s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.20.3 (0.37s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.37s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2449] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.36s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.39s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.20.3
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
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/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 5.2.0
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Steam/Protobuf': File not found.
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/4] Compiling system-zlib anchor.c
[5/181] Emitting module SwiftProtobuf
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/191] 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) {
^~~~~~~~
[7/191] 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
[8/191] Emitting module Gzip
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Steam/Protobuf': File not found.
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[4/180] Emitting module Gzip
[5/180] Compiling Gzip Data+Gzip.swift
[8/182] Compiling CryptoSwift Collection+Extension.swift
[9/182] Compiling CryptoSwift CompactMap.swift
[10/182] Compiling CryptoSwift Cryptor.swift
[11/182] Compiling CryptoSwift Cryptors.swift
[12/182] Compiling CryptoSwift Digest.swift
[13/182] Compiling CryptoSwift DigestType.swift
[14/182] Compiling CryptoSwift AES+Foundation.swift
[15/182] Compiling CryptoSwift Array+Foundation.swift
[16/182] Compiling CryptoSwift Blowfish+Foundation.swift
[17/182] Compiling CryptoSwift ChaCha20+Foundation.swift
[18/182] Compiling CryptoSwift Data+Extension.swift
[19/182] Compiling CryptoSwift HMAC+Foundation.swift
[20/182] Compiling CryptoSwift Rabbit+Foundation.swift
[21/182] Compiling CryptoSwift String+FoundationExtension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/195] 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) {
^~~~~~~~
[23/195] 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.9 linux