Build Information
Successful build of Lux, reference 0.5.0 (ec1cb6
), with Swift 6.0 for Linux on 1 Nov 2024 13:22:24 UTC.
Swift 6 data race errors: 19
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Categories for matches in a Plist format
10 | public enum XMLCategory: Category {
| `- note: consider making enum 'XMLCategory' conform to the 'Sendable' protocol
11 |
12 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = XMLCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyDefault = XMLCategory.key("")
25 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLCategory.swift:24:16: warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Categories for matches in a Plist format
10 | public enum XMLCategory: Category {
| `- note: consider making enum 'XMLCategory' conform to the 'Sendable' protocol
11 |
12 | // MARK: - Constants
:
22 |
23 | static let tagDefault = XMLCategory.tag("")
24 | static let keyDefault = XMLCategory.key("")
| |- warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // MARK: - Properties
[182/219] Compiling Lux XMLEnhancedDelegate.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:27:16: warning: static property 'openingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
25 | case header
26 |
27 | static let openingTagDefault = Self.openingTag("")
| |- warning: static property 'openingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'openingTagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static let closingTagDefault = Self.closingTag("")
29 | static let keyDefault = Self.key("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:28:16: warning: static property 'closingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
26 |
27 | static let openingTagDefault = Self.openingTag("")
28 | static let closingTagDefault = Self.closingTag("")
| |- warning: static property 'closingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closingTagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static let keyDefault = Self.key("")
30 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:29:16: warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
27 | static let openingTagDefault = Self.openingTag("")
28 | static let closingTagDefault = Self.closingTag("")
29 | static let keyDefault = Self.key("")
| |- warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Categories for matches in a Plist format
10 | public enum XMLCategory: Category {
| `- note: consider making enum 'XMLCategory' conform to the 'Sendable' protocol
11 |
12 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = XMLCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyDefault = XMLCategory.key("")
25 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLCategory.swift:24:16: warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Categories for matches in a Plist format
10 | public enum XMLCategory: Category {
| `- note: consider making enum 'XMLCategory' conform to the 'Sendable' protocol
11 |
12 | // MARK: - Constants
:
22 |
23 | static let tagDefault = XMLCategory.tag("")
24 | static let keyDefault = XMLCategory.key("")
| |- warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // MARK: - Properties
[183/219] Compiling Lux XMLEnhancedInjector.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:27:16: warning: static property 'openingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
25 | case header
26 |
27 | static let openingTagDefault = Self.openingTag("")
| |- warning: static property 'openingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'openingTagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static let closingTagDefault = Self.closingTag("")
29 | static let keyDefault = Self.key("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:28:16: warning: static property 'closingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
26 |
27 | static let openingTagDefault = Self.openingTag("")
28 | static let closingTagDefault = Self.closingTag("")
| |- warning: static property 'closingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closingTagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static let keyDefault = Self.key("")
30 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:29:16: warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
27 | static let openingTagDefault = Self.openingTag("")
28 | static let closingTagDefault = Self.closingTag("")
29 | static let keyDefault = Self.key("")
| |- warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Categories for matches in a Plist format
10 | public enum XMLCategory: Category {
| `- note: consider making enum 'XMLCategory' conform to the 'Sendable' protocol
11 |
12 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = XMLCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyDefault = XMLCategory.key("")
25 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLCategory.swift:24:16: warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Categories for matches in a Plist format
10 | public enum XMLCategory: Category {
| `- note: consider making enum 'XMLCategory' conform to the 'Sendable' protocol
11 |
12 | // MARK: - Constants
:
22 |
23 | static let tagDefault = XMLCategory.tag("")
24 | static let keyDefault = XMLCategory.key("")
| |- warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // MARK: - Properties
[184/219] Compiling Lux XMLCategory.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:27:16: warning: static property 'openingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
25 | case header
26 |
27 | static let openingTagDefault = Self.openingTag("")
| |- warning: static property 'openingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'openingTagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static let closingTagDefault = Self.closingTag("")
29 | static let keyDefault = Self.key("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:28:16: warning: static property 'closingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
26 |
27 | static let openingTagDefault = Self.openingTag("")
28 | static let closingTagDefault = Self.closingTag("")
| |- warning: static property 'closingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closingTagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static let keyDefault = Self.key("")
30 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:29:16: warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
27 | static let openingTagDefault = Self.openingTag("")
28 | static let closingTagDefault = Self.closingTag("")
29 | static let keyDefault = Self.key("")
| |- warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Categories for matches in a Plist format
10 | public enum XMLCategory: Category {
| `- note: consider making enum 'XMLCategory' conform to the 'Sendable' protocol
11 |
12 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = XMLCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyDefault = XMLCategory.key("")
25 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLCategory.swift:24:16: warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Categories for matches in a Plist format
10 | public enum XMLCategory: Category {
| `- note: consider making enum 'XMLCategory' conform to the 'Sendable' protocol
11 |
12 | // MARK: - Constants
:
22 |
23 | static let tagDefault = XMLCategory.tag("")
24 | static let keyDefault = XMLCategory.key("")
| |- warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // MARK: - Properties
[185/219] Compiling Lux XMLDelegate.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:27:16: warning: static property 'openingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
25 | case header
26 |
27 | static let openingTagDefault = Self.openingTag("")
| |- warning: static property 'openingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'openingTagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static let closingTagDefault = Self.closingTag("")
29 | static let keyDefault = Self.key("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:28:16: warning: static property 'closingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
26 |
27 | static let openingTagDefault = Self.openingTag("")
28 | static let closingTagDefault = Self.closingTag("")
| |- warning: static property 'closingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closingTagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static let keyDefault = Self.key("")
30 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:29:16: warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
27 | static let openingTagDefault = Self.openingTag("")
28 | static let closingTagDefault = Self.closingTag("")
29 | static let keyDefault = Self.key("")
| |- warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Categories for matches in a Plist format
10 | public enum XMLCategory: Category {
| `- note: consider making enum 'XMLCategory' conform to the 'Sendable' protocol
11 |
12 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = XMLCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyDefault = XMLCategory.key("")
25 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLCategory.swift:24:16: warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Categories for matches in a Plist format
10 | public enum XMLCategory: Category {
| `- note: consider making enum 'XMLCategory' conform to the 'Sendable' protocol
11 |
12 | // MARK: - Constants
:
22 |
23 | static let tagDefault = XMLCategory.tag("")
24 | static let keyDefault = XMLCategory.key("")
| |- warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // MARK: - Properties
[186/219] Compiling Lux XMLInjector.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:27:16: warning: static property 'openingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
25 | case header
26 |
27 | static let openingTagDefault = Self.openingTag("")
| |- warning: static property 'openingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'openingTagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static let closingTagDefault = Self.closingTag("")
29 | static let keyDefault = Self.key("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:28:16: warning: static property 'closingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
26 |
27 | static let openingTagDefault = Self.openingTag("")
28 | static let closingTagDefault = Self.closingTag("")
| |- warning: static property 'closingTagDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closingTagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static let keyDefault = Self.key("")
30 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift:29:16: warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 | #endif
7 |
8 | public enum XMLEnhancedCategory: Category {
| `- note: consider making enum 'XMLEnhancedCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
27 | static let openingTagDefault = Self.openingTag("")
28 | static let closingTagDefault = Self.closingTag("")
29 | static let keyDefault = Self.key("")
| |- warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLEnhancedCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Categories for matches in a Plist format
10 | public enum XMLCategory: Category {
| `- note: consider making enum 'XMLCategory' conform to the 'Sendable' protocol
11 |
12 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = XMLCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyDefault = XMLCategory.key("")
25 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLCategory.swift:24:16: warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Categories for matches in a Plist format
10 | public enum XMLCategory: Category {
| `- note: consider making enum 'XMLCategory' conform to the 'Sendable' protocol
11 |
12 | // MARK: - Constants
:
22 |
23 | static let tagDefault = XMLCategory.tag("")
24 | static let keyDefault = XMLCategory.key("")
| |- warning: static property 'keyDefault' is not concurrency-safe because non-'Sendable' type 'XMLCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // MARK: - Properties
[187/219] Compiling Lux YAMLCategory.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Yaml/YAMLInjector.swift:9:16: warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | extension RegexPattern {
9 | static let yaml = RegexPattern(#"(?<=(^|\s))-|[^\s]{1}.*:(?=\s)"#, type: .plain)
| |- warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yaml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:7:16: warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 |
7 | static let zshPlain = RegexPattern(
| |- warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshPlain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #""[^"]*"|'[^']*'"# // strings
9 | + #"|\s?\x5C#[^\s]*|(\{[\s]*#|#).*(?=\n|\Z)"# // comments and escaped # signs
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:17:16: warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
15 | type: .plain)
16 |
17 | static let zshHTML = RegexPattern(
| |- warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #""[^"]*"|'[^']*'"# // strings
19 | + #"|&|<|>"# //specific html keywords &, < and >
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:29:16: warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Find variables in a string in Zsh
29 | static let zshVariables = RegexPattern(
| |- warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | #"\$[a-zA-Z0-9_-]+"#
31 | + #"|\$\{[a-zA-Z0-9_-]+\}"#,
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[188/219] Compiling Lux YAMLDelegate.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Yaml/YAMLInjector.swift:9:16: warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | extension RegexPattern {
9 | static let yaml = RegexPattern(#"(?<=(^|\s))-|[^\s]{1}.*:(?=\s)"#, type: .plain)
| |- warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yaml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:7:16: warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 |
7 | static let zshPlain = RegexPattern(
| |- warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshPlain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #""[^"]*"|'[^']*'"# // strings
9 | + #"|\s?\x5C#[^\s]*|(\{[\s]*#|#).*(?=\n|\Z)"# // comments and escaped # signs
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:17:16: warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
15 | type: .plain)
16 |
17 | static let zshHTML = RegexPattern(
| |- warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #""[^"]*"|'[^']*'"# // strings
19 | + #"|&|<|>"# //specific html keywords &, < and >
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:29:16: warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Find variables in a string in Zsh
29 | static let zshVariables = RegexPattern(
| |- warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | #"\$[a-zA-Z0-9_-]+"#
31 | + #"|\$\{[a-zA-Z0-9_-]+\}"#,
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[189/219] Compiling Lux YAMLInjector.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Yaml/YAMLInjector.swift:9:16: warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | extension RegexPattern {
9 | static let yaml = RegexPattern(#"(?<=(^|\s))-|[^\s]{1}.*:(?=\s)"#, type: .plain)
| |- warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yaml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:7:16: warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 |
7 | static let zshPlain = RegexPattern(
| |- warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshPlain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #""[^"]*"|'[^']*'"# // strings
9 | + #"|\s?\x5C#[^\s]*|(\{[\s]*#|#).*(?=\n|\Z)"# // comments and escaped # signs
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:17:16: warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
15 | type: .plain)
16 |
17 | static let zshHTML = RegexPattern(
| |- warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #""[^"]*"|'[^']*'"# // strings
19 | + #"|&|<|>"# //specific html keywords &, < and >
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:29:16: warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Find variables in a string in Zsh
29 | static let zshVariables = RegexPattern(
| |- warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | #"\$[a-zA-Z0-9_-]+"#
31 | + #"|\$\{[a-zA-Z0-9_-]+\}"#,
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[190/219] Compiling Lux ZshCategory.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Yaml/YAMLInjector.swift:9:16: warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | extension RegexPattern {
9 | static let yaml = RegexPattern(#"(?<=(^|\s))-|[^\s]{1}.*:(?=\s)"#, type: .plain)
| |- warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yaml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:7:16: warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 |
7 | static let zshPlain = RegexPattern(
| |- warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshPlain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #""[^"]*"|'[^']*'"# // strings
9 | + #"|\s?\x5C#[^\s]*|(\{[\s]*#|#).*(?=\n|\Z)"# // comments and escaped # signs
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:17:16: warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
15 | type: .plain)
16 |
17 | static let zshHTML = RegexPattern(
| |- warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #""[^"]*"|'[^']*'"# // strings
19 | + #"|&|<|>"# //specific html keywords &, < and >
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:29:16: warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Find variables in a string in Zsh
29 | static let zshVariables = RegexPattern(
| |- warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | #"\$[a-zA-Z0-9_-]+"#
31 | + #"|\$\{[a-zA-Z0-9_-]+\}"#,
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[191/219] Compiling Lux ZshDelegate.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Yaml/YAMLInjector.swift:9:16: warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | extension RegexPattern {
9 | static let yaml = RegexPattern(#"(?<=(^|\s))-|[^\s]{1}.*:(?=\s)"#, type: .plain)
| |- warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yaml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:7:16: warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 |
7 | static let zshPlain = RegexPattern(
| |- warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshPlain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #""[^"]*"|'[^']*'"# // strings
9 | + #"|\s?\x5C#[^\s]*|(\{[\s]*#|#).*(?=\n|\Z)"# // comments and escaped # signs
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:17:16: warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
15 | type: .plain)
16 |
17 | static let zshHTML = RegexPattern(
| |- warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #""[^"]*"|'[^']*'"# // strings
19 | + #"|&|<|>"# //specific html keywords &, < and >
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:29:16: warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Find variables in a string in Zsh
29 | static let zshVariables = RegexPattern(
| |- warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | #"\$[a-zA-Z0-9_-]+"#
31 | + #"|\$\{[a-zA-Z0-9_-]+\}"#,
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[192/219] Compiling Lux ZshInjector.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Yaml/YAMLInjector.swift:9:16: warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | extension RegexPattern {
9 | static let yaml = RegexPattern(#"(?<=(^|\s))-|[^\s]{1}.*:(?=\s)"#, type: .plain)
| |- warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yaml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:7:16: warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 |
7 | static let zshPlain = RegexPattern(
| |- warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshPlain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #""[^"]*"|'[^']*'"# // strings
9 | + #"|\s?\x5C#[^\s]*|(\{[\s]*#|#).*(?=\n|\Z)"# // comments and escaped # signs
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:17:16: warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
15 | type: .plain)
16 |
17 | static let zshHTML = RegexPattern(
| |- warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #""[^"]*"|'[^']*'"# // strings
19 | + #"|&|<|>"# //specific html keywords &, < and >
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:29:16: warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Find variables in a string in Zsh
29 | static let zshVariables = RegexPattern(
| |- warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | #"\$[a-zA-Z0-9_-]+"#
31 | + #"|\$\{[a-zA-Z0-9_-]+\}"#,
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[193/219] Compiling Lux Appendable.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Yaml/YAMLInjector.swift:9:16: warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | extension RegexPattern {
9 | static let yaml = RegexPattern(#"(?<=(^|\s))-|[^\s]{1}.*:(?=\s)"#, type: .plain)
| |- warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yaml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:7:16: warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 |
7 | static let zshPlain = RegexPattern(
| |- warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshPlain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #""[^"]*"|'[^']*'"# // strings
9 | + #"|\s?\x5C#[^\s]*|(\{[\s]*#|#).*(?=\n|\Z)"# // comments and escaped # signs
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:17:16: warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
15 | type: .plain)
16 |
17 | static let zshHTML = RegexPattern(
| |- warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #""[^"]*"|'[^']*'"# // strings
19 | + #"|&|<|>"# //specific html keywords &, < and >
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:29:16: warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Find variables in a string in Zsh
29 | static let zshVariables = RegexPattern(
| |- warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | #"\$[a-zA-Z0-9_-]+"#
31 | + #"|\$\{[a-zA-Z0-9_-]+\}"#,
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[194/219] Compiling Lux AttributedString.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Yaml/YAMLInjector.swift:9:16: warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | extension RegexPattern {
9 | static let yaml = RegexPattern(#"(?<=(^|\s))-|[^\s]{1}.*:(?=\s)"#, type: .plain)
| |- warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yaml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:7:16: warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 |
7 | static let zshPlain = RegexPattern(
| |- warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshPlain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #""[^"]*"|'[^']*'"# // strings
9 | + #"|\s?\x5C#[^\s]*|(\{[\s]*#|#).*(?=\n|\Z)"# // comments and escaped # signs
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:17:16: warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
15 | type: .plain)
16 |
17 | static let zshHTML = RegexPattern(
| |- warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #""[^"]*"|'[^']*'"# // strings
19 | + #"|&|<|>"# //specific html keywords &, < and >
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:29:16: warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Find variables in a string in Zsh
29 | static let zshVariables = RegexPattern(
| |- warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | #"\$[a-zA-Z0-9_-]+"#
31 | + #"|\$\{[a-zA-Z0-9_-]+\}"#,
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[195/219] Compiling Lux CSSClass.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Yaml/YAMLInjector.swift:9:16: warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | extension RegexPattern {
9 | static let yaml = RegexPattern(#"(?<=(^|\s))-|[^\s]{1}.*:(?=\s)"#, type: .plain)
| |- warning: static property 'yaml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yaml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:7:16: warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 |
7 | static let zshPlain = RegexPattern(
| |- warning: static property 'zshPlain' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshPlain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #""[^"]*"|'[^']*'"# // strings
9 | + #"|\s?\x5C#[^\s]*|(\{[\s]*#|#).*(?=\n|\Z)"# // comments and escaped # signs
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:17:16: warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
15 | type: .plain)
16 |
17 | static let zshHTML = RegexPattern(
| |- warning: static property 'zshHTML' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #""[^"]*"|'[^']*'"# // strings
19 | + #"|&|<|>"# //specific html keywords &, < and >
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Zsh/ZshInjector.swift:29:16: warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | /// Find variables in a string in Zsh
29 | static let zshVariables = RegexPattern(
| |- warning: static property 'zshVariables' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zshVariables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | #"\$[a-zA-Z0-9_-]+"#
31 | + #"|\$\{[a-zA-Z0-9_-]+\}"#,
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[196/219] Compiling Lux DataFormat.swift
[197/219] Compiling Lux Version.swift
[198/219] Compiling Lux Bool+KeyPath.swift
[199/219] Compiling Lux NSRegularExpression+Extensions.swift
[200/219] Compiling Lux String+Extensions.swift
[201/219] Compiling Lux StringProtocol+Extensions.swift
[202/219] Compiling Lux AttributedInjector.swift
[203/219] Compiling Lux BaseInjector.swift
[204/219] Compiling Lux FileInjectionService.swift
[205/219] Compiling Lux InjectionService.swift
[206/219] Compiling Lux InjectorDelegate.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Json/JSONInjector.swift:4:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension RegexPattern {
4 | static let json = RegexPattern(#"\{|\}|\(|\)|\[|\]|,|"[^"]*"\s*:|"([^"]|\\")*[^\\]"|"""#, type: .plain)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = PlistCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:24:16: warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
22 |
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
| |- warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyNameDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let keyValueDefault = PlistCategory.keyValue("")
26 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:25:16: warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
| |- warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyValueDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[207/219] Compiling Lux TextInjector.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Json/JSONInjector.swift:4:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension RegexPattern {
4 | static let json = RegexPattern(#"\{|\}|\(|\)|\[|\]|,|"[^"]*"\s*:|"([^"]|\\")*[^\\]"|"""#, type: .plain)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = PlistCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:24:16: warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
22 |
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
| |- warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyNameDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let keyValueDefault = PlistCategory.keyValue("")
26 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:25:16: warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
| |- warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyValueDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[208/219] Compiling Lux JSONCategory.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Json/JSONInjector.swift:4:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension RegexPattern {
4 | static let json = RegexPattern(#"\{|\}|\(|\)|\[|\]|,|"[^"]*"\s*:|"([^"]|\\")*[^\\]"|"""#, type: .plain)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = PlistCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:24:16: warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
22 |
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
| |- warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyNameDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let keyValueDefault = PlistCategory.keyValue("")
26 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:25:16: warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
| |- warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyValueDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[209/219] Compiling Lux JSONDelegate.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Json/JSONInjector.swift:4:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension RegexPattern {
4 | static let json = RegexPattern(#"\{|\}|\(|\)|\[|\]|,|"[^"]*"\s*:|"([^"]|\\")*[^\\]"|"""#, type: .plain)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = PlistCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:24:16: warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
22 |
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
| |- warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyNameDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let keyValueDefault = PlistCategory.keyValue("")
26 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:25:16: warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
| |- warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyValueDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[210/219] Compiling Lux JSONInjector.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Json/JSONInjector.swift:4:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension RegexPattern {
4 | static let json = RegexPattern(#"\{|\}|\(|\)|\[|\]|,|"[^"]*"\s*:|"([^"]|\\")*[^\\]"|"""#, type: .plain)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = PlistCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:24:16: warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
22 |
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
| |- warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyNameDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let keyValueDefault = PlistCategory.keyValue("")
26 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:25:16: warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
| |- warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyValueDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[211/219] Compiling Lux PlistCategory.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Json/JSONInjector.swift:4:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension RegexPattern {
4 | static let json = RegexPattern(#"\{|\}|\(|\)|\[|\]|,|"[^"]*"\s*:|"([^"]|\\")*[^\\]"|"""#, type: .plain)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = PlistCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:24:16: warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
22 |
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
| |- warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyNameDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let keyValueDefault = PlistCategory.keyValue("")
26 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:25:16: warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
| |- warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyValueDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[212/219] Compiling Lux PlistDelegate.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Json/JSONInjector.swift:4:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension RegexPattern {
4 | static let json = RegexPattern(#"\{|\}|\(|\)|\[|\]|,|"[^"]*"\s*:|"([^"]|\\")*[^\\]"|"""#, type: .plain)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = PlistCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:24:16: warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
22 |
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
| |- warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyNameDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let keyValueDefault = PlistCategory.keyValue("")
26 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:25:16: warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
| |- warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyValueDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[213/219] Compiling Lux PlistInjector.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Json/JSONInjector.swift:4:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension RegexPattern {
4 | static let json = RegexPattern(#"\{|\}|\(|\)|\[|\]|,|"[^"]*"\s*:|"([^"]|\\")*[^\\]"|"""#, type: .plain)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = PlistCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:24:16: warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
22 |
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
| |- warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyNameDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let keyValueDefault = PlistCategory.keyValue("")
26 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:25:16: warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
| |- warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyValueDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[214/219] Compiling Lux HTMLCustomCSSOutputFormat.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Json/JSONInjector.swift:4:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension RegexPattern {
4 | static let json = RegexPattern(#"\{|\}|\(|\)|\[|\]|,|"[^"]*"\s*:|"([^"]|\\")*[^\\]"|"""#, type: .plain)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = PlistCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:24:16: warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
22 |
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
| |- warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyNameDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let keyValueDefault = PlistCategory.keyValue("")
26 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:25:16: warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
| |- warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyValueDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[215/219] Compiling Lux SwiftCategory.swift
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Json/JSONInjector.swift:4:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension RegexPattern {
4 | static let json = RegexPattern(#"\{|\}|\(|\)|\[|\]|,|"[^"]*"\s*:|"([^"]|\\")*[^\\]"|"""#, type: .plain)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:23:16: warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
21 | case header
22 |
23 | static let tagDefault = PlistCategory.tag("")
| |- warning: static property 'tagDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tagDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:24:16: warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
22 |
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
| |- warning: static property 'keyNameDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyNameDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let keyValueDefault = PlistCategory.keyValue("")
26 |
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Plist/PlistCategory.swift:25:16: warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | /// Categories for matches in a Plist format
8 | public enum PlistCategory: Category {
| `- note: consider making enum 'PlistCategory' conform to the 'Sendable' protocol
9 |
10 | // MARK: - Constants
:
23 | static let tagDefault = PlistCategory.tag("")
24 | static let keyNameDefault = PlistCategory.keyName("")
25 | static let keyValueDefault = PlistCategory.keyValue("")
| |- warning: static property 'keyValueDefault' is not concurrency-safe because non-'Sendable' type 'PlistCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyValueDefault' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: - Properties
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:7:16: warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
| |- warning: static property 'plainXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plainXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
/host/spi-builder-workspace/Sources/Lux/InjectorImplementations/Xml/XMLInjector.swift:6:16: warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension RegexPattern {
6 | static let htmlXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^&]*)+>"#, type: .html)
| |- warning: static property 'htmlXml' is not concurrency-safe because non-'Sendable' type 'RegexPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'htmlXml' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let plainXml = RegexPattern(#"<("[^"]*"|'[^']*'|[^<^>])+>"#, type: .plain)
8 | }
/host/spi-builder-workspace/Sources/Lux/Models/RegexPattern.swift:4:8: note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
2 |
3 | /// A wrapper around `String` to store regular expression patterns more robustly.
4 | struct RegexPattern {
| `- note: consider making struct 'RegexPattern' conform to the 'Sendable' protocol
5 |
6 | // MARK: - Constants
[216/220] Wrapping AST for Lux for debugging
[218/229] Compiling LuxCLT String+Extensions.swift
[219/230] Compiling LuxCLT TypeText+Extensions.swift
/host/spi-builder-workspace/Sources/LuxCLT/Extensions/TypeText+Extensions.swift:4:1: warning: extension declares a conformance of imported type 'TextType' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Lux' introduce this conformance in the future
2 | import ArgumentParser
3 |
4 | extension TextType: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'TextType' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Lux' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 |
[220/230] Compiling LuxCLT VersionCommand.swift
/host/spi-builder-workspace/Sources/LuxCLT/VersionCommand.swift:8:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | // MARK: - Constants
7 |
8 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
9 | commandName: "version",
10 | abstract: "Output the current version of the program")
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/LuxCLT/VersionCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Lux
3 |
:
6 | // MARK: - Constants
7 |
8 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "version",
10 | abstract: "Output the current version of the program")
[221/230] Compiling LuxCLT RuntimeError.swift
[222/230] Compiling LuxCLT main.swift
/host/spi-builder-workspace/Sources/LuxCLT/main.swift:6:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct LuxCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "lux",
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | version: Version.current,
8 | subcommands: [
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/LuxCLT/main.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import Foundation
2 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
3 | import Lux
4 |
5 | struct LuxCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "lux",
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | version: Version.current,
8 | subcommands: [
[223/230] Emitting module LuxCLT
/host/spi-builder-workspace/Sources/LuxCLT/main.swift:6:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct LuxCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "lux",
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | version: Version.current,
8 | subcommands: [
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/LuxCLT/main.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import Foundation
2 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
3 | import Lux
4 |
5 | struct LuxCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "lux",
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | version: Version.current,
8 | subcommands: [
/host/spi-builder-workspace/Sources/LuxCLT/CSSCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct CSSCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "css", abstract: "Inject Css classes in a HTML file <pre><code> blocks")
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | @Option(name: [.short, .customLong("input")], help: "A path to a file to read to inject Css classes in it")
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/LuxCLT/CSSCommand.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import Foundation
2 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
3 | import Lux
4 |
5 | struct CSSCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "css", abstract: "Inject Css classes in a HTML file <pre><code> blocks")
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Option(name: [.short, .customLong("input")], help: "A path to a file to read to inject Css classes in it")
/host/spi-builder-workspace/Sources/LuxCLT/Extensions/ColorTheme+Extensions.swift:4:1: warning: extension declares a conformance of imported type 'ColorTheme' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Lux' introduce this conformance in the future
2 | import ArgumentParser
3 |
4 | extension ColorTheme: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'ColorTheme' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Lux' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 |
/host/spi-builder-workspace/Sources/LuxCLT/Extensions/TypeText+Extensions.swift:4:1: warning: extension declares a conformance of imported type 'TextType' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Lux' introduce this conformance in the future
2 | import ArgumentParser
3 |
4 | extension TextType: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'TextType' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Lux' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 |
/host/spi-builder-workspace/Sources/LuxCLT/InjectCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct InjectCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "inject", abstract: "Inject color marks in the input text")
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | @Option(name: [.short, .customLong("input")], help: "A path to a file to read to inject the color marks")
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/LuxCLT/InjectCommand.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import Foundation
2 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
3 | import Lux
4 |
5 | struct InjectCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "inject", abstract: "Inject color marks in the input text")
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Option(name: [.short, .customLong("input")], help: "A path to a file to read to inject the color marks")
/host/spi-builder-workspace/Sources/LuxCLT/VersionCommand.swift:8:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | // MARK: - Constants
7 |
8 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
9 | commandName: "version",
10 | abstract: "Output the current version of the program")
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/LuxCLT/VersionCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Lux
3 |
:
6 | // MARK: - Constants
7 |
8 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "version",
10 | abstract: "Output the current version of the program")
[224/230] Compiling LuxCLT CSSCommand.swift
/host/spi-builder-workspace/Sources/LuxCLT/CSSCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct CSSCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "css", abstract: "Inject Css classes in a HTML file <pre><code> blocks")
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | @Option(name: [.short, .customLong("input")], help: "A path to a file to read to inject Css classes in it")
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/LuxCLT/CSSCommand.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import Foundation
2 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
3 | import Lux
4 |
5 | struct CSSCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "css", abstract: "Inject Css classes in a HTML file <pre><code> blocks")
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Option(name: [.short, .customLong("input")], help: "A path to a file to read to inject Css classes in it")
/host/spi-builder-workspace/Sources/LuxCLT/Extensions/ColorTheme+Extensions.swift:4:1: warning: extension declares a conformance of imported type 'ColorTheme' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Lux' introduce this conformance in the future
2 | import ArgumentParser
3 |
4 | extension ColorTheme: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'ColorTheme' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Lux' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 |
[225/230] Compiling LuxCLT ColorTheme+Extensions.swift
/host/spi-builder-workspace/Sources/LuxCLT/CSSCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct CSSCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "css", abstract: "Inject Css classes in a HTML file <pre><code> blocks")
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | @Option(name: [.short, .customLong("input")], help: "A path to a file to read to inject Css classes in it")
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/LuxCLT/CSSCommand.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import Foundation
2 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
3 | import Lux
4 |
5 | struct CSSCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "css", abstract: "Inject Css classes in a HTML file <pre><code> blocks")
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Option(name: [.short, .customLong("input")], help: "A path to a file to read to inject Css classes in it")
/host/spi-builder-workspace/Sources/LuxCLT/Extensions/ColorTheme+Extensions.swift:4:1: warning: extension declares a conformance of imported type 'ColorTheme' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Lux' introduce this conformance in the future
2 | import ArgumentParser
3 |
4 | extension ColorTheme: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'ColorTheme' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Lux' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 |
[226/230] Compiling LuxCLT Format.swift
[227/230] Compiling LuxCLT InjectCommand.swift
/host/spi-builder-workspace/Sources/LuxCLT/InjectCommand.swift:6:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct InjectCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "inject", abstract: "Inject color marks in the input text")
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | @Option(name: [.short, .customLong("input")], help: "A path to a file to read to inject the color marks")
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/LuxCLT/InjectCommand.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import Foundation
2 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
3 | import Lux
4 |
5 | struct InjectCommand: ParsableCommand {
6 | static let configuration = CommandConfiguration(commandName: "inject", abstract: "Inject color marks in the input text")
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Option(name: [.short, .customLong("input")], help: "A path to a file to read to inject the color marks")
[228/231] Wrapping AST for LuxCLT for debugging
[229/231] Write Objects.LinkFileList
[230/231] Linking LuxCLT
Build complete! (46.47s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup.git"
},
{
"identity" : "splash",
"requirement" : {
"range" : [
{
"lower_bound" : "0.15.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/Splash"
}
],
"manifest_display_name" : "Lux",
"name" : "Lux",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "10.0"
}
],
"products" : [
{
"name" : "Lux",
"targets" : [
"Lux"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LuxCLT",
"targets" : [
"LuxCLT"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "LuxTests",
"module_type" : "SwiftTarget",
"name" : "LuxTests",
"path" : "Tests/LuxTests",
"sources" : [
"Extensions/StringProtocol+Extensions.swift",
"Extensions/URL+Extensions.swift",
"Extensions/XCTestCase+Extensions.swift",
"FileInjectionTest.swift",
"Formats/JsonInjectorTests.swift",
"Formats/PlistInjectorTests.swift",
"Formats/XMLEnhancedInjectorTests.swift",
"Formats/XmlInjectorTests.swift",
"Formats/ZshInjectorTests.swift",
"Formats/ZshTestDelegate.swift",
"InjectorTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Lux"
],
"type" : "test"
},
{
"c99name" : "LuxCLT",
"module_type" : "SwiftTarget",
"name" : "LuxCLT",
"path" : "Sources/LuxCLT",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"LuxCLT"
],
"sources" : [
"CSSCommand.swift",
"Extensions/ColorTheme+Extensions.swift",
"Extensions/String+Extensions.swift",
"Extensions/TypeText+Extensions.swift",
"Format.swift",
"InjectCommand.swift",
"RuntimeError.swift",
"VersionCommand.swift",
"main.swift"
],
"target_dependencies" : [
"Lux"
],
"type" : "executable"
},
{
"c99name" : "Lux",
"module_type" : "SwiftTarget",
"name" : "Lux",
"path" : "Sources/Lux",
"product_dependencies" : [
"Splash",
"SwiftSoup"
],
"product_memberships" : [
"Lux",
"LuxCLT"
],
"sources" : [
"Constants/DataFormat.swift",
"Constants/Version.swift",
"Extensions/Bool+KeyPath.swift",
"Extensions/NSRegularExpression+Extensions.swift",
"Extensions/String+Extensions.swift",
"Extensions/StringProtocol+Extensions.swift",
"Injection/AttributedInjector.swift",
"Injection/BaseInjector.swift",
"Injection/FileInjectionService.swift",
"Injection/InjectionService.swift",
"Injection/InjectorDelegate.swift",
"Injection/TextInjector.swift",
"InjectorImplementations/Json/JSONCategory.swift",
"InjectorImplementations/Json/JSONDelegate.swift",
"InjectorImplementations/Json/JSONInjector.swift",
"InjectorImplementations/Plist/PlistCategory.swift",
"InjectorImplementations/Plist/PlistDelegate.swift",
"InjectorImplementations/Plist/PlistInjector.swift",
"InjectorImplementations/Swift/HTMLCustomCSSOutputFormat.swift",
"InjectorImplementations/Swift/SwiftCategory.swift",
"InjectorImplementations/Swift/SwiftDelegate.swift",
"InjectorImplementations/Swift/SwiftInjector.swift",
"InjectorImplementations/Swift/TerminalOutputFormat.swift",
"InjectorImplementations/Swift/TokenType+SwiftCategory.swift",
"InjectorImplementations/XMLEnhanced/XMLEnhancedCategory.swift",
"InjectorImplementations/XMLEnhanced/XMLEnhancedDelegate.swift",
"InjectorImplementations/XMLEnhanced/XMLEnhancedInjector.swift",
"InjectorImplementations/Xml/XMLCategory.swift",
"InjectorImplementations/Xml/XMLDelegate.swift",
"InjectorImplementations/Xml/XMLInjector.swift",
"InjectorImplementations/Yaml/YAMLCategory.swift",
"InjectorImplementations/Yaml/YAMLDelegate.swift",
"InjectorImplementations/Yaml/YAMLInjector.swift",
"InjectorImplementations/Zsh/ZshCategory.swift",
"InjectorImplementations/Zsh/ZshDelegate.swift",
"InjectorImplementations/Zsh/ZshInjector.swift",
"Models/Appendable.swift",
"Models/AttributedString.swift",
"Models/CSSClass.swift",
"Models/Category.swift",
"Models/Color.swift",
"Models/InjectionType.swift",
"Models/InjectorType.swift",
"Models/RegexPattern.swift",
"Models/TerminalModifier.swift",
"Models/TextType.swift",
"Themes/ColorTheme.swift",
"Themes/Dracula/DraculaPalette.swift",
"Themes/Dracula/DraculaThemeInjectorDelegate.swift",
"Themes/Dracula/JSONDracula.swift",
"Themes/Dracula/PlistDracula.swift",
"Themes/Dracula/SwiftDracula.swift",
"Themes/Dracula/XMLEnhancedDracula.swift",
"Themes/Dracula/XmlDracula.swift",
"Themes/Dracula/YAMLDracula.swift",
"Themes/Dracula/ZshDracula.swift",
"Themes/ThemeInjectorDelegate.swift",
"Themes/Xcode Dark/JSONXcodeDarkDelegate.swift",
"Themes/Xcode Dark/PlistXcodeDarkDelegate.swift",
"Themes/Xcode Dark/SwiftXcodeDarkDelegate.swift",
"Themes/Xcode Dark/XMLEnhancedXcodeDarkDelegate.swift",
"Themes/Xcode Dark/XcodeDarkPalette.swift",
"Themes/Xcode Dark/XcodeDarkThemeInjectorDelegate.swift",
"Themes/Xcode Dark/XmlXcodeDarkDelegate.swift",
"Themes/Xcode Dark/YAMLXcodeDarkDelegate.swift",
"Themes/Xcode Dark/ZshXcodeDarkDelegate.swift",
"Themes/Xcode Light/JSONXcodeDefaultDelegate.swift",
"Themes/Xcode Light/PlistXcodeDefaultDelegate.swift",
"Themes/Xcode Light/SwiftXcodeDefaultDelegate.swift",
"Themes/Xcode Light/XcodeLightPalette.swift",
"Themes/Xcode Light/XcodeLightThemeInjectorDelegate.swift",
"Themes/Xcode Light/XmlEnhancedXcodeDefaultDelegate.swift",
"Themes/Xcode Light/XmlXcodeDefaultDelegate.swift",
"Themes/Xcode Light/YAMLXcodeDefaultLightDelegate.swift",
"Themes/Xcode Light/ZshXcodeLightDelegate.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.