The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xcinfo with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.25.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcodereleases/xcinfo.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/xcodereleases/xcinfo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d8c566b Uses unxip 3.0 as default extraction tool
Cloned https://github.com/xcodereleases/xcinfo.git
Revision (git rev-parse @):
d8c566be7204afdc4dbc734f58a206b5e342426d
SUCCESS checkout https://github.com/xcodereleases/xcinfo.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/xcodereleases/data.git
[1/842] Fetching data
Fetched https://github.com/xcodereleases/data.git (0.29s)
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/Quick/Nimble.git
[1/1114] Fetching rainbow
[1115/15137] Fetching rainbow, quick
Fetched https://github.com/onevcat/Rainbow (0.27s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[141/14023] Fetching quick
[14024/17965] Fetching quick, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.41s)
Fetching https://github.com/apple/swift-argument-parser
[1/16653] Fetching nimble
[16488/27682] Fetching nimble, swift-argument-parser
Fetched https://github.com/Quick/Quick.git (1.77s)
Fetching https://github.com/saagarjha/unxip
Fetched https://github.com/Quick/Nimble.git (1.78s)
Fetching https://github.com/getGuaka/Args.git
Fetched https://github.com/apple/swift-argument-parser (1.11s)
Fetching https://github.com/getGuaka/Prompt.git
[1/280] Fetching unxip
[281/324] Fetching unxip, prompt
Fetched https://github.com/saagarjha/unxip (0.27s)
[33/44] Fetching prompt
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[45/78] Fetching prompt, args
Fetched https://github.com/getGuaka/Prompt.git (0.29s)
Fetched https://github.com/getGuaka/Args.git (0.30s)
Computing version for https://github.com/saagarjha/unxip
[1/2077] Fetching xctest-dynamic-overlay
Computed https://github.com/saagarjha/unxip at 3.0.0 (0.41s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.49s)
Computed https://github.com/pointfreeco/swift-custom-dump at 1.1.0 (0.37s)
Computing version for https://github.com/getGuaka/Prompt.git
Computed https://github.com/getGuaka/Prompt.git at 0.1.1 (1.12s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.0.1 (0.34s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.39s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.39s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.34s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.36s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (0.34s)
Creating working copy for https://github.com/getGuaka/Args.git
Working copy of https://github.com/getGuaka/Args.git resolved at 0.1.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.1.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.0.1
Creating working copy for https://github.com/xcodereleases/data.git
Working copy of https://github.com/xcodereleases/data.git resolved at master
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.4
Creating working copy for https://github.com/getGuaka/Prompt.git
Working copy of https://github.com/getGuaka/Prompt.git resolved at 0.1.1
Creating working copy for https://github.com/saagarjha/unxip
Working copy of https://github.com/saagarjha/unxip resolved at 3.0.0
Compiling plugin GenerateManual...
Building for debugging...
[0/13] Compiling XCUnxip Unxip.m
[2/42] Emitting module Args
[3/42] Compiling Args ArgConvertible.swift
[4/42] Compiling Rainbow StringGenerator.swift
[5/43] Emitting module Rainbow
[6/43] Compiling Rainbow Style.swift
[7/43] Emitting module ArgumentParserToolInfo
[8/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/45] Compiling Rainbow String+Rainbow.swift
[11/45] Wrapping AST for ArgumentParserToolInfo for debugging
[13/82] Compiling ArgumentParser Argument.swift
[14/82] Compiling ArgumentParser ArgumentHelp.swift
[15/82] Compiling XCModel Version.swift
[16/83] Compiling Args ProcessInfo.swift
[17/83] Compiling XCModel Link.swift
[18/83] Compiling XCModel Compilers.swift
[19/83] Compiling XCModel Release.swift
[20/83] Compiling XCModel SDKs.swift
[21/83] Compiling XCModel Checksums.swift
[22/83] Emitting module XCModel
[23/83] Compiling Args ArgsParser.swift
[24/83] Compiling Args Argument.swift
[25/83] Compiling Args Args.swift
[26/84] Compiling Rainbow OutputTarget.swift
[27/84] Compiling Rainbow Rainbow.swift
[28/84] Compiling XCModel YMD.swift
[31/85] Compiling XCModel Xcode.swift
[34/87] Compiling ArgumentParser BashCompletionsGenerator.swift
[35/87] Compiling ArgumentParser CompletionsGenerator.swift
[36/87] Compiling ArgumentParser FishCompletionsGenerator.swift
[37/87] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/88] Wrapping AST for Args for debugging
[38/88] Wrapping AST for XCModel for debugging
[42/99] Compiling Prompt AskerValidator.swift
[42/100] Wrapping AST for Rainbow for debugging
[44/100] Compiling Prompt PromptPrinter.swift
[45/100] Compiling Prompt PromptReader.swift
[46/100] Compiling Prompt PromptSettings.swift
[47/100] Compiling Prompt Ask.swift
[48/100] Compiling Prompt AskSettings.swift
[49/106] Compiling XCIFoundation Logger.swift
/host/spi-builder-workspace/Sources/XCIFoundation/Logger.swift:58:20: error: cannot find '__stdoutp' in scope
            fflush(__stdoutp)
                   ^~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)[50/106] Emitting module XCIFoundation
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:15:37: error: cannot find type 'OSStatus' in scope
        case unhandledError(status: OSStatus)
                                    ^~~~~~~~
