The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build CSCodeSignature, reference master (3fbf50), with Swift 6.1 for Linux on 26 Apr 2025 10:23:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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:             6.1
Building package at path:  $PWD
https://github.com/CharlesJS/CSCodeSignature.git
https://github.com/CharlesJS/CSCodeSignature.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cserrors",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CharlesJS/CSErrors"
    }
  ],
  "manifest_display_name" : "CSCodeSignature",
  "name" : "CSCodeSignature",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    }
  ],
  "products" : [
    {
      "name" : "CSCodeSignature",
      "targets" : [
        "CSCodeSignature"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSCodeSignature",
      "module_type" : "SwiftTarget",
      "name" : "CSCodeSignature",
      "path" : "Sources/CSCodeSignature",
      "product_dependencies" : [
        "CSErrors"
      ],
      "product_memberships" : [
        "CSCodeSignature"
      ],
      "sources" : [
        "CSCodeSignature.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/CharlesJS/CSErrors
[1/342] Fetching cserrors
Fetched https://github.com/CharlesJS/CSErrors from cache (0.20s)
Computing version for https://github.com/CharlesJS/CSErrors
Computed https://github.com/CharlesJS/CSErrors at 0.4.1 (0.64s)
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 Utils.swift
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:61:31: error: cannot find type 'System' in scope
 59 |
 60 | @available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *)
 61 | private func cocoaCode(errno: System.Errno, url: URL, isWrite: Bool) -> CocoaError.Code? {
    |                               `- error: cannot find type 'System' in scope
 62 |     switch errno {
 63 |     case .permissionDenied, .notPermitted:
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:132:17: error: cannot find type 'OSStatus' in scope
130 | /// - Returns: An `Error` representing the `OSStatus`.
131 | public func osStatusError(
132 |     _ osStatus: OSStatus,
    |                 `- error: cannot find type 'OSStatus' in scope
133 |     description: String? = nil,
134 |     recoverySuggestion: String? = nil,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:175:20: error: cannot find type 'OSStatus' in scope
173 |     url: URL? = nil,
174 |     customErrorUserInfo: [String : Any]? = nil,
175 |     closure: () -> OSStatus
    |                    `- error: cannot find type 'OSStatus' in scope
176 | ) throws {
177 |     let err = closure()
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:195:43: error: cannot find type 'OSStatus' in scope
193 |     url: URL? = nil,
194 |     customErrorUserInfo: [String : Any]? = nil,
195 |     closure: (UnsafeMutablePointer<T>) -> OSStatus
    |                                           `- error: cannot find type 'OSStatus' in scope
196 | ) throws -> T {
197 |     var ret = 0 as T
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:218:44: error: cannot find type 'OSStatus' in scope
216 |     url: URL? = nil,
217 |     customErrorUserInfo: [String : Any]? = nil,
218 |     closure: (UnsafeMutablePointer<T?>) -> OSStatus
    |                                            `- error: cannot find type 'OSStatus' in scope
219 | ) throws -> T {
220 |     var ret: T? = nil
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:32:19: error: cannot find 'System' in scope
 30 |         return CocoaError(.fileReadUnknown)
 31 |     } else if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *) {
 32 |         let err = System.Errno(rawValue: code)
    |                   `- error: cannot find 'System' in scope
 33 |
 34 |         if err.isCancelledError {
/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:')
 36 |         }
 37 |
 38 |         if let url = url, let cocoaCode = cocoaCode(errno: err, url: url, isWrite: isWrite) {
    |                                                    `- error: incorrect argument label in call (have 'errno:url:isWrite:', expected 'posixCode:url:isWrite:')
 39 |             return CocoaError(cocoaCode, url: url, underlying: err)
 40 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:98:11: error: type 'POSIXError.Code' (aka 'POSIXErrorCode') has no member 'EFTYPE'
 96 |     case .EROFS:
 97 |         return .fileWriteVolumeReadOnly
 98 |     case .EFTYPE:
    |           `- error: type 'POSIXError.Code' (aka 'POSIXErrorCode') has no member 'EFTYPE'
 99 |         return .fileReadCorruptFile
100 |     case .ECANCELED:
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:155:9: error: cannot find 'kPOSIXErrorBase' in scope
153 |     )
154 |
155 |     if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
    |         `- error: cannot find 'kPOSIXErrorBase' in scope
156 |         return errno(osStatus - Int32(kPOSIXErrorBase))
157 |     } else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:155:28: error: cannot find 'kPOSIXErrorBase' in scope
153 |     )
154 |
155 |     if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
    |                            `- error: cannot find 'kPOSIXErrorBase' in scope
156 |         return errno(osStatus - Int32(kPOSIXErrorBase))
157 |     } else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:156:39: error: cannot find 'kPOSIXErrorBase' in scope
154 |
155 |     if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
156 |         return errno(osStatus - Int32(kPOSIXErrorBase))
    |                                       `- error: cannot find 'kPOSIXErrorBase' in scope
157 |     } else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
158 |         userInfo[NSLocalizedFailureReasonErrorKey] = "\(errMsg) (\(osStatus))"
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:157:28: error: cannot find 'SecCopyErrorMessageString' in scope
155 |     if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
156 |         return errno(osStatus - Int32(kPOSIXErrorBase))
157 |     } else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
    |                            `- error: cannot find 'SecCopyErrorMessageString' in scope
158 |         userInfo[NSLocalizedFailureReasonErrorKey] = "\(errMsg) (\(osStatus))"
159 |     }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:157:64: error: 'nil' requires a contextual type
155 |     if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
156 |         return errno(osStatus - Int32(kPOSIXErrorBase))
157 |     } else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
    |                                                                `- error: 'nil' requires a contextual type
158 |         userInfo[NSLocalizedFailureReasonErrorKey] = "\(errMsg) (\(osStatus))"
159 |     }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:179:18: error: cannot find 'noErr' in scope
177 |     let err = closure()
178 |
179 |     guard err == noErr else {
    |                  `- error: cannot find 'noErr' in scope
180 |         throw osStatusError(err, description: errorDescription, url: url, custom: customErrorUserInfo)
181 |     }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:200:18: error: cannot find 'noErr' in scope
198 |     let err = closure(&ret)
199 |
200 |     guard err == noErr else {
    |                  `- error: cannot find 'noErr' in scope
201 |         throw osStatusError(err, description: errorDescription, url: url, custom: customErrorUserInfo)
202 |     }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:223:18: error: cannot find 'noErr' in scope
221 |     let err = closure(&ret)
222 |
223 |     guard err == noErr, let ret = ret else {
    |                  `- error: cannot find 'noErr' in scope
224 |         throw osStatusError(
225 |             err != noErr ? err : OSStatus(coreFoundationUnknownErr),
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:225:20: error: cannot find 'noErr' in scope
223 |     guard err == noErr, let ret = ret else {
224 |         throw osStatusError(
225 |             err != noErr ? err : OSStatus(coreFoundationUnknownErr),
    |                    `- error: cannot find 'noErr' in scope
226 |             description: errorDescription,
227 |             url: url,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:225:34: error: cannot find 'OSStatus' in scope
223 |     guard err == noErr, let ret = ret else {
224 |         throw osStatusError(
225 |             err != noErr ? err : OSStatus(coreFoundationUnknownErr),
    |                                  `- error: cannot find 'OSStatus' in scope
226 |             description: errorDescription,
227 |             url: url,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:225:43: error: cannot find 'coreFoundationUnknownErr' in scope
223 |     guard err == noErr, let ret = ret else {
224 |         throw osStatusError(
225 |             err != noErr ? err : OSStatus(coreFoundationUnknownErr),
    |                                           `- error: cannot find 'coreFoundationUnknownErr' in scope
226 |             description: errorDescription,
227 |             url: url,
[5/9] Compiling CSErrors URLError+CSErrors.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Compiling CSErrors CocoaError+CSErrors.swift
[7/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
 66 |
 67 |     /// Convert an error to an `OSStatus`, if it is backed by one.
 68 |     public func toOSStatus() -> OSStatus? {
    |                                 `- error: cannot find type 'OSStatus' in scope
 69 |         let nsError = self as NSError
 70 |
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:61:31: error: cannot find type 'System' in scope
 59 |
 60 | @available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *)
 61 | private func cocoaCode(errno: System.Errno, url: URL, isWrite: Bool) -> CocoaError.Code? {
    |                               `- error: cannot find type 'System' in scope
 62 |     switch errno {
 63 |     case .permissionDenied, .notPermitted:
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:132:17: error: cannot find type 'OSStatus' in scope
130 | /// - Returns: An `Error` representing the `OSStatus`.
131 | public func osStatusError(
132 |     _ osStatus: OSStatus,
    |                 `- error: cannot find type 'OSStatus' in scope
133 |     description: String? = nil,
134 |     recoverySuggestion: String? = nil,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:175:20: error: cannot find type 'OSStatus' in scope
173 |     url: URL? = nil,
174 |     customErrorUserInfo: [String : Any]? = nil,
175 |     closure: () -> OSStatus
    |                    `- error: cannot find type 'OSStatus' in scope
176 | ) throws {
177 |     let err = closure()
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:195:43: error: cannot find type 'OSStatus' in scope
193 |     url: URL? = nil,
194 |     customErrorUserInfo: [String : Any]? = nil,
195 |     closure: (UnsafeMutablePointer<T>) -> OSStatus
    |                                           `- error: cannot find type 'OSStatus' in scope
196 | ) throws -> T {
197 |     var ret = 0 as T
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:218:44: error: cannot find type 'OSStatus' in scope
216 |     url: URL? = nil,
217 |     customErrorUserInfo: [String : Any]? = nil,
218 |     closure: (UnsafeMutablePointer<T?>) -> OSStatus
    |                                            `- error: cannot find type 'OSStatus' in scope
219 | ) throws -> T {
220 |     var ret: T? = nil
[8/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
 66 |
 67 |     /// Convert an error to an `OSStatus`, if it is backed by one.
 68 |     public func toOSStatus() -> OSStatus? {
    |                                 `- error: cannot find type 'OSStatus' in scope
 69 |         let nsError = self as NSError
 70 |
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:86:34: error: cannot find type 'System' in scope
 84 |     public var isFileNotFoundError: Bool {
 85 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
 86 |             let errno = self as? System.Errno, errno == .noSuchFileOrDirectory
    |                                  `- error: cannot find type 'System' in scope
 87 |         {
 88 |             return true
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:104:36: error: cannot find type 'OSStatus' in scope
102 |         }
103 |
104 |         if let osStatus = self as? OSStatus, osStatus == OSStatus(fnfErr) {
    |                                    `- error: cannot find type 'OSStatus' in scope
105 |             return true
106 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:104:58: error: cannot find 'OSStatus' in scope
102 |         }
103 |
104 |         if let osStatus = self as? OSStatus, osStatus == OSStatus(fnfErr) {
    |                                                          `- error: cannot find 'OSStatus' in scope
105 |             return true
106 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:104:67: error: cannot find 'fnfErr' in scope
102 |         }
103 |
104 |         if let osStatus = self as? OSStatus, osStatus == OSStatus(fnfErr) {
    |                                                                   `- error: cannot find 'fnfErr' in scope
105 |             return true
106 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:34: error: cannot find type 'System' in scope
116 |     public var isPermissionError: Bool {
117 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
118 |             let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
    |                                  `- error: cannot find type 'System' in scope
119 |         {
120 |             return true
/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
116 |     public var isPermissionError: Bool {
117 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
118 |             let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
    |                                                  `- error: reference to member 'permissionDenied' cannot be resolved without a contextual type
119 |         {
120 |             return true
/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
116 |     public var isPermissionError: Bool {
117 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
118 |             let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
    |                                                                     `- error: reference to member 'notPermitted' cannot be resolved without a contextual type
119 |         {
120 |             return true
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:92: error: missing argument label 'where:' in call
116 |     public var isPermissionError: Bool {
117 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
118 |             let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
    |                                                                                            `- error: missing argument label 'where:' in call
119 |         {
120 |             return true
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:92: error: converting non-escaping value to '(Any) throws -> Bool' may allow it to escape
116 |     public var isPermissionError: Bool {
117 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
118 |             let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
    |                                                                                            `- error: converting non-escaping value to '(Any) throws -> Bool' may allow it to escape
119 |         {
120 |             return true
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:136:36: error: cannot find type 'OSStatus' in scope
134 |         }
135 |
136 |         if let osStatus = self as? OSStatus, osStatus == OSStatus(afpAccessDenied) {
    |                                    `- error: cannot find type 'OSStatus' in scope
137 |             return true
138 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:136:58: error: cannot find 'OSStatus' in scope
134 |         }
135 |
136 |         if let osStatus = self as? OSStatus, osStatus == OSStatus(afpAccessDenied) {
    |                                                          `- error: cannot find 'OSStatus' in scope
137 |             return true
138 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:136:67: error: cannot find 'afpAccessDenied' in scope
134 |         }
135 |
136 |         if let osStatus = self as? OSStatus, osStatus == OSStatus(afpAccessDenied) {
    |                                                                   `- error: cannot find 'afpAccessDenied' in scope
137 |             return true
138 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:154:34: error: cannot find type 'System' in scope
152 |
153 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
154 |             let errno = self as? System.Errno, errno == .canceled
    |                                  `- error: cannot find type 'System' in scope
155 |         {
156 |             return true
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:13: error: cannot find 'userCanceledErr' in scope
166 |
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
    |             `- error: cannot find 'userCanceledErr' in scope
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:30: error: cannot find 'errAEWaitCanceled' in scope
166 |
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
    |                              `- error: cannot find 'errAEWaitCanceled' in scope
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:49: error: cannot find 'kernelCanceledErr' in scope
166 |
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
    |                                                 `- error: cannot find 'kernelCanceledErr' in scope
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:68: error: cannot find 'kOTCanceledErr' in scope
166 |
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
    |                                                                    `- error: cannot find 'kOTCanceledErr' in scope
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:84: error: cannot find 'kECANCELErr' in scope
166 |
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
    |                                                                                    `- error: cannot find 'kECANCELErr' in scope
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:169:13: error: cannot find 'errIACanceled' in scope
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
    |             `- error: cannot find 'errIACanceled' in scope
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
171 |         ]
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:169:28: error: cannot find 'kRAConnectionCanceled' in scope
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
    |                            `- error: cannot find 'kRAConnectionCanceled' in scope
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
171 |         ]
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:169:51: error: cannot find 'kTXNUserCanceledOperationErr' in scope
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
    |                                                   `- error: cannot find 'kTXNUserCanceledOperationErr' in scope
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
171 |         ]
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:170:13: error: cannot find 'kFBCindexingCanceled' in scope
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
    |             `- error: cannot find 'kFBCindexingCanceled' in scope
171 |         ]
172 |         if let osStatus = self as? OSStatus, osStatusErrors.contains(Int(osStatus)) {
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:170:35: error: cannot find 'kFBCaccessCanceled' in scope
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
    |                                   `- error: cannot find 'kFBCaccessCanceled' in scope
171 |         ]
172 |         if let osStatus = self as? OSStatus, osStatusErrors.contains(Int(osStatus)) {
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:170:55: error: cannot find 'kFBCsummarizationCanceled' in scope
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
    |                                                       `- error: cannot find 'kFBCsummarizationCanceled' in scope
171 |         ]
172 |         if let osStatus = self as? OSStatus, osStatusErrors.contains(Int(osStatus)) {
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:172:36: error: cannot find type 'OSStatus' in scope
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
171 |         ]
172 |         if let osStatus = self as? OSStatus, osStatusErrors.contains(Int(osStatus)) {
    |                                    `- error: cannot find type 'OSStatus' in scope
173 |             return true
174 |         }
[9/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'
 9 |
10 |     public var failureReason: String? {
11 |         let errString = HTTPURLResponse.localizedString(forStatusCode: self.statusCode)
   |                                         `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
12 |
13 |         return "HTTP \(self.statusCode) (\(errString))"
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling CSErrors Utils.swift
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:61:31: error: cannot find type 'System' in scope
 59 |
 60 | @available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *)
 61 | private func cocoaCode(errno: System.Errno, url: URL, isWrite: Bool) -> CocoaError.Code? {
    |                               `- error: cannot find type 'System' in scope
 62 |     switch errno {
 63 |     case .permissionDenied, .notPermitted:
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:132:17: error: cannot find type 'OSStatus' in scope
130 | /// - Returns: An `Error` representing the `OSStatus`.
131 | public func osStatusError(
132 |     _ osStatus: OSStatus,
    |                 `- error: cannot find type 'OSStatus' in scope
133 |     description: String? = nil,
134 |     recoverySuggestion: String? = nil,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:175:20: error: cannot find type 'OSStatus' in scope
173 |     url: URL? = nil,
174 |     customErrorUserInfo: [String : Any]? = nil,
175 |     closure: () -> OSStatus
    |                    `- error: cannot find type 'OSStatus' in scope
176 | ) throws {
177 |     let err = closure()
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:195:43: error: cannot find type 'OSStatus' in scope
193 |     url: URL? = nil,
194 |     customErrorUserInfo: [String : Any]? = nil,
195 |     closure: (UnsafeMutablePointer<T>) -> OSStatus
    |                                           `- error: cannot find type 'OSStatus' in scope
196 | ) throws -> T {
197 |     var ret = 0 as T
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:218:44: error: cannot find type 'OSStatus' in scope
216 |     url: URL? = nil,
217 |     customErrorUserInfo: [String : Any]? = nil,
218 |     closure: (UnsafeMutablePointer<T?>) -> OSStatus
    |                                            `- error: cannot find type 'OSStatus' in scope
219 | ) throws -> T {
220 |     var ret: T? = nil
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:32:19: error: cannot find 'System' in scope
 30 |         return CocoaError(.fileReadUnknown)
 31 |     } else if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *) {
 32 |         let err = System.Errno(rawValue: code)
    |                   `- error: cannot find 'System' in scope
 33 |
 34 |         if err.isCancelledError {
/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:')
 36 |         }
 37 |
 38 |         if let url = url, let cocoaCode = cocoaCode(errno: err, url: url, isWrite: isWrite) {
    |                                                    `- error: incorrect argument label in call (have 'errno:url:isWrite:', expected 'posixCode:url:isWrite:')
 39 |             return CocoaError(cocoaCode, url: url, underlying: err)
 40 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:98:11: error: type 'POSIXError.Code' (aka 'POSIXErrorCode') has no member 'EFTYPE'
 96 |     case .EROFS:
 97 |         return .fileWriteVolumeReadOnly
 98 |     case .EFTYPE:
    |           `- error: type 'POSIXError.Code' (aka 'POSIXErrorCode') has no member 'EFTYPE'
 99 |         return .fileReadCorruptFile
100 |     case .ECANCELED:
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:155:9: error: cannot find 'kPOSIXErrorBase' in scope
153 |     )
154 |
155 |     if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
    |         `- error: cannot find 'kPOSIXErrorBase' in scope
156 |         return errno(osStatus - Int32(kPOSIXErrorBase))
157 |     } else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:155:28: error: cannot find 'kPOSIXErrorBase' in scope
153 |     )
154 |
155 |     if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
    |                            `- error: cannot find 'kPOSIXErrorBase' in scope
156 |         return errno(osStatus - Int32(kPOSIXErrorBase))
157 |     } else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:156:39: error: cannot find 'kPOSIXErrorBase' in scope
154 |
155 |     if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
156 |         return errno(osStatus - Int32(kPOSIXErrorBase))
    |                                       `- error: cannot find 'kPOSIXErrorBase' in scope
157 |     } else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
158 |         userInfo[NSLocalizedFailureReasonErrorKey] = "\(errMsg) (\(osStatus))"
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:157:28: error: cannot find 'SecCopyErrorMessageString' in scope
155 |     if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
156 |         return errno(osStatus - Int32(kPOSIXErrorBase))
157 |     } else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
    |                            `- error: cannot find 'SecCopyErrorMessageString' in scope
158 |         userInfo[NSLocalizedFailureReasonErrorKey] = "\(errMsg) (\(osStatus))"
159 |     }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:157:64: error: 'nil' requires a contextual type
155 |     if (kPOSIXErrorBase..<(kPOSIXErrorBase + 1000)).contains(Int(osStatus)) {
156 |         return errno(osStatus - Int32(kPOSIXErrorBase))
157 |     } else if let errMsg = SecCopyErrorMessageString(osStatus, nil) {
    |                                                                `- error: 'nil' requires a contextual type
158 |         userInfo[NSLocalizedFailureReasonErrorKey] = "\(errMsg) (\(osStatus))"
159 |     }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:179:18: error: cannot find 'noErr' in scope
177 |     let err = closure()
178 |
179 |     guard err == noErr else {
    |                  `- error: cannot find 'noErr' in scope
180 |         throw osStatusError(err, description: errorDescription, url: url, custom: customErrorUserInfo)
181 |     }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:200:18: error: cannot find 'noErr' in scope
198 |     let err = closure(&ret)
199 |
200 |     guard err == noErr else {
    |                  `- error: cannot find 'noErr' in scope
201 |         throw osStatusError(err, description: errorDescription, url: url, custom: customErrorUserInfo)
202 |     }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:223:18: error: cannot find 'noErr' in scope
221 |     let err = closure(&ret)
222 |
223 |     guard err == noErr, let ret = ret else {
    |                  `- error: cannot find 'noErr' in scope
224 |         throw osStatusError(
225 |             err != noErr ? err : OSStatus(coreFoundationUnknownErr),
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:225:20: error: cannot find 'noErr' in scope
223 |     guard err == noErr, let ret = ret else {
224 |         throw osStatusError(
225 |             err != noErr ? err : OSStatus(coreFoundationUnknownErr),
    |                    `- error: cannot find 'noErr' in scope
226 |             description: errorDescription,
227 |             url: url,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:225:34: error: cannot find 'OSStatus' in scope
223 |     guard err == noErr, let ret = ret else {
224 |         throw osStatusError(
225 |             err != noErr ? err : OSStatus(coreFoundationUnknownErr),
    |                                  `- error: cannot find 'OSStatus' in scope
226 |             description: errorDescription,
227 |             url: url,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:225:43: error: cannot find 'coreFoundationUnknownErr' in scope
223 |     guard err == noErr, let ret = ret else {
224 |         throw osStatusError(
225 |             err != noErr ? err : OSStatus(coreFoundationUnknownErr),
    |                                           `- error: cannot find 'coreFoundationUnknownErr' in scope
226 |             description: errorDescription,
227 |             url: url,
[3/7] Compiling CSErrors URLError+CSErrors.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Compiling CSErrors CocoaError+CSErrors.swift
[5/7] Emitting module CSErrors
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:68:33: error: cannot find type 'OSStatus' in scope
 66 |
 67 |     /// Convert an error to an `OSStatus`, if it is backed by one.
 68 |     public func toOSStatus() -> OSStatus? {
    |                                 `- error: cannot find type 'OSStatus' in scope
 69 |         let nsError = self as NSError
 70 |
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:61:31: error: cannot find type 'System' in scope
 59 |
 60 | @available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *)
 61 | private func cocoaCode(errno: System.Errno, url: URL, isWrite: Bool) -> CocoaError.Code? {
    |                               `- error: cannot find type 'System' in scope
 62 |     switch errno {
 63 |     case .permissionDenied, .notPermitted:
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:132:17: error: cannot find type 'OSStatus' in scope
130 | /// - Returns: An `Error` representing the `OSStatus`.
131 | public func osStatusError(
132 |     _ osStatus: OSStatus,
    |                 `- error: cannot find type 'OSStatus' in scope
133 |     description: String? = nil,
134 |     recoverySuggestion: String? = nil,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:175:20: error: cannot find type 'OSStatus' in scope
173 |     url: URL? = nil,
174 |     customErrorUserInfo: [String : Any]? = nil,
175 |     closure: () -> OSStatus
    |                    `- error: cannot find type 'OSStatus' in scope
176 | ) throws {
177 |     let err = closure()
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:195:43: error: cannot find type 'OSStatus' in scope
193 |     url: URL? = nil,
194 |     customErrorUserInfo: [String : Any]? = nil,
195 |     closure: (UnsafeMutablePointer<T>) -> OSStatus
    |                                           `- error: cannot find type 'OSStatus' in scope
196 | ) throws -> T {
197 |     var ret = 0 as T
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Utils.swift:218:44: error: cannot find type 'OSStatus' in scope
216 |     url: URL? = nil,
217 |     customErrorUserInfo: [String : Any]? = nil,
218 |     closure: (UnsafeMutablePointer<T?>) -> OSStatus
    |                                            `- error: cannot find type 'OSStatus' in scope
219 | ) throws -> T {
220 |     var ret: T? = nil
[6/7] 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'
 9 |
10 |     public var failureReason: String? {
11 |         let errString = HTTPURLResponse.localizedString(forStatusCode: self.statusCode)
   |                                         `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
12 |
13 |         return "HTTP \(self.statusCode) (\(errString))"
[7/7] 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
 66 |
 67 |     /// Convert an error to an `OSStatus`, if it is backed by one.
 68 |     public func toOSStatus() -> OSStatus? {
    |                                 `- error: cannot find type 'OSStatus' in scope
 69 |         let nsError = self as NSError
 70 |
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:86:34: error: cannot find type 'System' in scope
 84 |     public var isFileNotFoundError: Bool {
 85 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
 86 |             let errno = self as? System.Errno, errno == .noSuchFileOrDirectory
    |                                  `- error: cannot find type 'System' in scope
 87 |         {
 88 |             return true
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:104:36: error: cannot find type 'OSStatus' in scope
102 |         }
103 |
104 |         if let osStatus = self as? OSStatus, osStatus == OSStatus(fnfErr) {
    |                                    `- error: cannot find type 'OSStatus' in scope
105 |             return true
106 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:104:58: error: cannot find 'OSStatus' in scope
102 |         }
103 |
104 |         if let osStatus = self as? OSStatus, osStatus == OSStatus(fnfErr) {
    |                                                          `- error: cannot find 'OSStatus' in scope
105 |             return true
106 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:104:67: error: cannot find 'fnfErr' in scope
102 |         }
103 |
104 |         if let osStatus = self as? OSStatus, osStatus == OSStatus(fnfErr) {
    |                                                                   `- error: cannot find 'fnfErr' in scope
105 |             return true
106 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:34: error: cannot find type 'System' in scope
116 |     public var isPermissionError: Bool {
117 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
118 |             let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
    |                                  `- error: cannot find type 'System' in scope
119 |         {
120 |             return true
/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
116 |     public var isPermissionError: Bool {
117 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
118 |             let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
    |                                                  `- error: reference to member 'permissionDenied' cannot be resolved without a contextual type
119 |         {
120 |             return true
/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
116 |     public var isPermissionError: Bool {
117 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
118 |             let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
    |                                                                     `- error: reference to member 'notPermitted' cannot be resolved without a contextual type
119 |         {
120 |             return true
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:92: error: missing argument label 'where:' in call
116 |     public var isPermissionError: Bool {
117 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
118 |             let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
    |                                                                                            `- error: missing argument label 'where:' in call
119 |         {
120 |             return true
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:118:92: error: converting non-escaping value to '(Any) throws -> Bool' may allow it to escape
116 |     public var isPermissionError: Bool {
117 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
118 |             let errno = self as? System.Errno, [.permissionDenied, .notPermitted].contains(errno)
    |                                                                                            `- error: converting non-escaping value to '(Any) throws -> Bool' may allow it to escape
119 |         {
120 |             return true
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:136:36: error: cannot find type 'OSStatus' in scope
134 |         }
135 |
136 |         if let osStatus = self as? OSStatus, osStatus == OSStatus(afpAccessDenied) {
    |                                    `- error: cannot find type 'OSStatus' in scope
137 |             return true
138 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:136:58: error: cannot find 'OSStatus' in scope
134 |         }
135 |
136 |         if let osStatus = self as? OSStatus, osStatus == OSStatus(afpAccessDenied) {
    |                                                          `- error: cannot find 'OSStatus' in scope
137 |             return true
138 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:136:67: error: cannot find 'afpAccessDenied' in scope
134 |         }
135 |
136 |         if let osStatus = self as? OSStatus, osStatus == OSStatus(afpAccessDenied) {
    |                                                                   `- error: cannot find 'afpAccessDenied' in scope
137 |             return true
138 |         }
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:154:34: error: cannot find type 'System' in scope
152 |
153 |         if #available(macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, macCatalyst 14.0, *),
154 |             let errno = self as? System.Errno, errno == .canceled
    |                                  `- error: cannot find type 'System' in scope
155 |         {
156 |             return true
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:13: error: cannot find 'userCanceledErr' in scope
166 |
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
    |             `- error: cannot find 'userCanceledErr' in scope
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:30: error: cannot find 'errAEWaitCanceled' in scope
166 |
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
    |                              `- error: cannot find 'errAEWaitCanceled' in scope
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:49: error: cannot find 'kernelCanceledErr' in scope
166 |
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
    |                                                 `- error: cannot find 'kernelCanceledErr' in scope
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:68: error: cannot find 'kOTCanceledErr' in scope
166 |
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
    |                                                                    `- error: cannot find 'kOTCanceledErr' in scope
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:168:84: error: cannot find 'kECANCELErr' in scope
166 |
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
    |                                                                                    `- error: cannot find 'kECANCELErr' in scope
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:169:13: error: cannot find 'errIACanceled' in scope
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
    |             `- error: cannot find 'errIACanceled' in scope
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
171 |         ]
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:169:28: error: cannot find 'kRAConnectionCanceled' in scope
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
    |                            `- error: cannot find 'kRAConnectionCanceled' in scope
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
171 |         ]
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:169:51: error: cannot find 'kTXNUserCanceledOperationErr' in scope
167 |         let osStatusErrors = [
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
    |                                                   `- error: cannot find 'kTXNUserCanceledOperationErr' in scope
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
171 |         ]
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:170:13: error: cannot find 'kFBCindexingCanceled' in scope
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
    |             `- error: cannot find 'kFBCindexingCanceled' in scope
171 |         ]
172 |         if let osStatus = self as? OSStatus, osStatusErrors.contains(Int(osStatus)) {
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:170:35: error: cannot find 'kFBCaccessCanceled' in scope
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
    |                                   `- error: cannot find 'kFBCaccessCanceled' in scope
171 |         ]
172 |         if let osStatus = self as? OSStatus, osStatusErrors.contains(Int(osStatus)) {
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:170:55: error: cannot find 'kFBCsummarizationCanceled' in scope
168 |             userCanceledErr, errAEWaitCanceled, kernelCanceledErr, kOTCanceledErr, kECANCELErr,
169 |             errIACanceled, kRAConnectionCanceled, kTXNUserCanceledOperationErr,
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
    |                                                       `- error: cannot find 'kFBCsummarizationCanceled' in scope
171 |         ]
172 |         if let osStatus = self as? OSStatus, osStatusErrors.contains(Int(osStatus)) {
/host/spi-builder-workspace/.build/checkouts/CSErrors/Sources/CSErrors/Error+CSErrors.swift:172:36: error: cannot find type 'OSStatus' in scope
170 |             kFBCindexingCanceled, kFBCaccessCanceled, kFBCsummarizationCanceled,
171 |         ]
172 |         if let osStatus = self as? OSStatus, osStatusErrors.contains(Int(osStatus)) {
    |                                    `- error: cannot find type 'OSStatus' in scope
173 |             return true
174 |         }
BUILD FAILURE 6.1 linux