Build Information
Successful build of Rexy, reference 1.0.1 (3f4527
), with Swift 6.0 for Linux on 31 Oct 2024 15:08:47 UTC.
Swift 6 data race errors: 15
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
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vadymmarkov/rexy.git
Reference: 1.0.1
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/vadymmarkov/rexy
* tag 1.0.1 -> FETCH_HEAD
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 1.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/vadymmarkov/rexy.git
Running build ...
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
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling Rexy String+Rexy.swift
/host/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 CFlags.swift
/host/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
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 | }
[5/8] Emitting module Rexy
/host/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
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 | }
/host/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.
/host/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].
/host/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 EFlags.swift
/host/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.
/host/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].
/host/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 | }
[7/8] Compiling Rexy Error.swift
[8/8] Compiling Rexy Regex.swift
/host/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! (6.29s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Rexy",
"name" : "Rexy",
"path" : "/host/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"
}
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.