This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
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 ea16d98 chore: One more site metadata mention removed
Cloned https://github.com/loopwerk/Saga.git
Revision (git rev-parse @):
ea16d98d6186125b13994d0eb2c592e9da91ff82
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/loopwerk/Saga.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/loopwerk/Saga.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/11] Write sources
[5/11] Write watch-entitlement.plist
[7/11] Write swift-version-6F35C1178C84523A.txt
[9/15] Compiling Codextended Codextended.swift
[10/15] Emitting module Codextended
[11/15] Emitting module PathKit
[12/15] Compiling PathKit PathKit.swift
[13/30] Compiling Saga Reader.swift
[14/31] Compiling Saga RenderingContexts.swift
[15/31] Compiling Saga String+Slugify.swift
[16/31] Compiling Saga Saga.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/FileIO.swift:15:14: warning: static property 'diskAccess' is not concurrency-safe because it is non-isolated 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 non-isolated 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) },
[17/31] Emitting module SagaCLI
[18/31] Compiling SagaCLI main.swift
[18/31] Write Objects.LinkFileList
[20/31] Compiling Saga Reader+Decoder.swift
[21/31] Compiling Saga ProcessingStep.swift
[22/31] Compiling Saga Writer.swift
[22/31] Linking watch
[23/31] Applying watch
[25/31] Compiling Saga FileContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/FileIO.swift:15:14: warning: static property 'diskAccess' is not concurrency-safe because it is non-isolated 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 non-isolated 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/31] 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 non-isolated 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 non-isolated 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) },
[27/31] 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 non-isolated 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 non-isolated 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) },
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Path+Extensions.swift:35: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
33 | }
34 |
35 | 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
36 |   public init(from decoder: Decoder) throws {
37 |     let container = try decoder.singleValueContainer()
[28/31] Compiling Saga Item.swift
[29/31] Compiling Saga ItemWriteMode.swift
[30/31] Compiling Saga MetadataDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Path+Extensions.swift:35: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
33 | }
34 |
35 | 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
36 |   public init(from decoder: Decoder) throws {
37 |     let container = try decoder.singleValueContainer()
[31/31] Compiling Saga Path+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Path+Extensions.swift:35: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
33 | }
34 |
35 | 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
36 |   public init(from decoder: Decoder) throws {
37 |     let container = try decoder.singleValueContainer()
Build complete! (43.99s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/JohnSundell/Codextended.git
Fetching https://github.com/kylef/PathKit
[1/181] Fetching codextended
[27/1592] Fetching codextended, pathkit
[197/3050] Fetching codextended, pathkit, swift-docc-plugin
Fetched https://github.com/JohnSundell/Codextended.git from cache (1.36s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.36s)
Fetched https://github.com/kylef/PathKit from cache (1.36s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.61s)
Fetching https://github.com/kylef/Spectre.git
[11/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.95s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.61s)
Computing version for https://github.com/JohnSundell/Codextended.git
Computed https://github.com/JohnSundell/Codextended.git at 0.3.0 (0.59s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.61s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2855] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.40s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.67s)
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/JohnSundell/Codextended.git
Working copy of https://github.com/JohnSundell/Codextended.git resolved at 0.3.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
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"
    },
    {
      "identity" : "codextended",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Codextended.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "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",
        "Codextended"
      ],
      "product_memberships" : [
        "Saga"
      ],
      "sources" : [
        "FileContainer.swift",
        "FileIO.swift",
        "Item.swift",
        "ItemWriteMode.swift",
        "MetadataDecoder.swift",
        "Path+Extensions.swift",
        "ProcessingStep.swift",
        "Reader+Decoder.swift",
        "Reader.swift",
        "RenderingContexts.swift",
        "Saga.swift",
        "String+Slugify.swift",
        "Writer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.