Build Information
Failed to build Acheron, reference master (9f4c26
), with Swift 6.1 for Linux on 27 Apr 2025 23:53:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
57 | group.enter()
58 | self.concurrent.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:59:38: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
57 | group.enter()
58 | self.concurrent.async {
59 | let result: U? = self.worker(key)
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
60 | self.serial.async {
61 | if let result {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:59:50: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
57 | group.enter()
58 | self.concurrent.async {
59 | let result: U? = self.worker(key)
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
60 | self.serial.async {
61 | if let result {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:61:32: warning: capture of 'result' with non-sendable type 'U?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
59 | let result: U? = self.worker(key)
60 | self.serial.async {
61 | if let result {
| `- warning: capture of 'result' with non-sendable type 'U?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 | if self.report { print("[ \(self.label) ] complete [ \(key) ]") }
63 | self.cache[key] = result
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:62:32: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
60 | self.serial.async {
61 | if let result {
62 | if self.report { print("[ \(self.label) ] complete [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | self.cache[key] = result
64 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:62:84: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
60 | self.serial.async {
61 | if let result {
62 | if self.report { print("[ \(self.label) ] complete [ \(key) ]") }
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | self.cache[key] = result
64 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:72:32: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
70 | }
71 | group.notify(queue: self.serial) {
72 | keys.forEach { self.complete?($0) }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
73 | self.startWorking()
74 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:72:32: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
70 | }
71 | group.notify(queue: self.serial) {
72 | keys.forEach { self.complete?($0) }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
73 | self.startWorking()
74 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:80:39: warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
78 | guard keys.count > 0 else { return }
79 | serial.async {
80 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | guard newKeys.count > 0 else { return }
82 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:80:57: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
78 | guard keys.count > 0 else { return }
79 | serial.async {
80 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | guard newKeys.count > 0 else { return }
82 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:82:53: warning: implicit capture of 'self' requires that 'AsyncMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
80 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
81 | guard newKeys.count > 0 else { return }
82 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
| `- warning: implicit capture of 'self' requires that 'AsyncMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
83 | self.requestedKeys.formUnion(newKeys)
84 | if restart {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:99:16: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
97 | func scheduleWipe() {
98 | serial.async {
99 | if self.working { self.needsWipe = true }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | else { self.wipe() }
101 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:12:24: warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | class Log {
12 | private static var url: URL? = nil
| |- warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'url' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'url' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func setPath(_ path: String) {
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:17:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
15 | url = URL(fileURLWithPath: path)
16 | if !FileManager.default.fileExists(atPath: url!.path) {
17 | FileManager.default.createFile(atPath: url!.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
18 | }
19 | }
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:36:68: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
34 | state = .running
35 | DispatchQueue.main.async {
36 | let dashes: String = String(repeating: "-", count: (32-self.name.count)/2)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
37 | Log.print("\n \(dashes)\(self.name.count % 2 == 1 ? "-" : "") [ \(self.name) ] \(dashes)")
38 | self.payload { (success: Bool) in
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:39:17: warning: sending 'pond' risks causing data races; this is an error in the Swift 6 language mode
37 | Log.print("\n \(dashes)\(self.name.count % 2 == 1 ? "-" : "") [ \(self.name) ] \(dashes)")
38 | self.payload { (success: Bool) in
39 | pond.queue.async {
| |- warning: sending 'pond' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'pond' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | self.state = success ? .succeeded : .failed
41 | pond.iterate()
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pond.swift:39:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
37 | print("\n =======================\n")
38 |
39 | DispatchQueue.main.async { self.onCompleted() }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | }
41 |
[8/63] Compiling Acheron AsyncMap.swift
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:40:21: warning: capture of 'self' with non-sendable type 'Pebble' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class Pebble {
| `- note: class 'Pebble' does not conform to the 'Sendable' protocol
12 | public enum State {
13 | case pending, running, succeeded, failed
:
38 | self.payload { (success: Bool) in
39 | pond.queue.async {
40 | self.state = success ? .succeeded : .failed
| `- warning: capture of 'self' with non-sendable type 'Pebble' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | pond.iterate()
42 | }
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:41:21: warning: capture of 'pond' with non-sendable type 'Pond' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | pond.queue.async {
40 | self.state = success ? .succeeded : .failed
41 | pond.iterate()
| `- warning: capture of 'pond' with non-sendable type 'Pond' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pond.swift:11:12: note: class 'Pond' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | open class Pond {
| `- note: class 'Pond' does not conform to the 'Sendable' protocol
12 | private var pebbles: [Pebble] = []
13 | let queue: DispatchQueue = DispatchQueue(label: "pond")
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pond.swift:67:13: warning: capture of 'self' with non-sendable type 'Pond' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class Pond {
| `- note: class 'Pond' does not conform to the 'Sendable' protocol
12 | private var pebbles: [Pebble] = []
13 | let queue: DispatchQueue = DispatchQueue(label: "pond")
:
65 | queue.async {
66 | print("\n[ Pond Starting ] ====================================")
67 | self.iterate()
| `- warning: capture of 'self' with non-sendable type 'Pond' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 | }
69 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:43:13: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
41 | private func startWorking() {
42 | serial.async {
43 | self.working = true
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | let keys: [T] = Array(self.requestedKeys)
45 | guard keys.count > 0 else {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:56:20: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
54 | let group: DispatchGroup = DispatchGroup()
55 | keys.forEach { (key: T) in
56 | if self.report { print("[ \(self.label) ] request [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
57 | group.enter()
58 | self.concurrent.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:59:38: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
57 | group.enter()
58 | self.concurrent.async {
59 | let result: U? = self.worker(key)
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
60 | self.serial.async {
61 | if let result {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:59:50: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
57 | group.enter()
58 | self.concurrent.async {
59 | let result: U? = self.worker(key)
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
60 | self.serial.async {
61 | if let result {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:61:32: warning: capture of 'result' with non-sendable type 'U?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
59 | let result: U? = self.worker(key)
60 | self.serial.async {
61 | if let result {
| `- warning: capture of 'result' with non-sendable type 'U?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 | if self.report { print("[ \(self.label) ] complete [ \(key) ]") }
63 | self.cache[key] = result
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:62:32: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
60 | self.serial.async {
61 | if let result {
62 | if self.report { print("[ \(self.label) ] complete [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | self.cache[key] = result
64 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:62:84: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
60 | self.serial.async {
61 | if let result {
62 | if self.report { print("[ \(self.label) ] complete [ \(key) ]") }
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | self.cache[key] = result
64 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:72:32: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
70 | }
71 | group.notify(queue: self.serial) {
72 | keys.forEach { self.complete?($0) }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
73 | self.startWorking()
74 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:72:32: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
70 | }
71 | group.notify(queue: self.serial) {
72 | keys.forEach { self.complete?($0) }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
73 | self.startWorking()
74 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:80:39: warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
78 | guard keys.count > 0 else { return }
79 | serial.async {
80 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | guard newKeys.count > 0 else { return }
82 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:80:57: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
78 | guard keys.count > 0 else { return }
79 | serial.async {
80 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | guard newKeys.count > 0 else { return }
82 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:82:53: warning: implicit capture of 'self' requires that 'AsyncMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
80 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
81 | guard newKeys.count > 0 else { return }
82 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
| `- warning: implicit capture of 'self' requires that 'AsyncMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
83 | self.requestedKeys.formUnion(newKeys)
84 | if restart {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:99:16: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
97 | func scheduleWipe() {
98 | serial.async {
99 | if self.working { self.needsWipe = true }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | else { self.wipe() }
101 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:12:24: warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | class Log {
12 | private static var url: URL? = nil
| |- warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'url' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'url' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func setPath(_ path: String) {
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:17:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
15 | url = URL(fileURLWithPath: path)
16 | if !FileManager.default.fileExists(atPath: url!.path) {
17 | FileManager.default.createFile(atPath: url!.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
18 | }
19 | }
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:36:68: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
34 | state = .running
35 | DispatchQueue.main.async {
36 | let dashes: String = String(repeating: "-", count: (32-self.name.count)/2)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
37 | Log.print("\n \(dashes)\(self.name.count % 2 == 1 ? "-" : "") [ \(self.name) ] \(dashes)")
38 | self.payload { (success: Bool) in
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:39:17: warning: sending 'pond' risks causing data races; this is an error in the Swift 6 language mode
37 | Log.print("\n \(dashes)\(self.name.count % 2 == 1 ? "-" : "") [ \(self.name) ] \(dashes)")
38 | self.payload { (success: Bool) in
39 | pond.queue.async {
| |- warning: sending 'pond' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'pond' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | self.state = success ? .succeeded : .failed
41 | pond.iterate()
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pond.swift:39:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
37 | print("\n =======================\n")
38 |
39 | DispatchQueue.main.async { self.onCompleted() }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | }
41 |
[9/63] Compiling Acheron Log.swift
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:40:21: warning: capture of 'self' with non-sendable type 'Pebble' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class Pebble {
| `- note: class 'Pebble' does not conform to the 'Sendable' protocol
12 | public enum State {
13 | case pending, running, succeeded, failed
:
38 | self.payload { (success: Bool) in
39 | pond.queue.async {
40 | self.state = success ? .succeeded : .failed
| `- warning: capture of 'self' with non-sendable type 'Pebble' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | pond.iterate()
42 | }
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:41:21: warning: capture of 'pond' with non-sendable type 'Pond' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | pond.queue.async {
40 | self.state = success ? .succeeded : .failed
41 | pond.iterate()
| `- warning: capture of 'pond' with non-sendable type 'Pond' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pond.swift:11:12: note: class 'Pond' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | open class Pond {
| `- note: class 'Pond' does not conform to the 'Sendable' protocol
12 | private var pebbles: [Pebble] = []
13 | let queue: DispatchQueue = DispatchQueue(label: "pond")
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pond.swift:67:13: warning: capture of 'self' with non-sendable type 'Pond' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class Pond {
| `- note: class 'Pond' does not conform to the 'Sendable' protocol
12 | private var pebbles: [Pebble] = []
13 | let queue: DispatchQueue = DispatchQueue(label: "pond")
:
65 | queue.async {
66 | print("\n[ Pond Starting ] ====================================")
67 | self.iterate()
| `- warning: capture of 'self' with non-sendable type 'Pond' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 | }
69 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:43:13: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
41 | private func startWorking() {
42 | serial.async {
43 | self.working = true
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | let keys: [T] = Array(self.requestedKeys)
45 | guard keys.count > 0 else {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:56:20: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
54 | let group: DispatchGroup = DispatchGroup()
55 | keys.forEach { (key: T) in
56 | if self.report { print("[ \(self.label) ] request [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
57 | group.enter()
58 | self.concurrent.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:59:38: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
57 | group.enter()
58 | self.concurrent.async {
59 | let result: U? = self.worker(key)
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
60 | self.serial.async {
61 | if let result {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:59:50: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
57 | group.enter()
58 | self.concurrent.async {
59 | let result: U? = self.worker(key)
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
60 | self.serial.async {
61 | if let result {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:61:32: warning: capture of 'result' with non-sendable type 'U?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
59 | let result: U? = self.worker(key)
60 | self.serial.async {
61 | if let result {
| `- warning: capture of 'result' with non-sendable type 'U?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 | if self.report { print("[ \(self.label) ] complete [ \(key) ]") }
63 | self.cache[key] = result
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:62:32: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
60 | self.serial.async {
61 | if let result {
62 | if self.report { print("[ \(self.label) ] complete [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | self.cache[key] = result
64 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:62:84: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
60 | self.serial.async {
61 | if let result {
62 | if self.report { print("[ \(self.label) ] complete [ \(key) ]") }
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | self.cache[key] = result
64 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:72:32: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
70 | }
71 | group.notify(queue: self.serial) {
72 | keys.forEach { self.complete?($0) }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
73 | self.startWorking()
74 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:72:32: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
70 | }
71 | group.notify(queue: self.serial) {
72 | keys.forEach { self.complete?($0) }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
73 | self.startWorking()
74 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:80:39: warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
78 | guard keys.count > 0 else { return }
79 | serial.async {
80 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | guard newKeys.count > 0 else { return }
82 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:80:57: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
78 | guard keys.count > 0 else { return }
79 | serial.async {
80 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | guard newKeys.count > 0 else { return }
82 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:82:53: warning: implicit capture of 'self' requires that 'AsyncMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
80 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
81 | guard newKeys.count > 0 else { return }
82 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
| `- warning: implicit capture of 'self' requires that 'AsyncMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
83 | self.requestedKeys.formUnion(newKeys)
84 | if restart {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:99:16: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
97 | func scheduleWipe() {
98 | serial.async {
99 | if self.working { self.needsWipe = true }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | else { self.wipe() }
101 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:12:24: warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | class Log {
12 | private static var url: URL? = nil
| |- warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'url' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'url' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func setPath(_ path: String) {
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:17:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
15 | url = URL(fileURLWithPath: path)
16 | if !FileManager.default.fileExists(atPath: url!.path) {
17 | FileManager.default.createFile(atPath: url!.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
18 | }
19 | }
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:36:68: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
34 | state = .running
35 | DispatchQueue.main.async {
36 | let dashes: String = String(repeating: "-", count: (32-self.name.count)/2)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
37 | Log.print("\n \(dashes)\(self.name.count % 2 == 1 ? "-" : "") [ \(self.name) ] \(dashes)")
38 | self.payload { (success: Bool) in
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:39:17: warning: sending 'pond' risks causing data races; this is an error in the Swift 6 language mode
37 | Log.print("\n \(dashes)\(self.name.count % 2 == 1 ? "-" : "") [ \(self.name) ] \(dashes)")
38 | self.payload { (success: Bool) in
39 | pond.queue.async {
| |- warning: sending 'pond' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'pond' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | self.state = success ? .succeeded : .failed
41 | pond.iterate()
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pond.swift:39:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
37 | print("\n =======================\n")
38 |
39 | DispatchQueue.main.async { self.onCompleted() }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | }
41 |
[10/63] Compiling Acheron Pen.swift
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:40:21: warning: capture of 'self' with non-sendable type 'Pebble' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class Pebble {
| `- note: class 'Pebble' does not conform to the 'Sendable' protocol
12 | public enum State {
13 | case pending, running, succeeded, failed
:
38 | self.payload { (success: Bool) in
39 | pond.queue.async {
40 | self.state = success ? .succeeded : .failed
| `- warning: capture of 'self' with non-sendable type 'Pebble' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | pond.iterate()
42 | }
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:41:21: warning: capture of 'pond' with non-sendable type 'Pond' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | pond.queue.async {
40 | self.state = success ? .succeeded : .failed
41 | pond.iterate()
| `- warning: capture of 'pond' with non-sendable type 'Pond' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | }
43 | }
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pond.swift:11:12: note: class 'Pond' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | open class Pond {
| `- note: class 'Pond' does not conform to the 'Sendable' protocol
12 | private var pebbles: [Pebble] = []
13 | let queue: DispatchQueue = DispatchQueue(label: "pond")
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pond.swift:67:13: warning: capture of 'self' with non-sendable type 'Pond' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class Pond {
| `- note: class 'Pond' does not conform to the 'Sendable' protocol
12 | private var pebbles: [Pebble] = []
13 | let queue: DispatchQueue = DispatchQueue(label: "pond")
:
65 | queue.async {
66 | print("\n[ Pond Starting ] ====================================")
67 | self.iterate()
| `- warning: capture of 'self' with non-sendable type 'Pond' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 | }
69 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:43:13: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
41 | private func startWorking() {
42 | serial.async {
43 | self.working = true
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 | let keys: [T] = Array(self.requestedKeys)
45 | guard keys.count > 0 else {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:56:20: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
54 | let group: DispatchGroup = DispatchGroup()
55 | keys.forEach { (key: T) in
56 | if self.report { print("[ \(self.label) ] request [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
57 | group.enter()
58 | self.concurrent.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:59:38: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
57 | group.enter()
58 | self.concurrent.async {
59 | let result: U? = self.worker(key)
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
60 | self.serial.async {
61 | if let result {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:59:50: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
57 | group.enter()
58 | self.concurrent.async {
59 | let result: U? = self.worker(key)
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
60 | self.serial.async {
61 | if let result {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:61:32: warning: capture of 'result' with non-sendable type 'U?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
59 | let result: U? = self.worker(key)
60 | self.serial.async {
61 | if let result {
| `- warning: capture of 'result' with non-sendable type 'U?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 | if self.report { print("[ \(self.label) ] complete [ \(key) ]") }
63 | self.cache[key] = result
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:62:32: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
60 | self.serial.async {
61 | if let result {
62 | if self.report { print("[ \(self.label) ] complete [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | self.cache[key] = result
64 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:62:84: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
60 | self.serial.async {
61 | if let result {
62 | if self.report { print("[ \(self.label) ] complete [ \(key) ]") }
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | self.cache[key] = result
64 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:72:32: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
70 | }
71 | group.notify(queue: self.serial) {
72 | keys.forEach { self.complete?($0) }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
73 | self.startWorking()
74 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:72:32: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
70 | }
71 | group.notify(queue: self.serial) {
72 | keys.forEach { self.complete?($0) }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
73 | self.startWorking()
74 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:80:39: warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
78 | guard keys.count > 0 else { return }
79 | serial.async {
80 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | guard newKeys.count > 0 else { return }
82 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:80:57: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
78 | guard keys.count > 0 else { return }
79 | serial.async {
80 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
81 | guard newKeys.count > 0 else { return }
82 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:82:53: warning: implicit capture of 'self' requires that 'AsyncMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
80 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
81 | guard newKeys.count > 0 else { return }
82 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
| `- warning: implicit capture of 'self' requires that 'AsyncMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
83 | self.requestedKeys.formUnion(newKeys)
84 | if restart {
/host/spi-builder-workspace/Sources/Acheron/Utility/AsyncMap.swift:99:16: warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class AsyncMap<T:Hashable, U> {
| `- note: generic class 'AsyncMap' does not conform to the 'Sendable' protocol
12 | let label: String
13 | let report: Bool
:
97 | func scheduleWipe() {
98 | serial.async {
99 | if self.working { self.needsWipe = true }
| `- warning: capture of 'self' with non-sendable type 'AsyncMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
100 | else { self.wipe() }
101 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:12:24: warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | class Log {
12 | private static var url: URL? = nil
| |- warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'url' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'url' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | static func setPath(_ path: String) {
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:17:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
15 | url = URL(fileURLWithPath: path)
16 | if !FileManager.default.fileExists(atPath: url!.path) {
17 | FileManager.default.createFile(atPath: url!.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
18 | }
19 | }
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:36:68: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
34 | state = .running
35 | DispatchQueue.main.async {
36 | let dashes: String = String(repeating: "-", count: (32-self.name.count)/2)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
37 | Log.print("\n \(dashes)\(self.name.count % 2 == 1 ? "-" : "") [ \(self.name) ] \(dashes)")
38 | self.payload { (success: Bool) in
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pebble.swift:39:17: warning: sending 'pond' risks causing data races; this is an error in the Swift 6 language mode
37 | Log.print("\n \(dashes)\(self.name.count % 2 == 1 ? "-" : "") [ \(self.name) ] \(dashes)")
38 | self.payload { (success: Bool) in
39 | pond.queue.async {
| |- warning: sending 'pond' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'pond' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | self.state = success ? .succeeded : .failed
41 | pond.iterate()
/host/spi-builder-workspace/Sources/Acheron/Pebbles/Pond.swift:39:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
37 | print("\n =======================\n")
38 |
39 | DispatchQueue.main.async { self.onCompleted() }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | }
41 |
[11/63] Compiling Acheron UIImageView+Acheron.swift
[12/63] Compiling Acheron UILabel+Acheron.swift
[13/63] Compiling Acheron UIView+Acheron.swift
[14/63] Compiling Acheron UIViewController+Acheron.swift
[15/63] Compiling Acheron AEControl.swift
[16/63] Compiling Acheron AETableView.swift
[17/63] Compiling Acheron AEView.swift
[18/63] Compiling Acheron AEViewController.swift
[19/63] Compiling Acheron Basket.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[20/63] Compiling Acheron Domain.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[21/63] Compiling Acheron Loom.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[22/63] Compiling Acheron Persist.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[23/63] Compiling Acheron SQLitePersist.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[24/63] Compiling Acheron Wrapper.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[25/63] Compiling Acheron BackgroundPond.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[26/63] Compiling Acheron NodeData.swift
[27/63] Compiling Acheron NodeHeader.swift
[28/63] Compiling Acheron NodeView.swift
[29/63] Compiling Acheron Screen.swift
[30/63] Compiling Acheron SplitterView.swift
[31/63] Compiling Acheron TripWire.swift
[32/63] Compiling Acheron Anchor.swift
[33/63] Compiling Acheron CellsView.swift
[34/63] Compiling Acheron CellsViewCell.swift
[35/63] Compiling Acheron ColorView.swift
[36/63] Compiling Acheron ExpandableCell.swift
[37/63] Compiling Acheron ExpandableTableView.swift
[38/63] Compiling Acheron Node.swift
[39/63] Compiling Acheron NodeCell.swift
[40/63] Compiling Acheron NodeColumn.swift
[41/63] Compiling Acheron Array+Acheron.swift
[42/63] Compiling Acheron CALayer+Acheron.swift
[43/63] Compiling Acheron CGPoint+Acheron.swift
[44/63] Compiling Acheron CGRect+Acheron.swift
[45/63] Compiling Acheron CGSize+Acheron.swift
[46/63] Compiling Acheron CaseIterable+Acheron.swift
[47/63] Compiling Acheron Codable+Acheron.swift
[48/63] Compiling Acheron Comparable+Acheron.swift
[49/63] Compiling Acheron Date+Acheron.swift
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:21:24: warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | private static var formatters: [String:DateFormatter] = [:]
| |- warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'formatters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | func format(_ template: String) -> String {
23 | var formatter = Date.formatters[template]
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:39:16: warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var now: Date { Date() }
38 |
39 | static var isoFormatter: DateFormatter = {
| |- warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isoFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | var formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:45:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | return formatter
44 | }()
45 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | let formatter: ISO8601DateFormatter = ISO8601DateFormatter()
47 | if #available(iOS 11, *) {
[50/63] Compiling Acheron Dictionary+Acheron.swift
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:21:24: warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | private static var formatters: [String:DateFormatter] = [:]
| |- warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'formatters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | func format(_ template: String) -> String {
23 | var formatter = Date.formatters[template]
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:39:16: warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var now: Date { Date() }
38 |
39 | static var isoFormatter: DateFormatter = {
| |- warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isoFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | var formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:45:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | return formatter
44 | }()
45 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | let formatter: ISO8601DateFormatter = ISO8601DateFormatter()
47 | if #available(iOS 11, *) {
[51/63] Compiling Acheron NSMutableAttributedString+Acheron.swift
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:21:24: warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | private static var formatters: [String:DateFormatter] = [:]
| |- warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'formatters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | func format(_ template: String) -> String {
23 | var formatter = Date.formatters[template]
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:39:16: warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var now: Date { Date() }
38 |
39 | static var isoFormatter: DateFormatter = {
| |- warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isoFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | var formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:45:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | return formatter
44 | }()
45 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | let formatter: ISO8601DateFormatter = ISO8601DateFormatter()
47 | if #available(iOS 11, *) {
[52/63] Compiling Acheron String+Acheron.swift
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:21:24: warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | private static var formatters: [String:DateFormatter] = [:]
| |- warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'formatters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | func format(_ template: String) -> String {
23 | var formatter = Date.formatters[template]
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:39:16: warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var now: Date { Date() }
38 |
39 | static var isoFormatter: DateFormatter = {
| |- warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isoFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | var formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:45:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | return formatter
44 | }()
45 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | let formatter: ISO8601DateFormatter = ISO8601DateFormatter()
47 | if #available(iOS 11, *) {
[53/63] Compiling Acheron UIButton+Acheron.swift
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:21:24: warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | private static var formatters: [String:DateFormatter] = [:]
| |- warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'formatters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | func format(_ template: String) -> String {
23 | var formatter = Date.formatters[template]
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:39:16: warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var now: Date { Date() }
38 |
39 | static var isoFormatter: DateFormatter = {
| |- warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isoFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | var formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:45:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | return formatter
44 | }()
45 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | let formatter: ISO8601DateFormatter = ISO8601DateFormatter()
47 | if #available(iOS 11, *) {
[54/63] Compiling Acheron UIColor+Acheron.swift
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:21:24: warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | private static var formatters: [String:DateFormatter] = [:]
| |- warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'formatters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | func format(_ template: String) -> String {
23 | var formatter = Date.formatters[template]
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:39:16: warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var now: Date { Date() }
38 |
39 | static var isoFormatter: DateFormatter = {
| |- warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isoFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | var formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:45:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | return formatter
44 | }()
45 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | let formatter: ISO8601DateFormatter = ISO8601DateFormatter()
47 | if #available(iOS 11, *) {
[55/63] Compiling Acheron UIControl+Acheron.swift
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:21:24: warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | private static var formatters: [String:DateFormatter] = [:]
| |- warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'formatters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | func format(_ template: String) -> String {
23 | var formatter = Date.formatters[template]
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:39:16: warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var now: Date { Date() }
38 |
39 | static var isoFormatter: DateFormatter = {
| |- warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isoFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | var formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:45:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | return formatter
44 | }()
45 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | let formatter: ISO8601DateFormatter = ISO8601DateFormatter()
47 | if #available(iOS 11, *) {
[56/63] Compiling Acheron UIImage+Acheron.swift
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:21:24: warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | private static var formatters: [String:DateFormatter] = [:]
| |- warning: static property 'formatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'formatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'formatters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | func format(_ template: String) -> String {
23 | var formatter = Date.formatters[template]
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:39:16: warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var now: Date { Date() }
38 |
39 | static var isoFormatter: DateFormatter = {
| |- warning: static property 'isoFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isoFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | var formatter = DateFormatter()
41 | formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/Acheron/Extensions/Date+Acheron.swift:45:16: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | return formatter
44 | }()
45 | static var iso8601Formatter: ISO8601DateFormatter = {
| |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'iso8601Formatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | let formatter: ISO8601DateFormatter = ISO8601DateFormatter()
47 | if #available(iOS 11, *) {
[57/63] Compiling Acheron Profiler.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Profiler.swift:37:23: warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | public class Profiler {
37 | public static var profiler: Profiler = Profiler()
| |- warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'profiler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'profiler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let stopwatches: DoubleMap = DoubleMap()
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:54:13: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
52 | private func handleRequests() {
53 | serial.async {
54 | self.working = true
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | let keys: [T] = Array(self.requestedKeys)
56 | guard keys.count > 0 else {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:63:20: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
61 | let group: DispatchGroup = DispatchGroup()
62 | keys.forEach { (key: T) in
63 | if self.report { print("[ \(self.label) ] request [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
64 | group.enter()
65 | self.concurrent.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:36: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:41: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:28: warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:45: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:71: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:76:48: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
74 | }
75 | }
76 | group.notify(queue: self.serial) { self.handleRequests() }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
77 | }
78 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:39: warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:57: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:84:53: warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
| `- warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
85 | self.requestedKeys.formUnion(newKeys)
86 | if restart {
[58/63] Compiling Acheron RGB.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Profiler.swift:37:23: warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | public class Profiler {
37 | public static var profiler: Profiler = Profiler()
| |- warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'profiler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'profiler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let stopwatches: DoubleMap = DoubleMap()
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:54:13: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
52 | private func handleRequests() {
53 | serial.async {
54 | self.working = true
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | let keys: [T] = Array(self.requestedKeys)
56 | guard keys.count > 0 else {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:63:20: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
61 | let group: DispatchGroup = DispatchGroup()
62 | keys.forEach { (key: T) in
63 | if self.report { print("[ \(self.label) ] request [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
64 | group.enter()
65 | self.concurrent.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:36: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:41: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:28: warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:45: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:71: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:76:48: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
74 | }
75 | }
76 | group.notify(queue: self.serial) { self.handleRequests() }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
77 | }
78 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:39: warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:57: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:84:53: warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
| `- warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
85 | self.requestedKeys.formUnion(newKeys)
86 | if restart {
[59/63] Compiling Acheron SafeMap.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Profiler.swift:37:23: warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | public class Profiler {
37 | public static var profiler: Profiler = Profiler()
| |- warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'profiler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'profiler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let stopwatches: DoubleMap = DoubleMap()
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:54:13: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
52 | private func handleRequests() {
53 | serial.async {
54 | self.working = true
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | let keys: [T] = Array(self.requestedKeys)
56 | guard keys.count > 0 else {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:63:20: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
61 | let group: DispatchGroup = DispatchGroup()
62 | keys.forEach { (key: T) in
63 | if self.report { print("[ \(self.label) ] request [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
64 | group.enter()
65 | self.concurrent.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:36: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:41: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:28: warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:45: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:71: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:76:48: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
74 | }
75 | }
76 | group.notify(queue: self.serial) { self.handleRequests() }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
77 | }
78 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:39: warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:57: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:84:53: warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
| `- warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
85 | self.requestedKeys.formUnion(newKeys)
86 | if restart {
[60/63] Compiling Acheron SafeSet.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Profiler.swift:37:23: warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | public class Profiler {
37 | public static var profiler: Profiler = Profiler()
| |- warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'profiler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'profiler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let stopwatches: DoubleMap = DoubleMap()
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:54:13: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
52 | private func handleRequests() {
53 | serial.async {
54 | self.working = true
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | let keys: [T] = Array(self.requestedKeys)
56 | guard keys.count > 0 else {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:63:20: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
61 | let group: DispatchGroup = DispatchGroup()
62 | keys.forEach { (key: T) in
63 | if self.report { print("[ \(self.label) ] request [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
64 | group.enter()
65 | self.concurrent.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:36: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:41: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:28: warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:45: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:71: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:76:48: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
74 | }
75 | }
76 | group.notify(queue: self.serial) { self.handleRequests() }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
77 | }
78 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:39: warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:57: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:84:53: warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
| `- warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
85 | self.requestedKeys.formUnion(newKeys)
86 | if restart {
[61/63] Compiling Acheron ScramMap.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Profiler.swift:37:23: warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | public class Profiler {
37 | public static var profiler: Profiler = Profiler()
| |- warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'profiler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'profiler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let stopwatches: DoubleMap = DoubleMap()
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:54:13: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
52 | private func handleRequests() {
53 | serial.async {
54 | self.working = true
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | let keys: [T] = Array(self.requestedKeys)
56 | guard keys.count > 0 else {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:63:20: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
61 | let group: DispatchGroup = DispatchGroup()
62 | keys.forEach { (key: T) in
63 | if self.report { print("[ \(self.label) ] request [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
64 | group.enter()
65 | self.concurrent.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:36: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:41: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:28: warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:45: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:71: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:76:48: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
74 | }
75 | }
76 | group.notify(queue: self.serial) { self.handleRequests() }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
77 | }
78 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:39: warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:57: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:84:53: warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
| `- warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
85 | self.requestedKeys.formUnion(newKeys)
86 | if restart {
[62/63] Compiling Acheron WeakSet.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Profiler.swift:37:23: warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | public class Profiler {
37 | public static var profiler: Profiler = Profiler()
| |- warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'profiler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'profiler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let stopwatches: DoubleMap = DoubleMap()
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:54:13: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
52 | private func handleRequests() {
53 | serial.async {
54 | self.working = true
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | let keys: [T] = Array(self.requestedKeys)
56 | guard keys.count > 0 else {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:63:20: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
61 | let group: DispatchGroup = DispatchGroup()
62 | keys.forEach { (key: T) in
63 | if self.report { print("[ \(self.label) ] request [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
64 | group.enter()
65 | self.concurrent.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:36: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:41: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:28: warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:45: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:71: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:76:48: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
74 | }
75 | }
76 | group.notify(queue: self.serial) { self.handleRequests() }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
77 | }
78 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:39: warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:57: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:84:53: warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
| `- warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
85 | self.requestedKeys.formUnion(newKeys)
86 | if restart {
[63/63] Compiling Acheron XMLtoAttributes.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Profiler.swift:37:23: warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | public class Profiler {
37 | public static var profiler: Profiler = Profiler()
| |- warning: static property 'profiler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'profiler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'profiler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | private let stopwatches: DoubleMap = DoubleMap()
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:54:13: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
52 | private func handleRequests() {
53 | serial.async {
54 | self.working = true
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | let keys: [T] = Array(self.requestedKeys)
56 | guard keys.count > 0 else {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:63:20: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
61 | let group: DispatchGroup = DispatchGroup()
62 | keys.forEach { (key: T) in
63 | if self.report { print("[ \(self.label) ] request [ \(key) ]") }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
64 | group.enter()
65 | self.concurrent.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:36: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:66:41: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
64 | group.enter()
65 | self.concurrent.async {
66 | let value: U = self[key]
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
67 | self.onScrape(key, value)
68 | self.serial.async {
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:28: warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'U' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'value' with non-sendable type 'U' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:45: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:69:71: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
67 | self.onScrape(key, value)
68 | self.serial.async {
69 | if value.complete { self.completedKeys.insert(key) }
| `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | self.requestedKeys.remove(key)
71 | if value.progress { self.onProgress(key) }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:76:48: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
74 | }
75 | }
76 | group.notify(queue: self.serial) { self.handleRequests() }
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in an isolated closure; this is an error in the Swift 6 language mode
77 | }
78 | }
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:39: warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'keys' with non-sendable type '[T]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:82:57: warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
80 | guard keys.count > 0 else { return }
81 | serial.async {
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
| `- warning: capture of 'self' with non-sendable type 'ScramMap<T, U>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
/host/spi-builder-workspace/Sources/Acheron/Utility/ScramMap.swift:84:53: warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public class ScramMap<T:Hashable, U:Scramble<T>> {
| `- note: generic class 'ScramMap' does not conform to the 'Sendable' protocol
19 | let label: String
20 | let report: Bool
:
82 | let newKeys: Set<T> = Set(keys).subtracting(self.completedKeys).subtracting(self.requestedKeys)
83 | guard newKeys.count > 0 else { return }
84 | let restart: Bool = !newKeys.isEmpty && self.requestedKeys.isEmpty
| `- warning: implicit capture of 'self' requires that 'ScramMap<T, U>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
85 | self.requestedKeys.formUnion(newKeys)
86 | if restart {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/55] Compiling Acheron UIImageView+Acheron.swift
[3/55] Compiling Acheron UILabel+Acheron.swift
[4/55] Compiling Acheron UIView+Acheron.swift
[5/55] Compiling Acheron UIViewController+Acheron.swift
[6/55] Compiling Acheron AEControl.swift
[7/55] Compiling Acheron AETableView.swift
[8/55] Compiling Acheron AEView.swift
[9/55] Compiling Acheron AEViewController.swift
[10/62] Compiling Acheron CellsView.swift
[11/62] Compiling Acheron CellsViewCell.swift
[12/62] Compiling Acheron ColorView.swift
[13/62] Compiling Acheron ExpandableCell.swift
[14/62] Compiling Acheron ExpandableTableView.swift
[15/62] Compiling Acheron Node.swift
[16/62] Compiling Acheron NodeCell.swift
[17/62] Compiling Acheron NodeColumn.swift
[18/62] Compiling Acheron NodeData.swift
[19/62] Compiling Acheron NodeHeader.swift
[20/62] Compiling Acheron NodeView.swift
[21/62] Compiling Acheron Screen.swift
[22/62] Compiling Acheron SplitterView.swift
[23/62] Compiling Acheron TripWire.swift
[24/62] Compiling Acheron Anchor.swift
[25/62] Compiling Acheron Basket.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[26/62] Compiling Acheron Domain.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[27/62] Compiling Acheron Loom.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[28/62] Compiling Acheron Persist.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[29/62] Compiling Acheron SQLitePersist.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[30/62] Compiling Acheron Wrapper.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[31/62] Compiling Acheron BackgroundPond.swift
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:28:22: error: cannot find type 'URLRequest' in scope
26 |
27 | let url: URL = URL(string: urlString)!
28 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
29 | request.httpMethod = method.token
30 |
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:33:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 | if method == .post, let params { request.httpBody = params.toJSON().data(using: .utf8) }
32 |
33 | let task = URLSession.shared.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 | guard error == nil else {
35 | print("error: \(error!)")
/host/spi-builder-workspace/Sources/Acheron/Network/Wrapper.swift:42:92: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
40 | guard let data else { failure(); return }
41 |
42 | if let response = response as? HTTPURLResponse, !(200...299).contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
43 | print("\n[ \(path) : \(response.statusCode) ] ===================================================")
44 | if let headers = request.allHTTPHeaderFields { print("headers ========================\n\(headers.toJSON())\n") }
[32/62] Emitting module Acheron
[33/62] Compiling Acheron Date+Acheron.swift
[34/62] Compiling Acheron Dictionary+Acheron.swift
[35/62] Compiling Acheron NSMutableAttributedString+Acheron.swift
[36/62] Compiling Acheron String+Acheron.swift
[37/62] Compiling Acheron UIButton+Acheron.swift
[38/62] Compiling Acheron UIColor+Acheron.swift
[39/62] Compiling Acheron UIControl+Acheron.swift
[40/62] Compiling Acheron UIImage+Acheron.swift
[41/62] Compiling Acheron Profiler.swift
[42/62] Compiling Acheron RGB.swift
[43/62] Compiling Acheron SafeMap.swift
[44/62] Compiling Acheron SafeSet.swift
[45/62] Compiling Acheron ScramMap.swift
[46/62] Compiling Acheron WeakSet.swift
[47/62] Compiling Acheron XMLtoAttributes.swift
[48/62] Compiling Acheron Array+Acheron.swift
[49/62] Compiling Acheron CALayer+Acheron.swift
[50/62] Compiling Acheron CGPoint+Acheron.swift
[51/62] Compiling Acheron CGRect+Acheron.swift
[52/62] Compiling Acheron CGSize+Acheron.swift
[53/62] Compiling Acheron CaseIterable+Acheron.swift
[54/62] Compiling Acheron Codable+Acheron.swift
[55/62] Compiling Acheron Comparable+Acheron.swift
[56/62] Compiling Acheron Pebble.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:17:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
15 | url = URL(fileURLWithPath: path)
16 | if !FileManager.default.fileExists(atPath: url!.path) {
17 | FileManager.default.createFile(atPath: url!.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
18 | }
19 | }
[57/62] Compiling Acheron Pond.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:17:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
15 | url = URL(fileURLWithPath: path)
16 | if !FileManager.default.fileExists(atPath: url!.path) {
17 | FileManager.default.createFile(atPath: url!.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
18 | }
19 | }
[58/62] Compiling Acheron AESync.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:17:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
15 | url = URL(fileURLWithPath: path)
16 | if !FileManager.default.fileExists(atPath: url!.path) {
17 | FileManager.default.createFile(atPath: url!.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
18 | }
19 | }
[59/62] Compiling Acheron AETimer.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:17:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
15 | url = URL(fileURLWithPath: path)
16 | if !FileManager.default.fileExists(atPath: url!.path) {
17 | FileManager.default.createFile(atPath: url!.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
18 | }
19 | }
[60/62] Compiling Acheron AsyncMap.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:17:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
15 | url = URL(fileURLWithPath: path)
16 | if !FileManager.default.fileExists(atPath: url!.path) {
17 | FileManager.default.createFile(atPath: url!.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
18 | }
19 | }
[61/62] Compiling Acheron Log.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:17:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
15 | url = URL(fileURLWithPath: path)
16 | if !FileManager.default.fileExists(atPath: url!.path) {
17 | FileManager.default.createFile(atPath: url!.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
18 | }
19 | }
[62/62] Compiling Acheron Pen.swift
/host/spi-builder-workspace/Sources/Acheron/Utility/Log.swift:17:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
15 | url = URL(fileURLWithPath: path)
16 | if !FileManager.default.fileExists(atPath: url!.path) {
17 | FileManager.default.createFile(atPath: url!.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
18 | }
19 | }
BUILD FAILURE 6.1 linux