Build Information
Successful build of swift-filename-matcher, reference 2.0.1 (eef5ac), with Swift 6.1 for macOS (SPM) on 14 Jun 2025 13:36:25 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ileitch/swift-filename-matcher.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ileitch/swift-filename-matcher
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at eef5ac0 2.0.1
Cloned https://github.com/ileitch/swift-filename-matcher.git
Revision (git rev-parse @):
eef5ac0b6b3cdc64b3039b037bed2def8a1edaeb
SUCCESS checkout https://github.com/ileitch/swift-filename-matcher.git at 2.0.1
========================================
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": "swift-filename-matcher",
"name": "swift-filename-matcher",
"url": "https://github.com/ileitch/swift-filename-matcher.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-filename-matcher",
"dependencies": [
]
}
]
}
Fetching https://github.com/ileitch/swift-filename-matcher.git
[1/63] Fetching swift-filename-matcher
Fetched https://github.com/ileitch/swift-filename-matcher.git from cache (0.58s)
Creating working copy for https://github.com/ileitch/swift-filename-matcher.git
Working copy of https://github.com/ileitch/swift-filename-matcher.git resolved at 2.0.1 (eef5ac0)
warning: '.resolve-product-dependencies': dependency 'swift-filename-matcher' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ileitch/swift-filename-matcher.git
https://github.com/ileitch/swift-filename-matcher.git
{
"dependencies" : [
],
"manifest_display_name" : "swift-filename-matcher",
"name" : "swift-filename-matcher",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "FilenameMatcher",
"targets" : [
"FilenameMatcher"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FilenameMatcherTests",
"module_type" : "SwiftTarget",
"name" : "FilenameMatcherTests",
"path" : "Tests/FilenameMatcherTests",
"sources" : [
"FilenameMatcherTests.swift"
],
"target_dependencies" : [
"FilenameMatcher"
],
"type" : "test"
},
{
"c99name" : "FilenameMatcher",
"module_type" : "SwiftTarget",
"name" : "FilenameMatcher",
"path" : "Sources/FilenameMatcher",
"product_memberships" : [
"FilenameMatcher"
],
"sources" : [
"FilenameMatcher.swift",
"FilenameMatcherOptions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/5] Compiling FilenameMatcher FilenameMatcher.swift
[4/5] Emitting module FilenameMatcher
/Users/admin/builder/spi-builder-workspace/Sources/FilenameMatcher/FilenameMatcherOptions.swift:9:23: warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'FilenameMatcherOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct FilenameMatcherOptions: OptionSet {
| `- note: consider making struct 'FilenameMatcherOptions' conform to the 'Sendable' protocol
2 | public var rawValue: UInt
3 |
:
7 |
8 | /// Enables case sensitive matching.
9 | public static let caseSensitive = Self(rawValue: 1 << 0)
| |- warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'FilenameMatcherOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'caseSensitive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | /// Enables "globstar" behaviour to match Bash handling of double stars.
11 | public static let globstar = Self(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/FilenameMatcher/FilenameMatcherOptions.swift:11:23: warning: static property 'globstar' is not concurrency-safe because non-'Sendable' type 'FilenameMatcherOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct FilenameMatcherOptions: OptionSet {
| `- note: consider making struct 'FilenameMatcherOptions' conform to the 'Sendable' protocol
2 | public var rawValue: UInt
3 |
:
9 | public static let caseSensitive = Self(rawValue: 1 << 0)
10 | /// Enables "globstar" behaviour to match Bash handling of double stars.
11 | public static let globstar = Self(rawValue: 1 << 1)
| |- warning: static property 'globstar' is not concurrency-safe because non-'Sendable' type 'FilenameMatcherOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'globstar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// The default set of options.
/Users/admin/builder/spi-builder-workspace/Sources/FilenameMatcher/FilenameMatcherOptions.swift:14:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'FilenameMatcherOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct FilenameMatcherOptions: OptionSet {
| `- note: consider making struct 'FilenameMatcherOptions' conform to the 'Sendable' protocol
2 | public var rawValue: UInt
3 |
:
12 |
13 | /// The default set of options.
14 | public static let defaults: Self = [.globstar]
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'FilenameMatcherOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
[5/5] Compiling FilenameMatcher FilenameMatcherOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilenameMatcher/FilenameMatcherOptions.swift:9:23: warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'FilenameMatcherOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct FilenameMatcherOptions: OptionSet {
| `- note: consider making struct 'FilenameMatcherOptions' conform to the 'Sendable' protocol
2 | public var rawValue: UInt
3 |
:
7 |
8 | /// Enables case sensitive matching.
9 | public static let caseSensitive = Self(rawValue: 1 << 0)
| |- warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'FilenameMatcherOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'caseSensitive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | /// Enables "globstar" behaviour to match Bash handling of double stars.
11 | public static let globstar = Self(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/FilenameMatcher/FilenameMatcherOptions.swift:11:23: warning: static property 'globstar' is not concurrency-safe because non-'Sendable' type 'FilenameMatcherOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct FilenameMatcherOptions: OptionSet {
| `- note: consider making struct 'FilenameMatcherOptions' conform to the 'Sendable' protocol
2 | public var rawValue: UInt
3 |
:
9 | public static let caseSensitive = Self(rawValue: 1 << 0)
10 | /// Enables "globstar" behaviour to match Bash handling of double stars.
11 | public static let globstar = Self(rawValue: 1 << 1)
| |- warning: static property 'globstar' is not concurrency-safe because non-'Sendable' type 'FilenameMatcherOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'globstar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// The default set of options.
/Users/admin/builder/spi-builder-workspace/Sources/FilenameMatcher/FilenameMatcherOptions.swift:14:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'FilenameMatcherOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct FilenameMatcherOptions: OptionSet {
| `- note: consider making struct 'FilenameMatcherOptions' conform to the 'Sendable' protocol
2 | public var rawValue: UInt
3 |
:
12 |
13 | /// The default set of options.
14 | public static let defaults: Self = [.globstar]
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'FilenameMatcherOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
Build complete! (3.91s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-filename-matcher",
"name" : "swift-filename-matcher",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "FilenameMatcher",
"targets" : [
"FilenameMatcher"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FilenameMatcherTests",
"module_type" : "SwiftTarget",
"name" : "FilenameMatcherTests",
"path" : "Tests/FilenameMatcherTests",
"sources" : [
"FilenameMatcherTests.swift"
],
"target_dependencies" : [
"FilenameMatcher"
],
"type" : "test"
},
{
"c99name" : "FilenameMatcher",
"module_type" : "SwiftTarget",
"name" : "FilenameMatcher",
"path" : "Sources/FilenameMatcher",
"product_memberships" : [
"FilenameMatcher"
],
"sources" : [
"FilenameMatcher.swift",
"FilenameMatcherOptions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.