Build Information
Failed to build SpacetimeDB, reference main (099a2a), with Swift 6.2 for Linux on 30 Oct 2026 07:12:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/avias8/spacetimedb-swift.git
Reference: main
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/avias8/spacetimedb-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 099a2a5 fix(benchmarks): remove traits parameter for Swift 6.0 PackageDescription compatibility
Cloned https://github.com/avias8/spacetimedb-swift.git
Revision (git rev-parse @):
099a2a5c0f458713de1a9efb260ad049e788d5e2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/avias8/spacetimedb-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/avias8/spacetimedb-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:fb5d8fda777a26ddf92a54d8d0a4928674c7f15e70feba2d3a729a0a6d9cf40c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:31:49: warning: 'appending(subpath:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
29 | }
30 |
31 | let configPath = sourceTarget.directory.appending(subpath: "spacetime-codegen.json")
| `- warning: 'appending(subpath:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
32 | guard FileManager.default.fileExists(atPath: configPath.string) else {
33 | return []
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:32:65: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
30 |
31 | let configPath = sourceTarget.directory.appending(subpath: "spacetime-codegen.json")
32 | guard FileManager.default.fileExists(atPath: configPath.string) else {
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
33 | return []
34 | }
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:36:79: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
34 | }
35 |
36 | let configData = try Data(contentsOf: URL(fileURLWithPath: configPath.string))
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
37 | let config = try JSONDecoder().decode(Configuration.self, from: configData)
38 |
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:39:33: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
37 | let config = try JSONDecoder().decode(Configuration.self, from: configData)
38 |
39 | let outputDir = context.pluginWorkDirectory.appending(subpath: "SpacetimeGenerated")
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
| `- note: use 'pluginWorkDirectoryURL' instead
40 | try FileManager.default.createDirectory(atPath: outputDir.string, withIntermediateDirectories: true)
41 |
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:39:53: warning: 'appending(subpath:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
37 | let config = try JSONDecoder().decode(Configuration.self, from: configData)
38 |
39 | let outputDir = context.pluginWorkDirectory.appending(subpath: "SpacetimeGenerated")
| `- warning: 'appending(subpath:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
40 | try FileManager.default.createDirectory(atPath: outputDir.string, withIntermediateDirectories: true)
41 |
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:40:67: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
38 |
39 | let outputDir = context.pluginWorkDirectory.appending(subpath: "SpacetimeGenerated")
40 | try FileManager.default.createDirectory(atPath: outputDir.string, withIntermediateDirectories: true)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
41 |
42 | let executablePath = try resolveExecutable(named: config.spacetimeExecutable ?? "spacetime", in: context)
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:47:36: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
45 | "generate",
46 | "--lang", "swift",
47 | "--out-dir", outputDir.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
48 | ]
49 |
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:51:73: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
49 |
50 | if let modulePath = config.modulePath {
51 | let targetURL = URL(fileURLWithPath: sourceTarget.directory.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
52 | let resolvedURL = URL(fileURLWithPath: modulePath, relativeTo: targetURL).standardized
53 | arguments.append(contentsOf: ["--project-path", resolvedURL.path])
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:55:73: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
53 | arguments.append(contentsOf: ["--project-path", resolvedURL.path])
54 | } else if let binPath = config.binPath {
55 | let targetURL = URL(fileURLWithPath: sourceTarget.directory.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
56 | let resolvedURL = URL(fileURLWithPath: binPath, relativeTo: targetURL).standardized
57 | arguments.append(contentsOf: ["--bin-path", resolvedURL.path])
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:68:14: warning: 'prebuildCommand(displayName:executable:arguments:environment:outputFilesDirectory:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
66 |
67 | return [
68 | .prebuildCommand(
| `- warning: 'prebuildCommand(displayName:executable:arguments:environment:outputFilesDirectory:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
69 | displayName: "Generate SpacetimeDB Swift Bindings for \(target.name)",
70 | executable: executablePath,
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:79:20: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
77 | private func resolveExecutable(named name: String, in context: PluginContext) throws -> Path {
78 | if name.contains("/") {
79 | return Path(name)
| `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
80 | }
81 | if let tool = try? context.tool(named: name) {
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:82:25: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
80 | }
81 | if let tool = try? context.tool(named: name) {
82 | return tool.path
| |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
| `- note: use 'url' instead
83 | }
84 | let searchPaths = [
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:91:20: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
89 | ]
90 | for path in searchPaths where FileManager.default.isExecutableFile(atPath: path) {
91 | return Path(path)
| `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
92 | }
93 | return Path("/usr/bin/env")
/host/spi-builder-workspace/Plugins/SpacetimeDBCodegenPlugin/SpacetimeDBCodegenPlugin.swift:93:16: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
91 | return Path(path)
92 | }
93 | return Path("/usr/bin/env")
| `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
94 | }
95 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin SpacetimeDBCodegenPlugin
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/23] Emitting module SpacetimeDB
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[5/25] Compiling SpacetimeDB KeychainTokenStore.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[6/25] Compiling SpacetimeDB BSATNDecoder.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[7/25] Compiling SpacetimeDB BSATNEncoder.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[8/25] Compiling SpacetimeDB URLSessionWebSocketTransport.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[9/25] Compiling SpacetimeDB WebSocketV3Frames.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[10/25] Compiling SpacetimeDB Log.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[11/25] Compiling SpacetimeDB ClientMessage.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[12/25] Compiling SpacetimeDB NWWebSocketTransport.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[13/25] Compiling SpacetimeDB RuntimeTypes.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[14/25] Compiling SpacetimeDB SpacetimeDB.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[15/25] Compiling SpacetimeDB ServerMessageFrameDecoder.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[16/25] Compiling SpacetimeDB SpacetimeClient.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[17/25] Compiling SpacetimeDB NetworkMonitor.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[18/25] Compiling SpacetimeDB ProtocolTypes.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[19/25] Compiling SpacetimeDB ServerMessage.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[20/25] Compiling SpacetimeDB TableAnnotations.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[21/25] Compiling SpacetimeDB TableCache.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[22/25] Compiling SpacetimeDB TableIndexes.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[23/25] Compiling SpacetimeDB ClientCache.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[24/25] Compiling SpacetimeDB QueryBuilder.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
[25/25] Compiling SpacetimeDB SpacetimeQuery.swift
/host/spi-builder-workspace/Sources/SpacetimeDB/Auth/KeychainTokenStore.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 |
4 | /// Opt-in persistent token storage using the system Keychain.
BUILD FAILURE 6.2 linux