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 1.8.2 (df8dfd), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 18:37:32 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: 1.8.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftPackageIndex/SPIManifest
 * tag               1.8.2      -> FETCH_HEAD
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 1.8.2
Fetching https://github.com/jpsim/Yams.git from cache
Fetched https://github.com/jpsim/Yams.git from cache (0.82s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (1.44s)
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.63s)
Fetching https://github.com/jpsim/Yams.git from cache
Fetched https://github.com/jpsim/Yams.git from cache (0.52s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.57s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Creating working copy for https://github.com/SwiftPackageIndex/SPIManifest.git
Working copy of https://github.com/SwiftPackageIndex/SPIManifest.git resolved at 1.8.2 (df8dfd0)
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 parser.c
[5/9] Compiling api.c
[6/9] Compiling scanner.c
[7/9] Compiling reader.c
[8/9] Compiling emitter.c
[10/28] Compiling Yams Node.Scalar.swift
[11/28] Compiling Yams Node.Sequence.swift
[12/30] Compiling Yams Resolver.swift
[13/30] Compiling Yams String+Yams.swift
[14/30] Compiling Yams Node.swift
[15/30] Compiling Yams Parser.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 Node.Alias.swift
[21/30] Compiling Yams Node.Mapping.swift
[22/30] Emitting module Yams
[23/30] Compiling Yams Encoder.swift
[24/30] Compiling Yams Mark.swift
[25/30] Compiling Yams Anchor.swift
[26/30] Compiling Yams Constructor.swift
[27/30] Compiling Yams Decoder.swift
[28/30] Compiling Yams Emitter.swift
[29/30] Compiling Yams YamlError.swift
[30/30] Compiling Yams YamlTagProviding.swift
[31/37] Compiling SPIManifest SwiftVersion.swift
[32/37] Compiling SPIManifest ManifestError.swift
[33/37] Compiling SPIManifest Platform.swift
[34/37] Compiling SPIManifest Manifest.swift
[35/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
[36/37] Compiling SPIManifest Array+Uniqued.swift
[37/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
Build complete! (9.17s)
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/1.8.2
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.64s)
Building documentation for 'SPIManifest'...
Finished building documentation for 'SPIManifest' (0.15s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/swiftpackageindex/spimanifest/1.8.2
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.49s)
Updated https://github.com/jpsim/Yams.git (0.54s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (1.15s)
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.81s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.47s)
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
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
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[3/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Emitting module SymbolKit
[12/57] Compiling SymbolKit Mixin+Equals.swift
[13/57] Compiling SymbolKit Mixin+Hash.swift
[14/57] Compiling SymbolKit Mixin.swift
[15/57] Compiling SymbolKit LineList.swift
[16/57] Compiling SymbolKit Position.swift
[17/57] Compiling SymbolKit SemanticVersion.swift
[18/57] Compiling SymbolKit AccessControl.swift
[19/57] Compiling SymbolKit Availability.swift
[20/57] Compiling SymbolKit AvailabilityItem.swift
[21/57] Compiling SymbolKit Domain.swift
[22/57] Compiling Snippets SnippetParser.swift
[23/57] Emitting module Snippets
[24/57] Compiling Snippets Snippet.swift
[25/57] Compiling SymbolKit SourceRange.swift
[26/57] Compiling SymbolKit Metadata.swift
[27/57] Compiling SymbolKit Module.swift
[28/57] Compiling SymbolKit OperatingSystem.swift
[29/57] Compiling SymbolKit Platform.swift
[30/57] Compiling SymbolKit Identifier.swift
[31/57] Compiling SymbolKit KindIdentifier.swift
[32/57] Compiling SymbolKit Location.swift
[33/57] Compiling SymbolKit Mutability.swift
[34/57] Compiling SymbolKit Names.swift
[35/57] Compiling SymbolKit SPI.swift
[36/57] Compiling SymbolKit Snippet.swift
[37/57] Compiling SymbolKit Extension.swift
[38/57] Compiling SymbolKit Symbol.swift
[39/57] Compiling SymbolKit SymbolKind.swift
[40/57] Compiling SymbolKit SymbolGraph.swift
[41/57] Compiling SymbolKit GraphCollector.swift
[42/57] Compiling SymbolKit GenericConstraint.swift
[43/57] Compiling SymbolKit GenericParameter.swift
[44/57] Compiling SymbolKit Generics.swift
[45/57] Compiling SymbolKit Namespace.swift
[46/57] Compiling SymbolKit Relationship.swift
[47/57] Compiling SymbolKit RelationshipKind.swift
[48/57] Compiling SymbolKit SourceOrigin.swift
[49/57] Compiling SymbolKit GenericConstraints.swift
[50/57] Compiling SymbolKit Swift.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.65s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/20] Compiling Yams Resolver.swift
[3/20] Compiling Yams String+Yams.swift
[4/22] Compiling Yams Tag.swift
[5/22] Compiling Yams YamlAnchorProviding.swift
[6/22] Compiling Yams Node.Scalar.swift
[7/22] Compiling Yams Node.Sequence.swift
[8/22] Compiling Yams Node.Alias.swift
[9/22] Compiling Yams Node.Mapping.swift
[10/22] Compiling Yams RedundancyAliasingStrategy.swift
[11/22] Compiling Yams Representer.swift
[12/22] Compiling Yams Node.swift
[13/22] Compiling Yams Parser.swift
[14/22] Compiling Yams Encoder.swift
[15/22] Compiling Yams Mark.swift
[16/22] Compiling Yams YamlError.swift
[17/22] Compiling Yams YamlTagProviding.swift
[18/22] Compiling Yams Decoder.swift
[19/22] Compiling Yams Emitter.swift
[20/22] Emitting module Yams
[21/22] Compiling Yams Anchor.swift
[22/22] Compiling Yams Constructor.swift
[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] Emitting module SPIManifest
[29/29] Compiling SPIManifest Manifest.swift
Build of target: 'SPIManifest' complete! (2.67s)
     289
3	/Users/admin/builder/spi-builder-workspace/.docs/swiftpackageindex/spimanifest/1.8.2
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftpackageindex/spimanifest/1.8.2
File count: 289
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-swiftpackageindex-spimanifest-1.8.2-5f2c6b40.zip to s3://spi-docs-inbox/prod-swiftpackageindex-spimanifest-1.8.2-5f2c6b40.zip
Copying... [17%]
Copying... [26%]
Copying... [34%]
Copying... [43%]
Copying... [52%]
Copying... [60%]
Copying... [78%]
Copying... [86%]
Copying... [95%]
Copying... [100%]
Done.