Build Information
Successful build of Ice, reference master (8e0bb5
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 12:05:55 UTC.
Swift 6 data race errors: 58
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Init.swift:36:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | final class CreateFileLine: Matcher, Matchable {
36 | static let regex = Regex("Creating ([^:]+)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | var filePath: String { return captures[0] }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Matchable.swift:43:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | final class AnyLine: Matcher, Matchable {
43 | static let regex = Regex("^(.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | var text: String { return captures[0] }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Matchable.swift:48:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | final class WhitespaceLine: Matcher, Matchable {
48 | static let regex = Regex("^\\s*$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Resolve.swift:42:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | final class CompletedResolution: Matcher, Matchable {
42 | static let regex = Regex("^Completed resolution")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Resolve.swift:50:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
48 | case clone = "Cloning"
49 | }
50 | static let regex = Regex("(Updating|Cloning) ([^ ]+)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | var action: Action { return captures[0] }
52 | var url: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Resolve.swift:56:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | final class FetchLine: Matcher, Matchable {
56 | static let regex = Regex("Fetching ([^ ]+)( from .*)?$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | var url: String { return captures[0] }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Resolve.swift:61:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | final class ResolveLine: Matcher, Matchable {
61 | static let regex = Regex("Resolving ([^ ]+) at (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var url: String { return captures[0] }
63 | var version: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[61/92] Compiling IceKit Matchable.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Init.swift:30:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | final class CreatePackageLine: Matcher, Matchable {
30 | static let regex = Regex("(Creating .* package): (.*)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | var packageType: String { return captures[0] }
32 | var packageName: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Init.swift:36:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | final class CreateFileLine: Matcher, Matchable {
36 | static let regex = Regex("Creating ([^:]+)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | var filePath: String { return captures[0] }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Matchable.swift:43:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | final class AnyLine: Matcher, Matchable {
43 | static let regex = Regex("^(.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | var text: String { return captures[0] }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Matchable.swift:48:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | final class WhitespaceLine: Matcher, Matchable {
48 | static let regex = Regex("^\\s*$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Resolve.swift:42:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | final class CompletedResolution: Matcher, Matchable {
42 | static let regex = Regex("^Completed resolution")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Resolve.swift:50:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
48 | case clone = "Cloning"
49 | }
50 | static let regex = Regex("(Updating|Cloning) ([^ ]+)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | var action: Action { return captures[0] }
52 | var url: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Resolve.swift:56:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | final class FetchLine: Matcher, Matchable {
56 | static let regex = Regex("Fetching ([^ ]+)( from .*)?$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | var url: String { return captures[0] }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Resolve.swift:61:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | final class ResolveLine: Matcher, Matchable {
61 | static let regex = Regex("Resolving ([^ ]+) at (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var url: String { return captures[0] }
63 | var version: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[62/92] Compiling IceKit Resolve.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Init.swift:30:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | final class CreatePackageLine: Matcher, Matchable {
30 | static let regex = Regex("(Creating .* package): (.*)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | var packageType: String { return captures[0] }
32 | var packageName: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Init.swift:36:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | final class CreateFileLine: Matcher, Matchable {
36 | static let regex = Regex("Creating ([^:]+)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | var filePath: String { return captures[0] }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Matchable.swift:43:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | final class AnyLine: Matcher, Matchable {
43 | static let regex = Regex("^(.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | var text: String { return captures[0] }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Matchable.swift:48:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | final class WhitespaceLine: Matcher, Matchable {
48 | static let regex = Regex("^\\s*$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Resolve.swift:42:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | final class CompletedResolution: Matcher, Matchable {
42 | static let regex = Regex("^Completed resolution")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Resolve.swift:50:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
48 | case clone = "Cloning"
49 | }
50 | static let regex = Regex("(Updating|Cloning) ([^ ]+)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | var action: Action { return captures[0] }
52 | var url: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Resolve.swift:56:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | final class FetchLine: Matcher, Matchable {
56 | static let regex = Regex("Fetching ([^ ]+)( from .*)?$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | var url: String { return captures[0] }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Resolve.swift:61:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | final class ResolveLine: Matcher, Matchable {
61 | static let regex = Regex("Resolving ([^ ]+) at (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var url: String { return captures[0] }
63 | var version: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[63/92] Compiling IceKit SPM.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/SPM.swift:14:23: warning: static property 'toolchainPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public enum SwiftExecutable {
13 |
14 | public static var toolchainPath: Path? = {
| |- warning: static property 'toolchainPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'toolchainPath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'toolchainPath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let tmpFile = Path.current + "._ice.swift"
16 | if !tmpFile.exists {
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/SPM.swift:35:23: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | }()
34 |
35 | public static var version: SwiftToolsVersion? = {
| |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | if let content = try? Task.capture("swift", "--version").stdout,
37 | let match = Regex("Swift version ([0-9]\\.[0-9](\\.[0-9])?)(-dev)? ").firstMatch(in: content),
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/SourceWatcher.swift:75:16: warning: capture of 'self' with non-sendable type 'SourceWatcher' in a '@Sendable' closure
10 | import PathKit
11 |
12 | public class SourceWatcher {
| `- note: class 'SourceWatcher' does not conform to the 'Sendable' protocol
13 |
14 | let action: () -> ()
:
73 | private func actIfNecessary() {
74 | watchQueue.async {
75 | if self.startOver {
| `- warning: capture of 'self' with non-sendable type 'SourceWatcher' in a '@Sendable' closure
76 | self.watchers.forEach { $0.cancel() }
77 | self.watchers.removeAll()
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/AssertionMatchers.swift:232:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
230 |
231 | final class XCTFailMatch: Matcher, XCTMatchable {
232 | static let regex = Regex("^failed( - (.*))?$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | var message: String? { return captures[1] }
234 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[64/92] Compiling IceKit SourceWatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/SPM.swift:14:23: warning: static property 'toolchainPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public enum SwiftExecutable {
13 |
14 | public static var toolchainPath: Path? = {
| |- warning: static property 'toolchainPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'toolchainPath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'toolchainPath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let tmpFile = Path.current + "._ice.swift"
16 | if !tmpFile.exists {
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/SPM.swift:35:23: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | }()
34 |
35 | public static var version: SwiftToolsVersion? = {
| |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | if let content = try? Task.capture("swift", "--version").stdout,
37 | let match = Regex("Swift version ([0-9]\\.[0-9](\\.[0-9])?)(-dev)? ").firstMatch(in: content),
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/SourceWatcher.swift:75:16: warning: capture of 'self' with non-sendable type 'SourceWatcher' in a '@Sendable' closure
10 | import PathKit
11 |
12 | public class SourceWatcher {
| `- note: class 'SourceWatcher' does not conform to the 'Sendable' protocol
13 |
14 | let action: () -> ()
:
73 | private func actIfNecessary() {
74 | watchQueue.async {
75 | if self.startOver {
| `- warning: capture of 'self' with non-sendable type 'SourceWatcher' in a '@Sendable' closure
76 | self.watchers.forEach { $0.cancel() }
77 | self.watchers.removeAll()
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/AssertionMatchers.swift:232:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
230 |
231 | final class XCTFailMatch: Matcher, XCTMatchable {
232 | static let regex = Regex("^failed( - (.*))?$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | var message: String? { return captures[1] }
234 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[65/92] Compiling IceKit AssertionMatchers.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/SPM.swift:14:23: warning: static property 'toolchainPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public enum SwiftExecutable {
13 |
14 | public static var toolchainPath: Path? = {
| |- warning: static property 'toolchainPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'toolchainPath' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'toolchainPath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | let tmpFile = Path.current + "._ice.swift"
16 | if !tmpFile.exists {
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/SPM.swift:35:23: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | }()
34 |
35 | public static var version: SwiftToolsVersion? = {
| |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | if let content = try? Task.capture("swift", "--version").stdout,
37 | let match = Regex("Swift version ([0-9]\\.[0-9](\\.[0-9])?)(-dev)? ").firstMatch(in: content),
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/SourceWatcher.swift:75:16: warning: capture of 'self' with non-sendable type 'SourceWatcher' in a '@Sendable' closure
10 | import PathKit
11 |
12 | public class SourceWatcher {
| `- note: class 'SourceWatcher' does not conform to the 'Sendable' protocol
13 |
14 | let action: () -> ()
:
73 | private func actIfNecessary() {
74 | watchQueue.async {
75 | if self.startOver {
| `- warning: capture of 'self' with non-sendable type 'SourceWatcher' in a '@Sendable' closure
76 | self.watchers.forEach { $0.cancel() }
77 | self.watchers.removeAll()
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/AssertionMatchers.swift:232:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
230 |
231 | final class XCTFailMatch: Matcher, XCTMatchable {
232 | static let regex = Regex("^failed( - (.*))?$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | var message: String? { return captures[1] }
234 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[66/92] Compiling IceKit Shared.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Shared.swift:52:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | final class InternalErrorLine: Matcher, Matchable {
52 | static let regex = Regex("error: (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | var message: String { return captures[0] }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Shared.swift:63:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | final class InternalWarningLine: Matcher, Matchable {
63 | static let regex = Regex("warning: (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | var message: String { return captures[0] }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Shared.swift:74:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | final class InternalNoteLine: Matcher, Matchable {
74 | static let regex = Regex("^note: (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | var message: String { return captures[0] }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Test.swift:22:16: warning: static property 'accumulated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | class TestCollector: BaseTransformer {
21 |
22 | static var accumulated = ""
| |- warning: static property 'accumulated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accumulated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'accumulated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static var accumulatedLock = NSLock()
24 | static var isStdout = false
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Test.swift:23:16: warning: static property 'accumulatedLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | static var accumulated = ""
23 | static var accumulatedLock = NSLock()
| |- warning: static property 'accumulatedLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accumulatedLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'accumulatedLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static var isStdout = false
25 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Test.swift:24:16: warning: static property 'isStdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | static var accumulated = ""
23 | static var accumulatedLock = NSLock()
24 | static var isStdout = false
| |- warning: static property 'isStdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isStdout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | init(isStdout: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:15:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
13 | case selected = "Selected tests"
14 | }
15 | static let regex = Regex("^Test Suite '(All tests|Selected tests)' started")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | var mode: SuiteMode { return captures[0] }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:20:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | final class PackageTestsStartLine: Matcher, Matchable {
20 | static let regex = Regex("^Test Suite '(.*)\\.xctest' started")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | var packageName: String { return captures[0] }
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:30:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
28 | case failed
29 | }
30 | static let regex = Regex("^Test Suite '(.*)' (started|passed|failed)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | var suiteName: String { return captures[0] }
32 | var status: Status { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:43:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
41 | case failed
42 | }
43 | static let regex = Regex("^Test Case '-\\[([^ ]*)\\.([^ ]*) (.*)\\]' (started|passed|failed)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | var targetName: String { return captures[0] }
45 | var suiteName: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:51:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | final class AssertionFailureLine: Matcher, Matchable {
51 | static let regex = Regex("^(.*):([0-9]+): error: -\\[\\w+\\.\\w+ \\w+\\] : (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | var file: String { return captures[0] }
53 | var lineNumber: Int { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:81:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | final class FatalErrorLine: Matcher, Matchable {
81 | static let regex = Regex("^fatal error: (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | var message: String { return captures[0] }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:86:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | final class AllTestsEndLine: Matcher, Matchable {
86 | static let regex = Regex("Test Suite '(All tests|Selected tests|.*\\.xctest)' (passed|failed)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | var suite: String { return captures[0] }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:91:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | final class TestCountLine: Matcher, Matchable {
91 | static let regex = Regex("Executed ([0-9]+) tests?, with [0-9]* failures? .* \\(([\\.0-9]+)\\) seconds$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | var totalCount: Int { return captures[0] }
93 | var duration: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[67/92] Compiling IceKit Test.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Shared.swift:52:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | final class InternalErrorLine: Matcher, Matchable {
52 | static let regex = Regex("error: (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | var message: String { return captures[0] }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Shared.swift:63:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | final class InternalWarningLine: Matcher, Matchable {
63 | static let regex = Regex("warning: (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | var message: String { return captures[0] }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Shared.swift:74:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | final class InternalNoteLine: Matcher, Matchable {
74 | static let regex = Regex("^note: (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | var message: String { return captures[0] }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Test.swift:22:16: warning: static property 'accumulated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | class TestCollector: BaseTransformer {
21 |
22 | static var accumulated = ""
| |- warning: static property 'accumulated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accumulated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'accumulated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static var accumulatedLock = NSLock()
24 | static var isStdout = false
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Test.swift:23:16: warning: static property 'accumulatedLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | static var accumulated = ""
23 | static var accumulatedLock = NSLock()
| |- warning: static property 'accumulatedLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accumulatedLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'accumulatedLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static var isStdout = false
25 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Test.swift:24:16: warning: static property 'isStdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | static var accumulated = ""
23 | static var accumulatedLock = NSLock()
24 | static var isStdout = false
| |- warning: static property 'isStdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isStdout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | init(isStdout: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:15:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
13 | case selected = "Selected tests"
14 | }
15 | static let regex = Regex("^Test Suite '(All tests|Selected tests)' started")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | var mode: SuiteMode { return captures[0] }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:20:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | final class PackageTestsStartLine: Matcher, Matchable {
20 | static let regex = Regex("^Test Suite '(.*)\\.xctest' started")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | var packageName: String { return captures[0] }
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:30:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
28 | case failed
29 | }
30 | static let regex = Regex("^Test Suite '(.*)' (started|passed|failed)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | var suiteName: String { return captures[0] }
32 | var status: Status { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:43:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
41 | case failed
42 | }
43 | static let regex = Regex("^Test Case '-\\[([^ ]*)\\.([^ ]*) (.*)\\]' (started|passed|failed)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | var targetName: String { return captures[0] }
45 | var suiteName: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:51:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | final class AssertionFailureLine: Matcher, Matchable {
51 | static let regex = Regex("^(.*):([0-9]+): error: -\\[\\w+\\.\\w+ \\w+\\] : (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | var file: String { return captures[0] }
53 | var lineNumber: Int { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:81:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | final class FatalErrorLine: Matcher, Matchable {
81 | static let regex = Regex("^fatal error: (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | var message: String { return captures[0] }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:86:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | final class AllTestsEndLine: Matcher, Matchable {
86 | static let regex = Regex("Test Suite '(All tests|Selected tests|.*\\.xctest)' (passed|failed)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | var suite: String { return captures[0] }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:91:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | final class TestCountLine: Matcher, Matchable {
91 | static let regex = Regex("Executed ([0-9]+) tests?, with [0-9]* failures? .* \\(([\\.0-9]+)\\) seconds$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | var totalCount: Int { return captures[0] }
93 | var duration: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[68/92] Compiling IceKit TestLines.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Shared.swift:52:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | final class InternalErrorLine: Matcher, Matchable {
52 | static let regex = Regex("error: (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | var message: String { return captures[0] }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Shared.swift:63:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | final class InternalWarningLine: Matcher, Matchable {
63 | static let regex = Regex("warning: (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | var message: String { return captures[0] }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Shared.swift:74:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | final class InternalNoteLine: Matcher, Matchable {
74 | static let regex = Regex("^note: (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | var message: String { return captures[0] }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Test.swift:22:16: warning: static property 'accumulated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | class TestCollector: BaseTransformer {
21 |
22 | static var accumulated = ""
| |- warning: static property 'accumulated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accumulated' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'accumulated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static var accumulatedLock = NSLock()
24 | static var isStdout = false
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Test.swift:23:16: warning: static property 'accumulatedLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | static var accumulated = ""
23 | static var accumulatedLock = NSLock()
| |- warning: static property 'accumulatedLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accumulatedLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'accumulatedLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static var isStdout = false
25 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Test.swift:24:16: warning: static property 'isStdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | static var accumulated = ""
23 | static var accumulatedLock = NSLock()
24 | static var isStdout = false
| |- warning: static property 'isStdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isStdout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isStdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | init(isStdout: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:15:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
13 | case selected = "Selected tests"
14 | }
15 | static let regex = Regex("^Test Suite '(All tests|Selected tests)' started")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | var mode: SuiteMode { return captures[0] }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:20:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | final class PackageTestsStartLine: Matcher, Matchable {
20 | static let regex = Regex("^Test Suite '(.*)\\.xctest' started")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | var packageName: String { return captures[0] }
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:30:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
28 | case failed
29 | }
30 | static let regex = Regex("^Test Suite '(.*)' (started|passed|failed)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | var suiteName: String { return captures[0] }
32 | var status: Status { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:43:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
41 | case failed
42 | }
43 | static let regex = Regex("^Test Case '-\\[([^ ]*)\\.([^ ]*) (.*)\\]' (started|passed|failed)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | var targetName: String { return captures[0] }
45 | var suiteName: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:51:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | final class AssertionFailureLine: Matcher, Matchable {
51 | static let regex = Regex("^(.*):([0-9]+): error: -\\[\\w+\\.\\w+ \\w+\\] : (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | var file: String { return captures[0] }
53 | var lineNumber: Int { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:81:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | final class FatalErrorLine: Matcher, Matchable {
81 | static let regex = Regex("^fatal error: (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | var message: String { return captures[0] }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:86:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | final class AllTestsEndLine: Matcher, Matchable {
86 | static let regex = Regex("Test Suite '(All tests|Selected tests|.*\\.xctest)' (passed|failed)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | var suite: String { return captures[0] }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TestLines.swift:91:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
89 |
90 | final class TestCountLine: Matcher, Matchable {
91 | static let regex = Regex("Executed ([0-9]+) tests?, with [0-9]* failures? .* \\(([\\.0-9]+)\\) seconds$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | var totalCount: Int { return captures[0] }
93 | var duration: String { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[69/92] Compiling IceKit Registry.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Resolved.swift:27:23: warning: static property 'filePath' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public static let filePath = Path("Package.resolved")
| `- warning: static property 'filePath' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public let object: Object
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Resolved.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 |
8 | import Foundation
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public struct Resolved: Decodable {
:
25 | }
26 |
27 | public static let filePath = Path("Package.resolved")
| |- note: add '@MainActor' to make static property 'filePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public let object: Object
[70/92] Compiling IceKit RepositoryReference.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Resolved.swift:27:23: warning: static property 'filePath' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public static let filePath = Path("Package.resolved")
| `- warning: static property 'filePath' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public let object: Object
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Resolved.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 |
8 | import Foundation
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public struct Resolved: Decodable {
:
25 | }
26 |
27 | public static let filePath = Path("Package.resolved")
| |- note: add '@MainActor' to make static property 'filePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public let object: Object
[71/92] Compiling IceKit Resolved.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Resolved.swift:27:23: warning: static property 'filePath' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public static let filePath = Path("Package.resolved")
| `- warning: static property 'filePath' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public let object: Object
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Resolved.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
7 |
8 | import Foundation
9 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
10 |
11 | public struct Resolved: Decodable {
:
25 | }
26 |
27 | public static let filePath = Path("Package.resolved")
| |- note: add '@MainActor' to make static property 'filePath' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public let object: Object
[72/92] Compiling IceKit TransformStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TransformStream.swift:165:24: warning: static property 'actions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
163 | }
164 |
165 | private static var actions: [Action] = []
| |- warning: static property 'actions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'actions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'actions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 | private static var actionLock = NSLock()
167 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TransformStream.swift:166:24: warning: static property 'actionLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
164 |
165 | private static var actions: [Action] = []
166 | private static var actionLock = NSLock()
| |- warning: static property 'actionLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'actionLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'actionLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | static func record(action: Action) {
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TransformStream.swift:30:19: warning: capture of 'self' with non-sendable type 'TransformStream' in a '@Sendable' closure
11 | import SwiftCLI
12 |
13 | class TransformStream: WritableStream {
| `- note: class 'TransformStream' does not conform to the 'Sendable' protocol
14 |
15 | let writeHandle: FileHandle
:
28 |
29 | DispatchQueue.global().async {
30 | while self.isOpen() {
| `- warning: capture of 'self' with non-sendable type 'TransformStream' in a '@Sendable' closure
31 | transformer.go(stream: self)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TransformStream.swift:31:17: warning: capture of 'transformer' with non-sendable type 'any Transformer' in a '@Sendable' closure
29 | DispatchQueue.global().async {
30 | while self.isOpen() {
31 | transformer.go(stream: self)
| `- warning: capture of 'transformer' with non-sendable type 'any Transformer' in a '@Sendable' closure
32 | }
33 | self.semaphore.signal()
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:13:10: note: protocol 'Transformer' does not conform to the 'Sendable' protocol
11 | // MARK: -
12 |
13 | protocol Transformer {
| `- note: protocol 'Transformer' does not conform to the 'Sendable' protocol
14 | func go(stream: TransformStream)
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:54:16: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | struct TransformerConfig {
54 | static var stdout: WritableStream = WriteStream.stdout
| |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static var stderr: WritableStream = WriteStream.stderr
56 | static var rewindCharacter = Term.isTTY ? "\r" : "\n"
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:55:16: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | struct TransformerConfig {
54 | static var stdout: WritableStream = WriteStream.stdout
55 | static var stderr: WritableStream = WriteStream.stderr
| |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static var rewindCharacter = Term.isTTY ? "\r" : "\n"
57 | static var clearLineCharacter = Term.isTTY ? "\u{001B}[2K\r" : "\n"
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:56:16: warning: static property 'rewindCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | static var stdout: WritableStream = WriteStream.stdout
55 | static var stderr: WritableStream = WriteStream.stderr
56 | static var rewindCharacter = Term.isTTY ? "\r" : "\n"
| |- warning: static property 'rewindCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rewindCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'rewindCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static var clearLineCharacter = Term.isTTY ? "\u{001B}[2K\r" : "\n"
58 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:57:16: warning: static property 'clearLineCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | static var stderr: WritableStream = WriteStream.stderr
56 | static var rewindCharacter = Term.isTTY ? "\r" : "\n"
57 | static var clearLineCharacter = Term.isTTY ? "\u{001B}[2K\r" : "\n"
| |- warning: static property 'clearLineCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'clearLineCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'clearLineCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | private init() {}
[73/92] Compiling IceKit Transformer.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TransformStream.swift:165:24: warning: static property 'actions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
163 | }
164 |
165 | private static var actions: [Action] = []
| |- warning: static property 'actions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'actions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'actions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 | private static var actionLock = NSLock()
167 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TransformStream.swift:166:24: warning: static property 'actionLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
164 |
165 | private static var actions: [Action] = []
166 | private static var actionLock = NSLock()
| |- warning: static property 'actionLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'actionLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'actionLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | static func record(action: Action) {
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TransformStream.swift:30:19: warning: capture of 'self' with non-sendable type 'TransformStream' in a '@Sendable' closure
11 | import SwiftCLI
12 |
13 | class TransformStream: WritableStream {
| `- note: class 'TransformStream' does not conform to the 'Sendable' protocol
14 |
15 | let writeHandle: FileHandle
:
28 |
29 | DispatchQueue.global().async {
30 | while self.isOpen() {
| `- warning: capture of 'self' with non-sendable type 'TransformStream' in a '@Sendable' closure
31 | transformer.go(stream: self)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TransformStream.swift:31:17: warning: capture of 'transformer' with non-sendable type 'any Transformer' in a '@Sendable' closure
29 | DispatchQueue.global().async {
30 | while self.isOpen() {
31 | transformer.go(stream: self)
| `- warning: capture of 'transformer' with non-sendable type 'any Transformer' in a '@Sendable' closure
32 | }
33 | self.semaphore.signal()
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:13:10: note: protocol 'Transformer' does not conform to the 'Sendable' protocol
11 | // MARK: -
12 |
13 | protocol Transformer {
| `- note: protocol 'Transformer' does not conform to the 'Sendable' protocol
14 | func go(stream: TransformStream)
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:54:16: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | struct TransformerConfig {
54 | static var stdout: WritableStream = WriteStream.stdout
| |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static var stderr: WritableStream = WriteStream.stderr
56 | static var rewindCharacter = Term.isTTY ? "\r" : "\n"
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:55:16: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | struct TransformerConfig {
54 | static var stdout: WritableStream = WriteStream.stdout
55 | static var stderr: WritableStream = WriteStream.stderr
| |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static var rewindCharacter = Term.isTTY ? "\r" : "\n"
57 | static var clearLineCharacter = Term.isTTY ? "\u{001B}[2K\r" : "\n"
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:56:16: warning: static property 'rewindCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | static var stdout: WritableStream = WriteStream.stdout
55 | static var stderr: WritableStream = WriteStream.stderr
56 | static var rewindCharacter = Term.isTTY ? "\r" : "\n"
| |- warning: static property 'rewindCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rewindCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'rewindCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static var clearLineCharacter = Term.isTTY ? "\u{001B}[2K\r" : "\n"
58 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:57:16: warning: static property 'clearLineCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | static var stderr: WritableStream = WriteStream.stderr
56 | static var rewindCharacter = Term.isTTY ? "\r" : "\n"
57 | static var clearLineCharacter = Term.isTTY ? "\u{001B}[2K\r" : "\n"
| |- warning: static property 'clearLineCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'clearLineCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'clearLineCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | private init() {}
[74/92] Compiling IceKit Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TransformStream.swift:165:24: warning: static property 'actions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
163 | }
164 |
165 | private static var actions: [Action] = []
| |- warning: static property 'actions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'actions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'actions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 | private static var actionLock = NSLock()
167 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TransformStream.swift:166:24: warning: static property 'actionLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
164 |
165 | private static var actions: [Action] = []
166 | private static var actionLock = NSLock()
| |- warning: static property 'actionLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'actionLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'actionLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 | static func record(action: Action) {
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TransformStream.swift:30:19: warning: capture of 'self' with non-sendable type 'TransformStream' in a '@Sendable' closure
11 | import SwiftCLI
12 |
13 | class TransformStream: WritableStream {
| `- note: class 'TransformStream' does not conform to the 'Sendable' protocol
14 |
15 | let writeHandle: FileHandle
:
28 |
29 | DispatchQueue.global().async {
30 | while self.isOpen() {
| `- warning: capture of 'self' with non-sendable type 'TransformStream' in a '@Sendable' closure
31 | transformer.go(stream: self)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/TransformStream.swift:31:17: warning: capture of 'transformer' with non-sendable type 'any Transformer' in a '@Sendable' closure
29 | DispatchQueue.global().async {
30 | while self.isOpen() {
31 | transformer.go(stream: self)
| `- warning: capture of 'transformer' with non-sendable type 'any Transformer' in a '@Sendable' closure
32 | }
33 | self.semaphore.signal()
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:13:10: note: protocol 'Transformer' does not conform to the 'Sendable' protocol
11 | // MARK: -
12 |
13 | protocol Transformer {
| `- note: protocol 'Transformer' does not conform to the 'Sendable' protocol
14 | func go(stream: TransformStream)
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:54:16: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | struct TransformerConfig {
54 | static var stdout: WritableStream = WriteStream.stdout
| |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static var stderr: WritableStream = WriteStream.stderr
56 | static var rewindCharacter = Term.isTTY ? "\r" : "\n"
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:55:16: warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | struct TransformerConfig {
54 | static var stdout: WritableStream = WriteStream.stdout
55 | static var stderr: WritableStream = WriteStream.stderr
| |- warning: static property 'stderr' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'stderr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static var rewindCharacter = Term.isTTY ? "\r" : "\n"
57 | static var clearLineCharacter = Term.isTTY ? "\u{001B}[2K\r" : "\n"
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:56:16: warning: static property 'rewindCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | static var stdout: WritableStream = WriteStream.stdout
55 | static var stderr: WritableStream = WriteStream.stderr
56 | static var rewindCharacter = Term.isTTY ? "\r" : "\n"
| |- warning: static property 'rewindCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rewindCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'rewindCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static var clearLineCharacter = Term.isTTY ? "\u{001B}[2K\r" : "\n"
58 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/Transformer.swift:57:16: warning: static property 'clearLineCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | static var stderr: WritableStream = WriteStream.stderr
56 | static var rewindCharacter = Term.isTTY ? "\r" : "\n"
57 | static var clearLineCharacter = Term.isTTY ? "\u{001B}[2K\r" : "\n"
| |- warning: static property 'clearLineCharacter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'clearLineCharacter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'clearLineCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | private init() {}
[75/92] Compiling IceKit V4_0.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/PackageFile.swift:16:20: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private final class ToolsVersionLine: Matcher, Matchable {
15 | // Spec at: https://github.com/apple/swift-package-manager/blob/master/Sources/PackageLoading/ToolsVersionLoader.swift#L97
16 | static let regex = Regex("^// swift-tools-version:(.*?)(?:;.*|$)", options: [.caseInsensitive])
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | var toolsVersion: String { return captures[0] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[76/92] Compiling IceKit V4_2.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/PackageFile.swift:16:20: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private final class ToolsVersionLine: Matcher, Matchable {
15 | // Spec at: https://github.com/apple/swift-package-manager/blob/master/Sources/PackageLoading/ToolsVersionLoader.swift#L97
16 | static let regex = Regex("^// swift-tools-version:(.*?)(?:;.*|$)", options: [.caseInsensitive])
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | var toolsVersion: String { return captures[0] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[77/92] Compiling IceKit V5_0.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/PackageFile.swift:16:20: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private final class ToolsVersionLine: Matcher, Matchable {
15 | // Spec at: https://github.com/apple/swift-package-manager/blob/master/Sources/PackageLoading/ToolsVersionLoader.swift#L97
16 | static let regex = Regex("^// swift-tools-version:(.*?)(?:;.*|$)", options: [.caseInsensitive])
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | var toolsVersion: String { return captures[0] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[78/92] Compiling IceKit PackageFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/PackageFile.swift:16:20: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private final class ToolsVersionLine: Matcher, Matchable {
15 | // Spec at: https://github.com/apple/swift-package-manager/blob/master/Sources/PackageLoading/ToolsVersionLoader.swift#L97
16 | static let regex = Regex("^// swift-tools-version:(.*?)(?:;.*|$)", options: [.caseInsensitive])
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | var toolsVersion: String { return captures[0] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[79/92] Compiling IceKit PackageFormatter.swift
[80/92] Compiling IceKit PackageWriter.swift
[81/92] Compiling IceKit Regex.swift
[82/92] Compiling IceKit Build.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:12:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | final class CompileModuleLine: Matcher, Matchable {
12 | static let regex = Regex("^(\\d+/\\d+)?(Compile|\\[\\d+/\\d+\\] Compiling) Swift Module '(.*)' (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | var module: String { return captures[2] }
14 | var sourceCount: String { return captures[3] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:18:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | final class CompileFileLine: Matcher, Matchable {
18 | static let regex = Regex("^(Compile|\\[\\d+/\\d+\\] Compiling) (([^ ]*) )?([^ ]*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var module: String? { return captures[2] }
20 | var file: String { captures[3] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:24:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | final class LinkLine: Matcher, Matchable {
24 | static let regex = Regex("^(\\[\\d+/\\d+\\] )?Linking (.*)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | var product: String { return captures[1] }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:29:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | final class MergeLine: Matcher, Matchable {
29 | static let regex = Regex("^(\\[\\d+/\\d+\\] )?Merging module (.*)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | var module: String { return captures[1] }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:34:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | final class PlanBuildLine: Matcher, Matchable {
34 | static let regex = Regex("^(\\[\\d+/\\d+\\] )?Planning build")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:38:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | final class BuildCompletedLine: Matcher, Matchable {
38 | static let regex = Regex("^\\* Build Completed!")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:42:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | final class EmptyLine: Matcher, Matchable {
42 | static let regex = Regex("^$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:46:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | final class WrapASTLine: Matcher, Matchable {
46 | static let regex = Regex("^(\\[\\d+/\\d+\\] )?Wrapping AST (.*)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:61:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | static let regex = Regex("^([^:]*):([0-9]+):([0-9]+:)? (error|warning|note): (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var path: String { return captures[0] }
63 | var lineNumber: Int { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:69:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | final class HighlightsLine: Matcher, Matchable {
69 | static let regex = Regex("^([~^ ]+)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | var highlights: String { return captures[0] }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:74:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | final class InternalTerminatedErrorLine: Matcher, Matchable {
74 | static let regex = Regex("^error: terminated\\(1\\): (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:78:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | final class UnderscoreLine: Matcher, Matchable {
78 | static let regex = Regex("^\\s*_\\s*$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | }
80 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:82:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | final class TerminatedLine: Matcher, Matchable {
82 | static let regex = Regex("^terminated\\(1\\)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:86:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | final class WarningsGeneratedLine: Matcher, Matchable {
86 | static let regex = Regex("^[0-9]+ warnings? generated\\.$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:90:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
88 |
89 | final class LinkerErrorStartLine: Matcher, Matchable {
90 | static let regex = Regex("^(Undefined symbols.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | var text: String { return captures[0] }
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:95:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | final class LinkerErrorEndLine: Matcher, Matchable {
95 | static let regex = Regex("^ld:")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[83/92] Compiling IceKit BuildLines.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:12:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | final class CompileModuleLine: Matcher, Matchable {
12 | static let regex = Regex("^(\\d+/\\d+)?(Compile|\\[\\d+/\\d+\\] Compiling) Swift Module '(.*)' (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | var module: String { return captures[2] }
14 | var sourceCount: String { return captures[3] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:18:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | final class CompileFileLine: Matcher, Matchable {
18 | static let regex = Regex("^(Compile|\\[\\d+/\\d+\\] Compiling) (([^ ]*) )?([^ ]*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var module: String? { return captures[2] }
20 | var file: String { captures[3] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:24:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | final class LinkLine: Matcher, Matchable {
24 | static let regex = Regex("^(\\[\\d+/\\d+\\] )?Linking (.*)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | var product: String { return captures[1] }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:29:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | final class MergeLine: Matcher, Matchable {
29 | static let regex = Regex("^(\\[\\d+/\\d+\\] )?Merging module (.*)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | var module: String { return captures[1] }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:34:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | final class PlanBuildLine: Matcher, Matchable {
34 | static let regex = Regex("^(\\[\\d+/\\d+\\] )?Planning build")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:38:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | final class BuildCompletedLine: Matcher, Matchable {
38 | static let regex = Regex("^\\* Build Completed!")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:42:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | final class EmptyLine: Matcher, Matchable {
42 | static let regex = Regex("^$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:46:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | final class WrapASTLine: Matcher, Matchable {
46 | static let regex = Regex("^(\\[\\d+/\\d+\\] )?Wrapping AST (.*)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:61:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | static let regex = Regex("^([^:]*):([0-9]+):([0-9]+:)? (error|warning|note): (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var path: String { return captures[0] }
63 | var lineNumber: Int { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:69:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | final class HighlightsLine: Matcher, Matchable {
69 | static let regex = Regex("^([~^ ]+)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | var highlights: String { return captures[0] }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:74:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | final class InternalTerminatedErrorLine: Matcher, Matchable {
74 | static let regex = Regex("^error: terminated\\(1\\): (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:78:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | final class UnderscoreLine: Matcher, Matchable {
78 | static let regex = Regex("^\\s*_\\s*$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | }
80 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:82:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | final class TerminatedLine: Matcher, Matchable {
82 | static let regex = Regex("^terminated\\(1\\)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:86:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | final class WarningsGeneratedLine: Matcher, Matchable {
86 | static let regex = Regex("^[0-9]+ warnings? generated\\.$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:90:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
88 |
89 | final class LinkerErrorStartLine: Matcher, Matchable {
90 | static let regex = Regex("^(Undefined symbols.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | var text: String { return captures[0] }
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:95:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | final class LinkerErrorEndLine: Matcher, Matchable {
95 | static let regex = Regex("^ld:")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[84/92] Compiling IceKit Captures.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:12:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | final class CompileModuleLine: Matcher, Matchable {
12 | static let regex = Regex("^(\\d+/\\d+)?(Compile|\\[\\d+/\\d+\\] Compiling) Swift Module '(.*)' (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | var module: String { return captures[2] }
14 | var sourceCount: String { return captures[3] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:18:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | final class CompileFileLine: Matcher, Matchable {
18 | static let regex = Regex("^(Compile|\\[\\d+/\\d+\\] Compiling) (([^ ]*) )?([^ ]*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var module: String? { return captures[2] }
20 | var file: String { captures[3] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:24:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | final class LinkLine: Matcher, Matchable {
24 | static let regex = Regex("^(\\[\\d+/\\d+\\] )?Linking (.*)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | var product: String { return captures[1] }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:29:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | final class MergeLine: Matcher, Matchable {
29 | static let regex = Regex("^(\\[\\d+/\\d+\\] )?Merging module (.*)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | var module: String { return captures[1] }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:34:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | final class PlanBuildLine: Matcher, Matchable {
34 | static let regex = Regex("^(\\[\\d+/\\d+\\] )?Planning build")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:38:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | final class BuildCompletedLine: Matcher, Matchable {
38 | static let regex = Regex("^\\* Build Completed!")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:42:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | final class EmptyLine: Matcher, Matchable {
42 | static let regex = Regex("^$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:46:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | final class WrapASTLine: Matcher, Matchable {
46 | static let regex = Regex("^(\\[\\d+/\\d+\\] )?Wrapping AST (.*)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:61:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | static let regex = Regex("^([^:]*):([0-9]+):([0-9]+:)? (error|warning|note): (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | var path: String { return captures[0] }
63 | var lineNumber: Int { return captures[1] }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:69:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | final class HighlightsLine: Matcher, Matchable {
69 | static let regex = Regex("^([~^ ]+)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | var highlights: String { return captures[0] }
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:74:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | final class InternalTerminatedErrorLine: Matcher, Matchable {
74 | static let regex = Regex("^error: terminated\\(1\\): (.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:78:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
76 |
77 | final class UnderscoreLine: Matcher, Matchable {
78 | static let regex = Regex("^\\s*_\\s*$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | }
80 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:82:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | final class TerminatedLine: Matcher, Matchable {
82 | static let regex = Regex("^terminated\\(1\\)")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:86:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | final class WarningsGeneratedLine: Matcher, Matchable {
86 | static let regex = Regex("^[0-9]+ warnings? generated\\.$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:90:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
88 |
89 | final class LinkerErrorStartLine: Matcher, Matchable {
90 | static let regex = Regex("^(Undefined symbols.*)$")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | var text: String { return captures[0] }
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Transformers/BuildLines.swift:95:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | final class LinkerErrorEndLine: Matcher, Matchable {
95 | static let regex = Regex("^ld:")
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/Regex.swift:10:15: note: consider making struct 'Regex' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Regex {
| `- note: consider making struct 'Regex' conform to the 'Sendable' protocol
11 |
12 | let regularExpression: NSRegularExpression
[85/116] Emitting module IceCLI
[86/118] Compiling IceCLI Search.swift
[87/118] Compiling IceCLI Shared.swift
[88/118] Compiling IceCLI Resolve.swift
[89/118] Compiling IceCLI Run.swift
[90/118] Compiling IceCLI Config.swift
[91/118] Compiling IceCLI Describe.swift
[92/118] Compiling IceCLI Dump.swift
[93/118] Compiling IceCLI Target.swift
[94/118] Compiling IceCLI Test.swift
[95/118] Compiling IceCLI ToolsVersion.swift
[96/118] Compiling IceCLI Update.swift
[97/118] Compiling IceCLI Registry.swift
[98/118] Compiling IceCLI Remove.swift
[99/118] Compiling IceCLI Reset.swift
[100/118] Compiling IceCLI New.swift
[101/118] Compiling IceCLI Outdated.swift
[102/118] Compiling IceCLI Product.swift
[103/118] Compiling IceCLI Add.swift
[104/118] Compiling IceCLI Build.swift
[105/118] Compiling IceCLI Clean.swift
[106/118] Compiling IceCLI Format.swift
[107/118] Compiling IceCLI GenerateCompletions.swift
[108/118] Compiling IceCLI Init.swift
[109/118] Compiling IceCLI Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceCLI/Commands/Version.swift:19:47: warning: reference to static property 'version' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | stdout <<< "Ice version: \(Ice.version)"
18 |
19 | if let swiftVersion = SwiftExecutable.version?.description {
| `- warning: reference to static property 'version' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | stdout <<< "Swift version: " + swiftVersion
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/SPM.swift:35:23: note: static property declared here
33 | }()
34 |
35 | public static var version: SwiftToolsVersion? = {
| `- note: static property declared here
36 | if let content = try? Task.capture("swift", "--version").stdout,
37 | let match = Regex("Swift version ([0-9]\\.[0-9](\\.[0-9])?)(-dev)? ").firstMatch(in: content),
/Users/admin/builder/spi-builder-workspace/Sources/IceCLI/IceCLI.swift:22:17: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public func run() -> Never {
22 | Rainbow.enabled = Term.isTTY
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | let ice = createIce()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Rainbow/Sources/Rainbow.swift:47:23: note: static property declared here
45 |
46 | /// Enable `Rainbow` to colorize string or not. Default is `true`.
47 | public static var enabled = true
| `- note: static property declared here
48 |
49 | public static func extractModes(for string: String)
[110/118] Compiling IceCLI IceCLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/IceCLI/Commands/Version.swift:19:47: warning: reference to static property 'version' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | stdout <<< "Ice version: \(Ice.version)"
18 |
19 | if let swiftVersion = SwiftExecutable.version?.description {
| `- warning: reference to static property 'version' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | stdout <<< "Swift version: " + swiftVersion
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/IceKit/SPM.swift:35:23: note: static property declared here
33 | }()
34 |
35 | public static var version: SwiftToolsVersion? = {
| `- note: static property declared here
36 | if let content = try? Task.capture("swift", "--version").stdout,
37 | let match = Regex("Swift version ([0-9]\\.[0-9](\\.[0-9])?)(-dev)? ").firstMatch(in: content),
/Users/admin/builder/spi-builder-workspace/Sources/IceCLI/IceCLI.swift:22:17: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public func run() -> Never {
22 | Rainbow.enabled = Term.isTTY
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | let ice = createIce()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Rainbow/Sources/Rainbow.swift:47:23: note: static property declared here
45 |
46 | /// Enable `Rainbow` to colorize string or not. Default is `true`.
47 | public static var enabled = true
| `- note: static property declared here
48 |
49 | public static func extractModes(for string: String)
[111/120] Emitting module Ice
[112/120] Compiling Ice main.swift
[112/120] Write Objects.LinkFileList
[113/120] Linking ice
[114/120] Applying ice
[116/120] Compiling Icebox Loggger.swift
[117/120] Compiling Icebox RunResult.swift
[118/120] Compiling Icebox LineTester.swift
[119/120] Emitting module Icebox
[120/120] Compiling Icebox Icebox.swift
[121/122] Compiling TestingUtilities TestingUtilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestingUtilities/TestingUtilities.swift:43:24: warning: static property 'differentiate' is not concurrency-safe because non-'Sendable' type 'Differentiate' may have shared mutable state; this is an error in the Swift 6 language mode
31 | public typealias Assertion = () -> ()
32 |
33 | public class Differentiate {
| `- note: class 'Differentiate' does not conform to the 'Sendable' protocol
34 |
35 | public static func byPlatform(mac: Assertion, linux: Assertion) {
:
41 | }
42 |
43 | private static let differentiate = Differentiate()
| |- warning: static property 'differentiate' is not concurrency-safe because non-'Sendable' type 'Differentiate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'differentiate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | private init() {
[122/122] Emitting module TestingUtilities
/Users/admin/builder/spi-builder-workspace/Sources/TestingUtilities/TestingUtilities.swift:43:24: warning: static property 'differentiate' is not concurrency-safe because non-'Sendable' type 'Differentiate' may have shared mutable state; this is an error in the Swift 6 language mode
31 | public typealias Assertion = () -> ()
32 |
33 | public class Differentiate {
| `- note: class 'Differentiate' does not conform to the 'Sendable' protocol
34 |
35 | public static func byPlatform(mac: Assertion, linux: Assertion) {
:
41 | }
42 |
43 | private static let differentiate = Differentiate()
| |- warning: static property 'differentiate' is not concurrency-safe because non-'Sendable' type 'Differentiate' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'differentiate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | private init() {
Build complete! (16.59s)
Build complete.
{
"dependencies" : [
{
"identity" : "icebox",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.6",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/Icebox"
},
{
"identity" : "pathkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/PathKit"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.1",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
},
{
"identity" : "swiftcli",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.1",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/SwiftCLI"
},
{
"identity" : "swiftytexttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scottrhoyt/SwiftyTextTable"
}
],
"manifest_display_name" : "Ice",
"name" : "Ice",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ice",
"targets" : [
"Ice"
],
"type" : {
"executable" : null
}
},
{
"name" : "IceKit",
"targets" : [
"IceKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TestingUtilities",
"module_type" : "SwiftTarget",
"name" : "TestingUtilities",
"path" : "Sources/TestingUtilities",
"product_dependencies" : [
"Icebox"
],
"sources" : [
"TestingUtilities.swift"
],
"type" : "library"
},
{
"c99name" : "IceTests",
"module_type" : "SwiftTarget",
"name" : "IceTests",
"path" : "Tests/IceTests",
"product_dependencies" : [
"Icebox",
"Rainbow"
],
"sources" : [
"AddTests.swift",
"BuildTests.swift",
"CleanTests.swift",
"ConfigTests.swift",
"DumpTests.swift",
"InitTests.swift",
"NewTests.swift",
"OutdatedTests.swift",
"ProductTests.swift",
"RegistryTests.swift",
"RemoveTests.swift",
"ResolveTests.swift",
"RunTests.swift",
"SearchTests.swift",
"TargetTests.swift",
"ToolsVersionTests.swift",
"UpdateTests.swift",
"VersionTests.swift"
],
"target_dependencies" : [
"TestingUtilities"
],
"type" : "test"
},
{
"c99name" : "IceKitTests",
"module_type" : "SwiftTarget",
"name" : "IceKitTests",
"path" : "Tests/IceKitTests",
"product_dependencies" : [
"Icebox",
"PathKit",
"SwiftCLI"
],
"sources" : [
"BuildTransformTests.swift",
"ConfigTests.swift",
"Fixtures.swift",
"InitTransformTests.swift",
"LineTests.swift",
"PackageDataTests.swift",
"PackageFileTests.swift",
"PackageTests.swift",
"PackageWriterTests.swift",
"RegistryTests.swift",
"RepositoryReferenceTests.swift",
"ResolveTransformTests.swift",
"TestTransformTests.swift",
"TransformerTest.swift",
"VersionTests.swift"
],
"target_dependencies" : [
"IceKit",
"TestingUtilities"
],
"type" : "test"
},
{
"c99name" : "IceKit",
"module_type" : "SwiftTarget",
"name" : "IceKit",
"path" : "Sources/IceKit",
"product_dependencies" : [
"PathKit",
"Rainbow",
"SwiftCLI"
],
"product_memberships" : [
"ice",
"IceKit"
],
"sources" : [
"Config.swift",
"Error.swift",
"Extensions.swift",
"Git.swift",
"Ice.swift",
"Logger.swift",
"Package.swift",
"PackageData/PackageData.swift",
"PackageData/V4_0.swift",
"PackageData/V4_2.swift",
"PackageData/V5_0.swift",
"PackageFile.swift",
"PackageFormatter.swift",
"PackageWriter.swift",
"Regex.swift",
"Registry.swift",
"RepositoryReference.swift",
"Resolved.swift",
"SPM.swift",
"SourceWatcher.swift",
"Transformers/AssertionMatchers.swift",
"Transformers/Build.swift",
"Transformers/BuildLines.swift",
"Transformers/Captures.swift",
"Transformers/Init.swift",
"Transformers/Matchable.swift",
"Transformers/Resolve.swift",
"Transformers/Shared.swift",
"Transformers/Test.swift",
"Transformers/TestLines.swift",
"Transformers/TransformStream.swift",
"Transformers/Transformer.swift",
"Version.swift"
],
"type" : "library"
},
{
"c99name" : "IceCLI",
"module_type" : "SwiftTarget",
"name" : "IceCLI",
"path" : "Sources/IceCLI",
"product_dependencies" : [
"PathKit",
"Rainbow",
"SwiftCLI",
"SwiftyTextTable"
],
"product_memberships" : [
"ice"
],
"sources" : [
"Commands/Add.swift",
"Commands/Build.swift",
"Commands/Clean.swift",
"Commands/Config.swift",
"Commands/Describe.swift",
"Commands/Dump.swift",
"Commands/Format.swift",
"Commands/GenerateCompletions.swift",
"Commands/Init.swift",
"Commands/New.swift",
"Commands/Outdated.swift",
"Commands/Product.swift",
"Commands/Registry.swift",
"Commands/Remove.swift",
"Commands/Reset.swift",
"Commands/Resolve.swift",
"Commands/Run.swift",
"Commands/Search.swift",
"Commands/Shared.swift",
"Commands/Target.swift",
"Commands/Test.swift",
"Commands/ToolsVersion.swift",
"Commands/Update.swift",
"Commands/Version.swift",
"IceCLI.swift"
],
"target_dependencies" : [
"IceKit"
],
"type" : "library"
},
{
"c99name" : "Ice",
"module_type" : "SwiftTarget",
"name" : "Ice",
"path" : "Sources/Ice",
"product_memberships" : [
"ice"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"IceCLI"
],
"type" : "executable"
}
],
"tools_version" : "5.1"
}
Done.