Build Information
Failed to build Occurrence, reference main (82c810), with Swift 6.1 for Wasm on 23 Mar 2026 21:24:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/Occurrence.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/richardpiazza/Occurrence
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 82c8105 Remove SQLite traits (#36)
Cloned https://github.com/richardpiazza/Occurrence.git
Revision (git rev-parse @):
82c8105f6f50e59a12ab692872b690007d193cb0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/Occurrence.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/richardpiazza/Occurrence.git
https://github.com/richardpiazza/Occurrence.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "statement",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/richardpiazza/Statement.git"
},
{
"identity" : "sqlite.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.16.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stephencelis/SQLite.swift.git"
},
{
"identity" : "swift-mutex",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.6",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swhitty/swift-mutex.git"
}
],
"manifest_display_name" : "Occurrence",
"name" : "Occurrence",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "16.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Occurrence",
"targets" : [
"Occurrence"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OccurrenceTests",
"module_type" : "SwiftTarget",
"name" : "OccurrenceTests",
"path" : "Tests/OccurrenceTests",
"product_dependencies" : [
"Logging"
],
"sources" : [
"LogProviderTests.swift",
"LogStreamerTests.swift",
"LoggableErrorTests.swift",
"LoggerMetadataTests.swift",
"OccurrenceTests.swift",
"RedactionTests.swift"
],
"target_dependencies" : [
"Occurrence"
],
"type" : "test"
},
{
"c99name" : "Occurrence",
"module_type" : "SwiftTarget",
"name" : "Occurrence",
"path" : "Sources/Occurrence",
"product_dependencies" : [
"Logging",
"Statement",
"StatementSQLite",
"SQLite",
"Mutex"
],
"product_memberships" : [
"Occurrence"
],
"sources" : [
"CoreData/CoreDataLogProvider.swift",
"CoreData/LogModel.swift",
"CoreData/Logger.Filter+Predicate.swift",
"CoreData/ManagedEntry.swift",
"Extensions/Array+Occurrence.swift",
"Extensions/CocoaError+Occurrence.swift",
"Extensions/DecodingError+Occurrence.swift",
"Extensions/Dictionary+Occurrence.swift",
"Extensions/EncodingError+Occurrence.swift",
"Extensions/FileManager+Occurrence.swift",
"Extensions/Logger+Entry.swift",
"Extensions/Logger+Filter.swift",
"Extensions/Logger+Occurrence.swift",
"Extensions/Logger+Subsystem.swift",
"Extensions/Logger.Level+Occurrence.swift",
"Extensions/Logger.Message+Occurrence.swift",
"Extensions/Logger.Metadata+Occurrence.swift",
"Extensions/Logger.MetadataKey.swift",
"Extensions/Logger.MetadataValue+Occurrence.swift",
"Extensions/URLError+Occurrence.swift",
"LazyLogger.swift",
"LogProvider.swift",
"LogStreamer.swift",
"LoggableError.swift",
"Occurrence.swift",
"SQLite/Logger.Filter+Where.swift",
"SQLite/SQLiteEntry+Mapping.swift",
"SQLite/SQLiteEntry.swift",
"SQLite/SQLiteLogProvider.swift",
"Streamer/OccurrenceLogStreamer.swift",
"SwiftUI/EnvironmentValues+Occurrence.swift",
"SwiftUI/LogEntryView.swift",
"SwiftUI/LogView.swift",
"SwiftUI/PreviewLogProvider.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/richardpiazza/Statement.git
Fetching https://github.com/apple/swift-log.git
[1/760] Fetching statement
[761/7021] Fetching statement, swift-log
Fetching https://github.com/swhitty/swift-mutex.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetched https://github.com/richardpiazza/Statement.git from cache (0.48s)
[1002/6261] Fetching swift-log
[6262/6585] Fetching swift-log, swift-mutex
[6586/17701] Fetching swift-log, swift-mutex, sqlite.swift
Fetched https://github.com/apple/swift-log.git from cache (1.03s)
[1214/11440] Fetching swift-mutex, sqlite.swift
Fetched https://github.com/swhitty/swift-mutex.git from cache (1.92s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.96s)
Computing version for https://github.com/swhitty/swift-mutex.git
Computed https://github.com/swhitty/swift-mutex.git at 0.0.6 (3.47s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.16.0 (1.09s)
Fetching https://github.com/sqlcipher/SQLCipher.swift
Fetching https://github.com/stephencelis/CSQLite
[1/200] Fetching csqlite
[151/314] Fetching csqlite, sqlcipher.swift
Fetched https://github.com/stephencelis/CSQLite from cache (1.55s)
Fetched https://github.com/sqlcipher/SQLCipher.swift from cache (1.55s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.8.1 (2.63s)
Computing version for https://github.com/stephencelis/CSQLite
Computed https://github.com/stephencelis/CSQLite at 3.50.4 (1.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (1.04s)
Computing version for https://github.com/sqlcipher/SQLCipher.swift
Computed https://github.com/sqlcipher/SQLCipher.swift at 4.14.0 (0.98s)
Creating working copy for https://github.com/sqlcipher/SQLCipher.swift
Working copy of https://github.com/sqlcipher/SQLCipher.swift resolved at 4.14.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/swhitty/swift-mutex.git
Working copy of https://github.com/swhitty/swift-mutex.git resolved at 0.0.6
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.16.0
Creating working copy for https://github.com/richardpiazza/Statement.git
Working copy of https://github.com/richardpiazza/Statement.git resolved at 0.8.1
Creating working copy for https://github.com/stephencelis/CSQLite
Working copy of https://github.com/stephencelis/CSQLite resolved at 3.50.4
Downloading binary artifact https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.14.0/SQLCipher.xcframework.zip
[1397/49594657] Downloading https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.14.0/SQLCipher.xcframework.zip
Downloaded https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.14.0/SQLCipher.xcframework.zip (6.43s)
Building for debugging...
[0/9] Write sources
[6/9] Copying PrivacyInfo.xcprivacy
[7/9] Write swift-version-24593BA9C3E375BF.txt
[9/43] Compiling Mutex AllocatedLock.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/AllocatedLock.swift:37:18: error: cannot find type 'Storage' in scope
35 |
36 | @usableFromInline
37 | let storage: Storage
| `- error: cannot find type 'Storage' in scope
38 |
39 | public init(uncheckedState initialState: State) {
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/AllocatedLock.swift:40:24: error: cannot find 'Storage' in scope
38 |
39 | public init(uncheckedState initialState: State) {
40 | self.storage = Storage(initialState: initialState)
| `- error: cannot find 'Storage' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/AllocatedLock.swift:44:24: error: cannot find 'Storage' in scope
42 |
43 | public init(initialState: State) where State: Sendable {
44 | self.storage = Storage(initialState: initialState)
| `- error: cannot find 'Storage' in scope
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/AllocatedLock.swift:80:24: error: cannot find 'Storage' in scope
78 |
79 | init() {
80 | self.storage = Storage(initialState: ())
| `- error: cannot find 'Storage' in scope
81 | }
82 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/43] Emitting module Mutex
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/AllocatedLock.swift:37:18: error: cannot find type 'Storage' in scope
35 |
36 | @usableFromInline
37 | let storage: Storage
| `- error: cannot find type 'Storage' in scope
38 |
39 | public init(uncheckedState initialState: State) {
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/Mutex.swift:44:18: error: cannot find type 'Storage' in scope
42 | @available(visionOS, deprecated: 15.0, message: "use Mutex from Synchronization module")
43 | public struct Mutex<Value: ~Copyable>: ~Copyable {
44 | let storage: Storage<Value>
| `- error: cannot find type 'Storage' in scope
45 |
46 | public init(_ initialValue: consuming sending Value) {
[11/43] Compiling Mutex Mutex.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/Mutex.swift:44:18: error: cannot find type 'Storage' in scope
42 | @available(visionOS, deprecated: 15.0, message: "use Mutex from Synchronization module")
43 | public struct Mutex<Value: ~Copyable>: ~Copyable {
44 | let storage: Storage<Value>
| `- error: cannot find type 'Storage' in scope
45 |
46 | public init(_ initialValue: consuming sending Value) {
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/Mutex.swift:47:24: error: cannot find 'Storage' in scope
45 |
46 | public init(_ initialValue: consuming sending Value) {
47 | self.storage = Storage(initialValue)
| `- error: cannot find 'Storage' in scope
48 | }
49 |
[12/43] Compiling Mutex MutexSwift5.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/43] Compiling SQLiteSwiftCSQLite sqlite3.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
[2/36] Compiling Mutex MutexSwift5.swift
[3/36] Compiling Mutex AllocatedLock.swift
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/AllocatedLock.swift:37:18: error: cannot find type 'Storage' in scope
35 |
36 | @usableFromInline
37 | let storage: Storage
| `- error: cannot find type 'Storage' in scope
38 |
39 | public init(uncheckedState initialState: State) {
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/AllocatedLock.swift:40:24: error: cannot find 'Storage' in scope
38 |
39 | public init(uncheckedState initialState: State) {
40 | self.storage = Storage(initialState: initialState)
| `- error: cannot find 'Storage' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/AllocatedLock.swift:44:24: error: cannot find 'Storage' in scope
42 |
43 | public init(initialState: State) where State: Sendable {
44 | self.storage = Storage(initialState: initialState)
| `- error: cannot find 'Storage' in scope
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/AllocatedLock.swift:80:24: error: cannot find 'Storage' in scope
78 |
79 | init() {
80 | self.storage = Storage(initialState: ())
| `- error: cannot find 'Storage' in scope
81 | }
82 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/36] Emitting module Mutex
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/AllocatedLock.swift:37:18: error: cannot find type 'Storage' in scope
35 |
36 | @usableFromInline
37 | let storage: Storage
| `- error: cannot find type 'Storage' in scope
38 |
39 | public init(uncheckedState initialState: State) {
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/Mutex.swift:44:18: error: cannot find type 'Storage' in scope
42 | @available(visionOS, deprecated: 15.0, message: "use Mutex from Synchronization module")
43 | public struct Mutex<Value: ~Copyable>: ~Copyable {
44 | let storage: Storage<Value>
| `- error: cannot find type 'Storage' in scope
45 |
46 | public init(_ initialValue: consuming sending Value) {
[5/36] Compiling Mutex Mutex.swift
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/Mutex.swift:44:18: error: cannot find type 'Storage' in scope
42 | @available(visionOS, deprecated: 15.0, message: "use Mutex from Synchronization module")
43 | public struct Mutex<Value: ~Copyable>: ~Copyable {
44 | let storage: Storage<Value>
| `- error: cannot find type 'Storage' in scope
45 |
46 | public init(_ initialValue: consuming sending Value) {
/host/spi-builder-workspace/.build/checkouts/swift-mutex/Sources/Mutex.swift:47:24: error: cannot find 'Storage' in scope
45 |
46 | public init(_ initialValue: consuming sending Value) {
47 | self.storage = Storage(initialValue)
| `- error: cannot find 'Storage' in scope
48 | }
49 |
[5/36] Compiling SQLiteSwiftCSQLite sqlite3.c
BUILD FAILURE 6.1 wasm