[51/106] Compiling XCIFoundation URL+Extensions.swift
[52/106] Compiling XCIFoundation String+Extensions.swift
[53/106] Compiling Prompt ChooseSettings.swift
[54/106] Compiling Prompt Choose.swift
[55/106] Compiling Prompt Agree.swift
[56/106] Compiling Prompt AgreeSettings.swift
[57/106] Emitting module Prompt
[58/107] Compiling XCIFoundation FileManager+Extensions.swift
[59/107] Compiling XCIFoundation KeychainPasswordItem.swift
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:15:37: error: cannot find type 'OSStatus' in scope
        case unhandledError(status: OSStatus)
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:56:15: error: cannot find 'kSecMatchLimit' in scope
        query[kSecMatchLimit as String] = kSecMatchLimitOne
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:56:43: error: cannot find 'kSecMatchLimitOne' in scope
        query[kSecMatchLimit as String] = kSecMatchLimitOne
                                          ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:57:15: error: cannot find 'kSecReturnAttributes' in scope
        query[kSecReturnAttributes as String] = kCFBooleanTrue
              ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:57:49: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnAttributes as String] = kCFBooleanTrue
                                                ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:58:15: error: cannot find 'kSecReturnData' in scope
        query[kSecReturnData as String] = kCFBooleanTrue
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:58:43: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnData as String] = kCFBooleanTrue
                                          ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:63:13: error: cannot find 'SecItemCopyMatching' in scope
            SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:67:25: error: cannot find 'errSecItemNotFound' in scope
        guard status != errSecItemNotFound else { throw KeychainError.noPassword }
                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:68:25: error: cannot find 'noErr' in scope
        guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                        ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:72:47: error: cannot find 'kSecValueData' in scope
              let passwordData = existingItem[kSecValueData as String] as? Data,
                                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:87:15: error: cannot find 'kSecMatchLimit' in scope
        query[kSecMatchLimit as String] = kSecMatchLimitOne
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:87:43: error: cannot find 'kSecMatchLimitOne' in scope
        query[kSecMatchLimit as String] = kSecMatchLimitOne
                                          ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:88:15: error: cannot find 'kSecReturnAttributes' in scope
        query[kSecReturnAttributes as String] = kCFBooleanTrue
              ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:88:49: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnAttributes as String] = kCFBooleanTrue
                                                ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:89:15: error: cannot find 'kSecReturnData' in scope
        query[kSecReturnData as String] = kCFBooleanTrue
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:89:43: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnData as String] = kCFBooleanTrue
                                          ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:94:13: error: cannot find 'SecItemCopyMatching' in scope
            SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:98:25: error: cannot find 'errSecItemNotFound' in scope
        guard status != errSecItemNotFound else { throw KeychainError.noPassword }
                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:99:25: error: cannot find 'noErr' in scope
        guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                        ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:103:47: error: cannot find 'kSecValueData' in scope
              let passwordData = existingItem[kSecValueData as String] as? Data
                                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:123:32: error: cannot find 'kSecValueData' in scope
            attributesToUpdate[kSecValueData as String] = encodedPassword as AnyObject?
                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:130:26: error: cannot find 'SecItemUpdate' in scope
            let status = SecItemUpdate(query as CFDictionary, attributesToUpdate as CFDictionary)
                         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:133:29: error: cannot find 'noErr' in scope
            guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                            ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:144:21: error: cannot find 'kSecValueData' in scope
            newItem[kSecValueData as String] = encodedPassword as AnyObject?
                    ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:147:26: error: cannot find 'SecItemAdd' in scope
            let status = SecItemAdd(newItem as CFDictionary, nil)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:150:29: error: cannot find 'noErr' in scope
            guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                            ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:164:32: error: cannot find 'kSecValueData' in scope
            attributesToUpdate[kSecValueData as String] = data as AnyObject?
                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:171:26: error: cannot find 'SecItemUpdate' in scope
            let status = SecItemUpdate(query as CFDictionary, attributesToUpdate as CFDictionary)
                         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:174:29: error: cannot find 'noErr' in scope
            guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                            ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:185:21: error: cannot find 'kSecValueData' in scope
            newItem[kSecValueData as String] = data as AnyObject?
                    ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:188:26: error: cannot find 'SecItemAdd' in scope
            let status = SecItemAdd(newItem as CFDictionary, nil)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:191:29: error: cannot find 'noErr' in scope
            guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                            ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:198:28: error: cannot find 'kSecAttrAccount' in scope
        attributesToUpdate[kSecAttrAccount as String] = newAccountName as AnyObject?
                           ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:201:22: error: cannot find 'SecItemUpdate' in scope
        let status = SecItemUpdate(query as CFDictionary, attributesToUpdate as CFDictionary)
                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:204:25: error: cannot find 'noErr' in scope
        guard status == noErr || status == errSecItemNotFound
                        ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:204:44: error: cannot find 'errSecItemNotFound' in scope
        guard status == noErr || status == errSecItemNotFound
                                           ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:213:22: error: cannot find 'SecItemDelete' in scope
        let status = SecItemDelete(query as CFDictionary)
                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:216:25: error: cannot find 'noErr' in scope
        guard status == noErr || status == errSecItemNotFound
                        ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:216:44: error: cannot find 'errSecItemNotFound' in scope
        guard status == noErr || status == errSecItemNotFound
                                           ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:226:15: error: cannot find 'kSecMatchLimit' in scope
        query[kSecMatchLimit as String] = kSecMatchLimitAll
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:226:43: error: cannot find 'kSecMatchLimitAll' in scope
        query[kSecMatchLimit as String] = kSecMatchLimitAll
                                          ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:227:15: error: cannot find 'kSecReturnAttributes' in scope
        query[kSecReturnAttributes as String] = kCFBooleanTrue
              ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:227:49: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnAttributes as String] = kCFBooleanTrue
                                                ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:228:15: error: cannot find 'kSecReturnData' in scope
        query[kSecReturnData as String] = kCFBooleanFalse
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:228:43: error: cannot find 'kCFBooleanFalse' in scope
        query[kSecReturnData as String] = kCFBooleanFalse
                                          ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:233:13: error: cannot find 'SecItemCopyMatching' in scope
            SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:237:25: error: cannot find 'errSecItemNotFound' in scope
        guard status != errSecItemNotFound else { return [] }
                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:240:25: error: cannot find 'noErr' in scope
        guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                        ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:248:40: error: cannot find 'kSecAttrAccount' in scope
            guard let account = result[kSecAttrAccount as String] as? String
                                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:266:15: error: cannot find 'kSecClass' in scope
        query[kSecClass as String] = kSecClassGenericPassword
              ^~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:266:38: error: cannot find 'kSecClassGenericPassword' in scope
        query[kSecClass as String] = kSecClassGenericPassword
                                     ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:267:15: error: cannot find 'kSecAttrService' in scope
        query[kSecAttrService as String] = service as AnyObject?
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:270:19: error: cannot find 'kSecAttrAccount' in scope
            query[kSecAttrAccount as String] = account as AnyObject?
                  ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:274:19: error: cannot find 'kSecAttrAccessGroup' in scope
            query[kSecAttrAccessGroup as String] = accessGroup as AnyObject?
                  ^~~~~~~~~~~~~~~~~~~
