The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Glob, reference master (deda6e), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 07:02:04 UTC.

Swift 6 data race errors: 6

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 InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bouke/glob.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bouke/glob
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at deda6e1 Remove Travis CI configuration
Cloned https://github.com/bouke/glob.git
Revision (git rev-parse @):
deda6e163d2ff2a8d7e138e2c3326dbd71157faf
SUCCESS checkout https://github.com/bouke/glob.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": "glob",
      "name": "Glob",
      "url": "https://github.com/bouke/glob.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/glob",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/bouke/glob.git
[1/246] Fetching glob
Fetched https://github.com/bouke/glob.git from cache (0.66s)
Creating working copy for https://github.com/bouke/glob.git
Working copy of https://github.com/bouke/glob.git resolved at master (deda6e1)
warning: '.resolve-product-dependencies': dependency 'glob' 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/bouke/glob.git
https://github.com/bouke/glob.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Glob",
  "name" : "Glob",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Glob",
      "targets" : [
        "Glob"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GlobTests",
      "module_type" : "SwiftTarget",
      "name" : "GlobTests",
      "path" : "Tests/GlobTests",
      "sources" : [
        "GlobTests.swift"
      ],
      "target_dependencies" : [
        "Glob"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Glob",
      "module_type" : "SwiftTarget",
      "name" : "Glob",
      "path" : "Sources/Glob",
      "product_memberships" : [
        "Glob"
      ],
      "sources" : [
        "Glob.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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/4] Compiling Glob Glob.swift
/Users/admin/builder/spi-builder-workspace/Sources/Glob/Glob.swift:12:12: warning: let 'GlobBehaviorBashV3' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | // swiftlint:disable identifier_name
 11 | @available(*, deprecated, message: "Use `Glob.Behavior.BashV3` instead")
 12 | public let GlobBehaviorBashV3 = Glob.Behavior.BashV3
    |            |- warning: let 'GlobBehaviorBashV3' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'GlobBehaviorBashV3' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 | @available(*, deprecated, message: "Use `Glob.Behavior.BashV4` instead")
    :
 28 |      * implementation is customizable.
 29 |      */
 30 |     public struct Behavior {
    |                   `- note: consider making struct 'Behavior' conform to the 'Sendable' protocol
 31 |         // If true then a globstar ("**") causes matching to be done recursively in subdirectories.
 32 |         // If false then "**" is treated the same as "*"
/Users/admin/builder/spi-builder-workspace/Sources/Glob/Glob.swift:15:12: warning: let 'GlobBehaviorBashV4' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | @available(*, deprecated, message: "Use `Glob.Behavior.BashV4` instead")
 15 | public let GlobBehaviorBashV4 = Glob.Behavior.BashV4
    |            |- warning: let 'GlobBehaviorBashV4' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'GlobBehaviorBashV4' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 | @available(*, deprecated, message: "Use `Glob.Behavior.Gradle` instead")
    :
 28 |      * implementation is customizable.
 29 |      */
 30 |     public struct Behavior {
    |                   `- note: consider making struct 'Behavior' conform to the 'Sendable' protocol
 31 |         // If true then a globstar ("**") causes matching to be done recursively in subdirectories.
 32 |         // If false then "**" is treated the same as "*"
/Users/admin/builder/spi-builder-workspace/Sources/Glob/Glob.swift:18:12: warning: let 'GlobBehaviorGradle' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | @available(*, deprecated, message: "Use `Glob.Behavior.Gradle` instead")
 18 | public let GlobBehaviorGradle = Glob.Behavior.Gradle
    |            |- warning: let 'GlobBehaviorGradle' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'GlobBehaviorGradle' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 | // swiftlint:enable identifier_name
 20 |
    :
 28 |      * implementation is customizable.
 29 |      */
 30 |     public struct Behavior {
    |                   `- note: consider making struct 'Behavior' conform to the 'Sendable' protocol
 31 |         // If true then a globstar ("**") causes matching to be done recursively in subdirectories.
 32 |         // If false then "**" is treated the same as "*"
/Users/admin/builder/spi-builder-workspace/Sources/Glob/Glob.swift:56:27: warning: static property 'BashV3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 54 |         }
 55 |
 56 |         public static var BashV3 = Glob.Behavior(supportsGlobstar: false,
    |                           |- warning: static property 'BashV3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'BashV3' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'BashV3' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |                                                  includesFilesFromRootOfGlobstar: false,
 58 |                                                  includesDirectoriesInResults: true,
/Users/admin/builder/spi-builder-workspace/Sources/Glob/Glob.swift:62:27: warning: static property 'BashV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 60 |
 61 |         // Matches Bash v4 with "shopt -s globstar" option
 62 |         public static var BashV4 = Glob.Behavior(supportsGlobstar: true,
    |                           |- warning: static property 'BashV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'BashV4' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'BashV4' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |                                                  includesFilesFromRootOfGlobstar: true,
 64 |                                                  includesDirectoriesInResults: true,
/Users/admin/builder/spi-builder-workspace/Sources/Glob/Glob.swift:67:27: warning: static property 'Gradle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 65 |                                                  includesFilesInResultsIfTrailingSlash: false)
 66 |
 67 |         public static var Gradle = Glob.Behavior(supportsGlobstar: true,
    |                           |- warning: static property 'Gradle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'Gradle' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'Gradle' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |                                                  includesFilesFromRootOfGlobstar: true,
 69 |                                                  includesDirectoriesInResults: false,
[4/4] Emitting module Glob
/Users/admin/builder/spi-builder-workspace/Sources/Glob/Glob.swift:12:12: warning: let 'GlobBehaviorBashV3' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | // swiftlint:disable identifier_name
 11 | @available(*, deprecated, message: "Use `Glob.Behavior.BashV3` instead")
 12 | public let GlobBehaviorBashV3 = Glob.Behavior.BashV3
    |            |- warning: let 'GlobBehaviorBashV3' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'GlobBehaviorBashV3' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 | @available(*, deprecated, message: "Use `Glob.Behavior.BashV4` instead")
    :
 28 |      * implementation is customizable.
 29 |      */
 30 |     public struct Behavior {
    |                   `- note: consider making struct 'Behavior' conform to the 'Sendable' protocol
 31 |         // If true then a globstar ("**") causes matching to be done recursively in subdirectories.
 32 |         // If false then "**" is treated the same as "*"
/Users/admin/builder/spi-builder-workspace/Sources/Glob/Glob.swift:15:12: warning: let 'GlobBehaviorBashV4' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | @available(*, deprecated, message: "Use `Glob.Behavior.BashV4` instead")
 15 | public let GlobBehaviorBashV4 = Glob.Behavior.BashV4
    |            |- warning: let 'GlobBehaviorBashV4' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'GlobBehaviorBashV4' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |
 17 | @available(*, deprecated, message: "Use `Glob.Behavior.Gradle` instead")
    :
 28 |      * implementation is customizable.
 29 |      */
 30 |     public struct Behavior {
    |                   `- note: consider making struct 'Behavior' conform to the 'Sendable' protocol
 31 |         // If true then a globstar ("**") causes matching to be done recursively in subdirectories.
 32 |         // If false then "**" is treated the same as "*"
/Users/admin/builder/spi-builder-workspace/Sources/Glob/Glob.swift:18:12: warning: let 'GlobBehaviorGradle' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | @available(*, deprecated, message: "Use `Glob.Behavior.Gradle` instead")
 18 | public let GlobBehaviorGradle = Glob.Behavior.Gradle
    |            |- warning: let 'GlobBehaviorGradle' is not concurrency-safe because non-'Sendable' type 'Glob.Behavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: add '@MainActor' to make let 'GlobBehaviorGradle' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 | // swiftlint:enable identifier_name
 20 |
    :
 28 |      * implementation is customizable.
 29 |      */
 30 |     public struct Behavior {
    |                   `- note: consider making struct 'Behavior' conform to the 'Sendable' protocol
 31 |         // If true then a globstar ("**") causes matching to be done recursively in subdirectories.
 32 |         // If false then "**" is treated the same as "*"
/Users/admin/builder/spi-builder-workspace/Sources/Glob/Glob.swift:56:27: warning: static property 'BashV3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 54 |         }
 55 |
 56 |         public static var BashV3 = Glob.Behavior(supportsGlobstar: false,
    |                           |- warning: static property 'BashV3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'BashV3' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'BashV3' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |                                                  includesFilesFromRootOfGlobstar: false,
 58 |                                                  includesDirectoriesInResults: true,
/Users/admin/builder/spi-builder-workspace/Sources/Glob/Glob.swift:62:27: warning: static property 'BashV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 60 |
 61 |         // Matches Bash v4 with "shopt -s globstar" option
 62 |         public static var BashV4 = Glob.Behavior(supportsGlobstar: true,
    |                           |- warning: static property 'BashV4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'BashV4' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'BashV4' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |                                                  includesFilesFromRootOfGlobstar: true,
 64 |                                                  includesDirectoriesInResults: true,
/Users/admin/builder/spi-builder-workspace/Sources/Glob/Glob.swift:67:27: warning: static property 'Gradle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 65 |                                                  includesFilesInResultsIfTrailingSlash: false)
 66 |
 67 |         public static var Gradle = Glob.Behavior(supportsGlobstar: true,
    |                           |- warning: static property 'Gradle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'Gradle' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'Gradle' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |                                                  includesFilesFromRootOfGlobstar: true,
 69 |                                                  includesDirectoriesInResults: false,
Build complete! (4.01s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Glob",
  "name" : "Glob",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Glob",
      "targets" : [
        "Glob"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GlobTests",
      "module_type" : "SwiftTarget",
      "name" : "GlobTests",
      "path" : "Tests/GlobTests",
      "sources" : [
        "GlobTests.swift"
      ],
      "target_dependencies" : [
        "Glob"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Glob",
      "module_type" : "SwiftTarget",
      "name" : "Glob",
      "path" : "Sources/Glob",
      "product_memberships" : [
        "Glob"
      ],
      "sources" : [
        "Glob.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.