Build Information
Successful build of SpacetimeDB, reference v1.0.0 (099a2a), with Swift 6.2 for macOS (SPM) on 30 Oct 2026 07:42:18 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/avias8/spacetimedb-swift.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/avias8/spacetimedb-swift
* tag v1.0.0 -> FETCH_HEAD
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 v1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/avias8/spacetimedb-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
/Users/admin/builder/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 []
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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])
/Users/admin/builder/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])
/Users/admin/builder/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,
/Users/admin/builder/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) {
/Users/admin/builder/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 = [
/Users/admin/builder/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")
/Users/admin/builder/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--3CB7CFEC50E0D141.txt
[4/23] Compiling SpacetimeDB Log.swift
[5/23] Compiling SpacetimeDB ClientMessage.swift
[6/23] Compiling SpacetimeDB ClientCache.swift
[7/23] Compiling SpacetimeDB QueryBuilder.swift
[8/23] Compiling SpacetimeDB NWWebSocketTransport.swift
[9/23] Compiling SpacetimeDB NetworkMonitor.swift
[10/25] Compiling SpacetimeDB ProtocolTypes.swift
[11/25] Compiling SpacetimeDB ServerMessage.swift
[12/25] Compiling SpacetimeDB TableCache.swift
[13/25] Compiling SpacetimeDB TableIndexes.swift
[14/25] Compiling SpacetimeDB RuntimeTypes.swift
[15/25] Compiling SpacetimeDB SpacetimeDB.swift
[16/25] Compiling SpacetimeDB ServerMessageFrameDecoder.swift
[17/25] Compiling SpacetimeDB SpacetimeClient.swift
[18/25] Compiling SpacetimeDB URLSessionWebSocketTransport.swift
[19/25] Compiling SpacetimeDB WebSocketV3Frames.swift
[20/25] Compiling SpacetimeDB KeychainTokenStore.swift
[21/25] Compiling SpacetimeDB BSATNDecoder.swift
[22/25] Compiling SpacetimeDB BSATNEncoder.swift
[23/25] Emitting module SpacetimeDB
[24/25] Compiling SpacetimeDB SpacetimeQuery.swift
[25/25] Compiling SpacetimeDB TableAnnotations.swift
Build complete! (14.29s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SpacetimeDB",
"name" : "SpacetimeDB",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "tvos",
"version" : "18.0"
},
{
"name" : "visionos",
"version" : "2.0"
},
{
"name" : "watchos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "SpacetimeDB",
"targets" : [
"SpacetimeDB"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpacetimeDBCodegenPlugin",
"targets" : [
"SpacetimeDBCodegenPlugin"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "SpacetimeDBTests",
"module_type" : "SwiftTarget",
"name" : "SpacetimeDBTests",
"path" : "Tests/SpacetimeDBTests",
"sources" : [
"BSATNTests.swift",
"CacheTests.swift",
"ChaosSoakTests.swift",
"FrameFragmentationTests.swift",
"KeychainTests.swift",
"LiveIntegrationTests.swift",
"LockIsolated.swift",
"NetworkTests.swift",
"ObservabilityTests.swift",
"ProtocolParityTests.swift"
],
"target_dependencies" : [
"SpacetimeDB"
],
"type" : "test"
},
{
"c99name" : "SpacetimeDBCodegenPlugin",
"module_type" : "PluginTarget",
"name" : "SpacetimeDBCodegenPlugin",
"path" : "Plugins/SpacetimeDBCodegenPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"SpacetimeDBCodegenPlugin"
],
"sources" : [
"SpacetimeDBCodegenPlugin.swift"
],
"type" : "plugin"
},
{
"c99name" : "SpacetimeDB",
"module_type" : "SwiftTarget",
"name" : "SpacetimeDB",
"path" : "Sources/SpacetimeDB",
"product_memberships" : [
"SpacetimeDB"
],
"sources" : [
"Auth/KeychainTokenStore.swift",
"BSATN/BSATNDecoder.swift",
"BSATN/BSATNEncoder.swift",
"Cache/ClientCache.swift",
"Cache/QueryBuilder.swift",
"Cache/SpacetimeQuery.swift",
"Cache/TableAnnotations.swift",
"Cache/TableCache.swift",
"Cache/TableIndexes.swift",
"Log.swift",
"Network/ClientMessage.swift",
"Network/NWWebSocketTransport.swift",
"Network/NetworkMonitor.swift",
"Network/ProtocolTypes.swift",
"Network/ServerMessage.swift",
"Network/ServerMessageFrameDecoder.swift",
"Network/SpacetimeClient.swift",
"Network/URLSessionWebSocketTransport.swift",
"Network/WebSocketV3Frames.swift",
"RuntimeTypes.swift",
"SpacetimeDB.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.