The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-filename-matcher, reference main (eef5ac), with Swift 6.1 for Android on 14 Jun 2025 20:55:01 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         android
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:53019eca44ba8cce4deef66552e72c09c078a8a7314109c78012ab10170a991e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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 |
[4/5] Compiling FilenameMatcher FilenameMatcher.swift
[5/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 |
Build complete! (6.97s)
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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:53019eca44ba8cce4deef66552e72c09c078a8a7314109c78012ab10170a991e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.