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 2.2.0 (a9b116), with Swift 6.0 for Linux on 15 Apr 2025 20:33:48 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/Saga.git
Reference: 2.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/loopwerk/Saga
 * tag               2.2.0      -> FETCH_HEAD
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 2.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/loopwerk/Saga.git
https://github.com/loopwerk/Saga.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.20s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.14s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.16s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.87s)
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
Building for debugging...
[0/8] Write sources
[3/8] Write swift-version-24593BA9C3E375BF.txt
[5/10] Emitting module PathKit
[6/10] Compiling PathKit PathKit.swift
[7/11] Wrapping AST for PathKit for debugging
[9/27] Emitting module SagaCLI
[10/27] Compiling SagaCLI main.swift
[11/28] Compiling Saga Reader.swift
[12/28] Compiling Saga RenderingContexts.swift
[14/29] Compiling Saga Saga.swift
/host/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: annotate 'diskAccess' with '@MainActor' if property should only be accessed from the main actor
   |              `- 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) },
[15/29] Compiling Saga String+Slugify.swift
/host/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: annotate 'diskAccess' with '@MainActor' if property should only be accessed from the main actor
   |              `- 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) },
[16/29] Compiling Saga Writer.swift
[16/29] Wrapping AST for SagaCLI for debugging
[17/29] Write Objects.LinkFileList
[19/29] Compiling Saga Path+Extensions.swift
/host/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()
[20/29] Compiling Saga ProcessingStep.swift
/host/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()
[21/29] Compiling Saga utils.swift
[22/29] Emitting module Saga
/host/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: annotate 'diskAccess' with '@MainActor' if property should only be accessed from the main actor
   |              `- 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) },
/host/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()
[22/29] Linking watch
[24/29] Compiling Saga FileIO.swift
/host/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: annotate 'diskAccess' with '@MainActor' if property should only be accessed from the main actor
   |              `- 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) },
[25/29] Compiling Saga Item.swift
/host/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: annotate 'diskAccess' with '@MainActor' if property should only be accessed from the main actor
   |              `- 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) },
[26/29] Compiling Saga Atom.swift
[27/29] Compiling Saga FileContainer.swift
[28/29] Compiling Saga ItemWriteMode.swift
[29/29] Compiling Saga MetadataDecoder.swift
Build complete! (18.50s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.