Build Information
Failed to build Logger, reference main (c6d619
), with Swift 6.1 for Android on 29 May 2025 22:22:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Logger.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/elegantchaos/Logger
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c6d6198 bumped minimum iOS to 13
Cloned https://github.com/elegantchaos/Logger.git
Revision (git rev-parse @):
c6d619809e9a658331a70514340f4246f5f05134
SUCCESS checkout https://github.com/elegantchaos/Logger.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/elegantchaos/Logger.git
https://github.com/elegantchaos/Logger.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Logger",
"name" : "Logger",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "Logger",
"targets" : [
"Logger"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LoggerUI",
"targets" : [
"LoggerUI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LoggerKit",
"targets" : [
"LoggerKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LoggerTestSupport",
"targets" : [
"LoggerTestSupport"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LoggerUI",
"module_type" : "SwiftTarget",
"name" : "LoggerUI",
"path" : "Sources/LoggerUI",
"product_memberships" : [
"LoggerUI"
],
"sources" : [
"LoggerChannelsView.swift"
],
"target_dependencies" : [
"Logger"
],
"type" : "library"
},
{
"c99name" : "LoggerTests",
"module_type" : "SwiftTarget",
"name" : "LoggerTests",
"path" : "Tests/LoggerTests",
"sources" : [
"LoggerTests.swift",
"UserDefaultsTests.swift"
],
"target_dependencies" : [
"Logger",
"LoggerTestSupport"
],
"type" : "test"
},
{
"c99name" : "LoggerTestSupport",
"module_type" : "SwiftTarget",
"name" : "LoggerTestSupport",
"path" : "Sources/LoggerTestSupport",
"product_memberships" : [
"LoggerTestSupport"
],
"sources" : [
"XCTest+Logger.swift"
],
"target_dependencies" : [
"Logger"
],
"type" : "library"
},
{
"c99name" : "LoggerKitTests",
"module_type" : "SwiftTarget",
"name" : "LoggerKitTests",
"path" : "Tests/LoggerKitTests",
"sources" : [
"ChainableResponderTests.swift"
],
"target_dependencies" : [
"LoggerKit",
"LoggerTestSupport"
],
"type" : "test"
},
{
"c99name" : "LoggerKit",
"module_type" : "SwiftTarget",
"name" : "LoggerKit",
"path" : "Sources/LoggerKit",
"product_memberships" : [
"LoggerKit"
],
"sources" : [
"ChainableResponder.swift",
"LoggerApplication+AppKit.swift",
"LoggerApplication+LoggerMenu.swift",
"LoggerApplication+UIKit.swift",
"LoggerApplication.swift",
"LoggerMenu+AppKit.swift",
"LoggerMenu+UIKit.swift",
"LoggerScene.swift",
"LoggerSettingsView.swift"
],
"target_dependencies" : [
"Logger"
],
"type" : "library"
},
{
"c99name" : "Logger",
"module_type" : "SwiftTarget",
"name" : "Logger",
"path" : "Sources/Logger",
"product_memberships" : [
"Logger",
"LoggerUI",
"LoggerKit",
"LoggerTestSupport"
],
"sources" : [
"Channel.swift",
"Context.swift",
"Handler.swift",
"Manager.swift",
"ManagerSettings.swift",
"NSLogHandler.swift",
"OSLogHandler.swift",
"PrintHandler.swift",
"UserDefaultsManagerSettings.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/14] Compiling Logger OSLogHandler.swift
[7/14] Compiling Logger PrintHandler.swift
[8/14] Compiling Logger NSLogHandler.swift
[9/15] Compiling Logger UserDefaultsManagerSettings.swift
[10/15] Compiling Logger ManagerSettings.swift
[11/15] Compiling Logger Manager.swift
/host/spi-builder-workspace/Sources/Logger/Manager.swift:59:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Manager' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// whether or not they should share a single settings object.
22 |
23 | public class Manager {
| `- note: class 'Manager' does not conform to the 'Sendable' protocol
24 | typealias AssociatedChannelData = [Channel: Any]
25 | typealias AssociatedHandlerData = [Handler: AssociatedChannelData]
:
57 | */
58 |
59 | public static let shared = initDefaultManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Manager' 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
60 |
61 | /// Initialise the default log manager.
/host/spi-builder-workspace/Sources/Logger/Manager.swift:66:38: error: value of type '@Sendable (Thread) -> () -> ()' has no member 'threadDictionary'
64 | /// We really do want there to only be a single instance of this, even if the logger library has mistakenly been
65 | /// linked multiple times, so we store it in the thread dictionary for the main thread, and retrieve it from there if necessary
66 | if let manager = Thread.main.threadDictionary["Logger.Manager"] {
| `- error: value of type '@Sendable (Thread) -> () -> ()' has no member 'threadDictionary'
67 | return unsafeBitCast(manager as AnyObject, to: Self.self) // a normal cast might fail here if the code has been linked multiple times, since the class could be different (but identical)
68 | }
/host/spi-builder-workspace/Sources/Logger/Manager.swift:74:25: error: value of type '@Sendable (Thread) -> () -> ()' has no member 'threadDictionary'
72 |
73 | #if !os(Linux)
74 | Thread.main.threadDictionary["Logger.Manager"] = manager
| `- error: value of type '@Sendable (Thread) -> () -> ()' has no member 'threadDictionary'
75 | #endif
76 |
/host/spi-builder-workspace/Sources/Logger/Manager.swift:174:13: warning: capture of 'self' with non-sendable type 'Manager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 | /// whether or not they should share a single settings object.
22 |
23 | public class Manager {
| `- note: class 'Manager' does not conform to the 'Sendable' protocol
24 | typealias AssociatedChannelData = [Channel: Any]
25 | typealias AssociatedHandlerData = [Handler: AssociatedChannelData]
:
172 | internal func register(channel: Channel) {
173 | queue.async {
174 | self.channels.append(channel)
| `- warning: capture of 'self' with non-sendable type 'Manager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | #if os(macOS) || os(iOS)
176 | DispatchQueue.main.async {
/host/spi-builder-workspace/Sources/Logger/Manager.swift:174:34: warning: capture of 'channel' with non-sendable type 'Channel' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | internal func register(channel: Channel) {
173 | queue.async {
174 | self.channels.append(channel)
| `- warning: capture of 'channel' with non-sendable type 'Channel' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | #if os(macOS) || os(iOS)
176 | DispatchQueue.main.async {
/host/spi-builder-workspace/Sources/Logger/Channel.swift:15:14: note: class 'Channel' does not conform to the 'Sendable' protocol
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 | /**
17 | Default log handler which prints to standard out,
[12/15] Compiling Logger Handler.swift
[13/15] Emitting module Logger
/host/spi-builder-workspace/Sources/Logger/Channel.swift:21:23: warning: static property 'stdoutHandler' is not concurrency-safe because non-'Sendable' type 'PrintHandler' may have shared mutable state; this is an error in the Swift 6 language mode
19 | */
20 |
21 | public static let stdoutHandler = PrintHandler("default", showName: false, showSubsystem: false)
| |- warning: static property 'stdoutHandler' is not concurrency-safe because non-'Sendable' type 'PrintHandler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stdoutHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /**
/host/spi-builder-workspace/Sources/Logger/PrintHandler.swift:11:14: note: class 'PrintHandler' does not conform to the 'Sendable' protocol
9 | */
10 |
11 | public class PrintHandler: Handler {
| `- note: class 'PrintHandler' does not conform to the 'Sendable' protocol
12 | public convenience init() {
13 | self.init("print")
/host/spi-builder-workspace/Sources/Logger/Channel.swift:42:23: warning: static property 'defaultHandler' is not concurrency-safe because non-'Sendable' type 'Handler' may have shared mutable state; this is an error in the Swift 6 language mode
40 | }
41 |
42 | public static let defaultHandler = initDefaultHandler()
| |- warning: static property 'defaultHandler' is not concurrency-safe because non-'Sendable' type 'Handler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /**
/host/spi-builder-workspace/Sources/Logger/Handler.swift:14:14: note: class 'Handler' does not conform to the 'Sendable' protocol
12 | */
13 |
14 | public class Handler {
| `- note: class 'Handler' does not conform to the 'Sendable' protocol
15 | let name: String
16 | let showName: Bool
/host/spi-builder-workspace/Sources/Logger/Channel.swift:65:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 | /**
17 | Default log handler which prints to standard out,
:
63 | */
64 |
65 | public static let stdout = Channel("stdout", handlers: [stdoutHandler], alwaysEnabled: true)
| |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public let name: String
/host/spi-builder-workspace/Sources/Logger/Manager.swift:59:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Manager' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// whether or not they should share a single settings object.
22 |
23 | public class Manager {
| `- note: class 'Manager' does not conform to the 'Sendable' protocol
24 | typealias AssociatedChannelData = [Channel: Any]
25 | typealias AssociatedHandlerData = [Handler: AssociatedChannelData]
:
57 | */
58 |
59 | public static let shared = initDefaultManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Manager' 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
60 |
61 | /// Initialise the default log manager.
[14/15] Compiling Logger Channel.swift
/host/spi-builder-workspace/Sources/Logger/Channel.swift:21:23: warning: static property 'stdoutHandler' is not concurrency-safe because non-'Sendable' type 'PrintHandler' may have shared mutable state; this is an error in the Swift 6 language mode
19 | */
20 |
21 | public static let stdoutHandler = PrintHandler("default", showName: false, showSubsystem: false)
| |- warning: static property 'stdoutHandler' is not concurrency-safe because non-'Sendable' type 'PrintHandler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stdoutHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /**
/host/spi-builder-workspace/Sources/Logger/PrintHandler.swift:11:14: note: class 'PrintHandler' does not conform to the 'Sendable' protocol
9 | */
10 |
11 | public class PrintHandler: Handler {
| `- note: class 'PrintHandler' does not conform to the 'Sendable' protocol
12 | public convenience init() {
13 | self.init("print")
/host/spi-builder-workspace/Sources/Logger/Channel.swift:42:23: warning: static property 'defaultHandler' is not concurrency-safe because non-'Sendable' type 'Handler' may have shared mutable state; this is an error in the Swift 6 language mode
40 | }
41 |
42 | public static let defaultHandler = initDefaultHandler()
| |- warning: static property 'defaultHandler' is not concurrency-safe because non-'Sendable' type 'Handler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /**
/host/spi-builder-workspace/Sources/Logger/Handler.swift:14:14: note: class 'Handler' does not conform to the 'Sendable' protocol
12 | */
13 |
14 | public class Handler {
| `- note: class 'Handler' does not conform to the 'Sendable' protocol
15 | let name: String
16 | let showName: Bool
/host/spi-builder-workspace/Sources/Logger/Channel.swift:65:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 | /**
17 | Default log handler which prints to standard out,
:
63 | */
64 |
65 | public static let stdout = Channel("stdout", handlers: [stdoutHandler], alwaysEnabled: true)
| |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public let name: String
/host/spi-builder-workspace/Sources/Logger/Channel.swift:123:17: warning: capture of 'self' with non-sendable type 'Channel' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 | /**
17 | Default log handler which prints to standard out,
:
121 | manager.queue.async {
122 | let context = Context(file: file, line: line, column: column, function: function)
123 | self.handlers.forEach { $0.log(channel: self, context: context, logged: value) }
| `- warning: capture of 'self' with non-sendable type 'Channel' in a '@Sendable' closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/host/spi-builder-workspace/Sources/Logger/Channel.swift:123:89: warning: capture of 'value' with non-sendable type 'Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
121 | manager.queue.async {
122 | let context = Context(file: file, line: line, column: column, function: function)
123 | self.handlers.forEach { $0.log(channel: self, context: context, logged: value) }
| `- warning: capture of 'value' with non-sendable type 'Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/host/spi-builder-workspace/Sources/Logger/Channel.swift:123:57: warning: capture of 'self' with non-sendable type 'Channel' in an isolated closure; this is an error in the Swift 6 language mode
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 | /**
17 | Default log handler which prints to standard out,
:
121 | manager.queue.async {
122 | let context = Context(file: file, line: line, column: column, function: function)
123 | self.handlers.forEach { $0.log(channel: self, context: context, logged: value) }
| `- warning: capture of 'self' with non-sendable type 'Channel' in an isolated closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/host/spi-builder-workspace/Sources/Logger/Channel.swift:123:89: warning: capture of 'value' with non-sendable type 'Any' in an isolated closure; this is an error in the Swift 6 language mode
121 | manager.queue.async {
122 | let context = Context(file: file, line: line, column: column, function: function)
123 | self.handlers.forEach { $0.log(channel: self, context: context, logged: value) }
| `- warning: capture of 'value' with non-sendable type 'Any' in an isolated closure; this is an error in the Swift 6 language mode
124 | }
125 | }
[15/15] Compiling Logger Context.swift
/host/spi-builder-workspace/Sources/Logger/Channel.swift:21:23: warning: static property 'stdoutHandler' is not concurrency-safe because non-'Sendable' type 'PrintHandler' may have shared mutable state; this is an error in the Swift 6 language mode
19 | */
20 |
21 | public static let stdoutHandler = PrintHandler("default", showName: false, showSubsystem: false)
| |- warning: static property 'stdoutHandler' is not concurrency-safe because non-'Sendable' type 'PrintHandler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stdoutHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /**
/host/spi-builder-workspace/Sources/Logger/PrintHandler.swift:11:14: note: class 'PrintHandler' does not conform to the 'Sendable' protocol
9 | */
10 |
11 | public class PrintHandler: Handler {
| `- note: class 'PrintHandler' does not conform to the 'Sendable' protocol
12 | public convenience init() {
13 | self.init("print")
/host/spi-builder-workspace/Sources/Logger/Channel.swift:42:23: warning: static property 'defaultHandler' is not concurrency-safe because non-'Sendable' type 'Handler' may have shared mutable state; this is an error in the Swift 6 language mode
40 | }
41 |
42 | public static let defaultHandler = initDefaultHandler()
| |- warning: static property 'defaultHandler' is not concurrency-safe because non-'Sendable' type 'Handler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /**
/host/spi-builder-workspace/Sources/Logger/Handler.swift:14:14: note: class 'Handler' does not conform to the 'Sendable' protocol
12 | */
13 |
14 | public class Handler {
| `- note: class 'Handler' does not conform to the 'Sendable' protocol
15 | let name: String
16 | let showName: Bool
/host/spi-builder-workspace/Sources/Logger/Channel.swift:65:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 | /**
17 | Default log handler which prints to standard out,
:
63 | */
64 |
65 | public static let stdout = Channel("stdout", handlers: [stdoutHandler], alwaysEnabled: true)
| |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public let name: String
/host/spi-builder-workspace/Sources/Logger/Channel.swift:123:17: warning: capture of 'self' with non-sendable type 'Channel' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 | /**
17 | Default log handler which prints to standard out,
:
121 | manager.queue.async {
122 | let context = Context(file: file, line: line, column: column, function: function)
123 | self.handlers.forEach { $0.log(channel: self, context: context, logged: value) }
| `- warning: capture of 'self' with non-sendable type 'Channel' in a '@Sendable' closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/host/spi-builder-workspace/Sources/Logger/Channel.swift:123:89: warning: capture of 'value' with non-sendable type 'Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
121 | manager.queue.async {
122 | let context = Context(file: file, line: line, column: column, function: function)
123 | self.handlers.forEach { $0.log(channel: self, context: context, logged: value) }
| `- warning: capture of 'value' with non-sendable type 'Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/host/spi-builder-workspace/Sources/Logger/Channel.swift:123:57: warning: capture of 'self' with non-sendable type 'Channel' in an isolated closure; this is an error in the Swift 6 language mode
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 | /**
17 | Default log handler which prints to standard out,
:
121 | manager.queue.async {
122 | let context = Context(file: file, line: line, column: column, function: function)
123 | self.handlers.forEach { $0.log(channel: self, context: context, logged: value) }
| `- warning: capture of 'self' with non-sendable type 'Channel' in an isolated closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/host/spi-builder-workspace/Sources/Logger/Channel.swift:123:89: warning: capture of 'value' with non-sendable type 'Any' in an isolated closure; this is an error in the Swift 6 language mode
121 | manager.queue.async {
122 | let context = Context(file: file, line: line, column: column, function: function)
123 | self.handlers.forEach { $0.log(channel: self, context: context, logged: value) }
| `- warning: capture of 'value' with non-sendable type 'Any' in an isolated closure; this is an error in the Swift 6 language mode
124 | }
125 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling Logger OSLogHandler.swift
[3/11] Compiling Logger ManagerSettings.swift
[4/11] Compiling Logger NSLogHandler.swift
[5/11] Compiling Logger PrintHandler.swift
[6/11] Compiling Logger Handler.swift
[7/11] Emitting module Logger
[8/11] Compiling Logger Channel.swift
[9/11] Compiling Logger Context.swift
[10/11] Compiling Logger Manager.swift
/host/spi-builder-workspace/Sources/Logger/Manager.swift:66:38: error: value of type '(Thread) -> () -> ()' has no member 'threadDictionary'
64 | /// We really do want there to only be a single instance of this, even if the logger library has mistakenly been
65 | /// linked multiple times, so we store it in the thread dictionary for the main thread, and retrieve it from there if necessary
66 | if let manager = Thread.main.threadDictionary["Logger.Manager"] {
| `- error: value of type '(Thread) -> () -> ()' has no member 'threadDictionary'
67 | return unsafeBitCast(manager as AnyObject, to: Self.self) // a normal cast might fail here if the code has been linked multiple times, since the class could be different (but identical)
68 | }
/host/spi-builder-workspace/Sources/Logger/Manager.swift:74:25: error: value of type '(Thread) -> () -> ()' has no member 'threadDictionary'
72 |
73 | #if !os(Linux)
74 | Thread.main.threadDictionary["Logger.Manager"] = manager
| `- error: value of type '(Thread) -> () -> ()' has no member 'threadDictionary'
75 | #endif
76 |
[11/11] Compiling Logger UserDefaultsManagerSettings.swift
BUILD FAILURE 6.1 android