[62/108] Compiling ArgumentParser Option.swift
[63/108] Compiling ArgumentParser OptionGroup.swift
[64/108] Compiling ArgumentParser AsyncParsableCommand.swift
[65/108] Compiling ArgumentParser CommandConfiguration.swift
[66/108] Compiling ArgumentParser EnumerableFlag.swift
[67/108] Emitting module libunxip
[0/1] Planning build
Compiling plugin GenerateManual...
Building for debugging...
[1/14] Emitting module Prompt
[2/31] Compiling XCIFoundation Logger.swift
/host/spi-builder-workspace/Sources/XCIFoundation/Logger.swift:58:20: error: cannot find '__stdoutp' in scope
            fflush(__stdoutp)
                   ^~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)[4/49] Emitting module XCIFoundation
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:15:37: error: cannot find type 'OSStatus' in scope
        case unhandledError(status: OSStatus)
                                    ^~~~~~~~
[6/49] Compiling XCIFoundation KeychainPasswordItem.swift
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:15:37: error: cannot find type 'OSStatus' in scope
        case unhandledError(status: OSStatus)
                                    ^~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:56:15: error: cannot find 'kSecMatchLimit' in scope
        query[kSecMatchLimit as String] = kSecMatchLimitOne
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:56:43: error: cannot find 'kSecMatchLimitOne' in scope
        query[kSecMatchLimit as String] = kSecMatchLimitOne
                                          ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:57:15: error: cannot find 'kSecReturnAttributes' in scope
        query[kSecReturnAttributes as String] = kCFBooleanTrue
              ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:57:49: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnAttributes as String] = kCFBooleanTrue
                                                ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:58:15: error: cannot find 'kSecReturnData' in scope
        query[kSecReturnData as String] = kCFBooleanTrue
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:58:43: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnData as String] = kCFBooleanTrue
                                          ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:63:13: error: cannot find 'SecItemCopyMatching' in scope
            SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:67:25: error: cannot find 'errSecItemNotFound' in scope
        guard status != errSecItemNotFound else { throw KeychainError.noPassword }
                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:68:25: error: cannot find 'noErr' in scope
        guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                        ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:72:47: error: cannot find 'kSecValueData' in scope
              let passwordData = existingItem[kSecValueData as String] as? Data,
                                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:87:15: error: cannot find 'kSecMatchLimit' in scope
        query[kSecMatchLimit as String] = kSecMatchLimitOne
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:87:43: error: cannot find 'kSecMatchLimitOne' in scope
        query[kSecMatchLimit as String] = kSecMatchLimitOne
                                          ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:88:15: error: cannot find 'kSecReturnAttributes' in scope
        query[kSecReturnAttributes as String] = kCFBooleanTrue
              ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:88:49: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnAttributes as String] = kCFBooleanTrue
                                                ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:89:15: error: cannot find 'kSecReturnData' in scope
        query[kSecReturnData as String] = kCFBooleanTrue
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:89:43: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnData as String] = kCFBooleanTrue
                                          ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:94:13: error: cannot find 'SecItemCopyMatching' in scope
            SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:98:25: error: cannot find 'errSecItemNotFound' in scope
        guard status != errSecItemNotFound else { throw KeychainError.noPassword }
                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:99:25: error: cannot find 'noErr' in scope
        guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                        ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:103:47: error: cannot find 'kSecValueData' in scope
              let passwordData = existingItem[kSecValueData as String] as? Data
                                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:123:32: error: cannot find 'kSecValueData' in scope
            attributesToUpdate[kSecValueData as String] = encodedPassword as AnyObject?
                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:130:26: error: cannot find 'SecItemUpdate' in scope
            let status = SecItemUpdate(query as CFDictionary, attributesToUpdate as CFDictionary)
                         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:133:29: error: cannot find 'noErr' in scope
            guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                            ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:144:21: error: cannot find 'kSecValueData' in scope
            newItem[kSecValueData as String] = encodedPassword as AnyObject?
                    ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:147:26: error: cannot find 'SecItemAdd' in scope
            let status = SecItemAdd(newItem as CFDictionary, nil)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:150:29: error: cannot find 'noErr' in scope
            guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                            ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:164:32: error: cannot find 'kSecValueData' in scope
            attributesToUpdate[kSecValueData as String] = data as AnyObject?
                               ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:171:26: error: cannot find 'SecItemUpdate' in scope
            let status = SecItemUpdate(query as CFDictionary, attributesToUpdate as CFDictionary)
                         ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:174:29: error: cannot find 'noErr' in scope
            guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                            ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:185:21: error: cannot find 'kSecValueData' in scope
            newItem[kSecValueData as String] = data as AnyObject?
                    ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:188:26: error: cannot find 'SecItemAdd' in scope
            let status = SecItemAdd(newItem as CFDictionary, nil)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:191:29: error: cannot find 'noErr' in scope
            guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                            ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:198:28: error: cannot find 'kSecAttrAccount' in scope
        attributesToUpdate[kSecAttrAccount as String] = newAccountName as AnyObject?
                           ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:201:22: error: cannot find 'SecItemUpdate' in scope
        let status = SecItemUpdate(query as CFDictionary, attributesToUpdate as CFDictionary)
                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:204:25: error: cannot find 'noErr' in scope
        guard status == noErr || status == errSecItemNotFound
                        ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:204:44: error: cannot find 'errSecItemNotFound' in scope
        guard status == noErr || status == errSecItemNotFound
                                           ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:213:22: error: cannot find 'SecItemDelete' in scope
        let status = SecItemDelete(query as CFDictionary)
                     ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:216:25: error: cannot find 'noErr' in scope
        guard status == noErr || status == errSecItemNotFound
                        ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:216:44: error: cannot find 'errSecItemNotFound' in scope
        guard status == noErr || status == errSecItemNotFound
                                           ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:226:15: error: cannot find 'kSecMatchLimit' in scope
        query[kSecMatchLimit as String] = kSecMatchLimitAll
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:226:43: error: cannot find 'kSecMatchLimitAll' in scope
        query[kSecMatchLimit as String] = kSecMatchLimitAll
                                          ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:227:15: error: cannot find 'kSecReturnAttributes' in scope
        query[kSecReturnAttributes as String] = kCFBooleanTrue
              ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:227:49: error: cannot find 'kCFBooleanTrue' in scope
        query[kSecReturnAttributes as String] = kCFBooleanTrue
                                                ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:228:15: error: cannot find 'kSecReturnData' in scope
        query[kSecReturnData as String] = kCFBooleanFalse
              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:228:43: error: cannot find 'kCFBooleanFalse' in scope
        query[kSecReturnData as String] = kCFBooleanFalse
                                          ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:233:13: error: cannot find 'SecItemCopyMatching' in scope
            SecItemCopyMatching(query as CFDictionary, UnsafeMutablePointer($0))
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:237:25: error: cannot find 'errSecItemNotFound' in scope
        guard status != errSecItemNotFound else { return [] }
                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:240:25: error: cannot find 'noErr' in scope
        guard status == noErr else { throw KeychainError.unhandledError(status: status) }
                        ^~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:248:40: error: cannot find 'kSecAttrAccount' in scope
            guard let account = result[kSecAttrAccount as String] as? String
                                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:266:15: error: cannot find 'kSecClass' in scope
        query[kSecClass as String] = kSecClassGenericPassword
              ^~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:266:38: error: cannot find 'kSecClassGenericPassword' in scope
        query[kSecClass as String] = kSecClassGenericPassword
                                     ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:267:15: error: cannot find 'kSecAttrService' in scope
        query[kSecAttrService as String] = service as AnyObject?
              ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:270:19: error: cannot find 'kSecAttrAccount' in scope
            query[kSecAttrAccount as String] = account as AnyObject?
                  ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XCIFoundation/KeychainPasswordItem.swift:274:19: error: cannot find 'kSecAttrAccessGroup' in scope
            query[kSecAttrAccessGroup as String] = accessGroup as AnyObject?
                  ^~~~~~~~~~~~~~~~~~~
[7/49] Emitting module libunxip
BUILD FAILURE 5.7 linux

Build Machine: Linux 2