Build Information
Successful build of Rexy, reference master (3f4527
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 15:15:22 UTC.
Swift 6 data race errors: 15
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vadymmarkov/rexy.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vadymmarkov/rexy
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3f45276 Merge pull request #15 from turtlemaster19/master
Cloned https://github.com/vadymmarkov/rexy.git
Revision (git rev-parse @):
3f4527608c5aced62d65ab6b4452cda69b716dbb
SUCCESS checkout https://github.com/vadymmarkov/rexy.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "rexy",
"name": "Rexy",
"url": "https://github.com/vadymmarkov/rexy.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/rexy",
"dependencies": [
]
}
]
}
Fetching https://github.com/vadymmarkov/rexy.git
[1/391] Fetching rexy
Fetched https://github.com/vadymmarkov/rexy.git from cache (1.13s)
Creating working copy for https://github.com/vadymmarkov/rexy.git
Working copy of https://github.com/vadymmarkov/rexy.git resolved at master (3f45276)
warning: '.resolve-product-dependencies': dependency 'rexy' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/vadymmarkov/rexy.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/8] Compiling Rexy String+Rexy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:34:23: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
32 |
33 | /// Use POSIX Extended Regular Expression syntax.
34 | public static let extended = CFlags(rawValue: 1)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extended' 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
35 |
36 | /// Do not differentiate case.
[4/8] Compiling Rexy Error.swift
[5/8] Compiling Rexy EFlags.swift
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/EFlags.swift:25:23: warning: static property 'notBeginningOfLine' is not concurrency-safe because non-'Sendable' type 'Regex.EFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | POSIX regex matching flags (eflag).
10 | */
11 | struct EFlags: OptionSet {
| `- note: consider making struct 'EFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
23 |
24 | /// First character not at beginning of line.
25 | public static let notBeginningOfLine = EFlags(rawValue: 1)
| |- warning: static property 'notBeginningOfLine' is not concurrency-safe because non-'Sendable' type 'Regex.EFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notBeginningOfLine' 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 | /// Last character not at end of line.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/EFlags.swift:28:23: warning: static property 'notEndOfLine' is not concurrency-safe because non-'Sendable' type 'Regex.EFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | POSIX regex matching flags (eflag).
10 | */
11 | struct EFlags: OptionSet {
| `- note: consider making struct 'EFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
26 |
27 | /// Last character not at end of line.
28 | public static let notEndOfLine = EFlags(rawValue: 2)
| |- warning: static property 'notEndOfLine' is not concurrency-safe because non-'Sendable' type 'Regex.EFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notEndOfLine' 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 |
30 | /// String start/end in pmatch[0].
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/EFlags.swift:31:23: warning: static property 'startEnd' is not concurrency-safe because non-'Sendable' type 'Regex.EFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | POSIX regex matching flags (eflag).
10 | */
11 | struct EFlags: OptionSet {
| `- note: consider making struct 'EFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
29 |
30 | /// String start/end in pmatch[0].
31 | public static let startEnd = EFlags(rawValue: 4)
| |- warning: static property 'startEnd' is not concurrency-safe because non-'Sendable' type 'Regex.EFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'startEnd' 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
32 | }
33 | }
[6/8] Compiling Rexy CFlags.swift
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:25:23: warning: static property 'regular' is not concurrency-safe because non-'Sendable' type '[Regex.CFlags]' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
23 |
24 | /// Default options
25 | public static let regular = [extended]
| |- warning: static property 'regular' is not concurrency-safe because non-'Sendable' type '[Regex.CFlags]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regular' 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 | // No options
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:34:23: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
32 |
33 | /// Use POSIX Extended Regular Expression syntax.
34 | public static let extended = CFlags(rawValue: 1)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extended' 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
35 |
36 | /// Do not differentiate case.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type '[Regex.CFlags]' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
26 |
27 | // No options
28 | public static let none = [CFlags]()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type '[Regex.CFlags]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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 |
30 | /// Use POSIX Basic Regular Expression syntax.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:31:23: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
29 |
30 | /// Use POSIX Basic Regular Expression syntax.
31 | public static let basic = CFlags(rawValue: 0)
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basic' 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
32 |
33 | /// Use POSIX Extended Regular Expression syntax.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:31:23: warning: static property 'basic' produces an empty option set
29 |
30 | /// Use POSIX Basic Regular Expression syntax.
31 | public static let basic = CFlags(rawValue: 0)
| |- warning: static property 'basic' produces an empty option set
| `- note: use [] to silence this warning
32 |
33 | /// Use POSIX Extended Regular Expression syntax.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:37:23: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
35 |
36 | /// Do not differentiate case.
37 | public static let caseInsensitive = CFlags(rawValue: 2)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' 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
38 |
39 | /// Do not report position of matches.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:40:23: warning: static property 'ignorePositions' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
38 |
39 | /// Do not report position of matches.
40 | public static let ignorePositions = CFlags(rawValue: 3)
| |- warning: static property 'ignorePositions' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignorePositions' 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
41 |
42 | // Newline-sensitive matching.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:43:23: warning: static property 'newLineSensitive' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
41 |
42 | // Newline-sensitive matching.
43 | public static let newLineSensitive = CFlags(rawValue: 4)
| |- warning: static property 'newLineSensitive' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLineSensitive' 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
44 |
45 | /// Ignore special characters.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:46:23: warning: static property 'ignoreSpecialCharacters' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
44 |
45 | /// Ignore special characters.
46 | public static let ignoreSpecialCharacters = CFlags(rawValue: 5)
| |- warning: static property 'ignoreSpecialCharacters' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreSpecialCharacters' 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
47 |
48 | /// Interpret the entire regex argument as a literal string.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:49:23: warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
47 |
48 | /// Interpret the entire regex argument as a literal string.
49 | public static let literal = CFlags(rawValue: 6)
| |- warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'literal' 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
50 |
51 | /// Point to the end of the expression to compile.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:52:23: warning: static property 'endPointer' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
50 |
51 | /// Point to the end of the expression to compile.
52 | public static let endPointer = CFlags(rawValue: 7)
| |- warning: static property 'endPointer' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'endPointer' 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
53 |
54 | /// Compile using minimal repetition.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:55:23: warning: static property 'minimal' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
53 |
54 | /// Compile using minimal repetition.
55 | public static let minimal = CFlags(rawValue: 8)
| |- warning: static property 'minimal' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minimal' 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
56 |
57 | /// Make the operators non-greedy by default and greedy when a ? is specified.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:58:23: warning: static property 'nonGreedy' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
56 |
57 | /// Make the operators non-greedy by default and greedy when a ? is specified.
58 | public static let nonGreedy = CFlags(rawValue: 9)
| |- warning: static property 'nonGreedy' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonGreedy' 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
59 | }
60 | }
[7/8] Emitting module Rexy
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:25:23: warning: static property 'regular' is not concurrency-safe because non-'Sendable' type '[Regex.CFlags]' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
23 |
24 | /// Default options
25 | public static let regular = [extended]
| |- warning: static property 'regular' is not concurrency-safe because non-'Sendable' type '[Regex.CFlags]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regular' 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 | // No options
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:34:23: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
32 |
33 | /// Use POSIX Extended Regular Expression syntax.
34 | public static let extended = CFlags(rawValue: 1)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extended' 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
35 |
36 | /// Do not differentiate case.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type '[Regex.CFlags]' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
26 |
27 | // No options
28 | public static let none = [CFlags]()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type '[Regex.CFlags]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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 |
30 | /// Use POSIX Basic Regular Expression syntax.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:31:23: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
29 |
30 | /// Use POSIX Basic Regular Expression syntax.
31 | public static let basic = CFlags(rawValue: 0)
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basic' 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
32 |
33 | /// Use POSIX Extended Regular Expression syntax.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:31:23: warning: static property 'basic' produces an empty option set
29 |
30 | /// Use POSIX Basic Regular Expression syntax.
31 | public static let basic = CFlags(rawValue: 0)
| |- warning: static property 'basic' produces an empty option set
| `- note: use [] to silence this warning
32 |
33 | /// Use POSIX Extended Regular Expression syntax.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:37:23: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
35 |
36 | /// Do not differentiate case.
37 | public static let caseInsensitive = CFlags(rawValue: 2)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' 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
38 |
39 | /// Do not report position of matches.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:40:23: warning: static property 'ignorePositions' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
38 |
39 | /// Do not report position of matches.
40 | public static let ignorePositions = CFlags(rawValue: 3)
| |- warning: static property 'ignorePositions' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignorePositions' 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
41 |
42 | // Newline-sensitive matching.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:43:23: warning: static property 'newLineSensitive' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
41 |
42 | // Newline-sensitive matching.
43 | public static let newLineSensitive = CFlags(rawValue: 4)
| |- warning: static property 'newLineSensitive' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLineSensitive' 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
44 |
45 | /// Ignore special characters.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:46:23: warning: static property 'ignoreSpecialCharacters' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
44 |
45 | /// Ignore special characters.
46 | public static let ignoreSpecialCharacters = CFlags(rawValue: 5)
| |- warning: static property 'ignoreSpecialCharacters' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreSpecialCharacters' 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
47 |
48 | /// Interpret the entire regex argument as a literal string.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:49:23: warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
47 |
48 | /// Interpret the entire regex argument as a literal string.
49 | public static let literal = CFlags(rawValue: 6)
| |- warning: static property 'literal' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'literal' 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
50 |
51 | /// Point to the end of the expression to compile.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:52:23: warning: static property 'endPointer' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
50 |
51 | /// Point to the end of the expression to compile.
52 | public static let endPointer = CFlags(rawValue: 7)
| |- warning: static property 'endPointer' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'endPointer' 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
53 |
54 | /// Compile using minimal repetition.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:55:23: warning: static property 'minimal' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
53 |
54 | /// Compile using minimal repetition.
55 | public static let minimal = CFlags(rawValue: 8)
| |- warning: static property 'minimal' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minimal' 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
56 |
57 | /// Make the operators non-greedy by default and greedy when a ? is specified.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:58:23: warning: static property 'nonGreedy' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
56 |
57 | /// Make the operators non-greedy by default and greedy when a ? is specified.
58 | public static let nonGreedy = CFlags(rawValue: 9)
| |- warning: static property 'nonGreedy' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nonGreedy' 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
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/EFlags.swift:25:23: warning: static property 'notBeginningOfLine' is not concurrency-safe because non-'Sendable' type 'Regex.EFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | POSIX regex matching flags (eflag).
10 | */
11 | struct EFlags: OptionSet {
| `- note: consider making struct 'EFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
23 |
24 | /// First character not at beginning of line.
25 | public static let notBeginningOfLine = EFlags(rawValue: 1)
| |- warning: static property 'notBeginningOfLine' is not concurrency-safe because non-'Sendable' type 'Regex.EFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notBeginningOfLine' 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 | /// Last character not at end of line.
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/EFlags.swift:28:23: warning: static property 'notEndOfLine' is not concurrency-safe because non-'Sendable' type 'Regex.EFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | POSIX regex matching flags (eflag).
10 | */
11 | struct EFlags: OptionSet {
| `- note: consider making struct 'EFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
26 |
27 | /// Last character not at end of line.
28 | public static let notEndOfLine = EFlags(rawValue: 2)
| |- warning: static property 'notEndOfLine' is not concurrency-safe because non-'Sendable' type 'Regex.EFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notEndOfLine' 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 |
30 | /// String start/end in pmatch[0].
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/EFlags.swift:31:23: warning: static property 'startEnd' is not concurrency-safe because non-'Sendable' type 'Regex.EFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | POSIX regex matching flags (eflag).
10 | */
11 | struct EFlags: OptionSet {
| `- note: consider making struct 'EFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
29 |
30 | /// String start/end in pmatch[0].
31 | public static let startEnd = EFlags(rawValue: 4)
| |- warning: static property 'startEnd' is not concurrency-safe because non-'Sendable' type 'Regex.EFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'startEnd' 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
32 | }
33 | }
[8/8] Compiling Rexy Regex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Rexy/CFlags.swift:34:23: warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
9 | Flags used to determine the type of compilation (cflag).
10 | */
11 | struct CFlags: OptionSet {
| `- note: consider making struct 'CFlags' conform to the 'Sendable' protocol
12 | /// Raw value.
13 | public let rawValue: Int32
:
32 |
33 | /// Use POSIX Extended Regular Expression syntax.
34 | public static let extended = CFlags(rawValue: 1)
| |- warning: static property 'extended' is not concurrency-safe because non-'Sendable' type 'Regex.CFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extended' 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
35 |
36 | /// Do not differentiate case.
Build complete! (3.75s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Rexy",
"name" : "Rexy",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Rexy",
"targets" : [
"Rexy"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RexyTests",
"module_type" : "SwiftTarget",
"name" : "RexyTests",
"path" : "Tests/RexyTests",
"sources" : [
"CFlagsTests.swift",
"EFlagsTests.swift",
"ErrorTests.swift",
"RegexTests.swift"
],
"target_dependencies" : [
"Rexy"
],
"type" : "test"
},
{
"c99name" : "Rexy",
"module_type" : "SwiftTarget",
"name" : "Rexy",
"path" : "Sources/Rexy",
"product_memberships" : [
"Rexy"
],
"sources" : [
"CFlags.swift",
"EFlags.swift",
"Error.swift",
"Regex.swift",
"String+Rexy.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.