The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of ProvisioningProfile, reference v1.0.2 (a54afd), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 18:32:58 UTC.

Swift 6 data race errors: 4

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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChrisMash/ProvisioningProfile.git
Reference: v1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChrisMash/ProvisioningProfile
 * tag               v1.0.2     -> FETCH_HEAD
HEAD is now at a54afd5 Fixed failure to Stringify profile on loading
Cloned https://github.com/ChrisMash/ProvisioningProfile.git
Revision (git rev-parse @):
a54afd5a8f1445da50109d498fba91fe4259ac3e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChrisMash/ProvisioningProfile.git at v1.0.2
========================================
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": "provisioningprofile",
      "name": "ProvisioningProfile",
      "url": "https://github.com/ChrisMash/ProvisioningProfile.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ProvisioningProfile",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ChrisMash/ProvisioningProfile.git
[1/180] Fetching provisioningprofile
Fetched https://github.com/ChrisMash/ProvisioningProfile.git from cache (0.68s)
Creating working copy for https://github.com/ChrisMash/ProvisioningProfile.git
Working copy of https://github.com/ChrisMash/ProvisioningProfile.git resolved at v1.0.2 (a54afd5)
warning: '.resolve-product-dependencies': dependency 'provisioningprofile' 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/ChrisMash/ProvisioningProfile.git
https://github.com/ChrisMash/ProvisioningProfile.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ProvisioningProfile",
  "name" : "ProvisioningProfile",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "ProvisioningProfile",
      "targets" : [
        "ProvisioningProfile"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProvisioningProfileTests",
      "module_type" : "SwiftTarget",
      "name" : "ProvisioningProfileTests",
      "path" : "Tests/ProvisioningProfileTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/embedded.mobileprovision",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/embedded.provisionprofile",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/invaliddate.mobileprovision",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/missingdate.mobileprovision",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/test.txt",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FileLoaderTests.swift",
        "ProvisioningProfileParserTests.swift",
        "ProvisioningProfileTests.swift",
        "TestLogger.swift",
        "TestUtils.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ProvisioningProfile"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProvisioningProfile",
      "module_type" : "SwiftTarget",
      "name" : "ProvisioningProfile",
      "path" : "Sources/ProvisioningProfile",
      "product_memberships" : [
        "ProvisioningProfile"
      ],
      "sources" : [
        "FileLoader.swift",
        "Logger.swift",
        "ProvisioningProfile.swift",
        "ProvisioningProfileParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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/7] Compiling ProvisioningProfile ProvisioningProfileParser.swift
[4/7] Compiling ProvisioningProfile Logger.swift
[5/7] Compiling ProvisioningProfile ProvisioningProfile.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:14:23: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     /// Custom `DateFormatter` for generating `formattedExpiryDate`, defaults to `nil`.
 13 |     /// If required, ensure you set this property before accessing `profile()`.
 14 |     public static var dateFormatter: DateFormatter?
    |                       |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
 16 |     /// If required, ensure you set this property before accessing `profile()`.
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:17:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
 16 |     /// If required, ensure you set this property before accessing `profile()`.
 17 |     public static var logger: Logger?
    |                       |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     /// The name of the provisioning profile, if successfully parsed.
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:28:25: warning: static property 'cachedProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     public let formattedExpiryDate: String?
 27 |
 28 |     internal static var cachedProfile: ProvisioningProfile?
    |                         |- warning: static property 'cachedProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'cachedProfile' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'cachedProfile' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     internal static var bundleToLoadFrom: Bundle?
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:29:25: warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 27 |
 28 |     internal static var cachedProfile: ProvisioningProfile?
 29 |     internal static var bundleToLoadFrom: Bundle?
    |                         |- warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'bundleToLoadFrom' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'bundleToLoadFrom' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |     /// The provisioning profile for the current app, if available.
[6/7] Emitting module ProvisioningProfile
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:14:23: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     /// Custom `DateFormatter` for generating `formattedExpiryDate`, defaults to `nil`.
 13 |     /// If required, ensure you set this property before accessing `profile()`.
 14 |     public static var dateFormatter: DateFormatter?
    |                       |- warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
 16 |     /// If required, ensure you set this property before accessing `profile()`.
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:17:23: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |     /// Custom `Logger` implementation for receiving logged messages, defaults to `nil`.
 16 |     /// If required, ensure you set this property before accessing `profile()`.
 17 |     public static var logger: Logger?
    |                       |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     /// The name of the provisioning profile, if successfully parsed.
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:28:25: warning: static property 'cachedProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     public let formattedExpiryDate: String?
 27 |
 28 |     internal static var cachedProfile: ProvisioningProfile?
    |                         |- warning: static property 'cachedProfile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'cachedProfile' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'cachedProfile' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     internal static var bundleToLoadFrom: Bundle?
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/ProvisioningProfile/ProvisioningProfile.swift:29:25: warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 27 |
 28 |     internal static var cachedProfile: ProvisioningProfile?
 29 |     internal static var bundleToLoadFrom: Bundle?
    |                         |- warning: static property 'bundleToLoadFrom' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'bundleToLoadFrom' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'bundleToLoadFrom' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |     /// The provisioning profile for the current app, if available.
[7/7] Compiling ProvisioningProfile FileLoader.swift
Build complete! (4.38s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ProvisioningProfile",
  "name" : "ProvisioningProfile",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "ProvisioningProfile",
      "targets" : [
        "ProvisioningProfile"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProvisioningProfileTests",
      "module_type" : "SwiftTarget",
      "name" : "ProvisioningProfileTests",
      "path" : "Tests/ProvisioningProfileTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/embedded.mobileprovision",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/embedded.provisionprofile",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/invaliddate.mobileprovision",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/missingdate.mobileprovision",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ProvisioningProfileTests/Resources/test.txt",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FileLoaderTests.swift",
        "ProvisioningProfileParserTests.swift",
        "ProvisioningProfileTests.swift",
        "TestLogger.swift",
        "TestUtils.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ProvisioningProfile"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProvisioningProfile",
      "module_type" : "SwiftTarget",
      "name" : "ProvisioningProfile",
      "path" : "Sources/ProvisioningProfile",
      "product_memberships" : [
        "ProvisioningProfile"
      ],
      "sources" : [
        "FileLoader.swift",
        "Logger.swift",
        "ProvisioningProfile.swift",
        "ProvisioningProfileParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.