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 SPIManifest, reference main (df8dfd), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 18:34:00 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 InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftPackageIndex/SPIManifest.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftPackageIndex/SPIManifest
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at df8dfd0 Merge pull request #60 from SwiftPackageIndex/release-is-6.1-again
Cloned https://github.com/SwiftPackageIndex/SPIManifest.git
Revision (git rev-parse @):
df8dfd0295c5ec9840c2987f8adec20381243109
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftPackageIndex/SPIManifest.git at main
Fetching https://github.com/jpsim/Yams.git from cache
Fetched https://github.com/jpsim/Yams.git from cache (0.80s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (1.41s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.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": "spimanifest",
      "name": "SPIManifest",
      "url": "https://github.com/SwiftPackageIndex/SPIManifest.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SPIManifest",
      "dependencies": [
        {
          "identity": "yams",
          "name": "Yams",
          "url": "https://github.com/jpsim/Yams.git",
          "version": "5.3.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SwiftPackageIndex/SPIManifest.git from cache
Fetched https://github.com/SwiftPackageIndex/SPIManifest.git from cache (0.57s)
Fetching https://github.com/jpsim/Yams.git from cache
Fetched https://github.com/jpsim/Yams.git from cache (0.48s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.54s)
Creating working copy for https://github.com/SwiftPackageIndex/SPIManifest.git
Working copy of https://github.com/SwiftPackageIndex/SPIManifest.git resolved at main (df8dfd0)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
warning: '.resolve-product-dependencies': dependency 'spimanifest' is not used by any target
Found 1 product dependencies
  - Yams
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftPackageIndex/SPIManifest.git
https://github.com/SwiftPackageIndex/SPIManifest.git
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "SPIManifest",
  "name" : "SPIManifest",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SPIManifest",
      "targets" : [
        "SPIManifest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SPIManifestTests",
      "module_type" : "SwiftTarget",
      "name" : "SPIManifestTests",
      "path" : "Tests/SPIManifestTests",
      "sources" : [
        "Array+UniquedTests.swift",
        "ManifestTests.swift",
        "RegressionTests.swift",
        "SwiftVersionTests.swift"
      ],
      "target_dependencies" : [
        "SPIManifest"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SPIManifest",
      "module_type" : "SwiftTarget",
      "name" : "SPIManifest",
      "path" : "Sources/SPIManifest",
      "product_dependencies" : [
        "Yams"
      ],
      "product_memberships" : [
        "SPIManifest"
      ],
      "sources" : [
        "Array+Uniqued.swift",
        "Environment.swift",
        "Manifest.swift",
        "ManifestError.swift",
        "Platform.swift",
        "SwiftVersion.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
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/9] Write sources
[2/9] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling writer.c
[4/9] Compiling api.c
[5/9] Compiling scanner.c
[6/9] Compiling reader.c
[7/9] Compiling emitter.c
[8/9] Compiling parser.c
[10/28] Compiling Yams Node.Alias.swift
[11/28] Compiling Yams Node.Mapping.swift
[12/30] Compiling Yams Encoder.swift
[13/30] Compiling Yams Mark.swift
[14/30] Compiling Yams YamlError.swift
[15/30] Compiling Yams YamlTagProviding.swift
[16/30] Compiling Yams Tag.swift
[17/30] Compiling Yams YamlAnchorProviding.swift
[18/30] Compiling Yams RedundancyAliasingStrategy.swift
[19/30] Compiling Yams Representer.swift
[20/30] Compiling Yams Resolver.swift
[21/30] Compiling Yams String+Yams.swift
[22/30] Compiling Yams Node.swift
[23/30] Compiling Yams Parser.swift
[24/30] Compiling Yams Node.Scalar.swift
[25/30] Compiling Yams Node.Sequence.swift
[26/30] Compiling Yams Decoder.swift
[27/30] Compiling Yams Emitter.swift
[28/30] Emitting module Yams
[29/30] Compiling Yams Anchor.swift
[30/30] Compiling Yams Constructor.swift
[31/37] Compiling SPIManifest SwiftVersion.swift
[32/37] Emitting module SPIManifest
/Users/admin/builder/spi-builder-workspace/Sources/SPIManifest/Environment.swift:24:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 |
18 | struct Environment {
   |        `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
19 |     var fileManager: FileManager
20 | }
   :
22 |
23 | extension Environment {
24 |     static let live: Self = .init(
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |         fileManager: .live
26 |     )
/Users/admin/builder/spi-builder-workspace/Sources/SPIManifest/Environment.swift:44:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
30 | // MARK: FileManager
31 |
32 | struct FileManager {
   |        `- note: consider making struct 'FileManager' conform to the 'Sendable' protocol
33 |     var contents: (_ atPath: String) -> Data?
34 |     var createDirectory: (_ path: String,
   :
42 |     var temporaryDirectory: () -> URL
43 |
44 |     static let live: Self = .init(
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |         contents: Foundation.FileManager.default.contents(atPath:),
46 |         createDirectory: Foundation.FileManager.default
/Users/admin/builder/spi-builder-workspace/Sources/SPIManifest/Environment.swift:69:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | #if DEBUG
69 | var Current: Environment = .live
   |     |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'Current' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | #else
71 | let Current: Environment = .live
[33/37] Compiling SPIManifest ManifestError.swift
[34/37] Compiling SPIManifest Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPIManifest/Environment.swift:24:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 |
18 | struct Environment {
   |        `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
19 |     var fileManager: FileManager
20 | }
   :
22 |
23 | extension Environment {
24 |     static let live: Self = .init(
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |         fileManager: .live
26 |     )
/Users/admin/builder/spi-builder-workspace/Sources/SPIManifest/Environment.swift:44:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
30 | // MARK: FileManager
31 |
32 | struct FileManager {
   |        `- note: consider making struct 'FileManager' conform to the 'Sendable' protocol
33 |     var contents: (_ atPath: String) -> Data?
34 |     var createDirectory: (_ path: String,
   :
42 |     var temporaryDirectory: () -> URL
43 |
44 |     static let live: Self = .init(
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |         contents: Foundation.FileManager.default.contents(atPath:),
46 |         createDirectory: Foundation.FileManager.default
/Users/admin/builder/spi-builder-workspace/Sources/SPIManifest/Environment.swift:69:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | #if DEBUG
69 | var Current: Environment = .live
   |     |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'Current' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | #else
71 | let Current: Environment = .live
[35/37] Compiling SPIManifest Platform.swift
[36/37] Compiling SPIManifest Manifest.swift
[37/37] Compiling SPIManifest Array+Uniqued.swift
Build complete! (9.34s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "SPIManifest",
  "name" : "SPIManifest",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SPIManifest",
      "targets" : [
        "SPIManifest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SPIManifestTests",
      "module_type" : "SwiftTarget",
      "name" : "SPIManifestTests",
      "path" : "Tests/SPIManifestTests",
      "sources" : [
        "Array+UniquedTests.swift",
        "ManifestTests.swift",
        "RegressionTests.swift",
        "SwiftVersionTests.swift"
      ],
      "target_dependencies" : [
        "SPIManifest"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SPIManifest",
      "module_type" : "SwiftTarget",
      "name" : "SPIManifest",
      "path" : "Sources/SPIManifest",
      "product_dependencies" : [
        "Yams"
      ],
      "product_memberships" : [
        "SPIManifest"
      ],
      "sources" : [
        "Array+Uniqued.swift",
        "Environment.swift",
        "Manifest.swift",
        "ManifestError.swift",
        "Platform.swift",
        "SwiftVersion.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/swiftpackageindex/spimanifest/main
Repository:               SwiftPackageIndex/SPIManifest
Swift version used:       6.1
Target:                   SPIManifest
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            release/6.2 -> FETCH_HEAD
 * [new branch]      release/6.2 -> origin/release/6.2
HEAD is now at 8799b69 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'SPIManifest'...
Finished extracting symbol information for 'SPIManifest'. (4.44s)
Building documentation for 'SPIManifest'...
Finished building documentation for 'SPIManifest' (0.16s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/swiftpackageindex/spimanifest/main
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Updating https://github.com/jpsim/Yams.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.47s)
Updated https://github.com/jpsim/Yams.git (0.50s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (1.57s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.58s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.76s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.42s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Compiling Snippets SnippetParser.swift
[8/53] Emitting module SymbolKit
[9/57] Emitting module Snippets
[10/57] Compiling SymbolKit DeclarationFragments.swift
[11/57] Compiling SymbolKit Fragment.swift
[12/57] Compiling SymbolKit FragmentKind.swift
[13/57] Compiling SymbolKit FunctionParameter.swift
[14/57] Compiling SymbolKit FunctionSignature.swift
[15/57] Compiling SymbolKit SourceRange.swift
[16/57] Compiling SymbolKit Metadata.swift
[17/57] Compiling SymbolKit Module.swift
[18/57] Compiling SymbolKit OperatingSystem.swift
[19/57] Compiling SymbolKit Platform.swift
[20/57] Compiling SymbolKit Mixin+Equals.swift
[21/57] Compiling SymbolKit Mixin+Hash.swift
[22/57] Compiling SymbolKit Mixin.swift
[23/57] Compiling SymbolKit LineList.swift
[24/57] Compiling SymbolKit Position.swift
[25/57] Compiling SymbolKit Symbol.swift
[26/57] Compiling SymbolKit SymbolKind.swift
[27/57] Compiling SymbolKit SymbolGraph.swift
[28/57] Compiling SymbolKit GraphCollector.swift
[29/57] Compiling SymbolKit GenericConstraint.swift
[30/57] Compiling SymbolKit GenericParameter.swift
[31/57] Compiling SymbolKit Generics.swift
[32/57] Compiling SymbolKit Namespace.swift
[33/57] Compiling SymbolKit Relationship.swift
[34/57] Compiling SymbolKit RelationshipKind.swift
[35/57] Compiling SymbolKit SourceOrigin.swift
[36/57] Compiling SymbolKit GenericConstraints.swift
[37/57] Compiling SymbolKit Swift.swift
[38/57] Compiling SymbolKit SemanticVersion.swift
[39/57] Compiling SymbolKit AccessControl.swift
[40/57] Compiling SymbolKit Availability.swift
[41/57] Compiling SymbolKit AvailabilityItem.swift
[42/57] Compiling SymbolKit Domain.swift
[43/57] Compiling SymbolKit Identifier.swift
[44/57] Compiling SymbolKit KindIdentifier.swift
[45/57] Compiling SymbolKit Location.swift
[46/57] Compiling SymbolKit Mutability.swift
[47/57] Compiling SymbolKit Names.swift
[48/57] Compiling SymbolKit SPI.swift
[49/57] Compiling SymbolKit Snippet.swift
[50/57] Compiling SymbolKit Extension.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.51s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/20] Compiling Yams Tag.swift
[3/20] Compiling Yams YamlAnchorProviding.swift
[4/22] Compiling Yams Resolver.swift
[5/22] Compiling Yams String+Yams.swift
[6/22] Compiling Yams RedundancyAliasingStrategy.swift
[7/22] Compiling Yams Representer.swift
[8/22] Compiling Yams Node.Scalar.swift
[9/22] Compiling Yams Node.Sequence.swift
[10/22] Compiling Yams Node.swift
[11/22] Compiling Yams Parser.swift
[12/22] Compiling Yams YamlError.swift
[13/22] Compiling Yams YamlTagProviding.swift
[14/22] Compiling Yams Encoder.swift
[15/22] Compiling Yams Mark.swift
[16/22] Compiling Yams Node.Alias.swift
[17/22] Compiling Yams Node.Mapping.swift
[18/22] Compiling Yams Anchor.swift
[19/22] Compiling Yams Constructor.swift
[20/22] Compiling Yams Decoder.swift
[21/22] Compiling Yams Emitter.swift
[22/22] Emitting module Yams
[23/29] Compiling SPIManifest ManifestError.swift
[24/29] Compiling SPIManifest SwiftVersion.swift
[25/29] Compiling SPIManifest Platform.swift
[26/29] Compiling SPIManifest Environment.swift
[27/29] Compiling SPIManifest Array+Uniqued.swift
[28/29] Compiling SPIManifest Manifest.swift
[29/29] Emitting module SPIManifest
Build of target: 'SPIManifest' complete! (2.25s)
     289
3	/Users/admin/builder/spi-builder-workspace/.docs/swiftpackageindex/spimanifest/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftpackageindex/spimanifest/main
File count: 289
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-swiftpackageindex-spimanifest-main-76d33329.zip to s3://spi-docs-inbox/prod-swiftpackageindex-spimanifest-main-76d33329.zip
Copying... [17%]
Copying... [26%]
Copying... [35%]
Copying... [43%]
Copying... [52%]
Copying... [60%]
Copying... [78%]
Copying... [86%]
Copying... [95%]
Copying... [100%]
Done.