The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftyProvisioningProfile, reference master (d0a52e), with Swift 6.1 for Linux on 1 May 2025 07:11:36 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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sherlouk/swiftprovisioningprofile.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/sherlouk/swiftprovisioningprofile
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d0a52ee Merge pull request #14 from adincebic/adin/add-serial-number-to-certificate
Cloned https://github.com/sherlouk/swiftprovisioningprofile.git
Revision (git rev-parse @):
d0a52eefbf1539baa1075e1ad40b12baa5536739
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sherlouk/swiftprovisioningprofile.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sherlouk/swiftprovisioningprofile.git
https://github.com/sherlouk/swiftprovisioningprofile.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyProvisioningProfile",
  "name" : "SwiftyProvisioningProfile",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyProvisioningProfile",
      "targets" : [
        "SwiftyProvisioningProfile"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyProvisioningProfileTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyProvisioningProfileTests",
      "path" : "Tests/SwiftyProvisioningProfileTests",
      "sources" : [
        "SwiftyProvisioningProfileTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyProvisioningProfile"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyProvisioningProfile",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyProvisioningProfile",
      "path" : "Sources/SwiftyProvisioningProfile",
      "product_memberships" : [
        "SwiftyProvisioningProfile"
      ],
      "sources" : [
        "Model/Certificate.swift",
        "Model/DeveloperCertificate.swift",
        "Model/PropertyListDictionaryValue.swift",
        "Model/ProvisioningProfile.swift",
        "SwiftyCMSDecoder.swift",
        "SwiftyCertificate.swift",
        "SwiftyProvisioningProfile.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling SwiftyProvisioningProfile ProvisioningProfile.swift
[4/10] Compiling SwiftyProvisioningProfile PropertyListDictionaryValue.swift
[5/10] Compiling SwiftyProvisioningProfile DeveloperCertificate.swift
[6/10] Compiling SwiftyProvisioningProfile Certificate.swift
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:32:20: error: cannot find type 'CFString' in scope
30 |     public let orgUnit: String
31 |
32 |     init(results: [CFString: Any], commonName: String?) throws {
   |                    `- error: cannot find type 'CFString' in scope
33 |         self.commonName = commonName
34 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:51:38: error: cannot find type 'CFString' in scope
49 |     }
50 |
51 |     static func getValue<T>(for key: CFString, from values: [CFString: Any]) throws -> T {
   |                                      `- error: cannot find type 'CFString' in scope
52 |         let node = values[key] as? [CFString: Any]
53 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:51:62: error: cannot find type 'CFString' in scope
49 |     }
50 |
51 |     static func getValue<T>(for key: CFString, from values: [CFString: Any]) throws -> T {
   |                                                              `- error: cannot find type 'CFString' in scope
52 |         let node = values[key] as? [CFString: Any]
53 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:73:38: error: cannot find type 'CFString' in scope
71 |     }
72 |
73 |     static func getValue<T>(for key: CFString, fromDict values: [[CFString: Any]]) throws -> T {
   |                                      `- error: cannot find type 'CFString' in scope
74 |
75 |         guard let results = values.first(where: { ($0[kSecPropertyKeyLabel] as? String) == (key as String) }) else {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:73:67: error: cannot find type 'CFString' in scope
71 |     }
72 |
73 |     static func getValue<T>(for key: CFString, fromDict values: [[CFString: Any]]) throws -> T {
   |                                                                   `- error: cannot find type 'CFString' in scope
74 |
75 |         guard let results = values.first(where: { ($0[kSecPropertyKeyLabel] as? String) == (key as String) }) else {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:35:56: error: cannot find 'kSecOIDX509V1ValidityNotBefore' in scope
33 |         self.commonName = commonName
34 |
35 |         notValidBefore = try Certificate.getValue(for: kSecOIDX509V1ValidityNotBefore, from: results)
   |                                                        `- error: cannot find 'kSecOIDX509V1ValidityNotBefore' in scope
36 |         notValidAfter = try Certificate.getValue(for: kSecOIDX509V1ValidityNotAfter, from: results)
37 |         serialNumber = try Certificate.getValue(for: kSecOIDX509V1SerialNumber, from: results)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:36:55: error: cannot find 'kSecOIDX509V1ValidityNotAfter' in scope
34 |
35 |         notValidBefore = try Certificate.getValue(for: kSecOIDX509V1ValidityNotBefore, from: results)
36 |         notValidAfter = try Certificate.getValue(for: kSecOIDX509V1ValidityNotAfter, from: results)
   |                                                       `- error: cannot find 'kSecOIDX509V1ValidityNotAfter' in scope
37 |         serialNumber = try Certificate.getValue(for: kSecOIDX509V1SerialNumber, from: results)
38 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:37:54: error: cannot find 'kSecOIDX509V1SerialNumber' in scope
35 |         notValidBefore = try Certificate.getValue(for: kSecOIDX509V1ValidityNotBefore, from: results)
36 |         notValidAfter = try Certificate.getValue(for: kSecOIDX509V1ValidityNotAfter, from: results)
37 |         serialNumber = try Certificate.getValue(for: kSecOIDX509V1SerialNumber, from: results)
   |                                                      `- error: cannot find 'kSecOIDX509V1SerialNumber' in scope
38 |
39 |         let issuerName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1IssuerName, from: results)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:39:27: error: cannot find type 'CFString' in scope
37 |         serialNumber = try Certificate.getValue(for: kSecOIDX509V1SerialNumber, from: results)
38 |
39 |         let issuerName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1IssuerName, from: results)
   |                           `- error: cannot find type 'CFString' in scope
40 |         issuerCommonName = try Certificate.getValue(for: kSecOIDCommonName, fromDict: issuerName)
41 |         issuerCountryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: issuerName)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:40:58: error: cannot find 'kSecOIDCommonName' in scope
38 |
39 |         let issuerName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1IssuerName, from: results)
40 |         issuerCommonName = try Certificate.getValue(for: kSecOIDCommonName, fromDict: issuerName)
   |                                                          `- error: cannot find 'kSecOIDCommonName' in scope
41 |         issuerCountryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: issuerName)
42 |         issuerOrgName = try Certificate.getValue(for: kSecOIDOrganizationName, fromDict: issuerName)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:41:59: error: cannot find 'kSecOIDCountryName' in scope
39 |         let issuerName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1IssuerName, from: results)
40 |         issuerCommonName = try Certificate.getValue(for: kSecOIDCommonName, fromDict: issuerName)
41 |         issuerCountryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: issuerName)
   |                                                           `- error: cannot find 'kSecOIDCountryName' in scope
42 |         issuerOrgName = try Certificate.getValue(for: kSecOIDOrganizationName, fromDict: issuerName)
43 |         issuerOrgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: issuerName)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:42:55: error: cannot find 'kSecOIDOrganizationName' in scope
40 |         issuerCommonName = try Certificate.getValue(for: kSecOIDCommonName, fromDict: issuerName)
41 |         issuerCountryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: issuerName)
42 |         issuerOrgName = try Certificate.getValue(for: kSecOIDOrganizationName, fromDict: issuerName)
   |                                                       `- error: cannot find 'kSecOIDOrganizationName' in scope
