This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftRegexDSL with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kodlian/SwiftRegexDSL.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/kodlian/SwiftRegexDSL
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4e4f7cd Add tvOS platform
Cloned https://github.com/kodlian/SwiftRegexDSL.git
Revision (git rev-parse @):
4e4f7cdb607e2256f01dab00957f61ee0479b2dd
SUCCESS checkout https://github.com/kodlian/SwiftRegexDSL.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kodlian/SwiftRegexDSL.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/20] Emitting module SwiftRegexDSL
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:14:23: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'PatternOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | /// The following flags control various aspects of regular expression matching.
 11 | public struct PatternOptions: OptionSet, Hashable {
    |               `- note: consider making struct 'PatternOptions' conform to the 'Sendable' protocol
 12 |
 13 |     /// If set, matching will take place in a case-insensitive manner.
 14 |     public static let caseInsensitive = PatternOptions(rawValue: 1 << 0)
    |                       |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'PatternOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'caseInsensitive' 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
 15 |
 16 |     /// If set, allow use of white space and #comments within patterns
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:17:23: warning: static property 'allowCommentsAndWhitespace' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |     /// If set, allow use of white space and #comments within patterns
 17 |     public static var allowCommentsAndWhitespace = PatternOptions(rawValue: 1 << 1)
    |                       |- warning: static property 'allowCommentsAndWhitespace' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allowCommentsAndWhitespace' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'allowCommentsAndWhitespace' 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 |
 19 |     /// If set, a AnyCharacter in a pattern will match a line terminator in the input text. By default, it will not. Note that a carriage-return / line-feed pair in text behave as a single line terminator, and will match a single "." in a regular expression pattern
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:20:23: warning: static property 'dotMatchesLineSeparators' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 |     /// If set, a AnyCharacter in a pattern will match a line terminator in the input text. By default, it will not. Note that a carriage-return / line-feed pair in text behave as a single line terminator, and will match a single "." in a regular expression pattern
 20 |     public static var dotMatchesLineSeparators = PatternOptions(rawValue: 1 << 2)
    |                       |- warning: static property 'dotMatchesLineSeparators' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dotMatchesLineSeparators' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'dotMatchesLineSeparators' 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
 21 |
 22 |     /// Control the behavior of "^" and "$" in a pattern. By default these will only match at the start and end, respectively, of the input text. If this flag is set, "^" and "$" will also match at the start and end of each line within the input text.
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:23:23: warning: static property 'anchorsMatchLines' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     /// Control the behavior of "^" and "$" in a pattern. By default these will only match at the start and end, respectively, of the input text. If this flag is set, "^" and "$" will also match at the start and end of each line within the input text.
 23 |     public static var anchorsMatchLines = PatternOptions(rawValue: 1 << 3)
    |                       |- warning: static property 'anchorsMatchLines' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'anchorsMatchLines' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'anchorsMatchLines' 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 |
 25 |     /// Controls the behavior of \b in a pattern. If set, word boundaries are found according to the definitions of word found in Unicode UAX 29, Text Boundaries. By default, word boundaries are identified by means of a simple classification of characters as either “word” or “non-word”, which approximates traditional regular expression behavior. The results obtained with the two options can be quite different in runs of spaces and other non-word characters.
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:26:23: warning: static property 'useUnicodeWordBoundaries' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 |     /// Controls the behavior of \b in a pattern. If set, word boundaries are found according to the definitions of word found in Unicode UAX 29, Text Boundaries. By default, word boundaries are identified by means of a simple classification of characters as either “word” or “non-word”, which approximates traditional regular expression behavior. The results obtained with the two options can be quite different in runs of spaces and other non-word characters.
 26 |     public static var useUnicodeWordBoundaries = PatternOptions(rawValue: 1 << 4)
    |                       |- warning: static property 'useUnicodeWordBoundaries' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'useUnicodeWordBoundaries' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'useUnicodeWordBoundaries' 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
 27 |
 28 |     static let all: [PatternOptions: Character] = [
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:28:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[PatternOptions : Character]' may have shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | /// The following flags control various aspects of regular expression matching.
 11 | public struct PatternOptions: OptionSet, Hashable {
    |               `- note: consider making struct 'PatternOptions' conform to the 'Sendable' protocol
 12 |
 13 |     /// If set, matching will take place in a case-insensitive manner.
    :
 26 |     public static var useUnicodeWordBoundaries = PatternOptions(rawValue: 1 << 4)
 27 |
 28 |     static let all: [PatternOptions: Character] = [
    |                |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[PatternOptions : Character]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'all' 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 |         .caseInsensitive : "i",
 30 |         .allowCommentsAndWhitespace : "x",
[4/22] Compiling SwiftRegexDSL UnsafeText.swift
[5/22] Compiling SwiftRegexDSL UnsafeUnicode.swift
[6/22] Compiling SwiftRegexDSL Regex+extensions.swift
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:31:27: error: no exact matches in call to initializer
29 |         let ranges = expression
30 |             .matches(in: String(self), options: [], range: nsRange)
31 |             .compactMap { Swift.Range($0.range, in: self) }
   |                           `- error: no exact matches in call to initializer
32 |
33 |         return ranges
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == AttributedString.Index {
3 |     public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
  |            `- note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
4 |     public init?<R, S>(_ region: R, in attrStr: S) where R : RangeExpression, S : AttributedStringProtocol, R.Bound == String.Index
5 | }
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == String.Index {
3 |     public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
  |            `- note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
4 | }
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:53:39: error: no exact matches in call to initializer
51 |                 var ranges = [Swift.Range<String.Index>]()
52 |                 for i in 0..<result.numberOfRanges {
53 |                     guard let range = Swift.Range(result.range(at: i), in: self) else {
   |                                       `- error: no exact matches in call to initializer
54 |                         continue
55 |                     }
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == AttributedString.Index {
3 |     public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
  |            `- note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
4 |     public init?<R, S>(_ region: R, in attrStr: S) where R : RangeExpression, S : AttributedStringProtocol, R.Bound == String.Index
5 | }
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == String.Index {
3 |     public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
  |            `- note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
4 | }
[7/22] Compiling SwiftRegexDSL Regex.swift
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:31:27: error: no exact matches in call to initializer
29 |         let ranges = expression
30 |             .matches(in: String(self), options: [], range: nsRange)
31 |             .compactMap { Swift.Range($0.range, in: self) }
   |                           `- error: no exact matches in call to initializer
32 |
33 |         return ranges
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == AttributedString.Index {
3 |     public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
  |            `- note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
4 |     public init?<R, S>(_ region: R, in attrStr: S) where R : RangeExpression, S : AttributedStringProtocol, R.Bound == String.Index
5 | }
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == String.Index {
3 |     public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
  |            `- note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
4 | }
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:53:39: error: no exact matches in call to initializer
51 |                 var ranges = [Swift.Range<String.Index>]()
52 |                 for i in 0..<result.numberOfRanges {
53 |                     guard let range = Swift.Range(result.range(at: i), in: self) else {
   |                                       `- error: no exact matches in call to initializer
54 |                         continue
55 |                     }
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == AttributedString.Index {
3 |     public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
  |            `- note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
4 |     public init?<R, S>(_ region: R, in attrStr: S) where R : RangeExpression, S : AttributedStringProtocol, R.Bound == String.Index
5 | }
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == String.Index {
3 |     public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
  |            `- note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
4 | }
[8/22] Compiling SwiftRegexDSL RegexBuilder.swift
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:31:27: error: no exact matches in call to initializer
29 |         let ranges = expression
30 |             .matches(in: String(self), options: [], range: nsRange)
31 |             .compactMap { Swift.Range($0.range, in: self) }
   |                           `- error: no exact matches in call to initializer
32 |
33 |         return ranges
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == AttributedString.Index {
3 |     public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
  |            `- note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
