Build Information
Failed to build Logboard, reference 2.6.0 (8f41c6), with Swift 6.1 for Android on 6 Oct 2025 18:27:21 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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: android
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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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.75s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (2.63s)
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.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.87s)
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
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
[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 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 | }
[6/13] Compiling Logboard LBLoggerAppender.swift
[7/13] Compiling Logboard MultiAppender.swift
[8/13] 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) {
[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 ConsoleAppender.swift
[11/13] Compiling Logboard LBLogger.Data.swift
[12/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.
[13/13] Compiling Logboard SocketAppender.swift
/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:26: error: trailing closure passed to parameter of type 'DispatchWorkItem' that does not accept a closure
70 |
71 | func connect(withName: String, port: Int) {
72 | inputQueue.async {
| `- error: trailing closure passed to parameter of type 'DispatchWorkItem' that does not accept a closure
73 | var readStream: Unmanaged<CFReadStream>?
74 | var writeStream: Unmanaged<CFWriteStream>?
Dispatch.DispatchQueue.async:3:15: note: 'async(execute:)' declared here
1 | class DispatchQueue {
2 | @available(macOS 10.10, iOS 8.0, *)
3 | public func async(execute workItem: DispatchWorkItem)}
| `- note: 'async(execute:)' declared here
4 |
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:95:17: warning: capture of 'self' with non-sendable type 'NetSocket' in a '@Sendable' closure; this is an error in the Swift 6 language mode
50 | }
51 |
52 | class NetSocket: NSObject {
| `- note: class 'NetSocket' does not conform to the 'Sendable' protocol
53 | static let defaultTimeout: Int64 = 15 // sec
54 | static let defaultWindowSizeC: Int = Int(UInt16.max)
:
93 | return
94 | }
95 | self.doOutputProcess(bytes, maxLength: data.count)
| `- warning: capture of 'self' with non-sendable type 'NetSocket' in a '@Sendable' closure; this is an error in the Swift 6 language mode
96 | }
97 | }
/host/spi-builder-workspace/Sources/Logboard/SocketAppender.swift:95:17: warning: capture of 'self' with non-sendable type 'NetSocket' in an isolated closure; this is an error in the Swift 6 language mode
50 | }
51 |
52 | class NetSocket: NSObject {
| `- note: class 'NetSocket' does not conform to the 'Sendable' protocol
53 | static let defaultTimeout: Int64 = 15 // sec
54 | static let defaultWindowSizeC: Int = Int(UInt16.max)
:
93 | return
94 | }
95 | self.doOutputProcess(bytes, maxLength: data.count)
| `- warning: capture of 'self' with non-sendable type 'NetSocket' in an isolated closure; this is an error in the Swift 6 language mode
96 | }
97 | }
/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: 'getCFRunLoop' is inaccessible due to 'internal' protection level
120 | self.deinitConnection(isDisconnected: isDisconnected)
121 | self.runloop = nil
122 | CFRunLoopStop(runloop.getCFRunLoop())
| `- error: 'getCFRunLoop' is inaccessible due to 'internal' protection level
123 | }
124 | }
Foundation.RunLoop.getCFRunLoop:2:15: note: 'getCFRunLoop()' declared here
1 | class RunLoop {
2 | internal func getCFRunLoop() -> Never}
| `- note: 'getCFRunLoop()' declared here
3 |
/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
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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] 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.
[5/12] Compiling Logboard NullAppender.swift
[6/12] Compiling Logboard LBLoggerAppender.swift
[7/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 | }
[8/12] Compiling Logboard MultiAppender.swift
[9/12] Compiling Logboard ConsoleAppender.swift
[10/12] Compiling Logboard LBLogger.Data.swift
[11/12] Compiling Logboard LBLogger.swift
[12/12] Compiling Logboard SocketAppender.swift
/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:26: error: trailing closure passed to parameter of type 'DispatchWorkItem' that does not accept a closure
70 |
71 | func connect(withName: String, port: Int) {
72 | inputQueue.async {
| `- error: trailing closure passed to parameter of type 'DispatchWorkItem' that does not accept a closure
73 | var readStream: Unmanaged<CFReadStream>?
74 | var writeStream: Unmanaged<CFWriteStream>?
Dispatch.DispatchQueue.async:3:15: note: 'async(execute:)' declared here
1 | class DispatchQueue {
2 | @available(macOS 10.10, iOS 8.0, *)
3 | public func async(execute workItem: DispatchWorkItem)}
| `- note: 'async(execute:)' declared here
4 |
/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: 'getCFRunLoop' is inaccessible due to 'internal' protection level
120 | self.deinitConnection(isDisconnected: isDisconnected)
121 | self.runloop = nil
122 | CFRunLoopStop(runloop.getCFRunLoop())
| `- error: 'getCFRunLoop' is inaccessible due to 'internal' protection level
123 | }
124 | }
Foundation.RunLoop.getCFRunLoop:2:15: note: 'getCFRunLoop()' declared here
1 | class RunLoop {
2 | internal func getCFRunLoop() -> Never}
| `- note: 'getCFRunLoop()' declared here
3 |
/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
BUILD FAILURE 6.1 android