Build Information
Failed to build CSCodeSignature with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CharlesJS/CSCodeSignature.git
Reference: master
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/CharlesJS/CSCodeSignature
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3fbf502 Bump CSErrors
Cloned https://github.com/CharlesJS/CSCodeSignature.git
Revision (git rev-parse @):
3fbf5024fad4d83bdd67d90162aaaf292060a81b
SUCCESS checkout https://github.com/CharlesJS/CSCodeSignature.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/CharlesJS/CSCodeSignature.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/CharlesJS/CSErrors
[1/267] Fetching cserrors
Fetched https://github.com/CharlesJS/CSErrors from cache (0.19s)
Computing version for https://github.com/CharlesJS/CSErrors
Computed https://github.com/CharlesJS/CSErrors at 0.4.1 (0.39s)
Creating working copy for https://github.com/CharlesJS/CSErrors
Working copy of https://github.com/CharlesJS/CSErrors resolved at 0.4.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling CSErrors URLError+CSErrors.swift
[5/9] Compiling CSErrors HTTPError.swift
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/HTTPError.swift:11:41: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
let errString = HTTPURLResponse.localizedString(forStatusCode: self.statusCode)
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
[6/9] Compiling CSErrors Utils.swift
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:61:31: error: cannot find type 'System' in scope
private func cocoaCode(errno: System.Errno, url: URL, isWrite: Bool) -> CocoaError.Code? {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:132:17: error: cannot find type 'OSStatus' in scope
_ osStatus: OSStatus,
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:175:20: error: cannot find type 'OSStatus' in scope
closure: () -> OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:195:43: error: cannot find type 'OSStatus' in scope
closure: (UnsafeMutablePointer<T>) -> OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:218:44: error: cannot find type 'OSStatus' in scope
closure: (UnsafeMutablePointer<T?>) -> OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:32:19: error: cannot find 'System' in scope
let err = System.Errno(rawValue: code)
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:38:52: error: incorrect argument label in call (have 'errno:url:isWrite:', expected 'posixCode:url:isWrite:')
if let url = url, let cocoaCode = cocoaCode(errno: err, url: url, isWrite: isWrite) {
^~~~~~
posixCode
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:98:11: error: type 'POSIXError.Code' (aka 'POSIXErrorCode') has no member 'EFTYPE'
case .EFTYPE:
~^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:155:9: error: cannot find 'kPOSIXErrorBase' in scope
if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:155:28: error: cannot find 'kPOSIXErrorBase' in scope
if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:156:39: error: cannot find 'kPOSIXErrorBase' in scope
return errno(osStatus - Int32(kPOSIXErrorBase))
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:157:28: error: cannot find 'SecCopyErrorMessageString' in scope
} else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:157:64: error: 'nil' requires a contextual type
} else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
^
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:179:18: error: cannot find 'noErr' in scope
guard err == noErr else {
^~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:200:18: error: cannot find 'noErr' in scope
guard err == noErr else {
^~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:223:18: error: cannot find 'noErr' in scope
guard err == noErr, let ret = ret else {
^~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:225:20: error: cannot find 'noErr' in scope
err != noErr ? err : OSStatus(coreFoundationUnknownErr),
^~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:225:34: error: cannot find 'OSStatus' in scope
err != noErr ? err : OSStatus(coreFoundationUnknownErr),
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:225:43: error: cannot find 'coreFoundationUnknownErr' in scope
err != noErr ? err : OSStatus(coreFoundationUnknownErr),
^~~~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Compiling CSErrors CocoaError+CSErrors.swift
[8/9] Emitting module CSErrors
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:68:33: error: cannot find type 'OSStatus' in scope
public func toOSStatus() -> OSStatus? {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:61:31: error: cannot find type 'System' in scope
private func cocoaCode(errno: System.Errno, url: URL, isWrite: Bool) -> CocoaError.Code? {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:132:17: error: cannot find type 'OSStatus' in scope
_ osStatus: OSStatus,
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:175:20: error: cannot find type 'OSStatus' in scope
closure: () -> OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:195:43: error: cannot find type 'OSStatus' in scope
closure: (UnsafeMutablePointer<T>) -> OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:218:44: error: cannot find type 'OSStatus' in scope
closure: (UnsafeMutablePointer<T?>) -> OSStatus
^~~~~~~~
[9/9] Compiling CSErrors Error+CSErrors.swift
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:68:33: error: cannot find type 'OSStatus' in scope
public func toOSStatus() -> OSStatus? {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:86:34: error: cannot find type 'System' in scope
let errno = self as? System.Errno, errno == .noSuchFileOrDirectory
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:104:36: error: cannot find type 'OSStatus' in scope
if let osStatus = self as? OSStatus, osStatus == OSStatus(fnfErr) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:104:58: error: cannot find 'OSStatus' in scope
if let osStatus = self as? OSStatus, osStatus == OSStatus(fnfErr) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:104:67: error: cannot find 'fnfErr' in scope
if let osStatus = self as? OSStatus, osStatus == OSStatus(fnfErr) {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:34: error: cannot find type 'System' in scope
let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:50: error: reference to member 'permissionDenied' cannot be resolved without a contextual type
let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
^
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:69: error: reference to member 'notPermitted' cannot be resolved without a contextual type
let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
^
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:83: error: type 'Any' cannot conform to 'Equatable'
let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
^
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:83: note: only concrete types such as structs, enums and classes can conform to protocols
let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
^
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:83: note: required by referencing instance method 'contains' on 'Sequence' where 'Self.Element' = 'Any'
let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
^
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:136:36: error: cannot find type 'OSStatus' in scope
if let osStatus = self as? OSStatus, osStatus == OSStatus(afpAccessDenied) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:136:58: error: cannot find 'OSStatus' in scope
if let osStatus = self as? OSStatus, osStatus == OSStatus(afpAccessDenied) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:136:67: error: cannot find 'afpAccessDenied' in scope
if let osStatus = self as? OSStatus, osStatus == OSStatus(afpAccessDenied) {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:154:34: error: cannot find type 'System' in scope
let errno = self as? System.Errno, errno == .canceled
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:13: error: cannot find 'userCanceledErr' in scope
userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:30: error: cannot find 'errAEWaitCanceled' in scope
userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:49: error: cannot find 'kernelCanceledErr' in scope
userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:68: error: cannot find 'kOTCanceledErr' in scope
userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:84: error: cannot find 'kECANCELErr' in scope
userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:169:13: error: cannot find 'errIACanceled' in scope
errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:169:28: error: cannot find 'kRAConnectionCanceled' in scope
errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:169:51: error: cannot find 'kTXNUserCanceledOperationErr' in scope
errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:170:13: error: cannot find 'kFBCindexingCanceled' in scope
kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:170:35: error: cannot find 'kFBCaccessCanceled' in scope
kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:170:55: error: cannot find 'kFBCsummarizationCanceled' in scope
kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:172:36: error: cannot find type 'OSStatus' in scope
if let osStatus = self as? OSStatus, osStatusErrors.contains(Int(osStatus)) {
^~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling CSErrors HTTPError.swift
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/HTTPError.swift:11:41: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
let errString = HTTPURLResponse.localizedString(forStatusCode: self.statusCode)
~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
[3/5] Compiling CSErrors Utils.swift
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:61:31: error: cannot find type 'System' in scope
private func cocoaCode(errno: System.Errno, url: URL, isWrite: Bool) -> CocoaError.Code? {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:132:17: error: cannot find type 'OSStatus' in scope
_ osStatus: OSStatus,
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:175:20: error: cannot find type 'OSStatus' in scope
closure: () -> OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:195:43: error: cannot find type 'OSStatus' in scope
closure: (UnsafeMutablePointer<T>) -> OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:218:44: error: cannot find type 'OSStatus' in scope
closure: (UnsafeMutablePointer<T?>) -> OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:32:19: error: cannot find 'System' in scope
let err = System.Errno(rawValue: code)
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:38:52: error: incorrect argument label in call (have 'errno:url:isWrite:', expected 'posixCode:url:isWrite:')
if let url = url, let cocoaCode = cocoaCode(errno: err, url: url, isWrite: isWrite) {
^~~~~~
posixCode
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:98:11: error: type 'POSIXError.Code' (aka 'POSIXErrorCode') has no member 'EFTYPE'
case .EFTYPE:
~^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:155:9: error: cannot find 'kPOSIXErrorBase' in scope
if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:155:28: error: cannot find 'kPOSIXErrorBase' in scope
if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:156:39: error: cannot find 'kPOSIXErrorBase' in scope
return errno(osStatus - Int32(kPOSIXErrorBase))
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:157:28: error: cannot find 'SecCopyErrorMessageString' in scope
} else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:157:64: error: 'nil' requires a contextual type
} else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
^
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:179:18: error: cannot find 'noErr' in scope
guard err == noErr else {
^~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:200:18: error: cannot find 'noErr' in scope
guard err == noErr else {
^~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:223:18: error: cannot find 'noErr' in scope
guard err == noErr, let ret = ret else {
^~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:225:20: error: cannot find 'noErr' in scope
err != noErr ? err : OSStatus(coreFoundationUnknownErr),
^~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:225:34: error: cannot find 'OSStatus' in scope
err != noErr ? err : OSStatus(coreFoundationUnknownErr),
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:225:43: error: cannot find 'coreFoundationUnknownErr' in scope
err != noErr ? err : OSStatus(coreFoundationUnknownErr),
^~~~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module CSErrors
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:68:33: error: cannot find type 'OSStatus' in scope
public func toOSStatus() -> OSStatus? {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:61:31: error: cannot find type 'System' in scope
private func cocoaCode(errno: System.Errno, url: URL, isWrite: Bool) -> CocoaError.Code? {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:132:17: error: cannot find type 'OSStatus' in scope
_ osStatus: OSStatus,
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:175:20: error: cannot find type 'OSStatus' in scope
closure: () -> OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:195:43: error: cannot find type 'OSStatus' in scope
closure: (UnsafeMutablePointer<T>) -> OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:218:44: error: cannot find type 'OSStatus' in scope
closure: (UnsafeMutablePointer<T?>) -> OSStatus
^~~~~~~~
[5/5] Compiling CSErrors Error+CSErrors.swift
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:68:33: error: cannot find type 'OSStatus' in scope
public func toOSStatus() -> OSStatus? {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:86:34: error: cannot find type 'System' in scope
let errno = self as? System.Errno, errno == .noSuchFileOrDirectory
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:104:36: error: cannot find type 'OSStatus' in scope
if let osStatus = self as? OSStatus, osStatus == OSStatus(fnfErr) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:104:58: error: cannot find 'OSStatus' in scope
if let osStatus = self as? OSStatus, osStatus == OSStatus(fnfErr) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:104:67: error: cannot find 'fnfErr' in scope
if let osStatus = self as? OSStatus, osStatus == OSStatus(fnfErr) {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:34: error: cannot find type 'System' in scope
let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:50: error: reference to member 'permissionDenied' cannot be resolved without a contextual type
let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
^
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:69: error: reference to member 'notPermitted' cannot be resolved without a contextual type
let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
^
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:83: error: type 'Any' cannot conform to 'Equatable'
let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
^
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:83: note: only concrete types such as structs, enums and classes can conform to protocols
let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
^
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:83: note: required by referencing instance method 'contains' on 'Sequence' where 'Self.Element' = 'Any'
let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
^
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:136:36: error: cannot find type 'OSStatus' in scope
if let osStatus = self as? OSStatus, osStatus == OSStatus(afpAccessDenied) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:136:58: error: cannot find 'OSStatus' in scope
if let osStatus = self as? OSStatus, osStatus == OSStatus(afpAccessDenied) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:136:67: error: cannot find 'afpAccessDenied' in scope
if let osStatus = self as? OSStatus, osStatus == OSStatus(afpAccessDenied) {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:154:34: error: cannot find type 'System' in scope
let errno = self as? System.Errno, errno == .canceled
^~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:13: error: cannot find 'userCanceledErr' in scope
userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:30: error: cannot find 'errAEWaitCanceled' in scope
userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:49: error: cannot find 'kernelCanceledErr' in scope
userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:68: error: cannot find 'kOTCanceledErr' in scope
userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:84: error: cannot find 'kECANCELErr' in scope
userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:169:13: error: cannot find 'errIACanceled' in scope
errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:169:28: error: cannot find 'kRAConnectionCanceled' in scope
errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:169:51: error: cannot find 'kTXNUserCanceledOperationErr' in scope
errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:170:13: error: cannot find 'kFBCindexingCanceled' in scope
kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:170:35: error: cannot find 'kFBCaccessCanceled' in scope
kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:170:55: error: cannot find 'kFBCsummarizationCanceled' in scope
kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:172:36: error: cannot find type 'OSStatus' in scope
if let osStatus = self as? OSStatus, osStatusErrors.contains(Int(osStatus)) {
^~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux