The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LispKit, reference master (aee792), with Swift 6.1 for Wasm on 26 Apr 2026 13:32:24 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-lispkit.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/objecthub/swift-lispkit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at aee7921 Finalize release of 2.6.1.
Cloned https://github.com/objecthub/swift-lispkit.git
Revision (git rev-parse @):
aee792187f4a1641ea881ed24a062621295e7599
SUCCESS checkout https://github.com/objecthub/swift-lispkit.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/objecthub/swift-lispkit.git
https://github.com/objecthub/swift-lispkit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/objecthub/swift-dynamicjson.git
[1/921] Fetching swift-dynamicjson
Fetched https://github.com/objecthub/swift-dynamicjson.git from cache (0.38s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
[1/4388] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (2.23s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/p2/OAuth2.git
Fetching https://github.com/tsolomko/SWCompression.git
Fetching https://github.com/SomeRandomiOSDev/CBORCoding.git
Fetching https://github.com/objecthub/swift-nanohttp.git
[1/1452] Fetching cborcoding
[147/3272] Fetching cborcoding, swift-atomics
[751/9504] Fetching cborcoding, swift-atomics, oauth2
[1090/9757] Fetching cborcoding, swift-atomics, oauth2, swift-nanohttp
[1981/15720] Fetching cborcoding, swift-atomics, oauth2, swift-nanohttp, zipfoundation
[2041/33437] Fetching cborcoding, swift-atomics, oauth2, swift-nanohttp, zipfoundation, swcompression
Fetched https://github.com/objecthub/swift-nanohttp.git from cache (0.77s)
[6571/33184] Fetching cborcoding, swift-atomics, oauth2, zipfoundation, swcompression
Fetching https://github.com/objecthub/swift-clformat.git
Fetched https://github.com/SomeRandomiOSDev/CBORCoding.git from cache (0.89s)
[6162/31732] Fetching swift-atomics, oauth2, zipfoundation, swcompression
Fetching https://github.com/objecthub/swift-sqliteexpress.git
[11016/32241] Fetching swift-atomics, oauth2, zipfoundation, swcompression, swift-clformat
[17616/32340] Fetching swift-atomics, oauth2, zipfoundation, swcompression, swift-clformat, swift-sqliteexpress
Fetched https://github.com/objecthub/swift-clformat.git from cache (0.68s)
[19510/31831] Fetching swift-atomics, oauth2, zipfoundation, swcompression, swift-sqliteexpress
Fetched https://github.com/objecthub/swift-sqliteexpress.git from cache (0.54s)
[19767/31732] Fetching swift-atomics, oauth2, zipfoundation, swcompression
Fetching https://github.com/objecthub/swift-markdownkit.git
Fetching https://github.com/objecthub/swift-commandlinekit.git
[23229/32094] Fetching swift-atomics, oauth2, zipfoundation, swcompression, swift-commandlinekit
[23230/32825] Fetching swift-atomics, oauth2, zipfoundation, swcompression, swift-commandlinekit, swift-markdownkit
Fetched https://github.com/objecthub/swift-commandlinekit.git from cache (1.09s)
Fetched https://github.com/p2/OAuth2.git from cache (2.60s)
Fetched https://github.com/objecthub/swift-markdownkit.git from cache (1.10s)
Fetching https://github.com/objecthub/swift-numberkit.git
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (2.62s)
[13972/19537] Fetching swift-atomics, swcompression
[19538/20562] Fetching swift-atomics, swcompression, swift-numberkit
Fetched https://github.com/objecthub/swift-numberkit.git from cache (1.62s)
Fetched https://github.com/apple/swift-atomics.git from cache (4.25s)
Fetched https://github.com/tsolomko/SWCompression.git from cache (4.33s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (5.42s)
Computing version for https://github.com/SomeRandomiOSDev/CBORCoding.git
Computed https://github.com/SomeRandomiOSDev/CBORCoding.git at 1.4.0 (1.10s)
Fetching https://github.com/SomeRandomiOSDev/Half
[1/630] Fetching half
Fetched https://github.com/SomeRandomiOSDev/Half from cache (0.34s)
Computing version for https://github.com/p2/OAuth2.git
Computed https://github.com/p2/OAuth2.git at 5.3.5 (2.46s)
Computing version for https://github.com/tsolomko/SWCompression.git
Computed https://github.com/tsolomko/SWCompression.git at 4.8.6 (0.70s)
Fetching https://github.com/tsolomko/BitByteData
[1/3232] Fetching bitbytedata
Fetched https://github.com/tsolomko/BitByteData from cache (0.69s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (1.58s)
Computing version for https://github.com/objecthub/swift-nanohttp.git
Computed https://github.com/objecthub/swift-nanohttp.git at 1.0.1 (0.79s)
Computing version for https://github.com/objecthub/swift-clformat.git
Computed https://github.com/objecthub/swift-clformat.git at 1.1.1 (0.75s)
Computing version for https://github.com/objecthub/swift-sqliteexpress.git
Computed https://github.com/objecthub/swift-sqliteexpress.git at 1.0.3 (0.81s)
Computing version for https://github.com/objecthub/swift-commandlinekit.git
Computed https://github.com/objecthub/swift-commandlinekit.git at 1.0.0 (2.05s)
Computing version for https://github.com/objecthub/swift-markdownkit.git
Computed https://github.com/objecthub/swift-markdownkit.git at 1.3.0 (0.97s)
Computing version for https://github.com/objecthub/swift-numberkit.git
Computed https://github.com/objecthub/swift-numberkit.git at 2.6.0 (0.74s)
Computing version for https://github.com/SomeRandomiOSDev/Half
Computed https://github.com/SomeRandomiOSDev/Half at 1.4.2 (0.64s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.4 (0.65s)
Creating working copy for https://github.com/tsolomko/SWCompression.git
Working copy of https://github.com/tsolomko/SWCompression.git resolved at 4.8.6
Creating working copy for https://github.com/tsolomko/BitByteData
Working copy of https://github.com/tsolomko/BitByteData resolved at 2.0.4
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at master (e0c7eeb)
Creating working copy for https://github.com/objecthub/swift-markdownkit.git
Working copy of https://github.com/objecthub/swift-markdownkit.git resolved at 1.3.0
Creating working copy for https://github.com/objecthub/swift-dynamicjson.git
Working copy of https://github.com/objecthub/swift-dynamicjson.git resolved at main (9648f32)
Creating working copy for https://github.com/p2/OAuth2.git
Working copy of https://github.com/p2/OAuth2.git resolved at 5.3.5
Creating working copy for https://github.com/objecthub/swift-sqliteexpress.git
Working copy of https://github.com/objecthub/swift-sqliteexpress.git resolved at 1.0.3
Creating working copy for https://github.com/SomeRandomiOSDev/CBORCoding.git
Working copy of https://github.com/SomeRandomiOSDev/CBORCoding.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/SomeRandomiOSDev/Half
Working copy of https://github.com/SomeRandomiOSDev/Half resolved at 1.4.2
Creating working copy for https://github.com/objecthub/swift-numberkit.git
Working copy of https://github.com/objecthub/swift-numberkit.git resolved at 2.6.0
Creating working copy for https://github.com/objecthub/swift-clformat.git
Working copy of https://github.com/objecthub/swift-clformat.git resolved at 1.1.1
Creating working copy for https://github.com/objecthub/swift-commandlinekit.git
Working copy of https://github.com/objecthub/swift-commandlinekit.git resolved at 1.0.0
Creating working copy for https://github.com/objecthub/swift-nanohttp.git
Working copy of https://github.com/objecthub/swift-nanohttp.git resolved at 1.0.1
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/59] Write sources
[21/59] Copying PrivacyInfo.xcprivacy
[22/59] Write sources
[26/59] Copying PrivacyInfo.xcprivacy
[27/59] Compiling fp_extend.cpp
[27/59] Compiling fp_trunc.cpp
[29/59] Compiling _AtomicsShims.c
[30/59] Compiling half.c
[31/59] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/132] Emitting module NanoHTTP
/host/spi-builder-workspace/.build/checkouts/swift-nanohttp/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/134] Emitting module ZIPFoundation
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Data+Compression.swift:166:8: error: could not build C module 'CZlib'
164 |
165 | #else
166 | import CZlib
    |        `- error: could not build C module 'CZlib'
167 |
168 | extension Data {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/136] Emitting module Half
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[36/136] Compiling Half Functions.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[37/136] Compiling Half Half.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[38/136] Compiling Half Half+Coding.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[39/136] Compiling NumberKit NumberUtil.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/136] Emitting module SwiftKeychain
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:120:52: error: cannot find type 'OSStatus' in scope
118 |     public init() {}
119 |
120 |     internal func errorForStatusCode(_ statusCode: OSStatus) -> NSError {
    |                                                    `- error: cannot find type 'OSStatus' in scope