43 |         issuerOrgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: issuerName)
44 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:43:55: error: cannot find 'kSecOIDOrganizationalUnitName' in scope
41 |         issuerCountryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: issuerName)
42 |         issuerOrgName = try Certificate.getValue(for: kSecOIDOrganizationName, fromDict: issuerName)
43 |         issuerOrgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: issuerName)
   |                                                       `- error: cannot find 'kSecOIDOrganizationalUnitName' in scope
44 |
45 |         let subjectName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1SubjectName, from: results)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:45:28: error: cannot find type 'CFString' in scope
43 |         issuerOrgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: issuerName)
44 |
45 |         let subjectName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1SubjectName, from: results)
   |                            `- error: cannot find type 'CFString' in scope
46 |         countryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: subjectName)
47 |         orgName = try? Certificate.getValue(for: kSecOIDOrganizationName, fromDict: subjectName)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:46:53: error: cannot find 'kSecOIDCountryName' in scope
44 |
45 |         let subjectName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1SubjectName, from: results)
46 |         countryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: subjectName)
   |                                                     `- error: cannot find 'kSecOIDCountryName' in scope
47 |         orgName = try? Certificate.getValue(for: kSecOIDOrganizationName, fromDict: subjectName)
48 |         orgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: subjectName)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:47:50: error: cannot find 'kSecOIDOrganizationName' in scope
45 |         let subjectName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1SubjectName, from: results)
46 |         countryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: subjectName)
47 |         orgName = try? Certificate.getValue(for: kSecOIDOrganizationName, fromDict: subjectName)
   |                                                  `- error: cannot find 'kSecOIDOrganizationName' in scope
48 |         orgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: subjectName)
49 |     }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:48:49: error: cannot find 'kSecOIDOrganizationalUnitName' in scope
46 |         countryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: subjectName)
47 |         orgName = try? Certificate.getValue(for: kSecOIDOrganizationName, fromDict: subjectName)
48 |         orgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: subjectName)
   |                                                 `- error: cannot find 'kSecOIDOrganizationalUnitName' in scope
49 |     }
50 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:52:37: error: cannot find type 'CFString' in scope
50 |
51 |     static func getValue<T>(for key: CFString, from values: [CFString: Any]) throws -> T {
52 |         let node = values[key] as? [CFString: Any]
   |                                     `- error: cannot find type 'CFString' in scope
