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 Saga, reference main (a9b116), with Swift 6.1 for macOS (SPM) on 1 May 2025 09:38:25 UTC.

Swift 6 data race errors: 1

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/loopwerk/Saga.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loopwerk/Saga
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a9b1165 feat: Improve the atom feed writer, always include the full body text
Cloned https://github.com/loopwerk/Saga.git
Revision (git rev-parse @):
a9b1165b3db3f125454926b78cca02e61016a9aa
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/loopwerk/Saga.git at main
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.85s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (3.83s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.80s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.40s)
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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": "saga",
      "name": "Saga",
      "url": "https://github.com/loopwerk/Saga.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Saga",
      "dependencies": [
        {
          "identity": "pathkit",
          "name": "PathKit",
          "url": "https://github.com/kylef/PathKit",
          "version": "1.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
          "dependencies": [
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.10.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/loopwerk/Saga.git
[1/2901] Fetching saga
Fetched https://github.com/loopwerk/Saga.git from cache (1.10s)
Fetching https://github.com/kylef/PathKit from cache
Fetched https://github.com/kylef/PathKit from cache (0.45s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.50s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.43s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.50s)
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at main (a9b1165)
Found 1 product dependencies
  - PathKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/loopwerk/Saga.git
https://github.com/loopwerk/Saga.git
{
  "dependencies" : [
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit"
    }
  ],
  "manifest_display_name" : "Saga",
  "name" : "Saga",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Saga",
      "targets" : [
        "Saga"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "watch",
      "targets" : [
        "SagaCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SagaTests",
      "module_type" : "SwiftTarget",
      "name" : "SagaTests",
      "path" : "Tests/SagaTests",
      "sources" : [
        "SagaTests.swift"
      ],
      "target_dependencies" : [
        "Saga"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SagaCLI",
      "module_type" : "SwiftTarget",
      "name" : "SagaCLI",
      "path" : "Sources/SagaCLI",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "watch"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Saga",
      "module_type" : "SwiftTarget",
      "name" : "Saga",
      "path" : "Sources/Saga",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "Saga"
      ],
      "sources" : [
        "Atom.swift",
        "FileContainer.swift",
        "FileIO.swift",
        "Item.swift",
        "ItemWriteMode.swift",
        "MetadataDecoder.swift",
        "Path+Extensions.swift",
        "ProcessingStep.swift",
        "Reader.swift",
        "RenderingContexts.swift",
        "Saga.swift",
        "String+Slugify.swift",
        "Writer.swift",
        "utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/8] Write sources
[3/8] Write watch-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/10] Emitting module PathKit
[7/10] Compiling PathKit PathKit.swift
[8/26] Emitting module SagaCLI
[9/26] Compiling SagaCLI main.swift
[9/26] Write Objects.LinkFileList
[11/26] Compiling Saga Path+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Path+Extensions.swift:43:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
41 | }
42 |
43 | extension Path: Decodable {
   | |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
44 |   public init(from decoder: Decoder) throws {
45 |     let container = try decoder.singleValueContainer()
[12/26] Compiling Saga ProcessingStep.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Path+Extensions.swift:43:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
41 | }
42 |
43 | extension Path: Decodable {
   | |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
44 |   public init(from decoder: Decoder) throws {
45 |     let container = try decoder.singleValueContainer()
[13/27] Compiling Saga utils.swift
[14/27] Compiling Saga Atom.swift
[15/27] Compiling Saga FileContainer.swift
[16/27] Compiling Saga ItemWriteMode.swift
[17/27] Compiling Saga MetadataDecoder.swift
[18/27] Emitting module Saga
/Users/admin/builder/spi-builder-workspace/Sources/Saga/FileIO.swift:15:14: warning: static property 'diskAccess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public extension FileIO {
14 |   /// The default version of `FileIO`, which uses PathKit.
15 |   static var diskAccess = Self(
   |              |- warning: static property 'diskAccess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'diskAccess' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'diskAccess' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     resolveSwiftPackageFolder: { path in try path.resolveSwiftPackageFolder() },
17 |     findFiles: { try $0.recursiveChildren().filter(\.isFile) },
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Path+Extensions.swift:43:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
41 | }
42 |
43 | extension Path: Decodable {
   | |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
44 |   public init(from decoder: Decoder) throws {
45 |     let container = try decoder.singleValueContainer()
[19/27] Compiling Saga FileIO.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/FileIO.swift:15:14: warning: static property 'diskAccess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public extension FileIO {
14 |   /// The default version of `FileIO`, which uses PathKit.
15 |   static var diskAccess = Self(
   |              |- warning: static property 'diskAccess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'diskAccess' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'diskAccess' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     resolveSwiftPackageFolder: { path in try path.resolveSwiftPackageFolder() },
17 |     findFiles: { try $0.recursiveChildren().filter(\.isFile) },
[20/27] Compiling Saga Item.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/FileIO.swift:15:14: warning: static property 'diskAccess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public extension FileIO {
14 |   /// The default version of `FileIO`, which uses PathKit.
15 |   static var diskAccess = Self(
   |              |- warning: static property 'diskAccess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'diskAccess' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'diskAccess' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     resolveSwiftPackageFolder: { path in try path.resolveSwiftPackageFolder() },
17 |     findFiles: { try $0.recursiveChildren().filter(\.isFile) },
[21/27] Compiling Saga Reader.swift
[22/27] Compiling Saga String+Slugify.swift
[23/27] Compiling Saga Saga.swift
[24/27] Compiling Saga Writer.swift
[25/27] Compiling Saga RenderingContexts.swift
[25/27] Linking watch
[26/27] Applying watch
Build complete! (8.24s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit"
    }
  ],
  "manifest_display_name" : "Saga",
  "name" : "Saga",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Saga",
      "targets" : [
        "Saga"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "watch",
      "targets" : [
        "SagaCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SagaTests",
      "module_type" : "SwiftTarget",
      "name" : "SagaTests",
      "path" : "Tests/SagaTests",
      "sources" : [
        "SagaTests.swift"
      ],
      "target_dependencies" : [
        "Saga"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SagaCLI",
      "module_type" : "SwiftTarget",
      "name" : "SagaCLI",
      "path" : "Sources/SagaCLI",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "watch"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Saga",
      "module_type" : "SwiftTarget",
      "name" : "Saga",
      "path" : "Sources/Saga",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "Saga"
      ],
      "sources" : [
        "Atom.swift",
        "FileContainer.swift",
        "FileIO.swift",
        "Item.swift",
        "ItemWriteMode.swift",
        "MetadataDecoder.swift",
        "Path+Extensions.swift",
        "ProcessingStep.swift",
        "Reader.swift",
        "RenderingContexts.swift",
        "Saga.swift",
        "String+Slugify.swift",
        "Writer.swift",
        "utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.