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 KeyVine with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ptsochantaris/key-vine.git
Reference: 1.0.2
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/ptsochantaris/key-vine
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at db84dd1 Typo
Cloned https://github.com/ptsochantaris/key-vine.git
Revision (git rev-parse @):
db84dd107baf7c10f1a04adfc852f249a78ace51
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/ptsochantaris/key-vine.git at 1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ptsochantaris/key-vine.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling KeyVine KeyVineDataConvertible.swift
[4/6] Compiling KeyVine KeyVineStringConvertible.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module KeyVine
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:112:33: error: cannot find type 'CFString' in scope
    private let templateQuery: [CFString: Any]
                                ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:62:26: error: cannot find type 'OSStatus' in scope
        case readFailure(OSStatus)
                         ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:63:27: error: cannot find type 'OSStatus' in scope
        case writeFailure(OSStatus)
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:96:22: error: cannot find type 'CFString' in scope
        var cfValue: CFString {
                     ^~~~~~~~
[6/6] Compiling KeyVine KeyVine.swift
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:112:33: error: cannot find type 'CFString' in scope
    private let templateQuery: [CFString: Any]
                                ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:62:26: error: cannot find type 'OSStatus' in scope
        case readFailure(OSStatus)
                         ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:63:27: error: cannot find type 'OSStatus' in scope
        case writeFailure(OSStatus)
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:96:22: error: cannot find type 'CFString' in scope
        var cfValue: CFString {
                     ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:68:39: error: cannot find 'SecCopyErrorMessageString' in scope
                if let errorMessage = SecCopyErrorMessageString(status, nil) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:68:73: error: 'nil' requires a contextual type
                if let errorMessage = SecCopyErrorMessageString(status, nil) {
                                                                        ^
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:74:39: error: cannot find 'SecCopyErrorMessageString' in scope
                if let errorMessage = SecCopyErrorMessageString(status, nil) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:74:73: error: 'nil' requires a contextual type
                if let errorMessage = SecCopyErrorMessageString(status, nil) {
                                                                        ^
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:122:26: error: cannot find 'kSecClass' in scope
        templateQuery = [kSecClass: kSecClassGenericPassword,
                         ^~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:122:37: error: cannot find 'kSecClassGenericPassword' in scope
        templateQuery = [kSecClass: kSecClassGenericPassword,
                                    ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:123:20: error: cannot find 'kSecAttrService' in scope
                   kSecAttrService: appIdentifier,
                   ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:124:6: error: cannot find 'kSecUseDataProtectionKeychain' in scope
     kSecUseDataProtectionKeychain: kCFBooleanTrue!,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:124:37: error: cannot find 'kCFBooleanTrue' in scope
     kSecUseDataProtectionKeychain: kCFBooleanTrue!,
                                    ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:125:17: error: cannot find 'kSecAttrAccessible' in scope
                kSecAttrAccessible: accessibility.cfValue,
                ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:126:16: error: cannot find 'kSecAttrAccessGroup' in scope
               kSecAttrAccessGroup: "\(teamId).\(appIdentifier)"]
               ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:140:15: error: cannot find 'kSecAttrAccount' in scope
        query[kSecAttrAccount] = key
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:141:15: error: cannot find 'kSecMatchLimit' in scope
        query[kSecMatchLimit] = kSecMatchLimitOne
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:141:33: error: cannot find 'kSecMatchLimitOne' in scope
        query[kSecMatchLimit] = kSecMatchLimitOne
                                ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:142:15: error: cannot find 'kSecReturnData' in scope
        query[kSecReturnData] = kCFBooleanTrue
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:142:33: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnData] = kCFBooleanTrue
                                ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:145:22: error: cannot find 'SecItemCopyMatching' in scope
        let status = SecItemCopyMatching(query as CFDictionary, &itemCopy)
                     ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:145:51: error: cannot find type 'CFDictionary' in scope
        let status = SecItemCopyMatching(query as CFDictionary, &itemCopy)
                                                  ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:147:14: error: cannot find 'errSecSuccess' in scope
        case errSecSuccess:
             ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:149:14: error: cannot find 'errSecItemNotFound' in scope
        case errSecItemNotFound:
             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:167:21: error: cannot find type 'OSStatus' in scope
        var status: OSStatus
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:169:15: error: cannot find 'kSecAttrAccount' in scope
        query[kSecAttrAccount] = key
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:172:19: error: cannot find 'kSecValueData' in scope
            query[kSecValueData] = data
                  ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:173:22: error: cannot find 'SecItemAdd' in scope
            status = SecItemAdd(query as CFDictionary, nil)
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:173:42: error: cannot find type 'CFDictionary' in scope
            status = SecItemAdd(query as CFDictionary, nil)
                                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:173:56: error: 'nil' requires a contextual type
            status = SecItemAdd(query as CFDictionary, nil)
                                                       ^
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:176:18: error: cannot find 'errSecDuplicateItem' in scope
            case errSecDuplicateItem:
                 ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:177:23: error: cannot find 'kSecValueData' in scope
                query[kSecValueData] = nil
                      ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:177:40: error: 'nil' requires a contextual type
                query[kSecValueData] = nil
                                       ^
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:178:26: error: cannot find 'SecItemUpdate' in scope
                status = SecItemUpdate(query as CFDictionary, [kSecValueData: data] as CFDictionary)
                         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:178:64: error: cannot find 'kSecValueData' in scope
                status = SecItemUpdate(query as CFDictionary, [kSecValueData: data] as CFDictionary)
                                                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:178:49: error: cannot find type 'CFDictionary' in scope
                status = SecItemUpdate(query as CFDictionary, [kSecValueData: data] as CFDictionary)
                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:178:88: error: cannot find type 'CFDictionary' in scope
                status = SecItemUpdate(query as CFDictionary, [kSecValueData: data] as CFDictionary)
                                                                                       ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:185:22: error: cannot find 'SecItemDelete' in scope
            status = SecItemDelete(query as CFDictionary)
                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:185:45: error: cannot find type 'CFDictionary' in scope
            status = SecItemDelete(query as CFDictionary)
                                            ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:187:18: error: cannot find 'errSecItemNotFound' in scope
            case errSecItemNotFound, errSecSuccess:
                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:187:38: error: cannot find 'errSecSuccess' in scope
            case errSecItemNotFound, errSecSuccess:
                                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:194:22: error: cannot find 'errSecSuccess' in scope
        if status != errSecSuccess {
                     ^~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module KeyVine
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:112:33: error: cannot find type 'CFString' in scope
    private let templateQuery: [CFString: Any]
                                ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:62:26: error: cannot find type 'OSStatus' in scope
        case readFailure(OSStatus)
                         ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:63:27: error: cannot find type 'OSStatus' in scope
        case writeFailure(OSStatus)
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:96:22: error: cannot find type 'CFString' in scope
        var cfValue: CFString {
                     ^~~~~~~~
[3/3] Compiling KeyVine KeyVine.swift
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:112:33: error: cannot find type 'CFString' in scope
    private let templateQuery: [CFString: Any]
                                ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:62:26: error: cannot find type 'OSStatus' in scope
        case readFailure(OSStatus)
                         ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:63:27: error: cannot find type 'OSStatus' in scope
        case writeFailure(OSStatus)
                          ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:96:22: error: cannot find type 'CFString' in scope
        var cfValue: CFString {
                     ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:68:39: error: cannot find 'SecCopyErrorMessageString' in scope
                if let errorMessage = SecCopyErrorMessageString(status, nil) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:68:73: error: 'nil' requires a contextual type
                if let errorMessage = SecCopyErrorMessageString(status, nil) {
                                                                        ^
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:74:39: error: cannot find 'SecCopyErrorMessageString' in scope
                if let errorMessage = SecCopyErrorMessageString(status, nil) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:74:73: error: 'nil' requires a contextual type
                if let errorMessage = SecCopyErrorMessageString(status, nil) {
                                                                        ^
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:122:26: error: cannot find 'kSecClass' in scope
        templateQuery = [kSecClass: kSecClassGenericPassword,
                         ^~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:122:37: error: cannot find 'kSecClassGenericPassword' in scope
        templateQuery = [kSecClass: kSecClassGenericPassword,
                                    ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:123:20: error: cannot find 'kSecAttrService' in scope
                   kSecAttrService: appIdentifier,
                   ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:124:6: error: cannot find 'kSecUseDataProtectionKeychain' in scope
     kSecUseDataProtectionKeychain: kCFBooleanTrue!,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:124:37: error: cannot find 'kCFBooleanTrue' in scope
     kSecUseDataProtectionKeychain: kCFBooleanTrue!,
                                    ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:125:17: error: cannot find 'kSecAttrAccessible' in scope
                kSecAttrAccessible: accessibility.cfValue,
                ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:126:16: error: cannot find 'kSecAttrAccessGroup' in scope
               kSecAttrAccessGroup: "\(teamId).\(appIdentifier)"]
               ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:140:15: error: cannot find 'kSecAttrAccount' in scope
        query[kSecAttrAccount] = key
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:141:15: error: cannot find 'kSecMatchLimit' in scope
        query[kSecMatchLimit] = kSecMatchLimitOne
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:141:33: error: cannot find 'kSecMatchLimitOne' in scope
        query[kSecMatchLimit] = kSecMatchLimitOne
                                ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:142:15: error: cannot find 'kSecReturnData' in scope
        query[kSecReturnData] = kCFBooleanTrue
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:142:33: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnData] = kCFBooleanTrue
                                ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:145:22: error: cannot find 'SecItemCopyMatching' in scope
        let status = SecItemCopyMatching(query as CFDictionary, &itemCopy)
                     ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:145:51: error: cannot find type 'CFDictionary' in scope
        let status = SecItemCopyMatching(query as CFDictionary, &itemCopy)
                                                  ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:147:14: error: cannot find 'errSecSuccess' in scope
        case errSecSuccess:
             ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:149:14: error: cannot find 'errSecItemNotFound' in scope
        case errSecItemNotFound:
             ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:167:21: error: cannot find type 'OSStatus' in scope
        var status: OSStatus
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:169:15: error: cannot find 'kSecAttrAccount' in scope
        query[kSecAttrAccount] = key
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:172:19: error: cannot find 'kSecValueData' in scope
            query[kSecValueData] = data
                  ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:173:22: error: cannot find 'SecItemAdd' in scope
            status = SecItemAdd(query as CFDictionary, nil)
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:173:42: error: cannot find type 'CFDictionary' in scope
            status = SecItemAdd(query as CFDictionary, nil)
                                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:173:56: error: 'nil' requires a contextual type
            status = SecItemAdd(query as CFDictionary, nil)
                                                       ^
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:176:18: error: cannot find 'errSecDuplicateItem' in scope
            case errSecDuplicateItem:
                 ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:177:23: error: cannot find 'kSecValueData' in scope
                query[kSecValueData] = nil
                      ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:177:40: error: 'nil' requires a contextual type
                query[kSecValueData] = nil
                                       ^
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:178:26: error: cannot find 'SecItemUpdate' in scope
                status = SecItemUpdate(query as CFDictionary, [kSecValueData: data] as CFDictionary)
                         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:178:64: error: cannot find 'kSecValueData' in scope
                status = SecItemUpdate(query as CFDictionary, [kSecValueData: data] as CFDictionary)
                                                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:178:49: error: cannot find type 'CFDictionary' in scope
                status = SecItemUpdate(query as CFDictionary, [kSecValueData: data] as CFDictionary)
                                                ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:178:88: error: cannot find type 'CFDictionary' in scope
                status = SecItemUpdate(query as CFDictionary, [kSecValueData: data] as CFDictionary)
                                                                                       ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:185:22: error: cannot find 'SecItemDelete' in scope
            status = SecItemDelete(query as CFDictionary)
                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:185:45: error: cannot find type 'CFDictionary' in scope
            status = SecItemDelete(query as CFDictionary)
                                            ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:187:18: error: cannot find 'errSecItemNotFound' in scope
            case errSecItemNotFound, errSecSuccess:
                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:187:38: error: cannot find 'errSecSuccess' in scope
            case errSecItemNotFound, errSecSuccess:
                                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/KeyVine/KeyVine.swift:194:22: error: cannot find 'errSecSuccess' in scope
        if status != errSecSuccess {
                     ^~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux