The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CSCodeSignature, reference master (e26e68), with Swift 6.3 for Linux on 19 Apr 2026 04:22:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 e26e68e Update Swift tools to version 6.1
Cloned https://github.com/CharlesJS/CSCodeSignature.git
Revision (git rev-parse @):
e26e68e31d2372f5c9e8e03d793d62da631bae06
SUCCESS checkout https://github.com/CharlesJS/CSCodeSignature.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/CharlesJS/CSCodeSignature.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/CharlesJS/CSErrors
[1/398] Fetching cserrors
Fetched https://github.com/CharlesJS/CSErrors from cache (0.23s)
Computing version for https://github.com/CharlesJS/CSErrors
Computed https://github.com/CharlesJS/CSErrors at 2.1.0 (0.68s)
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.47s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.04s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/CharlesJS/CSErrors
Working copy of https://github.com/CharlesJS/CSErrors resolved at 2.1.0
Building for debugging...
[0/5] Write sources
[3/5] Compiling CSystem shims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/36] Emitting module SystemPackage
[7/40] Compiling SystemPackage FilePathSyntax.swift
[8/40] Compiling SystemPackage FilePathTemp.swift
[9/40] Compiling SystemPackage FilePathTempPosix.swift
[10/40] Compiling SystemPackage FilePathTempWindows.swift
[11/40] Compiling SystemPackage FilePath.swift
[12/40] Compiling SystemPackage FilePathComponentView.swift
[13/40] Compiling SystemPackage FilePathComponents.swift
[14/40] Compiling SystemPackage FilePathParsing.swift
[15/40] Compiling SystemPackage FilePathString.swift
[16/40] Compiling SystemPackage Errno.swift
[17/40] Compiling SystemPackage ErrnoWindows.swift
[18/40] Compiling SystemPackage FileDescriptor.swift
[19/40] Compiling SystemPackage FileHelpers.swift
[20/40] Compiling SystemPackage FileOperations.swift
[21/40] Compiling SystemPackage FilePathWindows.swift
[22/40] Compiling SystemPackage FilePermissions.swift
[23/40] Compiling SystemPackage IOCompletion.swift
[24/40] Compiling SystemPackage IORequest.swift
[25/40] Compiling SystemPackage SystemString.swift
[26/40] Compiling SystemPackage Util+StringArray.swift
[27/40] Compiling SystemPackage Util.swift
[28/40] Compiling SystemPackage UtilConsumers.swift
[29/40] Compiling SystemPackage Constants.swift
[30/40] Compiling SystemPackage Exports.swift
[31/40] Compiling SystemPackage Mocking.swift
[32/40] Compiling SystemPackage RawBuffer.swift
[33/40] Compiling SystemPackage Syscalls.swift
[34/40] Compiling SystemPackage WindowsSyscallAdapters.swift
[35/40] Compiling SystemPackage MachPort.swift
[36/40] Compiling SystemPackage PlatformString.swift
[37/40] Compiling SystemPackage IORing.swift
[38/40] Compiling SystemPackage RawIORequest.swift
[39/40] Compiling SystemPackage Backcompat.swift
[40/40] Compiling SystemPackage CInterop.swift
[42/53] Emitting module CSErrors
[43/54] Compiling CSErrors Stderr.swift
[44/54] Compiling CSErrors Recoverability.swift
[45/54] Compiling CSErrors URLError+CSErrors.swift
[46/54] Compiling CSErrors Error+CSErrors.swift
[47/54] Compiling CSErrors ErrorMetadata.swift
[48/54] Compiling CSErrors CSErrorProtocol.swift
[49/54] Compiling CSErrors CocoaError+CSErrors.swift
[50/54] Compiling CSErrors NSError+CSErrors.swift
[51/54] Compiling CSErrors OSStatus Errors.swift
[52/54] Compiling CSErrors HTTPError.swift
[53/54] Compiling CSErrors Internal.swift
[54/54] Compiling CSErrors POSIX Errors.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/57] Emitting module CSCodeSignature
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:80:59: error: cannot find type 'SecStaticCode' in scope
 78 |     }
 79 |
 80 |     private static func getStaticCode(url: URL) throws -> SecStaticCode {
    |                                                           `- error: cannot find type 'SecStaticCode' in scope
 81 |         var code: SecStaticCode?
 82 |         let err = SecStaticCodeCreateWithPath(url as CFURL, [], &code)
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:95:41: error: cannot find type 'SecStaticCode' in scope
 93 |     }
 94 |
 95 |     private static func getStatus(code: SecStaticCode, url: URL) -> Status {
    |                                         `- error: cannot find type 'SecStaticCode' in scope
 96 |         var error: Unmanaged<CFError>?
 97 |         let err = SecStaticCodeCheckValidityWithErrors(code, [], nil, &error)
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:110:39: error: cannot find type 'SecStaticCode' in scope
108 |     }
109 |
110 |     private static func getInfo(code: SecStaticCode, url: URL) throws -> Info {
    |                                       `- error: cannot find type 'SecStaticCode' in scope
111 |         let infoDictionary = try self.getInfoDictionary(code: code, url: url)
112 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:134:49: error: cannot find type 'SecStaticCode' in scope
132 |     }
133 |
134 |     private static func getInfoDictionary(code: SecStaticCode, url: URL) throws -> [AnyHashable: Any] {
    |                                                 `- error: cannot find type 'SecStaticCode' in scope
135 |         var cfInfo: CFDictionary?
136 |         let flags = SecCSFlags(rawValue: kSecCSSigningInformation | kSecCSRequirementInformation)
[57/57] Compiling CSCodeSignature CSCodeSignature.swift
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:80:59: error: cannot find type 'SecStaticCode' in scope
 78 |     }
 79 |
 80 |     private static func getStaticCode(url: URL) throws -> SecStaticCode {
    |                                                           `- error: cannot find type 'SecStaticCode' in scope
 81 |         var code: SecStaticCode?
 82 |         let err = SecStaticCodeCreateWithPath(url as CFURL, [], &code)
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:95:41: error: cannot find type 'SecStaticCode' in scope
 93 |     }
 94 |
 95 |     private static func getStatus(code: SecStaticCode, url: URL) -> Status {
    |                                         `- error: cannot find type 'SecStaticCode' in scope
 96 |         var error: Unmanaged<CFError>?
 97 |         let err = SecStaticCodeCheckValidityWithErrors(code, [], nil, &error)
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:110:39: error: cannot find type 'SecStaticCode' in scope
108 |     }
109 |
110 |     private static func getInfo(code: SecStaticCode, url: URL) throws -> Info {
    |                                       `- error: cannot find type 'SecStaticCode' in scope
111 |         let infoDictionary = try self.getInfoDictionary(code: code, url: url)
112 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:134:49: error: cannot find type 'SecStaticCode' in scope
132 |     }
133 |
134 |     private static func getInfoDictionary(code: SecStaticCode, url: URL) throws -> [AnyHashable: Any] {
    |                                                 `- error: cannot find type 'SecStaticCode' in scope
135 |         var cfInfo: CFDictionary?
136 |         let flags = SecCSFlags(rawValue: kSecCSSigningInformation | kSecCSRequirementInformation)
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:74:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 72 |             self.info = try CodeSignature.getInfo(code: code, url: url)
 73 |             self.status = status
 74 |         } catch {
    |           `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
 75 |             self.info = Info()
 76 |             self.status = .invalid(error)
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:81:19: error: cannot find type 'SecStaticCode' in scope
 79 |
 80 |     private static func getStaticCode(url: URL) throws -> SecStaticCode {
 81 |         var code: SecStaticCode?
    |                   `- error: cannot find type 'SecStaticCode' in scope
 82 |         let err = SecStaticCodeCreateWithPath(url as CFURL, [], &code)
 83 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:82:19: error: cannot find 'SecStaticCodeCreateWithPath' in scope
 80 |     private static func getStaticCode(url: URL) throws -> SecStaticCode {
 81 |         var code: SecStaticCode?
 82 |         let err = SecStaticCodeCreateWithPath(url as CFURL, [], &code)
    |                   `- error: cannot find 'SecStaticCodeCreateWithPath' in scope
 83 |
 84 |         if err != errSecSuccess {
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:82:54: error: cannot find type 'CFURL' in scope
 80 |     private static func getStaticCode(url: URL) throws -> SecStaticCode {
 81 |         var code: SecStaticCode?
 82 |         let err = SecStaticCodeCreateWithPath(url as CFURL, [], &code)
    |                                                      `- error: cannot find type 'CFURL' in scope
 83 |
 84 |         if err != errSecSuccess {
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:84:19: error: cannot find 'errSecSuccess' in scope
 82 |         let err = SecStaticCodeCreateWithPath(url as CFURL, [], &code)
 83 |
 84 |         if err != errSecSuccess {
    |                   `- error: cannot find 'errSecSuccess' in scope
 85 |             throw osStatusError(err, url: url)
 86 |         }
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:96:30: error: cannot find type 'CFError' in scope
 94 |
 95 |     private static func getStatus(code: SecStaticCode, url: URL) -> Status {
 96 |         var error: Unmanaged<CFError>?
    |                              `- error: cannot find type 'CFError' in scope
 97 |         let err = SecStaticCodeCheckValidityWithErrors(code, [], nil, &error)
 98 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:97:19: error: cannot find 'SecStaticCodeCheckValidityWithErrors' in scope
 95 |     private static func getStatus(code: SecStaticCode, url: URL) -> Status {
 96 |         var error: Unmanaged<CFError>?
 97 |         let err = SecStaticCodeCheckValidityWithErrors(code, [], nil, &error)
    |                   `- error: cannot find 'SecStaticCodeCheckValidityWithErrors' in scope
 98 |
 99 |         switch err {
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:97:66: error: 'nil' requires a contextual type
 95 |     private static func getStatus(code: SecStaticCode, url: URL) -> Status {
 96 |         var error: Unmanaged<CFError>?
 97 |         let err = SecStaticCodeCheckValidityWithErrors(code, [], nil, &error)
    |                                                                  `- error: 'nil' requires a contextual type
 98 |
 99 |         switch err {
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:100:14: error: cannot find 'errSecSuccess' in scope
 98 |
 99 |         switch err {
100 |         case errSecSuccess:
    |              `- error: cannot find 'errSecSuccess' in scope
101 |             return .valid
102 |         case errSecCSUnsigned:
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:102:14: error: cannot find 'errSecCSUnsigned' in scope
100 |         case errSecSuccess:
101 |             return .valid
102 |         case errSecCSUnsigned:
    |              `- error: cannot find 'errSecCSUnsigned' in scope
103 |             error?.release()
104 |             return .notSigned
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:113:33: error: cannot find 'kSecCodeInfoIdentifier' in scope
111 |         let infoDictionary = try self.getInfoDictionary(code: code, url: url)
112 |
113 |         let id = infoDictionary[kSecCodeInfoIdentifier] as? String
    |                                 `- error: cannot find 'kSecCodeInfoIdentifier' in scope
114 |         let authorities = self.getAuthorities(info: infoDictionary)
115 |         let requirements = self.getRequirements(info: infoDictionary)
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:117:37: error: cannot find 'kSecCodeInfoFormat' in scope
115 |         let requirements = self.getRequirements(info: infoDictionary)
116 |
117 |         let format = infoDictionary[kSecCodeInfoFormat] as? String
    |                                     `- error: cannot find 'kSecCodeInfoFormat' in scope
118 |         let signingDate = infoDictionary[kSecCodeInfoTime] as? Date
119 |         let entitlements = infoDictionary[kSecCodeInfoEntitlementsDict] as? [String: Any] ?? [:]
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:118:42: error: cannot find 'kSecCodeInfoTime' in scope
116 |
117 |         let format = infoDictionary[kSecCodeInfoFormat] as? String
118 |         let signingDate = infoDictionary[kSecCodeInfoTime] as? Date
    |                                          `- error: cannot find 'kSecCodeInfoTime' in scope
119 |         let entitlements = infoDictionary[kSecCodeInfoEntitlementsDict] as? [String: Any] ?? [:]
120 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:119:43: error: cannot find 'kSecCodeInfoEntitlementsDict' in scope
117 |         let format = infoDictionary[kSecCodeInfoFormat] as? String
118 |         let signingDate = infoDictionary[kSecCodeInfoTime] as? Date
119 |         let entitlements = infoDictionary[kSecCodeInfoEntitlementsDict] as? [String: Any] ?? [:]
    |                                           `- error: cannot find 'kSecCodeInfoEntitlementsDict' in scope
120 |
121 |         let info = Info(
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:135:21: error: cannot find type 'CFDictionary' in scope
133 |
134 |     private static func getInfoDictionary(code: SecStaticCode, url: URL) throws -> [AnyHashable: Any] {
135 |         var cfInfo: CFDictionary?
    |                     `- error: cannot find type 'CFDictionary' in scope
136 |         let flags = SecCSFlags(rawValue: kSecCSSigningInformation | kSecCSRequirementInformation)
137 |         let err = SecCodeCopySigningInformation(code, flags, &cfInfo)
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:136:21: error: cannot find 'SecCSFlags' in scope
134 |     private static func getInfoDictionary(code: SecStaticCode, url: URL) throws -> [AnyHashable: Any] {
135 |         var cfInfo: CFDictionary?
136 |         let flags = SecCSFlags(rawValue: kSecCSSigningInformation | kSecCSRequirementInformation)
    |                     `- error: cannot find 'SecCSFlags' in scope
137 |         let err = SecCodeCopySigningInformation(code, flags, &cfInfo)
138 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:136:42: error: cannot find 'kSecCSSigningInformation' in scope
134 |     private static func getInfoDictionary(code: SecStaticCode, url: URL) throws -> [AnyHashable: Any] {
135 |         var cfInfo: CFDictionary?
136 |         let flags = SecCSFlags(rawValue: kSecCSSigningInformation | kSecCSRequirementInformation)
    |                                          `- error: cannot find 'kSecCSSigningInformation' in scope
137 |         let err = SecCodeCopySigningInformation(code, flags, &cfInfo)
138 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:136:69: error: cannot find 'kSecCSRequirementInformation' in scope
134 |     private static func getInfoDictionary(code: SecStaticCode, url: URL) throws -> [AnyHashable: Any] {
135 |         var cfInfo: CFDictionary?
136 |         let flags = SecCSFlags(rawValue: kSecCSSigningInformation | kSecCSRequirementInformation)
    |                                                                     `- error: cannot find 'kSecCSRequirementInformation' in scope
137 |         let err = SecCodeCopySigningInformation(code, flags, &cfInfo)
138 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:137:19: error: cannot find 'SecCodeCopySigningInformation' in scope
135 |         var cfInfo: CFDictionary?
136 |         let flags = SecCSFlags(rawValue: kSecCSSigningInformation | kSecCSRequirementInformation)
137 |         let err = SecCodeCopySigningInformation(code, flags, &cfInfo)
    |                   `- error: cannot find 'SecCodeCopySigningInformation' in scope
138 |
139 |         if err != errSecSuccess {
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:139:19: error: cannot find 'errSecSuccess' in scope
137 |         let err = SecCodeCopySigningInformation(code, flags, &cfInfo)
138 |
139 |         if err != errSecSuccess {
    |                   `- error: cannot find 'errSecSuccess' in scope
140 |             throw osStatusError(err, url: url)
141 |         }
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:149:34: error: cannot find 'kSecCodeInfoTrust' in scope
147 |
148 |     private static func getAuthorities(info: [AnyHashable: Any]) -> [Authority] {
149 |         guard let cfTrust = info[kSecCodeInfoTrust] as CFTypeRef?,
    |                                  `- error: cannot find 'kSecCodeInfoTrust' in scope
150 |             CFGetTypeID(cfTrust) == SecTrustGetTypeID(),
151 |             case let trust = cfTrust as! SecTrust, // swiftlint:disable:this force_cast
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:149:56: error: cannot find type 'CFTypeRef' in scope
147 |
148 |     private static func getAuthorities(info: [AnyHashable: Any]) -> [Authority] {
149 |         guard let cfTrust = info[kSecCodeInfoTrust] as CFTypeRef?,
    |                                                        `- error: cannot find type 'CFTypeRef' in scope
150 |             CFGetTypeID(cfTrust) == SecTrustGetTypeID(),
151 |             case let trust = cfTrust as! SecTrust, // swiftlint:disable:this force_cast
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:150:13: error: cannot find 'CFGetTypeID' in scope
148 |     private static func getAuthorities(info: [AnyHashable: Any]) -> [Authority] {
149 |         guard let cfTrust = info[kSecCodeInfoTrust] as CFTypeRef?,
150 |             CFGetTypeID(cfTrust) == SecTrustGetTypeID(),
    |             `- error: cannot find 'CFGetTypeID' in scope
151 |             case let trust = cfTrust as! SecTrust, // swiftlint:disable:this force_cast
152 |             let trustInfo = SecTrustCopyProperties(trust) as? [[AnyHashable: Any]] else {
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:150:37: error: cannot find 'SecTrustGetTypeID' in scope
148 |     private static func getAuthorities(info: [AnyHashable: Any]) -> [Authority] {
149 |         guard let cfTrust = info[kSecCodeInfoTrust] as CFTypeRef?,
150 |             CFGetTypeID(cfTrust) == SecTrustGetTypeID(),
    |                                     `- error: cannot find 'SecTrustGetTypeID' in scope
151 |             case let trust = cfTrust as! SecTrust, // swiftlint:disable:this force_cast
152 |             let trustInfo = SecTrustCopyProperties(trust) as? [[AnyHashable: Any]] else {
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:151:42: error: cannot find type 'SecTrust' in scope
149 |         guard let cfTrust = info[kSecCodeInfoTrust] as CFTypeRef?,
150 |             CFGetTypeID(cfTrust) == SecTrustGetTypeID(),
151 |             case let trust = cfTrust as! SecTrust, // swiftlint:disable:this force_cast
    |                                          `- error: cannot find type 'SecTrust' in scope
152 |             let trustInfo = SecTrustCopyProperties(trust) as? [[AnyHashable: Any]] else {
153 |                 return []
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:152:29: error: cannot find 'SecTrustCopyProperties' in scope
150 |             CFGetTypeID(cfTrust) == SecTrustGetTypeID(),
151 |             case let trust = cfTrust as! SecTrust, // swiftlint:disable:this force_cast
152 |             let trustInfo = SecTrustCopyProperties(trust) as? [[AnyHashable: Any]] else {
    |                             `- error: cannot find 'SecTrustCopyProperties' in scope
153 |                 return []
154 |         }
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:157:28: error: cannot find 'kSecPropertyTypeTitle' in scope
155 |
156 |         return trustInfo.map {
157 |             let _name = $0[kSecPropertyTypeTitle] as? String
    |                            `- error: cannot find 'kSecPropertyTypeTitle' in scope
158 |             let warning = $0[kSecPropertyTypeWarning] as? String
159 |             let _error = $0[kSecPropertyTypeError] as? String
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:158:30: error: cannot find 'kSecPropertyTypeWarning' in scope
156 |         return trustInfo.map {
157 |             let _name = $0[kSecPropertyTypeTitle] as? String
158 |             let warning = $0[kSecPropertyTypeWarning] as? String
    |                              `- error: cannot find 'kSecPropertyTypeWarning' in scope
159 |             let _error = $0[kSecPropertyTypeError] as? String
160 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:159:29: error: cannot find 'kSecPropertyTypeError' in scope
157 |             let _name = $0[kSecPropertyTypeTitle] as? String
158 |             let warning = $0[kSecPropertyTypeWarning] as? String
159 |             let _error = $0[kSecPropertyTypeError] as? String
    |                             `- error: cannot find 'kSecPropertyTypeError' in scope
160 |
161 |             let name: String
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:181:27: error: cannot find 'kSecCodeInfoDesignatedRequirement' in scope
179 |         let designated: String?
180 |
181 |         if let req = info[kSecCodeInfoDesignatedRequirement] as CFTypeRef?,
    |                           `- error: cannot find 'kSecCodeInfoDesignatedRequirement' in scope
182 |             CFGetTypeID(req) == SecRequirementGetTypeID() {
183 |             var cfRequirementString: CFString?
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:181:65: error: cannot find type 'CFTypeRef' in scope
179 |         let designated: String?
180 |
181 |         if let req = info[kSecCodeInfoDesignatedRequirement] as CFTypeRef?,
    |                                                                 `- error: cannot find type 'CFTypeRef' in scope
182 |             CFGetTypeID(req) == SecRequirementGetTypeID() {
183 |             var cfRequirementString: CFString?
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:182:13: error: cannot find 'CFGetTypeID' in scope
180 |
181 |         if let req = info[kSecCodeInfoDesignatedRequirement] as CFTypeRef?,
182 |             CFGetTypeID(req) == SecRequirementGetTypeID() {
    |             `- error: cannot find 'CFGetTypeID' in scope
183 |             var cfRequirementString: CFString?
184 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:182:33: error: cannot find 'SecRequirementGetTypeID' in scope
180 |
181 |         if let req = info[kSecCodeInfoDesignatedRequirement] as CFTypeRef?,
182 |             CFGetTypeID(req) == SecRequirementGetTypeID() {
    |                                 `- error: cannot find 'SecRequirementGetTypeID' in scope
183 |             var cfRequirementString: CFString?
184 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:183:38: error: cannot find type 'CFString' in scope
181 |         if let req = info[kSecCodeInfoDesignatedRequirement] as CFTypeRef?,
182 |             CFGetTypeID(req) == SecRequirementGetTypeID() {
183 |             var cfRequirementString: CFString?
    |                                      `- error: cannot find type 'CFString' in scope
184 |
185 |             // swiftlint:disable:next force_cast
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:186:23: error: cannot find 'SecRequirementCopyString' in scope
184 |
185 |             // swiftlint:disable:next force_cast
186 |             let err = SecRequirementCopyString(req as! SecRequirement, [], &cfRequirementString)
    |                       `- error: cannot find 'SecRequirementCopyString' in scope
187 |
188 |             if err != errSecSuccess {
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:186:56: error: cannot find type 'SecRequirement' in scope
184 |
185 |             // swiftlint:disable:next force_cast
186 |             let err = SecRequirementCopyString(req as! SecRequirement, [], &cfRequirementString)
    |                                                        `- error: cannot find type 'SecRequirement' in scope
187 |
188 |             if err != errSecSuccess {
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:188:23: error: cannot find 'errSecSuccess' in scope
186 |             let err = SecRequirementCopyString(req as! SecRequirement, [], &cfRequirementString)
187 |
188 |             if err != errSecSuccess {
    |                       `- error: cannot find 'errSecSuccess' in scope
189 |                 cfRequirementString = SecCopyErrorMessageString(err, nil)
190 |             }
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:189:39: error: cannot find 'SecCopyErrorMessageString' in scope
187 |
188 |             if err != errSecSuccess {
189 |                 cfRequirementString = SecCopyErrorMessageString(err, nil)
    |                                       `- error: cannot find 'SecCopyErrorMessageString' in scope
190 |             }
191 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:189:70: error: 'nil' requires a contextual type
187 |
188 |             if err != errSecSuccess {
189 |                 cfRequirementString = SecCopyErrorMessageString(err, nil)
    |                                                                      `- error: 'nil' requires a contextual type
190 |             }
191 |
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:197:32: error: cannot find 'kSecCodeInfoRequirements' in scope
195 |         }
196 |
197 |         let additional = (info[kSecCodeInfoRequirements] as? String).map {
    |                                `- error: cannot find 'kSecCodeInfoRequirements' in scope
198 |             self.trimRequirements($0, designatedRequirement: designated)
199 |         }
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:209:22: error: value of type 'String' has no member 'enumerateLines'
207 |         var newReqs = String()
208 |
209 |         requirements.enumerateLines { line, _ in
    |                      `- error: value of type 'String' has no member 'enumerateLines'
210 |             if let prefixRange = line.range(of: designatedPrefix, options: [.anchored]) {
211 |                 let trimmed = line[prefixRange.upperBound...]
/host/spi-builder-workspace/Sources/CSCodeSignature/CSCodeSignature.swift:210:78: error: reference to member 'anchored' cannot be resolved without a contextual type
208 |
209 |         requirements.enumerateLines { line, _ in
210 |             if let prefixRange = line.range(of: designatedPrefix, options: [.anchored]) {
    |                                                                              `- error: reference to member 'anchored' cannot be resolved without a contextual type
211 |                 let trimmed = line[prefixRange.upperBound...]
212 |                 if let designatedRequirement = designatedRequirement?.trimmingCharacters(in: .whitespacesAndNewlines),
BUILD FAILURE 6.3 linux