Build Information
Failed to build Logboard, reference 2.6.0 (8f41c6), with Swift 6.1 for Wasm on 6 Oct 2025 18:29:55 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/shogo4405/Logboard.git
Reference: 2.6.0
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/shogo4405/Logboard
* tag 2.6.0 -> FETCH_HEAD
HEAD is now at 8f41c63 Merge pull request #30 from shogo4405/feature/bump-to-up-xcode-26
Cloned https://github.com/shogo4405/Logboard.git
Revision (git rev-parse @):
8f41c63afb903040b77049ee2efa8c257b8c0d50
SUCCESS checkout https://github.com/shogo4405/Logboard.git at 2.6.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/shogo4405/Logboard.git
https://github.com/shogo4405/Logboard.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.5",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
}
],
"manifest_display_name" : "Logboard",
"name" : "Logboard",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Logboard",
"targets" : [
"Logboard"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Logboard",
"module_type" : "SwiftTarget",
"name" : "Logboard",
"path" : "Sources/Logboard",
"product_memberships" : [
"Logboard"
],
"sources" : [
"ConsoleAppender.swift",
"LBLogger.Data.swift",
"LBLogger.swift",
"LBLoggerAppender.swift",
"MultiAppender.swift",
"NullAppender.swift",
"OSLoggerAppender.swift",
"SocketAppender.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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 -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 finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2133] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.67s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (6.71s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3540] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.04s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling Logboard NullAppender.swift
/host/spi-builder-workspace/Sources/Logboard/NullAppender.swift:5:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NullAppender' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The NullAppender class does output no message.
4 | public class NullAppender: LBLoggerAppender {
| `- note: class 'NullAppender' does not conform to the 'Sendable' protocol
5 | public static let shared = NullAppender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NullAppender' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public func append(_ logboard: LBLogger, level: LBLogger.Level, message: [Any], file: StaticString, function: StaticString, line: Int) {
[6/12] Compiling Logboard OSLoggerAppender.swift
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:14:25: error: cannot find type 'Logger' in scope
12 | @available(watchOS 7.0, *)
13 | public class OSLoggerAppender: LBLoggerAppender {
14 | private let logger: Logger
| `- error: cannot find type 'Logger' in scope
15 |
16 | /// Creates a logger using the specified subsystem and category.
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:18:18: error: cannot find 'Logger' in scope
16 | /// Creates a logger using the specified subsystem and category.
17 | public init(sybsystem: String, category: String) {
18 | logger = Logger(subsystem: sybsystem, category: category)
| `- error: cannot find 'Logger' in scope
19 | }
20 |
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:29:48: error: extra argument 'privacy' in call
27 | switch level {
28 | case .trace:
29 | logger.trace("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
30 | case .debug:
31 | logger.debug("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:29:48: error: cannot infer contextual base in reference to member 'public'
27 | switch level {
28 | case .trace:
29 | logger.trace("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
30 | case .debug:
31 | logger.debug("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:31:48: error: extra argument 'privacy' in call
29 | logger.trace("\(message, privacy: .public)")
30 | case .debug:
31 | logger.debug("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
32 | case .info:
33 | logger.info("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:31:48: error: cannot infer contextual base in reference to member 'public'
29 | logger.trace("\(message, privacy: .public)")
30 | case .debug:
31 | logger.debug("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
32 | case .info:
33 | logger.info("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:33:47: error: extra argument 'privacy' in call
31 | logger.debug("\(message, privacy: .public)")
32 | case .info:
33 | logger.info("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
34 | case .warn:
35 | logger.warning("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:33:47: error: cannot infer contextual base in reference to member 'public'
31 | logger.debug("\(message, privacy: .public)")
32 | case .info:
33 | logger.info("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
34 | case .warn:
35 | logger.warning("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:35:50: error: extra argument 'privacy' in call
33 | logger.info("\(message, privacy: .public)")
34 | case .warn:
35 | logger.warning("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
36 | case .error:
37 | logger.error("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:35:50: error: cannot infer contextual base in reference to member 'public'
33 | logger.info("\(message, privacy: .public)")
34 | case .warn:
35 | logger.warning("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
36 | case .error:
37 | logger.error("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:37:48: error: extra argument 'privacy' in call
35 | logger.warning("\(message, privacy: .public)")
36 | case .error:
37 | logger.error("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
38 | }
39 | }
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:37:48: error: cannot infer contextual base in reference to member 'public'
35 | logger.warning("\(message, privacy: .public)")
36 | case .error:
37 | logger.error("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
38 | }
39 | }
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:49:48: error: extra argument 'privacy' in call
47 | switch level {
48 | case .trace:
49 | logger.trace("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
50 | case .debug:
51 | logger.debug("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:49:48: error: cannot infer contextual base in reference to member 'public'
47 | switch level {
48 | case .trace:
49 | logger.trace("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
50 | case .debug:
51 | logger.debug("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:51:48: error: extra argument 'privacy' in call
49 | logger.trace("\(message, privacy: .public)")
50 | case .debug:
51 | logger.debug("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
52 | case .info:
53 | logger.info("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:51:48: error: cannot infer contextual base in reference to member 'public'
49 | logger.trace("\(message, privacy: .public)")
50 | case .debug:
51 | logger.debug("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
52 | case .info:
53 | logger.info("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:53:47: error: extra argument 'privacy' in call
51 | logger.debug("\(message, privacy: .public)")
52 | case .info:
53 | logger.info("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
54 | case .warn:
55 | logger.warning("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:53:47: error: cannot infer contextual base in reference to member 'public'
51 | logger.debug("\(message, privacy: .public)")
52 | case .info:
53 | logger.info("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
54 | case .warn:
55 | logger.warning("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:55:50: error: extra argument 'privacy' in call
53 | logger.info("\(message, privacy: .public)")
54 | case .warn:
55 | logger.warning("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
56 | case .error:
57 | logger.error("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:55:50: error: cannot infer contextual base in reference to member 'public'
53 | logger.info("\(message, privacy: .public)")
54 | case .warn:
55 | logger.warning("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
56 | case .error:
57 | logger.error("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:57:48: error: extra argument 'privacy' in call
55 | logger.warning("\(message, privacy: .public)")
56 | case .error:
57 | logger.error("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
58 | }
59 | }
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:57:48: error: cannot infer contextual base in reference to member 'public'
55 | logger.warning("\(message, privacy: .public)")
56 | case .error:
57 | logger.error("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
58 | }
59 | }
[7/12] Compiling Logboard MultiAppender.swift
[8/13] Compiling Logboard LBLoggerAppender.swift
[9/13] Compiling Logboard LBLogger.swift
/host/spi-builder-workspace/Sources/Logboard/LBLogger.swift:10:23: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public class LBLogger {
9 | /// The default dateFormatter values that is yyyy-dd-MM HH:mm:ss.SSS.
10 | static public var dateFormatter: DateFormatter = {
| |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let dateFormatter: DateFormatter = DateFormatter()
12 | dateFormatter.dateFormat = "yyyy-dd-MM HH:mm:ss.SSS"
/host/spi-builder-workspace/Sources/Logboard/LBLogger.swift:64:24: warning: static property 'instances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | private static var instances: [String: LBLogger] = [:]
| |- warning: static property 'instances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// Create or get a Logboard instance.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/13] Compiling Logboard LBLogger.Data.swift
[11/13] Emitting module Logboard
/host/spi-builder-workspace/Sources/Logboard/LBLogger.swift:10:23: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public class LBLogger {
9 | /// The default dateFormatter values that is yyyy-dd-MM HH:mm:ss.SSS.
10 | static public var dateFormatter: DateFormatter = {
| |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | let dateFormatter: DateFormatter = DateFormatter()
12 | dateFormatter.dateFormat = "yyyy-dd-MM HH:mm:ss.SSS"
/host/spi-builder-workspace/Sources/Logboard/LBLogger.swift:64:24: warning: static property 'instances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | private static var instances: [String: LBLogger] = [:]
| |- warning: static property 'instances' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instances' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'instances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// Create or get a Logboard instance.
/host/spi-builder-workspace/Sources/Logboard/NullAppender.swift:5:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NullAppender' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The NullAppender class does output no message.
4 | public class NullAppender: LBLoggerAppender {
| `- note: class 'NullAppender' does not conform to the 'Sendable' protocol
5 | public static let shared = NullAppender()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NullAppender' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public func append(_ logboard: LBLogger, level: LBLogger.Level, message: [Any], file: StaticString, function: StaticString, line: Int) {
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:14:25: error: cannot find type 'Logger' in scope
12 | @available(watchOS 7.0, *)
13 | public class OSLoggerAppender: LBLoggerAppender {
14 | private let logger: Logger
| `- error: cannot find type 'Logger' in scope
15 |
16 | /// Creates a logger using the specified subsystem and category.
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:64:22: error: cannot find 'DispatchQueue' in scope
62 | var inputStream: InputStream?
63 | var outputStream: OutputStream?
64 | var inputQueue = DispatchQueue(label: "com.haishinkit.HaishinKit.NetSocket.input")
| `- error: cannot find 'DispatchQueue' in scope
65 |
66 | private var buffer: UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:68:31: error: cannot find 'DispatchQueue' in scope
66 | private var buffer: UnsafeMutablePointer<UInt8>?
67 | private var runloop: RunLoop?
68 | private let outputQueue = DispatchQueue(label: "com.haishinkit.HaishinKit.NetSocket.output")
| `- error: cannot find 'DispatchQueue' in scope
69 | private var timeoutHandler: (() -> Void)?
70 |
[12/13] Compiling Logboard ConsoleAppender.swift
[13/13] Compiling Logboard SocketAppender.swift
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:64:22: error: cannot find 'DispatchQueue' in scope
62 | var inputStream: InputStream?
63 | var outputStream: OutputStream?
64 | var inputQueue = DispatchQueue(label: "com.haishinkit.HaishinKit.NetSocket.input")
| `- error: cannot find 'DispatchQueue' in scope
65 |
66 | private var buffer: UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:68:31: error: cannot find 'DispatchQueue' in scope
66 | private var buffer: UnsafeMutablePointer<UInt8>?
67 | private var runloop: RunLoop?
68 | private let outputQueue = DispatchQueue(label: "com.haishinkit.HaishinKit.NetSocket.output")
| `- error: cannot find 'DispatchQueue' in scope
69 | private var timeoutHandler: (() -> Void)?
70 |
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:75:13: error: cannot find 'CFStreamCreatePairWithSocketToHost' in scope
73 | var readStream: Unmanaged<CFReadStream>?
74 | var writeStream: Unmanaged<CFWriteStream>?
75 | CFStreamCreatePairWithSocketToHost(
| `- error: cannot find 'CFStreamCreatePairWithSocketToHost' in scope
76 | kCFAllocatorDefault,
77 | withName as CFString,
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:76:17: error: cannot find 'kCFAllocatorDefault' in scope
74 | var writeStream: Unmanaged<CFWriteStream>?
75 | CFStreamCreatePairWithSocketToHost(
76 | kCFAllocatorDefault,
| `- error: cannot find 'kCFAllocatorDefault' in scope
77 | withName as CFString,
78 | UInt32(port),
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:73:39: error: cannot find type 'CFReadStream' in scope
71 | func connect(withName: String, port: Int) {
72 | inputQueue.async {
73 | var readStream: Unmanaged<CFReadStream>?
| `- error: cannot find type 'CFReadStream' in scope
74 | var writeStream: Unmanaged<CFWriteStream>?
75 | CFStreamCreatePairWithSocketToHost(
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:72:20: error: type of expression is ambiguous without a type annotation
70 |
71 | func connect(withName: String, port: Int) {
72 | inputQueue.async {
| `- error: type of expression is ambiguous without a type annotation
73 | var readStream: Unmanaged<CFReadStream>?
74 | var writeStream: Unmanaged<CFWriteStream>?
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:122:13: error: cannot find 'CFRunLoopStop' in scope
120 | self.deinitConnection(isDisconnected: isDisconnected)
121 | self.runloop = nil
122 | CFRunLoopStop(runloop.getCFRunLoop())
| `- error: cannot find 'CFRunLoopStop' in scope
123 | }
124 | }
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:122:35: error: value of type 'RunLoop' has no member 'getCFRunLoop'
120 | self.deinitConnection(isDisconnected: isDisconnected)
121 | self.runloop = nil
122 | CFRunLoopStop(runloop.getCFRunLoop())
| `- error: value of type 'RunLoop' has no member 'getCFRunLoop'
123 | }
124 | }
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:144:20: error: 'current' is unavailable: RunLoop is not available on WASI
142 | }
143 |
144 | runloop = .current
| `- error: 'current' is unavailable: RunLoop is not available on WASI
145 |
146 | inputStream.delegate = self
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 | open class var current: RunLoop { get }}
| `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:148:47: error: argument type 'String' expected to be an instance of a class or class-constrained type
146 | inputStream.delegate = self
147 | inputStream.schedule(in: runloop!, forMode: RunLoop.Mode.default)
148 | inputStream.setProperty(securityLevel.rawValue, forKey: .socketSecurityLevelKey)
| `- error: argument type 'String' expected to be an instance of a class or class-constrained type
149 |
150 | outputStream.delegate = self
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:152:48: error: argument type 'String' expected to be an instance of a class or class-constrained type
150 | outputStream.delegate = self
151 | outputStream.schedule(in: runloop!, forMode: RunLoop.Mode.default)
152 | outputStream.setProperty(securityLevel.rawValue, forKey: .socketSecurityLevelKey)
| `- error: argument type 'String' expected to be an instance of a class or class-constrained type
153 |
154 | inputStream.open()
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:158:78: error: cannot find 'NSEC_PER_SEC' in scope
156 |
157 | if 0 < timeout {
158 | outputQueue.asyncAfter(deadline: .now() + Double(timeout * Int64(NSEC_PER_SEC)) / Double(NSEC_PER_SEC)) {
| `- error: cannot find 'NSEC_PER_SEC' in scope
159 | guard let timeoutHandler: (() -> Void) = self.timeoutHandler else {
160 | return
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:158:102: error: cannot find 'NSEC_PER_SEC' in scope
156 |
157 | if 0 < timeout {
158 | outputQueue.asyncAfter(deadline: .now() + Double(timeout * Int64(NSEC_PER_SEC)) / Double(NSEC_PER_SEC)) {
| `- error: cannot find 'NSEC_PER_SEC' in scope
159 | guard let timeoutHandler: (() -> Void) = self.timeoutHandler else {
160 | return
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:158:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
156 |
157 | if 0 < timeout {
158 | outputQueue.asyncAfter(deadline: .now() + Double(timeout * Int64(NSEC_PER_SEC)) / Double(NSEC_PER_SEC)) {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
159 | guard let timeoutHandler: (() -> Void) = self.timeoutHandler else {
160 | return
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:166:18: error: value of type 'RunLoop' has no member 'run'
164 | }
165 |
166 | runloop?.run()
| `- error: value of type 'RunLoop' has no member 'run'
167 | connected = false
168 | }
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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling Logboard LBLoggerAppender.swift
[5/12] Compiling Logboard NullAppender.swift
[6/12] Compiling Logboard OSLoggerAppender.swift
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:14:25: error: cannot find type 'Logger' in scope
12 | @available(watchOS 7.0, *)
13 | public class OSLoggerAppender: LBLoggerAppender {
14 | private let logger: Logger
| `- error: cannot find type 'Logger' in scope
15 |
16 | /// Creates a logger using the specified subsystem and category.
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:18:18: error: cannot find 'Logger' in scope
16 | /// Creates a logger using the specified subsystem and category.
17 | public init(sybsystem: String, category: String) {
18 | logger = Logger(subsystem: sybsystem, category: category)
| `- error: cannot find 'Logger' in scope
19 | }
20 |
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:29:48: error: extra argument 'privacy' in call
27 | switch level {
28 | case .trace:
29 | logger.trace("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
30 | case .debug:
31 | logger.debug("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:29:48: error: cannot infer contextual base in reference to member 'public'
27 | switch level {
28 | case .trace:
29 | logger.trace("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
30 | case .debug:
31 | logger.debug("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:31:48: error: extra argument 'privacy' in call
29 | logger.trace("\(message, privacy: .public)")
30 | case .debug:
31 | logger.debug("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
32 | case .info:
33 | logger.info("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:31:48: error: cannot infer contextual base in reference to member 'public'
29 | logger.trace("\(message, privacy: .public)")
30 | case .debug:
31 | logger.debug("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
32 | case .info:
33 | logger.info("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:33:47: error: extra argument 'privacy' in call
31 | logger.debug("\(message, privacy: .public)")
32 | case .info:
33 | logger.info("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
34 | case .warn:
35 | logger.warning("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:33:47: error: cannot infer contextual base in reference to member 'public'
31 | logger.debug("\(message, privacy: .public)")
32 | case .info:
33 | logger.info("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
34 | case .warn:
35 | logger.warning("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:35:50: error: extra argument 'privacy' in call
33 | logger.info("\(message, privacy: .public)")
34 | case .warn:
35 | logger.warning("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
36 | case .error:
37 | logger.error("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:35:50: error: cannot infer contextual base in reference to member 'public'
33 | logger.info("\(message, privacy: .public)")
34 | case .warn:
35 | logger.warning("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
36 | case .error:
37 | logger.error("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:37:48: error: extra argument 'privacy' in call
35 | logger.warning("\(message, privacy: .public)")
36 | case .error:
37 | logger.error("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
38 | }
39 | }
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:37:48: error: cannot infer contextual base in reference to member 'public'
35 | logger.warning("\(message, privacy: .public)")
36 | case .error:
37 | logger.error("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
38 | }
39 | }
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:49:48: error: extra argument 'privacy' in call
47 | switch level {
48 | case .trace:
49 | logger.trace("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
50 | case .debug:
51 | logger.debug("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:49:48: error: cannot infer contextual base in reference to member 'public'
47 | switch level {
48 | case .trace:
49 | logger.trace("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
50 | case .debug:
51 | logger.debug("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:51:48: error: extra argument 'privacy' in call
49 | logger.trace("\(message, privacy: .public)")
50 | case .debug:
51 | logger.debug("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
52 | case .info:
53 | logger.info("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:51:48: error: cannot infer contextual base in reference to member 'public'
49 | logger.trace("\(message, privacy: .public)")
50 | case .debug:
51 | logger.debug("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
52 | case .info:
53 | logger.info("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:53:47: error: extra argument 'privacy' in call
51 | logger.debug("\(message, privacy: .public)")
52 | case .info:
53 | logger.info("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
54 | case .warn:
55 | logger.warning("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:53:47: error: cannot infer contextual base in reference to member 'public'
51 | logger.debug("\(message, privacy: .public)")
52 | case .info:
53 | logger.info("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
54 | case .warn:
55 | logger.warning("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:55:50: error: extra argument 'privacy' in call
53 | logger.info("\(message, privacy: .public)")
54 | case .warn:
55 | logger.warning("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
56 | case .error:
57 | logger.error("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:55:50: error: cannot infer contextual base in reference to member 'public'
53 | logger.info("\(message, privacy: .public)")
54 | case .warn:
55 | logger.warning("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
56 | case .error:
57 | logger.error("\(message, privacy: .public)")
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:57:48: error: extra argument 'privacy' in call
55 | logger.warning("\(message, privacy: .public)")
56 | case .error:
57 | logger.error("\(message, privacy: .public)")
| `- error: extra argument 'privacy' in call
58 | }
59 | }
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:57:48: error: cannot infer contextual base in reference to member 'public'
55 | logger.warning("\(message, privacy: .public)")
56 | case .error:
57 | logger.error("\(message, privacy: .public)")
| `- error: cannot infer contextual base in reference to member 'public'
58 | }
59 | }
[7/12] Compiling Logboard ConsoleAppender.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] Emitting module Logboard
/host/spi-builder-workspace/Sources/Logboard/OSLoggerAppender.swift:14:25: error: cannot find type 'Logger' in scope
12 | @available(watchOS 7.0, *)
13 | public class OSLoggerAppender: LBLoggerAppender {
14 | private let logger: Logger
| `- error: cannot find type 'Logger' in scope
15 |
16 | /// Creates a logger using the specified subsystem and category.
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:64:22: error: cannot find 'DispatchQueue' in scope
62 | var inputStream: InputStream?
63 | var outputStream: OutputStream?
64 | var inputQueue = DispatchQueue(label: "com.haishinkit.HaishinKit.NetSocket.input")
| `- error: cannot find 'DispatchQueue' in scope
65 |
66 | private var buffer: UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:68:31: error: cannot find 'DispatchQueue' in scope
66 | private var buffer: UnsafeMutablePointer<UInt8>?
67 | private var runloop: RunLoop?
68 | private let outputQueue = DispatchQueue(label: "com.haishinkit.HaishinKit.NetSocket.output")
| `- error: cannot find 'DispatchQueue' in scope
69 | private var timeoutHandler: (() -> Void)?
70 |
[9/12] Compiling Logboard LBLogger.Data.swift
[10/12] Compiling Logboard MultiAppender.swift
[11/12] Compiling Logboard LBLogger.swift
[12/12] Compiling Logboard SocketAppender.swift
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:64:22: error: cannot find 'DispatchQueue' in scope
62 | var inputStream: InputStream?
63 | var outputStream: OutputStream?
64 | var inputQueue = DispatchQueue(label: "com.haishinkit.HaishinKit.NetSocket.input")
| `- error: cannot find 'DispatchQueue' in scope
65 |
66 | private var buffer: UnsafeMutablePointer<UInt8>?
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:68:31: error: cannot find 'DispatchQueue' in scope
66 | private var buffer: UnsafeMutablePointer<UInt8>?
67 | private var runloop: RunLoop?
68 | private let outputQueue = DispatchQueue(label: "com.haishinkit.HaishinKit.NetSocket.output")
| `- error: cannot find 'DispatchQueue' in scope
69 | private var timeoutHandler: (() -> Void)?
70 |
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:75:13: error: cannot find 'CFStreamCreatePairWithSocketToHost' in scope
73 | var readStream: Unmanaged<CFReadStream>?
74 | var writeStream: Unmanaged<CFWriteStream>?
75 | CFStreamCreatePairWithSocketToHost(
| `- error: cannot find 'CFStreamCreatePairWithSocketToHost' in scope
76 | kCFAllocatorDefault,
77 | withName as CFString,
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:76:17: error: cannot find 'kCFAllocatorDefault' in scope
74 | var writeStream: Unmanaged<CFWriteStream>?
75 | CFStreamCreatePairWithSocketToHost(
76 | kCFAllocatorDefault,
| `- error: cannot find 'kCFAllocatorDefault' in scope
77 | withName as CFString,
78 | UInt32(port),
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:73:39: error: cannot find type 'CFReadStream' in scope
71 | func connect(withName: String, port: Int) {
72 | inputQueue.async {
73 | var readStream: Unmanaged<CFReadStream>?
| `- error: cannot find type 'CFReadStream' in scope
74 | var writeStream: Unmanaged<CFWriteStream>?
75 | CFStreamCreatePairWithSocketToHost(
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:72:20: error: type of expression is ambiguous without a type annotation
70 |
71 | func connect(withName: String, port: Int) {
72 | inputQueue.async {
| `- error: type of expression is ambiguous without a type annotation
73 | var readStream: Unmanaged<CFReadStream>?
74 | var writeStream: Unmanaged<CFWriteStream>?
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:122:13: error: cannot find 'CFRunLoopStop' in scope
120 | self.deinitConnection(isDisconnected: isDisconnected)
121 | self.runloop = nil
122 | CFRunLoopStop(runloop.getCFRunLoop())
| `- error: cannot find 'CFRunLoopStop' in scope
123 | }
124 | }
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:122:35: error: value of type 'RunLoop' has no member 'getCFRunLoop'
120 | self.deinitConnection(isDisconnected: isDisconnected)
121 | self.runloop = nil
122 | CFRunLoopStop(runloop.getCFRunLoop())
| `- error: value of type 'RunLoop' has no member 'getCFRunLoop'
123 | }
124 | }
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:144:20: error: 'current' is unavailable: RunLoop is not available on WASI
142 | }
143 |
144 | runloop = .current
| `- error: 'current' is unavailable: RunLoop is not available on WASI
145 |
146 | inputStream.delegate = self
Foundation.RunLoop.current:3:18: note: 'current' has been explicitly marked unavailable here
1 | class RunLoop {
2 | @available(*, unavailable, message: "RunLoop is not available on WASI")
3 | open class var current: RunLoop { get }}
| `- note: 'current' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:148:47: error: argument type 'String' expected to be an instance of a class or class-constrained type
146 | inputStream.delegate = self
147 | inputStream.schedule(in: runloop!, forMode: RunLoop.Mode.default)
148 | inputStream.setProperty(securityLevel.rawValue, forKey: .socketSecurityLevelKey)
| `- error: argument type 'String' expected to be an instance of a class or class-constrained type
149 |
150 | outputStream.delegate = self
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:152:48: error: argument type 'String' expected to be an instance of a class or class-constrained type
150 | outputStream.delegate = self
151 | outputStream.schedule(in: runloop!, forMode: RunLoop.Mode.default)
152 | outputStream.setProperty(securityLevel.rawValue, forKey: .socketSecurityLevelKey)
| `- error: argument type 'String' expected to be an instance of a class or class-constrained type
153 |
154 | inputStream.open()
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:158:78: error: cannot find 'NSEC_PER_SEC' in scope
156 |
157 | if 0 < timeout {
158 | outputQueue.asyncAfter(deadline: .now() + Double(timeout * Int64(NSEC_PER_SEC)) / Double(NSEC_PER_SEC)) {
| `- error: cannot find 'NSEC_PER_SEC' in scope
159 | guard let timeoutHandler: (() -> Void) = self.timeoutHandler else {
160 | return
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:158:102: error: cannot find 'NSEC_PER_SEC' in scope
156 |
157 | if 0 < timeout {
158 | outputQueue.asyncAfter(deadline: .now() + Double(timeout * Int64(NSEC_PER_SEC)) / Double(NSEC_PER_SEC)) {
| `- error: cannot find 'NSEC_PER_SEC' in scope
159 | guard let timeoutHandler: (() -> Void) = self.timeoutHandler else {
160 | return
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:158:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
156 |
157 | if 0 < timeout {
158 | outputQueue.asyncAfter(deadline: .now() + Double(timeout * Int64(NSEC_PER_SEC)) / Double(NSEC_PER_SEC)) {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
159 | guard let timeoutHandler: (() -> Void) = self.timeoutHandler else {
160 | return
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:166:18: error: value of type 'RunLoop' has no member 'run'
164 | }
165 |
166 | runloop?.run()
| `- error: value of type 'RunLoop' has no member 'run'
167 | connected = false
168 | }
BUILD FAILURE 6.1 wasm