Build Information
Failed to build LispKit, reference 2.5.0 (0e3e5e
), with Swift 6.1 for Linux on 27 Apr 2025 01:21:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-lispkit.git
Reference: 2.5.0
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
* tag 2.5.0 -> FETCH_HEAD
HEAD is now at 0e3e5e9 Update change log.
Cloned https://github.com/objecthub/swift-lispkit.git
Revision (git rev-parse @):
0e3e5e9c0d69cfd8d586ab04be1a49b3f7a62b8c
SUCCESS checkout https://github.com/objecthub/swift-lispkit.git at 2.5.0
========================================
Build
========================================
Selected platform: linux
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
{
"dependencies" : [
{
"identity" : "swift-numberkit",
"requirement" : {
"branch" : [
"2.5.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-numberkit.git"
},
{
"identity" : "swift-markdownkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.9",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-markdownkit.git"
},
{
"identity" : "swift-commandlinekit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-commandlinekit.git"
},
{
"identity" : "swift-sqliteexpress",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-sqliteexpress.git"
},
{
"identity" : "swift-clformat",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-clformat.git"
},
{
"identity" : "swift-dynamicjson",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-dynamicjson.git"
},
{
"identity" : "swift-nanohttp",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-nanohttp.git"
},
{
"identity" : "zipfoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.19",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/weichsel/ZIPFoundation.git"
},
{
"identity" : "swcompression",
"requirement" : {
"range" : [
{
"lower_bound" : "4.8.6",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tsolomko/SWCompression.git"
},
{
"identity" : "oauth2",
"requirement" : {
"range" : [
{
"lower_bound" : "5.3.5",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/p2/OAuth2.git"
},
{
"identity" : "cborcoding",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SomeRandomiOSDev/CBORCoding.git"
},
{
"identity" : "keychainaccess",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/kishikawakatsumi/KeychainAccess.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
}
],
"manifest_display_name" : "LispKit",
"name" : "LispKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "LispKit",
"targets" : [
"LispKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LispKitTools",
"targets" : [
"LispKitTools"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LispKitRepl",
"targets" : [
"LispKitRepl"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "LispKitTools",
"module_type" : "SwiftTarget",
"name" : "LispKitTools",
"path" : "Sources/LispKitTools",
"product_dependencies" : [
"CommandLineKit"
],
"product_memberships" : [
"LispKitTools",
"LispKitRepl"
],
"sources" : [
"LispKitRepl.swift"
],
"target_dependencies" : [
"LispKit"
],
"type" : "library"
},
{
"c99name" : "LispKitTests",
"module_type" : "SwiftTarget",
"name" : "LispKitTests",
"path" : "Tests/LispKitTests",
"sources" : [
"LispKitTestCase.swift",
"RegressionTests.swift",
"SmallTests.swift"
],
"target_dependencies" : [
"LispKit"
],
"type" : "test"
},
{
"c99name" : "LispKitRepl",
"module_type" : "SwiftTarget",
"name" : "LispKitRepl",
"path" : "Sources/LispKitRepl",
"product_memberships" : [
"LispKitRepl"
],
"sources" : [
"AppInfo.swift",
"LispKitRepl.swift"
],
"target_dependencies" : [
"LispKit",
"LispKitTools"
],
"type" : "executable"
},
{
"c99name" : "LispKit",
"module_type" : "SwiftTarget",
"name" : "LispKit",
"path" : "Sources/LispKit",
"product_dependencies" : [
"NumberKit",
"MarkdownKit",
"SQLiteExpress",
"CLFormat",
"DynamicJSON",
"NanoHTTP",
"ZIPFoundation",
"SWCompression",
"OAuth2",
"CBORCoding",
"KeychainAccess",
"Atomics"
],
"product_memberships" : [
"LispKit",
"LispKitTools",
"LispKitRepl"
],
"sources" : [
"Base/Bitset.swift",
"Base/Boxes.swift",
"Base/Compression.swift",
"Base/Data.swift",
"Base/Global.swift",
"Base/Locks.swift",
"Base/ManagedObject.swift",
"Base/ManagedObjectPool.swift",
"Base/MethodProfiler.swift",
"Base/MultiMap.swift",
"Base/OAuth2DeviceGrantLK.swift",
"Base/ObjectPool.swift",
"Base/Owners.swift",
"Base/Reference.swift",
"Base/ScanBuffer.swift",
"Base/String.swift",
"Base/StringBuilder.swift",
"Base/Sysctl.swift",
"Base/Timer.swift",
"Base/TrackedObject.swift",
"Compiler/BindingGroup.swift",
"Compiler/CaptureGroup.swift",
"Compiler/Checkpointer.swift",
"Compiler/Compiler.swift",
"Compiler/Env.swift",
"Compiler/EvalError.swift",
"Compiler/LexicalError.swift",
"Compiler/Parser.swift",
"Compiler/RuntimeError.swift",
"Compiler/Scanner.swift",
"Compiler/SourcePosition.swift",
"Compiler/SyntaxError.swift",
"Data/Cell.swift",
"Data/CharSet.swift",
"Data/Collection.swift",
"Data/CustomExpr.swift",
"Data/Environment.swift",
"Data/Equality.swift",
"Data/Expr.swift",
"Data/Exprs.swift",
"Data/Hash.swift",
"Data/HashTable.swift",
"Data/NativeObject.swift",
"Data/Port.swift",
"Data/Procedure.swift",
"Data/Promise.swift",
"Data/Serialization.swift",
"Data/SpecialForm.swift",
"Data/Symbol.swift",
"Data/Tuple.swift",
"Data/Type.swift",
"Graphics/Barcode.swift",
"Graphics/Color.swift",
"Graphics/Drawing.swift",
"Graphics/DrawingDocument.swift",
"Graphics/Shape.swift",
"Graphics/Transformation.swift",
"IO/BinaryInput.swift",
"IO/BinaryInputSource.swift",
"IO/BinaryOutput.swift",
"IO/TextInput.swift",
"IO/TextInputSource.swift",
"IO/TextOutput.swift",
"IO/TextOutputTarget.swift",
"Primitives/BaseLibrary.swift",
"Primitives/BitsetLibrary.swift",
"Primitives/BoxLibrary.swift",
"Primitives/BytevectorLibrary.swift",
"Primitives/CharLibrary.swift",
"Primitives/CharSetLibrary.swift",
"Primitives/ControlFlowLibrary.swift",
"Primitives/CoreLibrary.swift",
"Primitives/CryptoLibrary.swift",
"Primitives/DateTimeLibrary.swift",
"Primitives/DebugLibrary.swift",
"Primitives/DrawBarcodeLibrary.swift",
"Primitives/DrawingLibrary.swift",
"Primitives/DynamicControlLibrary.swift",
"Primitives/EnumLibrary.swift",
"Primitives/FormatLibrary.swift",
"Primitives/GrowableVectorLibrary.swift",
"Primitives/HTTPLibrary.swift",
"Primitives/HTTPOAuthLibrary.swift",
"Primitives/HTTPServerLibrary.swift",
"Primitives/HashTableLibrary.swift",
"Primitives/InternalLibrary.swift",
"Primitives/JSONLibrary.swift",
"Primitives/JSONSchemaLibrary.swift",
"Primitives/KeychainLibrary.swift",
"Primitives/LibraryRegistry.swift",
"Primitives/ListLibrary.swift",
"Primitives/MarkdownLibrary.swift",
"Primitives/MathLibrary.swift",
"Primitives/PasteboardLibrary.swift",
"Primitives/PortLibrary.swift",
"Primitives/RecordLibrary.swift",
"Primitives/RegexpLibrary.swift",
"Primitives/SQLiteLibrary.swift",
"Primitives/SerializeLibrary.swift",
"Primitives/SharedQueueLibrary.swift",
"Primitives/StringLibrary.swift",
"Primitives/StyledTextLibrary.swift",
"Primitives/SystemCallLibrary.swift",
"Primitives/SystemLibrary.swift",
"Primitives/TarArchiveLibrary.swift",
"Primitives/ThreadFutureLibrary.swift",
"Primitives/ThreadLibrary.swift",
"Primitives/TypeLibrary.swift",
"Primitives/URLLibrary.swift",
"Primitives/VectorLibrary.swift",
"Primitives/ZipArchiveLibrary.swift",
"Runtime/Code.swift",
"Runtime/Context.swift",
"Runtime/ContextDelegate.swift",
"Runtime/Evaluator.swift",
"Runtime/FeatureRequirement.swift",
"Runtime/Features.swift",
"Runtime/FileHandler.swift",
"Runtime/Formatter.swift",
"Runtime/GarbageCollector.swift",
"Runtime/Heap.swift",
"Runtime/ImportSet.swift",
"Runtime/Instruction.swift",
"Runtime/Library.swift",
"Runtime/LibraryManager.swift",
"Runtime/LispKitContext.swift",
"Runtime/NativeLibrary.swift",
"Runtime/Registers.swift",
"Runtime/SourceManager.swift",
"Runtime/SymbolTable.swift",
"Runtime/SyntaxRules.swift",
"Runtime/Threads/EvalCondition.swift",
"Runtime/Threads/EvalMutex.swift",
"Runtime/Threads/EvalThread.swift",
"Runtime/Threads/ThreadManager.swift",
"Runtime/VirtualMachine.swift",
"Runtime/VirtualMachineState.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/objecthub/swift-numberkit.git
[1/1025] Fetching swift-numberkit
Fetched https://github.com/objecthub/swift-numberkit.git from cache (0.48s)
Fetching https://github.com/objecthub/swift-dynamicjson.git
[1/921] Fetching swift-dynamicjson
Fetched https://github.com/objecthub/swift-dynamicjson.git from cache (0.47s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
[1/4386] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (0.82s)
Fetching https://github.com/objecthub/swift-nanohttp.git
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/tsolomko/SWCompression.git
Fetching https://github.com/SomeRandomiOSDev/CBORCoding.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/p2/OAuth2.git
[1/1452] Fetching cborcoding
[1453/1705] Fetching cborcoding, swift-nanohttp
[1454/18714] Fetching cborcoding, swift-nanohttp, swcompression
[1455/24276] Fetching cborcoding, swift-nanohttp, swcompression, zipfoundation
[1463/25981] Fetching cborcoding, swift-nanohttp, swcompression, zipfoundation, swift-atomics
[4026/32208] Fetching cborcoding, swift-nanohttp, swcompression, zipfoundation, swift-atomics, oauth2
Fetched https://github.com/objecthub/swift-nanohttp.git from cache (1.65s)
Fetching https://github.com/objecthub/swift-clformat.git
[24301/31955] Fetching cborcoding, swcompression, zipfoundation, swift-atomics, oauth2
[27024/32464] Fetching cborcoding, swcompression, zipfoundation, swift-atomics, oauth2, swift-clformat
Fetched https://github.com/apple/swift-atomics.git from cache (2.06s)
Fetched https://github.com/objecthub/swift-clformat.git from cache (0.41s)
Fetching https://github.com/objecthub/swift-sqliteexpress.git
Fetching https://github.com/objecthub/swift-commandlinekit.git
Fetched https://github.com/p2/OAuth2.git from cache (2.07s)
Fetching https://github.com/objecthub/swift-markdownkit.git
[1/99] Fetching swift-sqliteexpress
[100/461] Fetching swift-sqliteexpress, swift-commandlinekit
[151/1076] Fetching swift-sqliteexpress, swift-commandlinekit, swift-markdownkit
Fetched https://github.com/objecthub/swift-sqliteexpress.git from cache (0.26s)
Fetched https://github.com/objecthub/swift-commandlinekit.git from cache (0.26s)
Fetched https://github.com/objecthub/swift-markdownkit.git from cache (0.29s)
Fetched https://github.com/SomeRandomiOSDev/CBORCoding.git from cache (2.51s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (2.53s)
Fetched https://github.com/tsolomko/SWCompression.git from cache (2.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (3.72s)
Computing version for https://github.com/SomeRandomiOSDev/CBORCoding.git
Computed https://github.com/SomeRandomiOSDev/CBORCoding.git at 1.4.0 (0.58s)
Fetching https://github.com/SomeRandomiOSDev/Half
[1/630] Fetching half
Fetched https://github.com/SomeRandomiOSDev/Half from cache (0.22s)
Computing version for https://github.com/p2/OAuth2.git
Computed https://github.com/p2/OAuth2.git at 5.3.5 (0.82s)
Computing version for https://github.com/tsolomko/SWCompression.git
Computed https://github.com/tsolomko/SWCompression.git at 4.8.6 (0.58s)
Fetching https://github.com/tsolomko/BitByteData
[1/3067] Fetching bitbytedata
Fetched https://github.com/tsolomko/BitByteData from cache (0.30s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.81s)
Computing version for https://github.com/objecthub/swift-nanohttp.git
Computed https://github.com/objecthub/swift-nanohttp.git at 1.0.1 (0.57s)
Computing version for https://github.com/objecthub/swift-sqliteexpress.git
Computed https://github.com/objecthub/swift-sqliteexpress.git at 1.0.3 (0.59s)
Computing version for https://github.com/objecthub/swift-commandlinekit.git
Computed https://github.com/objecthub/swift-commandlinekit.git at 0.3.5 (0.66s)
Computing version for https://github.com/objecthub/swift-clformat.git
Computed https://github.com/objecthub/swift-clformat.git at 1.1.1 (0.59s)
Computing version for https://github.com/objecthub/swift-markdownkit.git
Computed https://github.com/objecthub/swift-markdownkit.git at 1.2.0 (0.63s)
Computing version for https://github.com/SomeRandomiOSDev/Half
Computed https://github.com/SomeRandomiOSDev/Half at 1.4.2 (0.59s)
Computing version for https://github.com/tsolomko/BitByteData
Computed https://github.com/tsolomko/BitByteData at 2.0.4 (0.57s)
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/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at master (e0c7eeb)
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/tsolomko/SWCompression.git
Working copy of https://github.com/tsolomko/SWCompression.git resolved at 4.8.6
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/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/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.5.1 (38c649a)
Creating working copy for https://github.com/objecthub/swift-markdownkit.git
Working copy of https://github.com/objecthub/swift-markdownkit.git resolved at 1.2.0
Creating working copy for https://github.com/objecthub/swift-commandlinekit.git
Working copy of https://github.com/objecthub/swift-commandlinekit.git resolved at 0.3.5
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
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/objecthub/swift-dynamicjson.git
Working copy of https://github.com/objecthub/swift-dynamicjson.git resolved at main (9648f32)
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
[14/59] Copying PrivacyInfo.xcprivacy
[15/59] Write sources
[19/59] Copying PrivacyInfo.xcprivacy
[19/59] Write sources
[27/59] Compiling _AtomicsShims.c
[28/59] Compiling fp_extend.cpp
[29/59] Compiling fp_trunc.cpp
[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/148] 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)
[34/148] Emitting module NumberKit
[35/148] Compiling Half Half+Coding.swift
[36/148] Compiling Half Half.swift
[37/148] Emitting module Half
[38/148] Compiling Half Functions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/149] Emitting module SQLiteExpress
/host/spi-builder-workspace/.build/checkouts/swift-sqliteexpress/Sources/SQLiteExpress/SQLiteDatabase.swift:22:8: error: no such module 'SQLite3'
20 |
21 | import Foundation
22 | import SQLite3
| `- error: no such module 'SQLite3'
23 |
24 |
[40/149] Compiling SQLiteExpress SQLiteType.swift
/host/spi-builder-workspace/.build/checkouts/swift-sqliteexpress/Sources/SQLiteExpress/SQLiteDatabase.swift:22:8: error: no such module 'SQLite3'
20 |
21 | import Foundation
22 | import SQLite3
| `- error: no such module 'SQLite3'
23 |
24 |
[41/149] Compiling NumberKit NumberUtil.swift
[42/149] Compiling NumberKit Rational.swift
[43/149] Compiling NanoHTTP NanoHTTPRouter.swift
/host/spi-builder-workspace/.build/checkouts/swift-nanohttp/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
| `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[44/149] Compiling NanoHTTP NanoHTTPSegmentRouter.swift
/host/spi-builder-workspace/.build/checkouts/swift-nanohttp/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
| `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[45/149] Compiling NanoHTTP NanoFiles.swift
/host/spi-builder-workspace/.build/checkouts/swift-nanohttp/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
| `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[46/149] Compiling MarkdownKit CustomTextFragment.swift
/host/spi-builder-workspace/.build/checkouts/swift-nanohttp/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
| `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[47/149] Compiling MarkdownKit HtmlGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-nanohttp/Sources/NanoHTTP/String+Extensions.swift:35:8: error: no such module 'CryptoKit'
33 |
34 | import Foundation
35 | import CryptoKit
| `- error: no such module 'CryptoKit'
36 | import UniformTypeIdentifiers
37 |
[49/151] Emitting module MarkdownKit
[50/155] Compiling MarkdownKit BlockParser.swift
[51/155] Compiling MarkdownKit BlockquoteParser.swift
[52/155] Compiling MarkdownKit CodeBlockParser.swift
[53/155] Compiling MarkdownKit CodeLinkHtmlTransformer.swift
[54/155] Compiling MarkdownKit Container.swift
[55/155] Compiling MarkdownKit ExtendedMarkdownParser.swift
[56/155] Compiling MarkdownKit HtmlBlockParser.swift
[57/155] Compiling NanoHTTP String+Extensions.swift
[58/155] Compiling NanoHTTP String+File.swift
[59/157] Compiling SwiftKeychain Keychain.swift
/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 {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:159:26: error: cannot find 'errSecSuccess' in scope
157 | let statusCode = SecItemCopyMatching(attributes as CFDictionary, &result)
158 |
159 | if statusCode != errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
160 |
161 | throw errorForStatusCode(statusCode)
[60/157] Compiling SQLiteExpress SQLiteDatabase.swift
/host/spi-builder-workspace/.build/checkouts/swift-sqliteexpress/Sources/SQLiteExpress/SQLiteDatabase.swift:22:8: error: no such module 'SQLite3'
20 |
21 | import Foundation
22 | import SQLite3
| `- error: no such module 'SQLite3'
23 |
24 |
/host/spi-builder-workspace/.build/checkouts/swift-sqliteexpress/Sources/SQLiteExpress/SQLiteDatabase.swift:22:8: error: no such module 'SQLite3'
20 |
21 | import Foundation
22 | import SQLite3
| `- error: no such module 'SQLite3'
23 |
24 |
[61/157] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[62/157] Compiling ZIPFoundation URL+ZIP.swift
[63/157] Compiling MarkdownKit LinkRefDefinitionParser.swift
[64/157] Compiling MarkdownKit LinkTransformer.swift
[65/157] Compiling NumberKit Complex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/157] 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
/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
[67/157] Compiling NumberKit Integer.swift
[68/157] Compiling NumberKit FloatingPointNumber.swift
[69/157] Compiling MarkdownKit DelimiterTransformer.swift
[70/157] Compiling MarkdownKit DocumentParser.swift
[71/157] Compiling MarkdownKit EmphasisTransformer.swift
[72/157] Compiling MarkdownKit EscapeTransformer.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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
[2/107] Compiling Half Functions.swift
[3/107] Compiling Half Half+Coding.swift
[4/107] Compiling SQLiteExpress SQLiteDatabase.swift
/host/spi-builder-workspace/.build/checkouts/swift-sqliteexpress/Sources/SQLiteExpress/SQLiteDatabase.swift:22:8: error: no such module 'SQLite3'
20 |
21 | import Foundation
22 | import SQLite3
| `- error: no such module 'SQLite3'
23 |
24 |
[5/107] Emitting module CommandLineKit
[6/108] Compiling SQLiteExpress SQLiteStatement.swift
/host/spi-builder-workspace/.build/checkouts/swift-sqliteexpress/Sources/SQLiteExpress/SQLiteDatabase.swift:22:8: error: no such module 'SQLite3'
20 |
21 | import Foundation
22 | import SQLite3
| `- error: no such module 'SQLite3'
23 |
24 |
[7/108] Compiling SQLiteExpress SQLiteType.swift
/host/spi-builder-workspace/.build/checkouts/swift-sqliteexpress/Sources/SQLiteExpress/SQLiteDatabase.swift:22:8: error: no such module 'SQLite3'
20 |
21 | import Foundation
22 | import SQLite3
| `- error: no such module 'SQLite3'
23 |
24 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/108] 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)
[9/108] Compiling SwiftKeychain Keychain.swift
/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 {
/host/spi-builder-workspace/.build/checkouts/OAuth2/Sources/SwiftKeychain/Keychain.swift:159:26: error: cannot find 'errSecSuccess' in scope
157 | let statusCode = SecItemCopyMatching(attributes as CFDictionary, &result)
158 |
159 | if statusCode != errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
160 |
161 | throw errorForStatusCode(statusCode)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/108] 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
BUILD FAILURE 6.1 linux