Build Information
Failed to build MELogger, reference main (c20cca), with Swift 6.1 for Wasm on 12 Mar 2026 04:33:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mono-Empire/MELogger.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/Mono-Empire/MELogger
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c20ccae Add Sendable conformance for Swift 6 compatibility
Cloned https://github.com/Mono-Empire/MELogger.git
Revision (git rev-parse @):
c20ccae4ea9c296d4d14dfb0f144a88591c7cb3a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Mono-Empire/MELogger.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Mono-Empire/MELogger.git
https://github.com/Mono-Empire/MELogger.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "MELogger",
"name" : "MELogger",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MELogger",
"targets" : [
"MELogger"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MELoggerTests",
"module_type" : "SwiftTarget",
"name" : "MELoggerTests",
"path" : "Tests/MELoggerTests",
"sources" : [
"MELoggerTests.swift"
],
"target_dependencies" : [
"MELogger"
],
"type" : "test"
},
{
"c99name" : "MELogger",
"module_type" : "SwiftTarget",
"name" : "MELogger",
"path" : "Sources/MELogger",
"product_memberships" : [
"MELogger"
],
"sources" : [
"Destinations/AssertionFailureDestination.swift",
"Destinations/ConsoleLoggerDestination.swift",
"Destinations/FileLoggerDestination.swift",
"Destinations/MockLoggerDestination.swift",
"MELogger.swift",
"Managers/MELoggerDestinationManager.swift",
"Protocols/MELoggerDestination.swift",
"Protocols/MELoggerProviding.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling MELogger MELoggerDestination.swift
[4/10] Compiling MELogger MELoggerDestinationManager.swift
/host/spi-builder-workspace/Sources/MELogger/Managers/MELoggerDestinationManager.swift:11:56: error: cannot find 'DispatchQueue' in scope
9 | private static let instanceId = UUID()
10 |
11 | private let loggerDestinationEnabledMutatingLock = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
12 | label: "melogger.destination.\(instanceId).enabled.lock"
13 | )
/host/spi-builder-workspace/Sources/MELogger/Managers/MELoggerDestinationManager.swift:15:53: error: cannot find 'DispatchQueue' in scope
13 | )
14 |
15 | private let loggerDestinationListMutatingLock = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
16 | label: "melogger.destination.\(instanceId).list.lock"
17 | )
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/11] Emitting module MELogger
/host/spi-builder-workspace/Sources/MELogger/Destinations/FileLoggerDestination.swift:122:51: error: cannot find 'DispatchSemaphore' in scope
120 |
121 | /// Rotation semaphore
122 | private static let logFileActivitySemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
123 |
124 | // MARK: - Settings
/host/spi-builder-workspace/Sources/MELogger/Managers/MELoggerDestinationManager.swift:11:56: error: cannot find 'DispatchQueue' in scope
9 | private static let instanceId = UUID()
10 |
11 | private let loggerDestinationEnabledMutatingLock = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
12 | label: "melogger.destination.\(instanceId).enabled.lock"
13 | )
/host/spi-builder-workspace/Sources/MELogger/Managers/MELoggerDestinationManager.swift:15:53: error: cannot find 'DispatchQueue' in scope
13 | )
14 |
15 | private let loggerDestinationListMutatingLock = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
16 | label: "melogger.destination.\(instanceId).list.lock"
17 | )
[6/11] Compiling MELogger AssertionFailureDestination.swift
[7/11] Compiling MELogger MockLoggerDestination.swift
[8/11] Compiling MELogger FileLoggerDestination.swift
/host/spi-builder-workspace/Sources/MELogger/Destinations/FileLoggerDestination.swift:122:51: error: cannot find 'DispatchSemaphore' in scope
120 |
121 | /// Rotation semaphore
122 | private static let logFileActivitySemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
123 |
124 | // MARK: - Settings
[9/11] Compiling MELogger MELogger.swift
[10/11] Compiling MELogger ConsoleLoggerDestination.swift
[11/11] Compiling MELogger MELoggerProviding.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling MELogger MELoggerDestinationManager.swift
/host/spi-builder-workspace/Sources/MELogger/Managers/MELoggerDestinationManager.swift:11:56: error: cannot find 'DispatchQueue' in scope
9 | private static let instanceId = UUID()
10 |
11 | private let loggerDestinationEnabledMutatingLock = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
12 | label: "melogger.destination.\(instanceId).enabled.lock"
13 | )
/host/spi-builder-workspace/Sources/MELogger/Managers/MELoggerDestinationManager.swift:15:53: error: cannot find 'DispatchQueue' in scope
13 | )
14 |
15 | private let loggerDestinationListMutatingLock = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
16 | label: "melogger.destination.\(instanceId).list.lock"
17 | )
[3/10] Compiling MELogger MELoggerDestination.swift
[4/10] Compiling MELogger ConsoleLoggerDestination.swift
[5/10] Compiling MELogger MELogger.swift
[6/10] Compiling MELogger FileLoggerDestination.swift
/host/spi-builder-workspace/Sources/MELogger/Destinations/FileLoggerDestination.swift:122:51: error: cannot find 'DispatchSemaphore' in scope
120 |
121 | /// Rotation semaphore
122 | private static let logFileActivitySemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
123 |
124 | // MARK: - Settings
[7/10] Compiling MELogger MockLoggerDestination.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Emitting module MELogger
/host/spi-builder-workspace/Sources/MELogger/Destinations/FileLoggerDestination.swift:122:51: error: cannot find 'DispatchSemaphore' in scope
120 |
121 | /// Rotation semaphore
122 | private static let logFileActivitySemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
123 |
124 | // MARK: - Settings
/host/spi-builder-workspace/Sources/MELogger/Managers/MELoggerDestinationManager.swift:11:56: error: cannot find 'DispatchQueue' in scope
9 | private static let instanceId = UUID()
10 |
11 | private let loggerDestinationEnabledMutatingLock = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
12 | label: "melogger.destination.\(instanceId).enabled.lock"
13 | )
/host/spi-builder-workspace/Sources/MELogger/Managers/MELoggerDestinationManager.swift:15:53: error: cannot find 'DispatchQueue' in scope
13 | )
14 |
15 | private let loggerDestinationListMutatingLock = DispatchQueue(
| `- error: cannot find 'DispatchQueue' in scope
16 | label: "melogger.destination.\(instanceId).list.lock"
17 | )
[9/10] Compiling MELogger AssertionFailureDestination.swift
[10/10] Compiling MELogger MELoggerProviding.swift
BUILD FAILURE 6.1 wasm