121 |
122 |         return NSError(domain: "swift.keychain.error", code: Int(statusCode), userInfo: nil)
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:120:52: error: cannot find type 'OSStatus' in scope
118 |     public init() {}
119 |
120 |     internal func errorForStatusCode(_ statusCode: OSStatus) -> NSError {
    |                                                    `- error: cannot find type 'OSStatus' in scope
121 |
122 |         return NSError(domain: "swift.keychain.error", code: Int(statusCode), userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:35:23: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
 33 |     public var accessMode: String {
 34 |
 35 |         return String(kSecAttrAccessibleWhenUnlocked)
    |                       `- error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
 36 |     }
 37 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:51:31: error: cannot find 'kSecValueData' in scope
 49 |         let archivedData = NSKeyedArchiver.archivedData(withRootObject: dataToStore)
 50 |
 51 |         itemAttributes[String(kSecValueData)] = archivedData
    |                               `- error: cannot find 'kSecValueData' in scope
 52 |
 53 |         if let group = accessGroup {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:55:35: error: cannot find 'kSecAttrAccessGroup' in scope
 53 |         if let group = accessGroup {
 54 |
 55 |             itemAttributes[String(kSecAttrAccessGroup)] = group
    |                                   `- error: cannot find 'kSecAttrAccessGroup' in scope
 56 |         }
 57 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:63:49: error: cannot find 'kSecValueData' in scope
 61 |     internal func dataFromAttributes(_ attributes: [String: Any]) -> [String: Any]? {
 62 |
 63 |         guard let valueData = attributes[String(kSecValueData)] as? Data else { return nil }
    |                                                 `- error: cannot find 'kSecValueData' in scope
 64 |
 65 |         return NSKeyedUnarchiver.unarchiveObject(with: valueData) as? [String: Any] ?? nil
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:72:31: error: cannot find 'kSecReturnData' in scope
 70 |         var itemAttributes = attributes
 71 |
 72 |         itemAttributes[String(kSecReturnData)] = kCFBooleanTrue
    |                               `- error: cannot find 'kSecReturnData' in scope
 73 |         itemAttributes[String(kSecReturnAttributes)] = kCFBooleanTrue
 74 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:72:50: error: cannot find 'kCFBooleanTrue' in scope
 70 |         var itemAttributes = attributes
 71 |
 72 |         itemAttributes[String(kSecReturnData)] = kCFBooleanTrue
    |                                                  `- error: cannot find 'kCFBooleanTrue' in scope
 73 |         itemAttributes[String(kSecReturnAttributes)] = kCFBooleanTrue
 74 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:73:31: error: cannot find 'kSecReturnAttributes' in scope
 71 |
 72 |         itemAttributes[String(kSecReturnData)] = kCFBooleanTrue
 73 |         itemAttributes[String(kSecReturnAttributes)] = kCFBooleanTrue
    |                               `- error: cannot find 'kSecReturnAttributes' in scope
 74 |
 75 |         if let group = accessGroup {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:73:56: error: cannot find 'kCFBooleanTrue' in scope
 71 |
 72 |         itemAttributes[String(kSecReturnData)] = kCFBooleanTrue
 73 |         itemAttributes[String(kSecReturnAttributes)] = kCFBooleanTrue
    |                                                        `- error: cannot find 'kCFBooleanTrue' in scope
 74 |
 75 |         if let group = accessGroup {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:77:35: error: cannot find 'kSecAttrAccessGroup' in scope
 75 |         if let group = accessGroup {
 76 |
 77 |             itemAttributes[String(kSecAttrAccessGroup)] = group
    |                                   `- error: cannot find 'kSecAttrAccessGroup' in scope
 78 |         }
 79 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:103:27: error: cannot find 'kSecClass' in scope
101 |         var attributes = [String: Any]()
102 |
103 |         attributes[String(kSecClass)] = kSecClassGenericPassword
    |                           `- error: cannot find 'kSecClass' in scope
104 |         attributes[String(kSecAttrAccessible)] = accessMode
105 |         attributes[String(kSecAttrService)] = serviceName
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:103:41: error: cannot find 'kSecClassGenericPassword' in scope
101 |         var attributes = [String: Any]()
102 |
103 |         attributes[String(kSecClass)] = kSecClassGenericPassword
    |                                         `- error: cannot find 'kSecClassGenericPassword' in scope
104 |         attributes[String(kSecAttrAccessible)] = accessMode
105 |         attributes[String(kSecAttrService)] = serviceName
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:104:27: error: cannot find 'kSecAttrAccessible' in scope
102 |
103 |         attributes[String(kSecClass)] = kSecClassGenericPassword
104 |         attributes[String(kSecAttrAccessible)] = accessMode
    |                           `- error: cannot find 'kSecAttrAccessible' in scope
105 |         attributes[String(kSecAttrService)] = serviceName
106 |         attributes[String(kSecAttrAccount)] = accountName
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:105:27: error: cannot find 'kSecAttrService' in scope
103 |         attributes[String(kSecClass)] = kSecClassGenericPassword
104 |         attributes[String(kSecAttrAccessible)] = accessMode
105 |         attributes[String(kSecAttrService)] = serviceName
    |                           `- error: cannot find 'kSecAttrService' in scope
106 |         attributes[String(kSecAttrAccount)] = accountName
107 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:106:27: error: cannot find 'kSecAttrAccount' in scope
104 |         attributes[String(kSecAttrAccessible)] = accessMode
105 |         attributes[String(kSecAttrService)] = serviceName
106 |         attributes[String(kSecAttrAccount)] = accountName
    |                           `- error: cannot find 'kSecAttrAccount' in scope
107 |
108 |         return attributes
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:129:26: error: cannot find 'SecItemAdd' in scope
127 |     public func insertItemWithAttributes(_ attributes: [String: Any]) throws {
128 |
129 |         var statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                          `- error: cannot find 'SecItemAdd' in scope
130 |
131 |         if statusCode == errSecDuplicateItem {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:129:51: error: cannot find type 'CFDictionary' in scope
127 |     public func insertItemWithAttributes(_ attributes: [String: Any]) throws {
128 |
129 |         var statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                                                   `- error: cannot find type 'CFDictionary' in scope
130 |
131 |         if statusCode == errSecDuplicateItem {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:129:65: error: 'nil' requires a contextual type
127 |     public func insertItemWithAttributes(_ attributes: [String: Any]) throws {
128 |
129 |         var statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                                                                 `- error: 'nil' requires a contextual type
130 |
131 |         if statusCode == errSecDuplicateItem {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:131:26: error: cannot find 'errSecDuplicateItem' in scope
129 |         var statusCode = SecItemAdd(attributes as CFDictionary, nil)
130 |
131 |         if statusCode == errSecDuplicateItem {
    |                          `- error: cannot find 'errSecDuplicateItem' in scope
132 |
133 |             SecItemDelete(attributes as CFDictionary)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:133:13: error: cannot find 'SecItemDelete' in scope
131 |         if statusCode == errSecDuplicateItem {
132 |
133 |             SecItemDelete(attributes as CFDictionary)
    |             `- error: cannot find 'SecItemDelete' in scope
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
135 |         }
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:133:41: error: cannot find type 'CFDictionary' in scope
131 |         if statusCode == errSecDuplicateItem {
132 |
133 |             SecItemDelete(attributes as CFDictionary)
    |                                         `- error: cannot find type 'CFDictionary' in scope
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
135 |         }
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:134:26: error: cannot find 'SecItemAdd' in scope
132 |
133 |             SecItemDelete(attributes as CFDictionary)
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                          `- error: cannot find 'SecItemAdd' in scope
135 |         }
136 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:134:51: error: cannot find type 'CFDictionary' in scope
132 |
133 |             SecItemDelete(attributes as CFDictionary)
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                                                   `- error: cannot find type 'CFDictionary' in scope
135 |         }
136 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:134:65: error: 'nil' requires a contextual type
132 |
133 |             SecItemDelete(attributes as CFDictionary)
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                                                                 `- error: 'nil' requires a contextual type
135 |         }
136 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:137:26: error: cannot find 'errSecSuccess' in scope
135 |         }
136 |
137 |         if statusCode != errSecSuccess {
    |                          `- error: cannot find 'errSecSuccess' in scope
138 |
139 |             throw errorForStatusCode(statusCode)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:145:26: error: cannot find 'SecItemDelete' in scope
143 |     public func removeItemWithAttributes(_ attributes: [String: Any]) throws {
144 |
145 |         let statusCode = SecItemDelete(attributes as CFDictionary)
    |                          `- error: cannot find 'SecItemDelete' in scope
146 |
147 |         if statusCode != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:145:54: error: cannot find type 'CFDictionary' in scope
143 |     public func removeItemWithAttributes(_ attributes: [String: Any]) throws {
144 |
145 |         let statusCode = SecItemDelete(attributes as CFDictionary)
    |                                                      `- error: cannot find type 'CFDictionary' in scope
146 |
147 |         if statusCode != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:147:26: error: cannot find 'errSecSuccess' in scope
145 |         let statusCode = SecItemDelete(attributes as CFDictionary)
146 |
147 |         if statusCode != errSecSuccess {
    |                          `- error: cannot find 'errSecSuccess' in scope
148 |
149 |             throw errorForStatusCode(statusCode)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:157:26: error: cannot find 'SecItemCopyMatching' in scope
155 |         var result: AnyObject?
156 |
157 |         let statusCode = SecItemCopyMatching(attributes as CFDictionary, &result)
    |                          `- error: cannot find 'SecItemCopyMatching' in scope
158 |
159 |         if statusCode != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:157:60: error: cannot find type 'CFDictionary' in scope
155 |         var result: AnyObject?
156 |
157 |         let statusCode = SecItemCopyMatching(attributes as CFDictionary, &result)
    |                                                            `- error: cannot find type 'CFDictionary' in scope
158 |
159 |         if statusCode != errSecSuccess {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
[0/28] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/118] Emitting module NanoHTTP
/host/spi-builder-workspace/.build/checkouts/swift-nanohttp/Sources/NanoHTTP/NanoHTTPServerIO.swift:38:8: error: no such module 'Dispatch'
 36 |
 37 | import Foundation
 38 | import Dispatch
    |        `- error: no such module 'Dispatch'
 39 |
 40 | public protocol NanoHTTPServerDelegate: AnyObject {
[3/120] Compiling Half Functions.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/120] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
  25 |
  26 | import Foundation
  27 | import Security
     |        `- error: no such module 'Security'
  28 | #if os(iOS) || os(macOS)
  29 | import LocalAuthentication
[5/120] Emitting module CommandLineKit
[6/122] Compiling Half Half+Coding.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
[7/122] Compiling Half Half.swift
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/122] Emitting module Half
/host/spi-builder-workspace/.build/checkouts/Half/Sources/Half/Functions.swift:11:8: error: no such module 'Darwin'
  9 | import Glibc
 10 | #else
 11 | import Darwin
    |        `- error: no such module 'Darwin'
 12 | #endif
 13 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/shim.h:15:9: error: 'zlib.h' file not found
13 |
14 | #import <stdio.h>
15 | #import <zlib.h>
   |         `- error: 'zlib.h' file not found
16 |
17 | // [zlib] provide 64-bit offset functions if _LARGEFILE64_SOURCE defined
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/122] Emitting module SwiftKeychain
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:120:52: error: cannot find type 'OSStatus' in scope
118 |     public init() {}
119 |
120 |     internal func errorForStatusCode(_ statusCode: OSStatus) -> NSError {
    |                                                    `- error: cannot find type 'OSStatus' in scope
121 |
122 |         return NSError(domain: "swift.keychain.error", code: Int(statusCode), userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:120:52: error: cannot find type 'OSStatus' in scope
118 |     public init() {}
119 |
120 |     internal func errorForStatusCode(_ statusCode: OSStatus) -> NSError {
    |                                                    `- error: cannot find type 'OSStatus' in scope
121 |
122 |         return NSError(domain: "swift.keychain.error", code: Int(statusCode), userInfo: nil)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:35:23: error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
 33 |     public var accessMode: String {
 34 |
 35 |         return String(kSecAttrAccessibleWhenUnlocked)
    |                       `- error: cannot find 'kSecAttrAccessibleWhenUnlocked' in scope
 36 |     }
 37 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:51:31: error: cannot find 'kSecValueData' in scope
 49 |         let archivedData = NSKeyedArchiver.archivedData(withRootObject: dataToStore)
 50 |
 51 |         itemAttributes[String(kSecValueData)] = archivedData
    |                               `- error: cannot find 'kSecValueData' in scope
 52 |
 53 |         if let group = accessGroup {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:55:35: error: cannot find 'kSecAttrAccessGroup' in scope
 53 |         if let group = accessGroup {
 54 |
 55 |             itemAttributes[String(kSecAttrAccessGroup)] = group
    |                                   `- error: cannot find 'kSecAttrAccessGroup' in scope
 56 |         }
 57 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:63:49: error: cannot find 'kSecValueData' in scope
 61 |     internal func dataFromAttributes(_ attributes: [String: Any]) -> [String: Any]? {
 62 |
 63 |         guard let valueData = attributes[String(kSecValueData)] as? Data else { return nil }
    |                                                 `- error: cannot find 'kSecValueData' in scope
 64 |
 65 |         return NSKeyedUnarchiver.unarchiveObject(with: valueData) as? [String: Any] ?? nil
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:72:31: error: cannot find 'kSecReturnData' in scope
 70 |         var itemAttributes = attributes
 71 |
 72 |         itemAttributes[String(kSecReturnData)] = kCFBooleanTrue
    |                               `- error: cannot find 'kSecReturnData' in scope
 73 |         itemAttributes[String(kSecReturnAttributes)] = kCFBooleanTrue
 74 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:72:50: error: cannot find 'kCFBooleanTrue' in scope
 70 |         var itemAttributes = attributes
 71 |
 72 |         itemAttributes[String(kSecReturnData)] = kCFBooleanTrue
    |                                                  `- error: cannot find 'kCFBooleanTrue' in scope
 73 |         itemAttributes[String(kSecReturnAttributes)] = kCFBooleanTrue
 74 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:73:31: error: cannot find 'kSecReturnAttributes' in scope
 71 |
 72 |         itemAttributes[String(kSecReturnData)] = kCFBooleanTrue
 73 |         itemAttributes[String(kSecReturnAttributes)] = kCFBooleanTrue
    |                               `- error: cannot find 'kSecReturnAttributes' in scope
 74 |
 75 |         if let group = accessGroup {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:73:56: error: cannot find 'kCFBooleanTrue' in scope
 71 |
 72 |         itemAttributes[String(kSecReturnData)] = kCFBooleanTrue
 73 |         itemAttributes[String(kSecReturnAttributes)] = kCFBooleanTrue
    |                                                        `- error: cannot find 'kCFBooleanTrue' in scope
 74 |
 75 |         if let group = accessGroup {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:77:35: error: cannot find 'kSecAttrAccessGroup' in scope
 75 |         if let group = accessGroup {
 76 |
 77 |             itemAttributes[String(kSecAttrAccessGroup)] = group
    |                                   `- error: cannot find 'kSecAttrAccessGroup' in scope
 78 |         }
 79 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:103:27: error: cannot find 'kSecClass' in scope
101 |         var attributes = [String: Any]()
102 |
103 |         attributes[String(kSecClass)] = kSecClassGenericPassword
    |                           `- error: cannot find 'kSecClass' in scope
104 |         attributes[String(kSecAttrAccessible)] = accessMode
105 |         attributes[String(kSecAttrService)] = serviceName
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:103:41: error: cannot find 'kSecClassGenericPassword' in scope
101 |         var attributes = [String: Any]()
102 |
103 |         attributes[String(kSecClass)] = kSecClassGenericPassword
    |                                         `- error: cannot find 'kSecClassGenericPassword' in scope
104 |         attributes[String(kSecAttrAccessible)] = accessMode
105 |         attributes[String(kSecAttrService)] = serviceName
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:104:27: error: cannot find 'kSecAttrAccessible' in scope
102 |
103 |         attributes[String(kSecClass)] = kSecClassGenericPassword
104 |         attributes[String(kSecAttrAccessible)] = accessMode
    |                           `- error: cannot find 'kSecAttrAccessible' in scope
105 |         attributes[String(kSecAttrService)] = serviceName
106 |         attributes[String(kSecAttrAccount)] = accountName
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:105:27: error: cannot find 'kSecAttrService' in scope
103 |         attributes[String(kSecClass)] = kSecClassGenericPassword
104 |         attributes[String(kSecAttrAccessible)] = accessMode
105 |         attributes[String(kSecAttrService)] = serviceName
    |                           `- error: cannot find 'kSecAttrService' in scope
106 |         attributes[String(kSecAttrAccount)] = accountName
107 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:106:27: error: cannot find 'kSecAttrAccount' in scope
104 |         attributes[String(kSecAttrAccessible)] = accessMode
105 |         attributes[String(kSecAttrService)] = serviceName
106 |         attributes[String(kSecAttrAccount)] = accountName
    |                           `- error: cannot find 'kSecAttrAccount' in scope
107 |
108 |         return attributes
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:129:26: error: cannot find 'SecItemAdd' in scope
127 |     public func insertItemWithAttributes(_ attributes: [String: Any]) throws {
128 |
129 |         var statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                          `- error: cannot find 'SecItemAdd' in scope
130 |
131 |         if statusCode == errSecDuplicateItem {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:129:51: error: cannot find type 'CFDictionary' in scope
127 |     public func insertItemWithAttributes(_ attributes: [String: Any]) throws {
128 |
129 |         var statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                                                   `- error: cannot find type 'CFDictionary' in scope
130 |
131 |         if statusCode == errSecDuplicateItem {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:129:65: error: 'nil' requires a contextual type
127 |     public func insertItemWithAttributes(_ attributes: [String: Any]) throws {
128 |
129 |         var statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                                                                 `- error: 'nil' requires a contextual type
130 |
131 |         if statusCode == errSecDuplicateItem {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:131:26: error: cannot find 'errSecDuplicateItem' in scope
129 |         var statusCode = SecItemAdd(attributes as CFDictionary, nil)
130 |
131 |         if statusCode == errSecDuplicateItem {
    |                          `- error: cannot find 'errSecDuplicateItem' in scope
132 |
133 |             SecItemDelete(attributes as CFDictionary)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:133:13: error: cannot find 'SecItemDelete' in scope
131 |         if statusCode == errSecDuplicateItem {
132 |
133 |             SecItemDelete(attributes as CFDictionary)
    |             `- error: cannot find 'SecItemDelete' in scope
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
135 |         }
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:133:41: error: cannot find type 'CFDictionary' in scope
131 |         if statusCode == errSecDuplicateItem {
132 |
133 |             SecItemDelete(attributes as CFDictionary)
    |                                         `- error: cannot find type 'CFDictionary' in scope
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
135 |         }
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:134:26: error: cannot find 'SecItemAdd' in scope
132 |
133 |             SecItemDelete(attributes as CFDictionary)
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                          `- error: cannot find 'SecItemAdd' in scope
135 |         }
136 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:134:51: error: cannot find type 'CFDictionary' in scope
132 |
133 |             SecItemDelete(attributes as CFDictionary)
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                                                   `- error: cannot find type 'CFDictionary' in scope
135 |         }
136 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:134:65: error: 'nil' requires a contextual type
132 |
133 |             SecItemDelete(attributes as CFDictionary)
134 |             statusCode = SecItemAdd(attributes as CFDictionary, nil)
    |                                                                 `- error: 'nil' requires a contextual type
135 |         }
136 |
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:137:26: error: cannot find 'errSecSuccess' in scope
135 |         }
136 |
137 |         if statusCode != errSecSuccess {
    |                          `- error: cannot find 'errSecSuccess' in scope
138 |
139 |             throw errorForStatusCode(statusCode)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:145:26: error: cannot find 'SecItemDelete' in scope
143 |     public func removeItemWithAttributes(_ attributes: [String: Any]) throws {
144 |
145 |         let statusCode = SecItemDelete(attributes as CFDictionary)
    |                          `- error: cannot find 'SecItemDelete' in scope
146 |
147 |         if statusCode != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:145:54: error: cannot find type 'CFDictionary' in scope
143 |     public func removeItemWithAttributes(_ attributes: [String: Any]) throws {
144 |
145 |         let statusCode = SecItemDelete(attributes as CFDictionary)
    |                                                      `- error: cannot find type 'CFDictionary' in scope
146 |
147 |         if statusCode != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:147:26: error: cannot find 'errSecSuccess' in scope
145 |         let statusCode = SecItemDelete(attributes as CFDictionary)
146 |
147 |         if statusCode != errSecSuccess {
    |                          `- error: cannot find 'errSecSuccess' in scope
148 |
149 |             throw errorForStatusCode(statusCode)
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:157:26: error: cannot find 'SecItemCopyMatching' in scope
155 |         var result: AnyObject?
156 |
157 |         let statusCode = SecItemCopyMatching(attributes as CFDictionary, &result)
    |                          `- error: cannot find 'SecItemCopyMatching' in scope
158 |
159 |         if statusCode != errSecSuccess {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:157:60: error: cannot find type 'CFDictionary' in scope
155 |         var result: AnyObject?
156 |
157 |         let statusCode = SecItemCopyMatching(attributes as CFDictionary, &result)
    |                                                            `- error: cannot find type 'CFDictionary' in scope
158 |
159 |         if statusCode != errSecSuccess {
BUILD FAILURE 6.1 wasm