Build Information
Failed to build SwiftCustomLogger, reference master (c60ca9), with Swift 6.1 for Wasm on 25 Nov 2026 13:15:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerzh/swift-custom-logger.git
Reference: master
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/nerzh/swift-custom-logger
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c60ca9b Fix standard stream handling on Android
Cloned https://github.com/nerzh/swift-custom-logger.git
Revision (git rev-parse @):
c60ca9befd6fec3e09378ba1fe1af0159efb760a
SUCCESS checkout https://github.com/nerzh/swift-custom-logger.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/nerzh/swift-custom-logger.git
https://github.com/nerzh/swift-custom-logger.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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: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 saguaro1/spi-images
Digest: sha256:2b61812954062fe290d65f4aab0d63c7eac39321d28a5f7663250a895195bb8e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log
[1/8584] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.48s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.25s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling Logging LoggingSystem.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
[5/15] Compiling Logging MetadataProvider.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
[6/15] Compiling Logging Logger+Attributes.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
[7/15] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
<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
[8/15] Compiling Logging Logger.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
[9/15] Compiling Logging SwiftLogNoOpLogHandler.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
[10/15] Compiling Logging Locks.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
[11/15] Compiling Logging MultiplexLogHandler.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
[12/15] Compiling Logging StreamLogHandler.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
[13/15] Emitting module Logging
unable to find node: pound
unable to find node: pound
<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
[14/15] Compiling Logging LogEvent.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
[15/15] Compiling Logging LogHandler.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
[17/21] Emitting module SwiftCustomLogger
/host/spi-builder-workspace/Sources/SwiftCustomLogger/BasicFormatter.swift:56:23: warning: static property 'appleDefault' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Logging
3 |
4 | public struct BasicFormatter: LogFormatter {
| `- note: consider making struct 'BasicFormatter' conform to the 'Sendable' protocol
5 |
6 | public let timestampFormatter: DateFormatter
:
54 | /// [apple/swift-log](https://github.com/apple/swift-log)'s log format
55 | /// `2024-04-12T10:00:07-0310 error: Test error message`
56 | public static let appleDefault = BasicFormatter(
| |- warning: static property 'appleDefault' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'appleDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | [
58 | .timestamp,
/host/spi-builder-workspace/Sources/SwiftCustomLogger/CustomHandler.swift:6:16: warning: stored property 'formatter' of 'Sendable'-conforming struct 'CustomHandler' has non-sendable type 'any LogFormatter'; this is an error in the Swift 6 language mode
4 | public struct CustomHandler: LogHandler {
5 |
6 | public let formatter: LogFormatter
| `- warning: stored property 'formatter' of 'Sendable'-conforming struct 'CustomHandler' has non-sendable type 'any LogFormatter'; this is an error in the Swift 6 language mode
7 | public let printer: Printer
8 | public var logLevel: Logger.Level = .info
/host/spi-builder-workspace/Sources/SwiftCustomLogger/LogFormatter.swift:28:17: note: protocol 'LogFormatter' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public protocol LogFormatter {
| `- note: protocol 'LogFormatter' does not conform to the 'Sendable' protocol
29 | var timestampFormatter: DateFormatter { get }
30 |
/host/spi-builder-workspace/Sources/SwiftCustomLogger/CustomHandler.swift:7:16: warning: stored property 'printer' of 'Sendable'-conforming struct 'CustomHandler' has non-sendable type 'any Printer'; this is an error in the Swift 6 language mode
5 |
6 | public let formatter: LogFormatter
7 | public let printer: Printer
| `- warning: stored property 'printer' of 'Sendable'-conforming struct 'CustomHandler' has non-sendable type 'any Printer'; this is an error in the Swift 6 language mode
8 | public var logLevel: Logger.Level = .info
9 | private var prettyMetadata: String?
/host/spi-builder-workspace/Sources/SwiftCustomLogger/Printer.swift:23:17: note: protocol 'Printer' does not conform to the 'Sendable' protocol
21 | #endif
22 |
23 | public protocol Printer {
| `- note: protocol 'Printer' does not conform to the 'Sendable' protocol
24 | func handle(_ formattedLogLine: String)
25 | }
/host/spi-builder-workspace/Sources/SwiftCustomLogger/CustomHandler.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
2 | import Logging
3 |
4 | public struct CustomHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 |
6 | public let formatter: LogFormatter
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 | ///
137 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
139 |
140 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
247 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
248 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
250 | self.log(
251 | level: event.level,
[18/21] Compiling SwiftCustomLogger Printer.swift
/host/spi-builder-workspace/Sources/SwiftCustomLogger/Printer.swift:68:13: error: cannot find 'flockfile' in scope
66 |
67 | string.withCString { ptr in
68 | flockfile(file)
| `- error: cannot find 'flockfile' in scope
69 | defer { funlockfile(file) }
70 | _ = fputs(ptr, file)
[19/21] Compiling SwiftCustomLogger BasicFormatter.swift
/host/spi-builder-workspace/Sources/SwiftCustomLogger/BasicFormatter.swift:56:23: warning: static property 'appleDefault' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Logging
3 |
4 | public struct BasicFormatter: LogFormatter {
| `- note: consider making struct 'BasicFormatter' conform to the 'Sendable' protocol
5 |
6 | public let timestampFormatter: DateFormatter
:
54 | /// [apple/swift-log](https://github.com/apple/swift-log)'s log format
55 | /// `2024-04-12T10:00:07-0310 error: Test error message`
56 | public static let appleDefault = BasicFormatter(
| |- warning: static property 'appleDefault' is not concurrency-safe because non-'Sendable' type 'BasicFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'appleDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | [
58 | .timestamp,
[20/21] Compiling SwiftCustomLogger LogFormatter.swift
[21/21] Compiling SwiftCustomLogger CustomHandler.swift
/host/spi-builder-workspace/Sources/SwiftCustomLogger/CustomHandler.swift:6:16: warning: stored property 'formatter' of 'Sendable'-conforming struct 'CustomHandler' has non-sendable type 'any LogFormatter'; this is an error in the Swift 6 language mode
4 | public struct CustomHandler: LogHandler {
5 |
6 | public let formatter: LogFormatter
| `- warning: stored property 'formatter' of 'Sendable'-conforming struct 'CustomHandler' has non-sendable type 'any LogFormatter'; this is an error in the Swift 6 language mode
7 | public let printer: Printer
8 | public var logLevel: Logger.Level = .info
/host/spi-builder-workspace/Sources/SwiftCustomLogger/LogFormatter.swift:28:17: note: protocol 'LogFormatter' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public protocol LogFormatter {
| `- note: protocol 'LogFormatter' does not conform to the 'Sendable' protocol
29 | var timestampFormatter: DateFormatter { get }
30 |
/host/spi-builder-workspace/Sources/SwiftCustomLogger/CustomHandler.swift:7:16: warning: stored property 'printer' of 'Sendable'-conforming struct 'CustomHandler' has non-sendable type 'any Printer'; this is an error in the Swift 6 language mode
5 |
6 | public let formatter: LogFormatter
7 | public let printer: Printer
| `- warning: stored property 'printer' of 'Sendable'-conforming struct 'CustomHandler' has non-sendable type 'any Printer'; this is an error in the Swift 6 language mode
8 | public var logLevel: Logger.Level = .info
9 | private var prettyMetadata: String?
/host/spi-builder-workspace/Sources/SwiftCustomLogger/Printer.swift:23:17: note: protocol 'Printer' does not conform to the 'Sendable' protocol
21 | #endif
22 |
23 | public protocol Printer {
| `- note: protocol 'Printer' does not conform to the 'Sendable' protocol
24 | func handle(_ formattedLogLine: String)
25 | }
/host/spi-builder-workspace/Sources/SwiftCustomLogger/CustomHandler.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
2 | import Logging
3 |
4 | public struct CustomHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 |
6 | public let formatter: LogFormatter
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 | ///
137 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
139 |
140 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
247 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
248 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
250 | self.log(
251 | level: event.level,
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:2b61812954062fe290d65f4aab0d63c7eac39321d28a5f7663250a895195bb8e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling Logging LoggingSystem.swift
[3/13] Compiling Logging MetadataProvider.swift
[4/13] Compiling Logging Logger+Attributes.swift
[5/13] Compiling Logging LogEvent.swift
[6/13] Compiling Logging LogHandler.swift
[7/13] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[8/13] Compiling Logging Logger.swift
[9/13] Emitting module Logging
unable to find node: pound
unable to find node: pound
[10/13] Compiling Logging MultiplexLogHandler.swift
[11/13] Compiling Logging StreamLogHandler.swift
[12/13] Compiling Logging SwiftLogNoOpLogHandler.swift
[13/13] Compiling Logging Locks.swift
[15/19] Compiling SwiftCustomLogger LogFormatter.swift
[16/19] Compiling SwiftCustomLogger Printer.swift
/host/spi-builder-workspace/Sources/SwiftCustomLogger/Printer.swift:68:13: error: cannot find 'flockfile' in scope
66 |
67 | string.withCString { ptr in
68 | flockfile(file)
| `- error: cannot find 'flockfile' in scope
69 | defer { funlockfile(file) }
70 | _ = fputs(ptr, file)
[17/19] Compiling SwiftCustomLogger BasicFormatter.swift
[18/19] Emitting module SwiftCustomLogger
/host/spi-builder-workspace/Sources/SwiftCustomLogger/CustomHandler.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
2 | import Logging
3 |
4 | public struct CustomHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 |
6 | public let formatter: LogFormatter
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 | ///
137 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
139 |
140 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
247 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
248 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
250 | self.log(
251 | level: event.level,
[19/19] Compiling SwiftCustomLogger CustomHandler.swift
/host/spi-builder-workspace/Sources/SwiftCustomLogger/CustomHandler.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
2 | import Logging
3 |
4 | public struct CustomHandler: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(event:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 |
6 | public let formatter: LogFormatter
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:249:17: note: 'log(event:)' declared here
136 | ///
137 | /// - Parameter event: The log event containing the level, message, metadata, and source location.
138 | func log(event: LogEvent)
| `- note: requirement 'log(event:)' declared here
139 |
140 | /// Please do _not_ implement this method when you create a `LogHandler` implementation.
:
247 | /// Implement ``log(event:)`` in your ``LogHandler`` instead.
248 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
249 | public func log(event: LogEvent) {
| `- note: 'log(event:)' declared here
250 | self.log(
251 | level: event.level,
BUILD FAILURE 6.1 wasm