53 |
54 |         guard let rawValue = node?[kSecPropertyKeyValue] else {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:54:36: error: cannot find 'kSecPropertyKeyValue' in scope
52 |         let node = values[key] as? [CFString: Any]
53 |
54 |         guard let rawValue = node?[kSecPropertyKeyValue] else {
   |                                    `- error: cannot find 'kSecPropertyKeyValue' in scope
55 |             throw InitError.failedToFindValue(key: key as String)
56 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:66:31: error: cannot find 'kSecPropertyKeyType' in scope
64 |
65 |         guard let value = rawValue as? T else {
66 |             let type = (node?[kSecPropertyKeyType] as? String) ?? String(describing: rawValue)
   |                               `- error: cannot find 'kSecPropertyKeyType' in scope
67 |             throw InitError.failedToCastValue(expected: String(describing: T.self), actual: type)
68 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:66:64: error: type of expression is ambiguous without a type annotation
64 |
65 |         guard let value = rawValue as? T else {
66 |             let type = (node?[kSecPropertyKeyType] as? String) ?? String(describing: rawValue)
   |                                                                `- error: type of expression is ambiguous without a type annotation
67 |             throw InitError.failedToCastValue(expected: String(describing: T.self), actual: type)
68 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:75:55: error: cannot find 'kSecPropertyKeyLabel' in scope
73 |     static func getValue<T>(for key: CFString, fromDict values: [[CFString: Any]]) throws -> T {
74 |
75 |         guard let results = values.first(where: { ($0[kSecPropertyKeyLabel] as? String) == (key as String) }) else {
   |                                                       `- error: cannot find 'kSecPropertyKeyLabel' in scope
76 |             throw InitError.failedToFindLabel(label: key as String)
77 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:79:38: error: cannot find 'kSecPropertyKeyValue' in scope
77 |         }
78 |
79 |         guard let rawValue = results[kSecPropertyKeyValue] else {
   |                                      `- error: cannot find 'kSecPropertyKeyValue' in scope
80 |             throw InitError.failedToFindValue(key: key as String)
81 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:84:33: error: cannot find 'kSecPropertyKeyType' in scope
82 |
83 |         guard let value = rawValue as? T else {
84 |             let type = (results[kSecPropertyKeyType] as? String) ?? String(describing: rawValue)
   |                                 `- error: cannot find 'kSecPropertyKeyType' in scope
85 |             throw InitError.failedToCastValue(expected: String(describing: T.self), actual: type)
86 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module SwiftyProvisioningProfile
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:32:20: error: cannot find type 'CFString' in scope
30 |     public let orgUnit: String
31 |
32 |     init(results: [CFString: Any], commonName: String?) throws {
   |                    `- error: cannot find type 'CFString' in scope
33 |         self.commonName = commonName
34 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:51:38: error: cannot find type 'CFString' in scope
49 |     }
50 |
51 |     static func getValue<T>(for key: CFString, from values: [CFString: Any]) throws -> T {
   |                                      `- error: cannot find type 'CFString' in scope
52 |         let node = values[key] as? [CFString: Any]
53 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:51:62: error: cannot find type 'CFString' in scope
49 |     }
50 |
51 |     static func getValue<T>(for key: CFString, from values: [CFString: Any]) throws -> T {
   |                                                              `- error: cannot find type 'CFString' in scope
52 |         let node = values[key] as? [CFString: Any]
53 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:73:38: error: cannot find type 'CFString' in scope
71 |     }
72 |
73 |     static func getValue<T>(for key: CFString, fromDict values: [[CFString: Any]]) throws -> T {
   |                                      `- error: cannot find type 'CFString' in scope
74 |
75 |         guard let results = values.first(where: { ($0[kSecPropertyKeyLabel] as? String) == (key as String) }) else {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:73:67: error: cannot find type 'CFString' in scope
71 |     }
72 |
73 |     static func getValue<T>(for key: CFString, fromDict values: [[CFString: Any]]) throws -> T {
   |                                                                   `- error: cannot find type 'CFString' in scope
74 |
75 |         guard let results = values.first(where: { ($0[kSecPropertyKeyLabel] as? String) == (key as String) }) else {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:10:18: error: cannot find type 'CMSDecoder' in scope
 8 | final class SwiftyCMSDecoder {
 9 |
10 |     var decoder: CMSDecoder
   |                  `- error: cannot find type 'CMSDecoder' in scope
11 |
12 |     /// Initialises a new `SwiftyCMSDecoder` which in turn creates a new `CMSDecoder`
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:38:65: error: cannot find type 'SecCertificate' in scope
36 |     }
37 |
38 |     private static func getSecCertificate(data: Data) throws -> SecCertificate {
   |                                                                 `- error: cannot find type 'SecCertificate' in scope
39 |         guard let certificate = SecCertificateCreateWithData(kCFAllocatorDefault, data as CFData) else {
40 |             throw ParseError.failedToCreateCertificate
[8/10] Compiling SwiftyProvisioningProfile SwiftyProvisioningProfile.swift
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:10:18: error: cannot find type 'CMSDecoder' in scope
 8 | final class SwiftyCMSDecoder {
 9 |
10 |     var decoder: CMSDecoder
   |                  `- error: cannot find type 'CMSDecoder' in scope
11 |
12 |     /// Initialises a new `SwiftyCMSDecoder` which in turn creates a new `CMSDecoder`
[9/10] Compiling SwiftyProvisioningProfile SwiftyCMSDecoder.swift
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:10:18: error: cannot find type 'CMSDecoder' in scope
 8 | final class SwiftyCMSDecoder {
 9 |
10 |     var decoder: CMSDecoder
   |                  `- error: cannot find type 'CMSDecoder' in scope
11 |
12 |     /// Initialises a new `SwiftyCMSDecoder` which in turn creates a new `CMSDecoder`
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:14:25: error: cannot find type 'CMSDecoder' in scope
12 |     /// Initialises a new `SwiftyCMSDecoder` which in turn creates a new `CMSDecoder`
13 |     init?() {
14 |         var newDecoder: CMSDecoder?
   |                         `- error: cannot find type 'CMSDecoder' in scope
15 |         CMSDecoderCreate(&newDecoder)
16 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:15:9: error: cannot find 'CMSDecoderCreate' in scope
13 |     init?() {
14 |         var newDecoder: CMSDecoder?
15 |         CMSDecoderCreate(&newDecoder)
   |         `- error: cannot find 'CMSDecoderCreate' in scope
16 |
17 |         guard let decoder = newDecoder else {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:30:16: error: cannot find 'CMSDecoderUpdateMessage' in scope
28 |     @discardableResult
29 |     func updateMessage(data: NSData) -> Bool {
30 |         return CMSDecoderUpdateMessage(decoder, data.bytes, data.length) != errSecUnknownFormat
   |                `- error: cannot find 'CMSDecoderUpdateMessage' in scope
31 |     }
32 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:30:77: error: cannot find 'errSecUnknownFormat' in scope
28 |     @discardableResult
29 |     func updateMessage(data: NSData) -> Bool {
30 |         return CMSDecoderUpdateMessage(decoder, data.bytes, data.length) != errSecUnknownFormat
   |                                                                             `- error: cannot find 'errSecUnknownFormat' in scope
31 |     }
32 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:38:16: error: cannot find 'CMSDecoderFinalizeMessage' in scope
36 |     @discardableResult
37 |     func finaliseMessage() -> Bool {
38 |         return CMSDecoderFinalizeMessage(decoder) != errSecUnknownFormat
   |                `- error: cannot find 'CMSDecoderFinalizeMessage' in scope
39 |     }
40 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:38:54: error: cannot find 'errSecUnknownFormat' in scope
36 |     @discardableResult
37 |     func finaliseMessage() -> Bool {
38 |         return CMSDecoderFinalizeMessage(decoder) != errSecUnknownFormat
   |                                                      `- error: cannot find 'errSecUnknownFormat' in scope
39 |     }
40 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:46:22: error: cannot find type 'CFData' in scope
44 |     /// - Warning: This cannot be called until after `finaliseMessage()` is called!
45 |     var data: Data? {
46 |         var newData: CFData?
   |                      `- error: cannot find type 'CFData' in scope
47 |         CMSDecoderCopyContent(decoder, &newData)
48 |         return newData as Data?
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:47:9: error: cannot find 'CMSDecoderCopyContent' in scope
45 |     var data: Data? {
46 |         var newData: CFData?
47 |         CMSDecoderCopyContent(decoder, &newData)
   |         `- error: cannot find 'CMSDecoderCopyContent' in scope
48 |         return newData as Data?
49 |     }
[10/10] Compiling SwiftyProvisioningProfile SwiftyCertificate.swift
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:38:65: error: cannot find type 'SecCertificate' in scope
36 |     }
37 |
38 |     private static func getSecCertificate(data: Data) throws -> SecCertificate {
   |                                                                 `- error: cannot find type 'SecCertificate' in scope
39 |         guard let certificate = SecCertificateCreateWithData(kCFAllocatorDefault, data as CFData) else {
40 |             throw ParseError.failedToCreateCertificate
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:21:30: error: cannot find type 'CFError' in scope
19 |         let certificate = try getSecCertificate(data: data)
20 |
21 |         var error: Unmanaged<CFError>?
   |                              `- error: cannot find type 'CFError' in scope
22 |         let values = SecCertificateCopyValues(certificate, nil, &error)
23 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:22:22: error: cannot find 'SecCertificateCopyValues' in scope
20 |
21 |         var error: Unmanaged<CFError>?
22 |         let values = SecCertificateCopyValues(certificate, nil, &error)
   |                      `- error: cannot find 'SecCertificateCopyValues' in scope
23 |
24 |         if let error = error {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:22:60: error: 'nil' requires a contextual type
20 |
21 |         var error: Unmanaged<CFError>?
22 |         let values = SecCertificateCopyValues(certificate, nil, &error)
   |                                                            `- error: 'nil' requires a contextual type
23 |
24 |         if let error = error {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:28:44: error: cannot find type 'CFString' in scope
26 |         }
27 |
28 |         guard let valuesDict = values as? [CFString: Any] else {
   |                                            `- error: cannot find type 'CFString' in scope
29 |             throw ParseError.failedToExtractValues
30 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:32:25: error: cannot find type 'CFString' in scope
30 |         }
31 |
32 |         var commonName: CFString?
   |                         `- error: cannot find type 'CFString' in scope
33 |         SecCertificateCopyCommonName(certificate, &commonName)
34 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:33:9: error: cannot find 'SecCertificateCopyCommonName' in scope
31 |
32 |         var commonName: CFString?
33 |         SecCertificateCopyCommonName(certificate, &commonName)
   |         `- error: cannot find 'SecCertificateCopyCommonName' in scope
34 |
35 |         return try Certificate(results: valuesDict, commonName: commonName as String?)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:32:20: error: cannot find type 'CFString' in scope
30 |     public let orgUnit: String
31 |
32 |     init(results: [CFString: Any], commonName: String?) throws {
   |                    `- error: cannot find type 'CFString' in scope
33 |         self.commonName = commonName
34 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:39:33: error: cannot find 'SecCertificateCreateWithData' in scope
37 |
38 |     private static func getSecCertificate(data: Data) throws -> SecCertificate {
39 |         guard let certificate = SecCertificateCreateWithData(kCFAllocatorDefault, data as CFData) else {
   |                                 `- error: cannot find 'SecCertificateCreateWithData' in scope
40 |             throw ParseError.failedToCreateCertificate
41 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:39:62: error: cannot find 'kCFAllocatorDefault' in scope
37 |
38 |     private static func getSecCertificate(data: Data) throws -> SecCertificate {
39 |         guard let certificate = SecCertificateCreateWithData(kCFAllocatorDefault, data as CFData) else {
   |                                                              `- error: cannot find 'kCFAllocatorDefault' in scope
40 |             throw ParseError.failedToCreateCertificate
41 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:39:91: error: cannot find type 'CFData' in scope
37 |
38 |     private static func getSecCertificate(data: Data) throws -> SecCertificate {
39 |         guard let certificate = SecCertificateCreateWithData(kCFAllocatorDefault, data as CFData) else {
   |                                                                                           `- error: cannot find type 'CFData' in scope
40 |             throw ParseError.failedToCreateCertificate
41 |         }
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/9] Compiling SwiftyProvisioningProfile SwiftyCMSDecoder.swift
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:10:18: error: cannot find type 'CMSDecoder' in scope
 8 | final class SwiftyCMSDecoder {
 9 |
10 |     var decoder: CMSDecoder
   |                  `- error: cannot find type 'CMSDecoder' in scope
11 |
12 |     /// Initialises a new `SwiftyCMSDecoder` which in turn creates a new `CMSDecoder`
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:14:25: error: cannot find type 'CMSDecoder' in scope
12 |     /// Initialises a new `SwiftyCMSDecoder` which in turn creates a new `CMSDecoder`
13 |     init?() {
14 |         var newDecoder: CMSDecoder?
   |                         `- error: cannot find type 'CMSDecoder' in scope
15 |         CMSDecoderCreate(&newDecoder)
16 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:15:9: error: cannot find 'CMSDecoderCreate' in scope
13 |     init?() {
14 |         var newDecoder: CMSDecoder?
15 |         CMSDecoderCreate(&newDecoder)
   |         `- error: cannot find 'CMSDecoderCreate' in scope
16 |
17 |         guard let decoder = newDecoder else {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:30:16: error: cannot find 'CMSDecoderUpdateMessage' in scope
28 |     @discardableResult
29 |     func updateMessage(data: NSData) -> Bool {
30 |         return CMSDecoderUpdateMessage(decoder, data.bytes, data.length) != errSecUnknownFormat
   |                `- error: cannot find 'CMSDecoderUpdateMessage' in scope
31 |     }
32 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:30:77: error: cannot find 'errSecUnknownFormat' in scope
28 |     @discardableResult
29 |     func updateMessage(data: NSData) -> Bool {
30 |         return CMSDecoderUpdateMessage(decoder, data.bytes, data.length) != errSecUnknownFormat
   |                                                                             `- error: cannot find 'errSecUnknownFormat' in scope
31 |     }
32 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:38:16: error: cannot find 'CMSDecoderFinalizeMessage' in scope
36 |     @discardableResult
37 |     func finaliseMessage() -> Bool {
38 |         return CMSDecoderFinalizeMessage(decoder) != errSecUnknownFormat
   |                `- error: cannot find 'CMSDecoderFinalizeMessage' in scope
39 |     }
40 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:38:54: error: cannot find 'errSecUnknownFormat' in scope
36 |     @discardableResult
37 |     func finaliseMessage() -> Bool {
38 |         return CMSDecoderFinalizeMessage(decoder) != errSecUnknownFormat
   |                                                      `- error: cannot find 'errSecUnknownFormat' in scope
39 |     }
40 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:46:22: error: cannot find type 'CFData' in scope
44 |     /// - Warning: This cannot be called until after `finaliseMessage()` is called!
45 |     var data: Data? {
46 |         var newData: CFData?
   |                      `- error: cannot find type 'CFData' in scope
47 |         CMSDecoderCopyContent(decoder, &newData)
48 |         return newData as Data?
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:47:9: error: cannot find 'CMSDecoderCopyContent' in scope
45 |     var data: Data? {
46 |         var newData: CFData?
47 |         CMSDecoderCopyContent(decoder, &newData)
   |         `- error: cannot find 'CMSDecoderCopyContent' in scope
48 |         return newData as Data?
49 |     }
[3/9] Compiling SwiftyProvisioningProfile SwiftyProvisioningProfile.swift
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:10:18: error: cannot find type 'CMSDecoder' in scope
 8 | final class SwiftyCMSDecoder {
 9 |
10 |     var decoder: CMSDecoder
   |                  `- error: cannot find type 'CMSDecoder' in scope
11 |
12 |     /// Initialises a new `SwiftyCMSDecoder` which in turn creates a new `CMSDecoder`
[4/9] Compiling SwiftyProvisioningProfile SwiftyCertificate.swift
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:38:65: error: cannot find type 'SecCertificate' in scope
36 |     }
37 |
38 |     private static func getSecCertificate(data: Data) throws -> SecCertificate {
   |                                                                 `- error: cannot find type 'SecCertificate' in scope
39 |         guard let certificate = SecCertificateCreateWithData(kCFAllocatorDefault, data as CFData) else {
40 |             throw ParseError.failedToCreateCertificate
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:21:30: error: cannot find type 'CFError' in scope
19 |         let certificate = try getSecCertificate(data: data)
20 |
21 |         var error: Unmanaged<CFError>?
   |                              `- error: cannot find type 'CFError' in scope
22 |         let values = SecCertificateCopyValues(certificate, nil, &error)
23 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:22:22: error: cannot find 'SecCertificateCopyValues' in scope
20 |
21 |         var error: Unmanaged<CFError>?
22 |         let values = SecCertificateCopyValues(certificate, nil, &error)
   |                      `- error: cannot find 'SecCertificateCopyValues' in scope
23 |
24 |         if let error = error {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:22:60: error: 'nil' requires a contextual type
20 |
21 |         var error: Unmanaged<CFError>?
22 |         let values = SecCertificateCopyValues(certificate, nil, &error)
   |                                                            `- error: 'nil' requires a contextual type
23 |
24 |         if let error = error {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:28:44: error: cannot find type 'CFString' in scope
26 |         }
27 |
28 |         guard let valuesDict = values as? [CFString: Any] else {
   |                                            `- error: cannot find type 'CFString' in scope
29 |             throw ParseError.failedToExtractValues
30 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:32:25: error: cannot find type 'CFString' in scope
30 |         }
31 |
32 |         var commonName: CFString?
   |                         `- error: cannot find type 'CFString' in scope
33 |         SecCertificateCopyCommonName(certificate, &commonName)
34 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:33:9: error: cannot find 'SecCertificateCopyCommonName' in scope
31 |
32 |         var commonName: CFString?
33 |         SecCertificateCopyCommonName(certificate, &commonName)
   |         `- error: cannot find 'SecCertificateCopyCommonName' in scope
34 |
35 |         return try Certificate(results: valuesDict, commonName: commonName as String?)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:32:20: error: cannot find type 'CFString' in scope
30 |     public let orgUnit: String
31 |
32 |     init(results: [CFString: Any], commonName: String?) throws {
   |                    `- error: cannot find type 'CFString' in scope
33 |         self.commonName = commonName
34 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:39:33: error: cannot find 'SecCertificateCreateWithData' in scope
37 |
38 |     private static func getSecCertificate(data: Data) throws -> SecCertificate {
39 |         guard let certificate = SecCertificateCreateWithData(kCFAllocatorDefault, data as CFData) else {
   |                                 `- error: cannot find 'SecCertificateCreateWithData' in scope
40 |             throw ParseError.failedToCreateCertificate
41 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:39:62: error: cannot find 'kCFAllocatorDefault' in scope
37 |
38 |     private static func getSecCertificate(data: Data) throws -> SecCertificate {
39 |         guard let certificate = SecCertificateCreateWithData(kCFAllocatorDefault, data as CFData) else {
   |                                                              `- error: cannot find 'kCFAllocatorDefault' in scope
40 |             throw ParseError.failedToCreateCertificate
41 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:39:91: error: cannot find type 'CFData' in scope
37 |
38 |     private static func getSecCertificate(data: Data) throws -> SecCertificate {
39 |         guard let certificate = SecCertificateCreateWithData(kCFAllocatorDefault, data as CFData) else {
   |                                                                                           `- error: cannot find type 'CFData' in scope
40 |             throw ParseError.failedToCreateCertificate
41 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module SwiftyProvisioningProfile
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:32:20: error: cannot find type 'CFString' in scope
30 |     public let orgUnit: String
31 |
32 |     init(results: [CFString: Any], commonName: String?) throws {
   |                    `- error: cannot find type 'CFString' in scope
33 |         self.commonName = commonName
34 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:51:38: error: cannot find type 'CFString' in scope
49 |     }
50 |
51 |     static func getValue<T>(for key: CFString, from values: [CFString: Any]) throws -> T {
   |                                      `- error: cannot find type 'CFString' in scope
52 |         let node = values[key] as? [CFString: Any]
53 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:51:62: error: cannot find type 'CFString' in scope
49 |     }
50 |
51 |     static func getValue<T>(for key: CFString, from values: [CFString: Any]) throws -> T {
   |                                                              `- error: cannot find type 'CFString' in scope
52 |         let node = values[key] as? [CFString: Any]
53 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:73:38: error: cannot find type 'CFString' in scope
71 |     }
72 |
73 |     static func getValue<T>(for key: CFString, fromDict values: [[CFString: Any]]) throws -> T {
   |                                      `- error: cannot find type 'CFString' in scope
74 |
75 |         guard let results = values.first(where: { ($0[kSecPropertyKeyLabel] as? String) == (key as String) }) else {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:73:67: error: cannot find type 'CFString' in scope
71 |     }
72 |
73 |     static func getValue<T>(for key: CFString, fromDict values: [[CFString: Any]]) throws -> T {
   |                                                                   `- error: cannot find type 'CFString' in scope
74 |
75 |         guard let results = values.first(where: { ($0[kSecPropertyKeyLabel] as? String) == (key as String) }) else {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCMSDecoder.swift:10:18: error: cannot find type 'CMSDecoder' in scope
 8 | final class SwiftyCMSDecoder {
 9 |
10 |     var decoder: CMSDecoder
   |                  `- error: cannot find type 'CMSDecoder' in scope
11 |
12 |     /// Initialises a new `SwiftyCMSDecoder` which in turn creates a new `CMSDecoder`
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/SwiftyCertificate.swift:38:65: error: cannot find type 'SecCertificate' in scope
36 |     }
37 |
38 |     private static func getSecCertificate(data: Data) throws -> SecCertificate {
   |                                                                 `- error: cannot find type 'SecCertificate' in scope
39 |         guard let certificate = SecCertificateCreateWithData(kCFAllocatorDefault, data as CFData) else {
40 |             throw ParseError.failedToCreateCertificate
[6/9] Compiling SwiftyProvisioningProfile DeveloperCertificate.swift
[7/9] Compiling SwiftyProvisioningProfile PropertyListDictionaryValue.swift
[8/9] Compiling SwiftyProvisioningProfile ProvisioningProfile.swift
[9/9] Compiling SwiftyProvisioningProfile Certificate.swift
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:32:20: error: cannot find type 'CFString' in scope
30 |     public let orgUnit: String
31 |
32 |     init(results: [CFString: Any], commonName: String?) throws {
   |                    `- error: cannot find type 'CFString' in scope
33 |         self.commonName = commonName
34 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:51:38: error: cannot find type 'CFString' in scope
49 |     }
50 |
51 |     static func getValue<T>(for key: CFString, from values: [CFString: Any]) throws -> T {
   |                                      `- error: cannot find type 'CFString' in scope
52 |         let node = values[key] as? [CFString: Any]
53 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:51:62: error: cannot find type 'CFString' in scope
49 |     }
50 |
51 |     static func getValue<T>(for key: CFString, from values: [CFString: Any]) throws -> T {
   |                                                              `- error: cannot find type 'CFString' in scope
52 |         let node = values[key] as? [CFString: Any]
53 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:73:38: error: cannot find type 'CFString' in scope
71 |     }
72 |
73 |     static func getValue<T>(for key: CFString, fromDict values: [[CFString: Any]]) throws -> T {
   |                                      `- error: cannot find type 'CFString' in scope
74 |
75 |         guard let results = values.first(where: { ($0[kSecPropertyKeyLabel] as? String) == (key as String) }) else {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:73:67: error: cannot find type 'CFString' in scope
71 |     }
72 |
73 |     static func getValue<T>(for key: CFString, fromDict values: [[CFString: Any]]) throws -> T {
   |                                                                   `- error: cannot find type 'CFString' in scope
74 |
75 |         guard let results = values.first(where: { ($0[kSecPropertyKeyLabel] as? String) == (key as String) }) else {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:35:56: error: cannot find 'kSecOIDX509V1ValidityNotBefore' in scope
33 |         self.commonName = commonName
34 |
35 |         notValidBefore = try Certificate.getValue(for: kSecOIDX509V1ValidityNotBefore, from: results)
   |                                                        `- error: cannot find 'kSecOIDX509V1ValidityNotBefore' in scope
36 |         notValidAfter = try Certificate.getValue(for: kSecOIDX509V1ValidityNotAfter, from: results)
37 |         serialNumber = try Certificate.getValue(for: kSecOIDX509V1SerialNumber, from: results)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:36:55: error: cannot find 'kSecOIDX509V1ValidityNotAfter' in scope
34 |
35 |         notValidBefore = try Certificate.getValue(for: kSecOIDX509V1ValidityNotBefore, from: results)
36 |         notValidAfter = try Certificate.getValue(for: kSecOIDX509V1ValidityNotAfter, from: results)
   |                                                       `- error: cannot find 'kSecOIDX509V1ValidityNotAfter' in scope
37 |         serialNumber = try Certificate.getValue(for: kSecOIDX509V1SerialNumber, from: results)
38 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:37:54: error: cannot find 'kSecOIDX509V1SerialNumber' in scope
35 |         notValidBefore = try Certificate.getValue(for: kSecOIDX509V1ValidityNotBefore, from: results)
36 |         notValidAfter = try Certificate.getValue(for: kSecOIDX509V1ValidityNotAfter, from: results)
37 |         serialNumber = try Certificate.getValue(for: kSecOIDX509V1SerialNumber, from: results)
   |                                                      `- error: cannot find 'kSecOIDX509V1SerialNumber' in scope
38 |
39 |         let issuerName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1IssuerName, from: results)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:39:27: error: cannot find type 'CFString' in scope
37 |         serialNumber = try Certificate.getValue(for: kSecOIDX509V1SerialNumber, from: results)
38 |
39 |         let issuerName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1IssuerName, from: results)
   |                           `- error: cannot find type 'CFString' in scope
40 |         issuerCommonName = try Certificate.getValue(for: kSecOIDCommonName, fromDict: issuerName)
41 |         issuerCountryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: issuerName)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:40:58: error: cannot find 'kSecOIDCommonName' in scope
38 |
39 |         let issuerName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1IssuerName, from: results)
40 |         issuerCommonName = try Certificate.getValue(for: kSecOIDCommonName, fromDict: issuerName)
   |                                                          `- error: cannot find 'kSecOIDCommonName' in scope
41 |         issuerCountryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: issuerName)
42 |         issuerOrgName = try Certificate.getValue(for: kSecOIDOrganizationName, fromDict: issuerName)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:41:59: error: cannot find 'kSecOIDCountryName' in scope
39 |         let issuerName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1IssuerName, from: results)
40 |         issuerCommonName = try Certificate.getValue(for: kSecOIDCommonName, fromDict: issuerName)
41 |         issuerCountryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: issuerName)
   |                                                           `- error: cannot find 'kSecOIDCountryName' in scope
42 |         issuerOrgName = try Certificate.getValue(for: kSecOIDOrganizationName, fromDict: issuerName)
43 |         issuerOrgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: issuerName)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:42:55: error: cannot find 'kSecOIDOrganizationName' in scope
40 |         issuerCommonName = try Certificate.getValue(for: kSecOIDCommonName, fromDict: issuerName)
41 |         issuerCountryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: issuerName)
42 |         issuerOrgName = try Certificate.getValue(for: kSecOIDOrganizationName, fromDict: issuerName)
   |                                                       `- error: cannot find 'kSecOIDOrganizationName' in scope
43 |         issuerOrgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: issuerName)
44 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:43:55: error: cannot find 'kSecOIDOrganizationalUnitName' in scope
41 |         issuerCountryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: issuerName)
42 |         issuerOrgName = try Certificate.getValue(for: kSecOIDOrganizationName, fromDict: issuerName)
43 |         issuerOrgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: issuerName)
   |                                                       `- error: cannot find 'kSecOIDOrganizationalUnitName' in scope
44 |
45 |         let subjectName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1SubjectName, from: results)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:45:28: error: cannot find type 'CFString' in scope
43 |         issuerOrgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: issuerName)
44 |
45 |         let subjectName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1SubjectName, from: results)
   |                            `- error: cannot find type 'CFString' in scope
46 |         countryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: subjectName)
47 |         orgName = try? Certificate.getValue(for: kSecOIDOrganizationName, fromDict: subjectName)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:46:53: error: cannot find 'kSecOIDCountryName' in scope
44 |
45 |         let subjectName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1SubjectName, from: results)
46 |         countryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: subjectName)
   |                                                     `- error: cannot find 'kSecOIDCountryName' in scope
47 |         orgName = try? Certificate.getValue(for: kSecOIDOrganizationName, fromDict: subjectName)
48 |         orgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: subjectName)
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:47:50: error: cannot find 'kSecOIDOrganizationName' in scope
45 |         let subjectName: [[CFString: Any]] = try Certificate.getValue(for: kSecOIDX509V1SubjectName, from: results)
46 |         countryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: subjectName)
47 |         orgName = try? Certificate.getValue(for: kSecOIDOrganizationName, fromDict: subjectName)
   |                                                  `- error: cannot find 'kSecOIDOrganizationName' in scope
48 |         orgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: subjectName)
49 |     }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:48:49: error: cannot find 'kSecOIDOrganizationalUnitName' in scope
46 |         countryName = try Certificate.getValue(for: kSecOIDCountryName, fromDict: subjectName)
47 |         orgName = try? Certificate.getValue(for: kSecOIDOrganizationName, fromDict: subjectName)
48 |         orgUnit = try Certificate.getValue(for: kSecOIDOrganizationalUnitName, fromDict: subjectName)
   |                                                 `- error: cannot find 'kSecOIDOrganizationalUnitName' in scope
49 |     }
50 |
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:52:37: error: cannot find type 'CFString' in scope
50 |
51 |     static func getValue<T>(for key: CFString, from values: [CFString: Any]) throws -> T {
52 |         let node = values[key] as? [CFString: Any]
   |                                     `- error: cannot find type 'CFString' in scope
53 |
54 |         guard let rawValue = node?[kSecPropertyKeyValue] else {
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:54:36: error: cannot find 'kSecPropertyKeyValue' in scope
52 |         let node = values[key] as? [CFString: Any]
53 |
54 |         guard let rawValue = node?[kSecPropertyKeyValue] else {
   |                                    `- error: cannot find 'kSecPropertyKeyValue' in scope
55 |             throw InitError.failedToFindValue(key: key as String)
56 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:66:31: error: cannot find 'kSecPropertyKeyType' in scope
64 |
65 |         guard let value = rawValue as? T else {
66 |             let type = (node?[kSecPropertyKeyType] as? String) ?? String(describing: rawValue)
   |                               `- error: cannot find 'kSecPropertyKeyType' in scope
67 |             throw InitError.failedToCastValue(expected: String(describing: T.self), actual: type)
68 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:66:64: error: type of expression is ambiguous without a type annotation
64 |
65 |         guard let value = rawValue as? T else {
66 |             let type = (node?[kSecPropertyKeyType] as? String) ?? String(describing: rawValue)
   |                                                                `- error: type of expression is ambiguous without a type annotation
67 |             throw InitError.failedToCastValue(expected: String(describing: T.self), actual: type)
68 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:75:55: error: cannot find 'kSecPropertyKeyLabel' in scope
73 |     static func getValue<T>(for key: CFString, fromDict values: [[CFString: Any]]) throws -> T {
74 |
75 |         guard let results = values.first(where: { ($0[kSecPropertyKeyLabel] as? String) == (key as String) }) else {
   |                                                       `- error: cannot find 'kSecPropertyKeyLabel' in scope
76 |             throw InitError.failedToFindLabel(label: key as String)
77 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:79:38: error: cannot find 'kSecPropertyKeyValue' in scope
77 |         }
78 |
79 |         guard let rawValue = results[kSecPropertyKeyValue] else {
   |                                      `- error: cannot find 'kSecPropertyKeyValue' in scope
80 |             throw InitError.failedToFindValue(key: key as String)
81 |         }
/host/spi-builder-workspace/Sources/SwiftyProvisioningProfile/Model/Certificate.swift:84:33: error: cannot find 'kSecPropertyKeyType' in scope
82 |
83 |         guard let value = rawValue as? T else {
84 |             let type = (results[kSecPropertyKeyType] as? String) ?? String(describing: rawValue)
   |                                 `- error: cannot find 'kSecPropertyKeyType' in scope
85 |             throw InitError.failedToCastValue(expected: String(describing: T.self), actual: type)
86 |         }
BUILD FAILURE 6.1 linux