4 |     public init?<R, S>(_ region: R, in attrStr: S) where R : RangeExpression, S : AttributedStringProtocol, R.Bound == String.Index
5 | }
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == String.Index {
3 |     public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
  |            `- note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
4 | }
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Engine/Regex+extensions.swift:53:39: error: no exact matches in call to initializer
51 |                 var ranges = [Swift.Range<String.Index>]()
52 |                 for i in 0..<result.numberOfRanges {
53 |                     guard let range = Swift.Range(result.range(at: i), in: self) else {
   |                                       `- error: no exact matches in call to initializer
54 |                         continue
55 |                     }
Foundation.Range:3:12: note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == AttributedString.Index {
3 |     public init?<S>(_ range: NSRange, in attrStr: S) where S : AttributedStringProtocol
  |            `- note: candidate requires that 'Self' conform to 'AttributedStringProtocol' (requirement specified as 'S' : 'AttributedStringProtocol')
4 |     public init?<R, S>(_ region: R, in attrStr: S) where R : RangeExpression, S : AttributedStringProtocol, R.Bound == String.Index
5 | }
Foundation.Range:3:12: note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension Range where Bound == String.Index {
3 |     public init?<R, S>(_ region: R, in string: S) where R : RangeExpression, S : StringProtocol, R.Bound == AttributedString.Index
  |            `- note: candidate requires that 'NSRange' (aka '_NSRange') conform to 'RangeExpression' (requirement specified as 'R' : 'RangeExpression')
4 | }
[9/22] Compiling SwiftRegexDSL Anchor.swift
[10/22] Compiling SwiftRegexDSL Character Class.swift
[11/22] Compiling SwiftRegexDSL AlternativeRegexBuilder.swift
[12/22] Compiling SwiftRegexDSL Quantifier.swift
[13/22] Compiling SwiftRegexDSL RegexSet.swift
[14/22] Compiling SwiftRegexDSL Special Characters.swift
[15/22] Compiling SwiftRegexDSL Text.swift
[16/22] Compiling SwiftRegexDSL Capture.swift
[17/22] Compiling SwiftRegexDSL Comment.swift
[18/22] Compiling SwiftRegexDSL RegexModifier.swift
[19/22] Compiling SwiftRegexDSL Alternarive.swift
[20/22] Compiling SwiftRegexDSL Assertion.swift
[21/22] Compiling SwiftRegexDSL Group.swift
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:14:23: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'PatternOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | /// The following flags control various aspects of regular expression matching.
 11 | public struct PatternOptions: OptionSet, Hashable {
    |               `- note: consider making struct 'PatternOptions' conform to the 'Sendable' protocol
 12 |
 13 |     /// If set, matching will take place in a case-insensitive manner.
 14 |     public static let caseInsensitive = PatternOptions(rawValue: 1 << 0)
    |                       |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'PatternOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'caseInsensitive' 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
 15 |
 16 |     /// If set, allow use of white space and #comments within patterns
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:17:23: warning: static property 'allowCommentsAndWhitespace' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |     /// If set, allow use of white space and #comments within patterns
 17 |     public static var allowCommentsAndWhitespace = PatternOptions(rawValue: 1 << 1)
    |                       |- warning: static property 'allowCommentsAndWhitespace' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allowCommentsAndWhitespace' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'allowCommentsAndWhitespace' 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 |
 19 |     /// If set, a AnyCharacter in a pattern will match a line terminator in the input text. By default, it will not. Note that a carriage-return / line-feed pair in text behave as a single line terminator, and will match a single "." in a regular expression pattern
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:20:23: warning: static property 'dotMatchesLineSeparators' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 |     /// If set, a AnyCharacter in a pattern will match a line terminator in the input text. By default, it will not. Note that a carriage-return / line-feed pair in text behave as a single line terminator, and will match a single "." in a regular expression pattern
 20 |     public static var dotMatchesLineSeparators = PatternOptions(rawValue: 1 << 2)
    |                       |- warning: static property 'dotMatchesLineSeparators' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dotMatchesLineSeparators' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'dotMatchesLineSeparators' 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
 21 |
 22 |     /// Control the behavior of "^" and "$" in a pattern. By default these will only match at the start and end, respectively, of the input text. If this flag is set, "^" and "$" will also match at the start and end of each line within the input text.
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:23:23: warning: static property 'anchorsMatchLines' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     /// Control the behavior of "^" and "$" in a pattern. By default these will only match at the start and end, respectively, of the input text. If this flag is set, "^" and "$" will also match at the start and end of each line within the input text.
 23 |     public static var anchorsMatchLines = PatternOptions(rawValue: 1 << 3)
    |                       |- warning: static property 'anchorsMatchLines' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'anchorsMatchLines' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'anchorsMatchLines' 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 |
 25 |     /// Controls the behavior of \b in a pattern. If set, word boundaries are found according to the definitions of word found in Unicode UAX 29, Text Boundaries. By default, word boundaries are identified by means of a simple classification of characters as either “word” or “non-word”, which approximates traditional regular expression behavior. The results obtained with the two options can be quite different in runs of spaces and other non-word characters.
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:26:23: warning: static property 'useUnicodeWordBoundaries' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 |     /// Controls the behavior of \b in a pattern. If set, word boundaries are found according to the definitions of word found in Unicode UAX 29, Text Boundaries. By default, word boundaries are identified by means of a simple classification of characters as either “word” or “non-word”, which approximates traditional regular expression behavior. The results obtained with the two options can be quite different in runs of spaces and other non-word characters.
 26 |     public static var useUnicodeWordBoundaries = PatternOptions(rawValue: 1 << 4)
    |                       |- warning: static property 'useUnicodeWordBoundaries' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'useUnicodeWordBoundaries' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'useUnicodeWordBoundaries' 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
 27 |
 28 |     static let all: [PatternOptions: Character] = [
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:28:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[PatternOptions : Character]' may have shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | /// The following flags control various aspects of regular expression matching.
 11 | public struct PatternOptions: OptionSet, Hashable {
    |               `- note: consider making struct 'PatternOptions' conform to the 'Sendable' protocol
 12 |
 13 |     /// If set, matching will take place in a case-insensitive manner.
    :
 26 |     public static var useUnicodeWordBoundaries = PatternOptions(rawValue: 1 << 4)
 27 |
 28 |     static let all: [PatternOptions: Character] = [
    |                |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[PatternOptions : Character]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'all' 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 |         .caseInsensitive : "i",
 30 |         .allowCommentsAndWhitespace : "x",
[22/22] Compiling SwiftRegexDSL PatternOptions.swift
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:14:23: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'PatternOptions' may have shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | /// The following flags control various aspects of regular expression matching.
 11 | public struct PatternOptions: OptionSet, Hashable {
    |               `- note: consider making struct 'PatternOptions' conform to the 'Sendable' protocol
 12 |
 13 |     /// If set, matching will take place in a case-insensitive manner.
 14 |     public static let caseInsensitive = PatternOptions(rawValue: 1 << 0)
    |                       |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'PatternOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'caseInsensitive' 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
 15 |
 16 |     /// If set, allow use of white space and #comments within patterns
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:17:23: warning: static property 'allowCommentsAndWhitespace' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |     /// If set, allow use of white space and #comments within patterns
 17 |     public static var allowCommentsAndWhitespace = PatternOptions(rawValue: 1 << 1)
    |                       |- warning: static property 'allowCommentsAndWhitespace' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allowCommentsAndWhitespace' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'allowCommentsAndWhitespace' 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 |
 19 |     /// If set, a AnyCharacter in a pattern will match a line terminator in the input text. By default, it will not. Note that a carriage-return / line-feed pair in text behave as a single line terminator, and will match a single "." in a regular expression pattern
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:20:23: warning: static property 'dotMatchesLineSeparators' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 |     /// If set, a AnyCharacter in a pattern will match a line terminator in the input text. By default, it will not. Note that a carriage-return / line-feed pair in text behave as a single line terminator, and will match a single "." in a regular expression pattern
 20 |     public static var dotMatchesLineSeparators = PatternOptions(rawValue: 1 << 2)
    |                       |- warning: static property 'dotMatchesLineSeparators' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dotMatchesLineSeparators' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'dotMatchesLineSeparators' 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
 21 |
 22 |     /// Control the behavior of "^" and "$" in a pattern. By default these will only match at the start and end, respectively, of the input text. If this flag is set, "^" and "$" will also match at the start and end of each line within the input text.
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:23:23: warning: static property 'anchorsMatchLines' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     /// Control the behavior of "^" and "$" in a pattern. By default these will only match at the start and end, respectively, of the input text. If this flag is set, "^" and "$" will also match at the start and end of each line within the input text.
 23 |     public static var anchorsMatchLines = PatternOptions(rawValue: 1 << 3)
    |                       |- warning: static property 'anchorsMatchLines' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'anchorsMatchLines' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'anchorsMatchLines' 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 |
 25 |     /// Controls the behavior of \b in a pattern. If set, word boundaries are found according to the definitions of word found in Unicode UAX 29, Text Boundaries. By default, word boundaries are identified by means of a simple classification of characters as either “word” or “non-word”, which approximates traditional regular expression behavior. The results obtained with the two options can be quite different in runs of spaces and other non-word characters.
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:26:23: warning: static property 'useUnicodeWordBoundaries' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 |     /// Controls the behavior of \b in a pattern. If set, word boundaries are found according to the definitions of word found in Unicode UAX 29, Text Boundaries. By default, word boundaries are identified by means of a simple classification of characters as either “word” or “non-word”, which approximates traditional regular expression behavior. The results obtained with the two options can be quite different in runs of spaces and other non-word characters.
 26 |     public static var useUnicodeWordBoundaries = PatternOptions(rawValue: 1 << 4)
    |                       |- warning: static property 'useUnicodeWordBoundaries' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'useUnicodeWordBoundaries' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'useUnicodeWordBoundaries' 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
 27 |
 28 |     static let all: [PatternOptions: Character] = [
/host/spi-builder-workspace/Sources/SwiftRegexDSL/Group/PatternOptions.swift:28:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[PatternOptions : Character]' may have shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | /// The following flags control various aspects of regular expression matching.
 11 | public struct PatternOptions: OptionSet, Hashable {
    |               `- note: consider making struct 'PatternOptions' conform to the 'Sendable' protocol
 12 |
 13 |     /// If set, matching will take place in a case-insensitive manner.
    :
 26 |     public static var useUnicodeWordBoundaries = PatternOptions(rawValue: 1 << 4)
 27 |
 28 |     static let all: [PatternOptions: Character] = [
    |                |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[PatternOptions : Character]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'all' 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 |         .caseInsensitive : "i",
 30 |         .allowCommentsAndWhitespace : "x",
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.