The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-filename-matcher, reference 2.0.1 (eef5ac), with Swift 6.1 for Linux on 14 Jun 2025 13:37:13 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build 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 /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/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
========================================
Build
========================================
Selected platform:         linux
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
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-filename-matcher",
  "name" : "swift-filename-matcher",
  "path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:96978cfc7c1f56c0b12d561b3402e65f41ab79b9797a4fd5965b5c0d586dcecc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Emitting module FilenameMatcher
/host/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)
/host/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.
/host/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 |
[4/5] Compiling FilenameMatcher FilenameMatcherOptions.swift
/host/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)
/host/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.
/host/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 FilenameMatcher.swift
Build complete! (6.76s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-filename-matcher",
  "name" : "swift-filename-matcher",
  "path" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:96978cfc7c1f56c0b12d561b3402e65f41ab79b9797a4fd5965b5c0d586dcecc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.