The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Saga, reference main (f9b43f), with Swift 6.1 for macOS (SPM) on 27 Nov 2025 05:54:35 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.68.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 f9b43f9 Update README.md
Cloned https://github.com/loopwerk/Saga.git
Revision (git rev-parse @):
f9b43f90d209fa6b0921ee8ff67355718bcc592b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/loopwerk/Saga.git at main
========================================
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
[2/8] Write watch-entitlement.plist
[3/8] Write sources
[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 Writer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Writer.swift:27:25: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 25 |       try await withThrowingTaskGroup(of: Void.self) { group in
 26 |         for item in items {
 27 |           group.addTask {
    |                         `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 28 |             // Resources are unhandled files in the same folder. These could be images for example, or other static files.
 29 |             let resources = fileStorage
    |                             `- note: closure captures non-Sendable 'fileStorage'
 30 |               .filter { $0.relativePath.parent() == item.relativeSource.parent() && !$0.handled }
    |                                                     `- note: closure captures non-Sendable 'item'
 31 |               .map { $0.path }
 32 |             let context = ItemRenderingContext(item: item, items: items, allItems: allItems, resources: resources)
    |                                                                   |                `- note: closure captures non-Sendable 'allItems'
    |                                                                   `- note: closure captures non-Sendable 'items'
 33 |             let stringToWrite = try await renderer(context)
    |                                           `- note: closure captures non-Sendable 'renderer'
 34 |             try fileIO.write(outputRoot + item.relativeDestination, stringToWrite)
    |                 |            `- note: closure captures non-Sendable 'outputRoot'
    |                 `- note: closure captures non-Sendable 'fileIO'
 35 |           }
 36 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Writer.swift:63:25: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 61 |       try await withThrowingTaskGroup(of: Void.self) { group in
 62 |         for (key, itemsInPartition) in Array(partitions).sorted(by: { $0.0 < $1.0 }) {
 63 |           group.addTask {
    |                         `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 64 |             let finishedOutputPath = Path(output.string.replacingOccurrences(of: "[key]", with: "\(key.slugified)"))
 65 |             let finishedPaginatedOutputPath = Path(paginatedOutput.string.replacingOccurrences(of: "[key]", with: "\(key.slugified)"))
 66 |             try await writePages(renderer: renderer, items: itemsInPartition, allItems: allItems, outputRoot: outputRoot, outputPrefix: outputPrefix, output: finishedOutputPath, paginate: paginate, paginatedOutput: finishedPaginatedOutputPath, fileIO: fileIO) {
    |                                                                                                                                                                                                                                                             `- note: closure captures 'fileIO' which is accessible to code in the current task
 67 |               PartitionedRenderingContext(key: key, items: $0, allItems: $1, paginator: $2, outputPath: $3)
 68 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Writer.swift:148:25: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
146 |       try await withThrowingTaskGroup(of: Void.self) { group in
147 |         for (index, items) in ranges.enumerated() {
148 |           group.addTask {
    |                         `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
149 |             let currentPage = index + 1
150 |             let previousPage = Path(paginatedOutput.string.replacingOccurrences(of: "[page]", with: "\(currentPage - 1)")).makeOutputPath(itemWriteMode: .keepAsFile)
    |                                     `- note: closure captures non-Sendable 'paginatedOutput'
151 |             let nextPage = Path(paginatedOutput.string.replacingOccurrences(of: "[page]", with: "\(currentPage + 1)")).makeOutputPath(itemWriteMode: .keepAsFile)
152 |
    :
155 |               itemsPerPage: perPage,
156 |               numberOfPages: numberOfPages,
157 |               previous: currentPage == 1 ? nil : (outputPrefix + previousPage),
    |                                                   `- note: closure captures non-Sendable 'outputPrefix'
158 |               next: currentPage == numberOfPages ? nil : (outputPrefix + nextPage)
159 |             )
160 |
161 |             let finishedOutputPath = Path(paginatedOutput.string.replacingOccurrences(of: "[page]", with: "\(currentPage)"))
162 |             let context = getContext(items, allItems, paginator, outputPrefix + finishedOutputPath)
    |                           |          |      `- note: closure captures non-Sendable 'allItems'
    |                           |          `- note: closure captures non-Sendable 'items'
    |                           `- note: closure captures non-Sendable 'getContext'
163 |             let stringToWrite = try await renderer(context)
    |                                           `- note: closure captures non-Sendable 'renderer'
164 |             try fileIO.write(outputRoot + outputPrefix + finishedOutputPath, stringToWrite)
    |                 |            `- note: closure captures non-Sendable 'outputRoot'
    |                 `- note: closure captures non-Sendable 'fileIO'
165 |           }
166 |         }
[12/27] Compiling Saga RenderingContexts.swift
[13/27] Compiling Saga String+Slugify.swift
[14/27] Compiling Saga Path+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Path+Extensions.swift:52:3: 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
50 |   }
51 | #else
52 |   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
53 |     public init(from decoder: Decoder) throws {
54 |       let container = try decoder.singleValueContainer()
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:44:29: warning: type 'Item<M>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 42 |
 43 |       // Process files in parallel with deterministic result ordering
 44 |       let items = try await withThrowingTaskGroup(of: (Int, Item<M>?).self) { group in
    |                             `- warning: type 'Item<M>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 45 |         for (index, container) in relevantContainers.enumerated() {
 46 |           group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Item.swift:28:14: note: generic class 'Item' does not conform to the 'Sendable' protocol
26 | ///
27 | /// An item can be any text file (like a Markdown or RestructedText file). ``Reader``s will turn the file into an ``Item``, and ``Writer``s will turn the ``Item`` into a `String` (for example HTML or RSS) to be written to disk.
28 | public class Item<M: Metadata>: AnyItem {
   |              `- note: generic class 'Item' does not conform to the 'Sendable' protocol
29 |   /// The absolute path of the file
30 |   public let absoluteSource: Path
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:44:77: warning: type 'Item<M>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 42 |
 43 |       // Process files in parallel with deterministic result ordering
 44 |       let items = try await withThrowingTaskGroup(of: (Int, Item<M>?).self) { group in
    |                                                                             `- warning: type 'Item<M>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 45 |         for (index, container) in relevantContainers.enumerated() {
 46 |           group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Item.swift:28:14: note: generic class 'Item' does not conform to the 'Sendable' protocol
26 | ///
27 | /// An item can be any text file (like a Markdown or RestructedText file). ``Reader``s will turn the file into an ``Item``, and ``Writer``s will turn the ``Item`` into a `String` (for example HTML or RSS) to be written to disk.
28 | public class Item<M: Metadata>: AnyItem {
   |              `- note: generic class 'Item' does not conform to the 'Sendable' protocol
29 |   /// The absolute path of the file
30 |   public let absoluteSource: Path
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:46:17: warning: type 'Item<M>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 44 |       let items = try await withThrowingTaskGroup(of: (Int, Item<M>?).self) { group in
 45 |         for (index, container) in relevantContainers.enumerated() {
 46 |           group.addTask {
    |                 `- warning: type 'Item<M>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 47 |             // Pick the first reader that is able to work on this file, based on file extension
 48 |             guard let reader = step.readers.first(where: { $0.supportedExtensions.contains(container.path.extension ?? "") }) else {
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Item.swift:28:14: note: generic class 'Item' does not conform to the 'Sendable' protocol
26 | ///
27 | /// An item can be any text file (like a Markdown or RestructedText file). ``Reader``s will turn the file into an ``Item``, and ``Writer``s will turn the ``Item`` into a `String` (for example HTML or RSS) to be written to disk.
28 | public class Item<M: Metadata>: AnyItem {
   |              `- note: generic class 'Item' does not conform to the 'Sendable' protocol
29 |   /// The absolute path of the file
30 |   public let absoluteSource: Path
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:46:25: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 44 |       let items = try await withThrowingTaskGroup(of: (Int, Item<M>?).self) { group in
 45 |         for (index, container) in relevantContainers.enumerated() {
 46 |           group.addTask {
    |                         `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 47 |             // Pick the first reader that is able to work on this file, based on file extension
 48 |             guard let reader = step.readers.first(where: { $0.supportedExtensions.contains(container.path.extension ?? "") }) else {
    :
 66 |                 title: partialItem.title ?? container.relativePath.lastComponentWithoutExtension,
 67 |                 body: partialItem.body,
 68 |                 date: date ?? fileIO.creationDate(container.path) ?? Date(),
    |                               `- note: closure captures 'fileIO' which is accessible to code in the current task
 69 |                 created: fileIO.creationDate(container.path) ?? Date(),
 70 |                 lastModified: fileIO.modificationDate(container.path) ?? Date(),
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:124:25: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
122 |       try await withThrowingTaskGroup(of: Void.self) { group in
123 |         for writer in step.writers {
124 |           group.addTask {
    |                         `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
125 |             try await writer.run(step.items, allItems, fileStorage, outputPath, step.folder ?? "", fileIO)
    |                                                                                                    `- note: closure captures 'fileIO' which is accessible to code in the current task
126 |           }
127 |         }
[15/27] Compiling Saga ProcessingStep.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Path+Extensions.swift:52:3: 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
50 |   }
51 | #else
52 |   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
53 |     public init(from decoder: Decoder) throws {
54 |       let container = try decoder.singleValueContainer()
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:44:29: warning: type 'Item<M>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 42 |
 43 |       // Process files in parallel with deterministic result ordering
 44 |       let items = try await withThrowingTaskGroup(of: (Int, Item<M>?).self) { group in
    |                             `- warning: type 'Item<M>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 45 |         for (index, container) in relevantContainers.enumerated() {
 46 |           group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Item.swift:28:14: note: generic class 'Item' does not conform to the 'Sendable' protocol
26 | ///
27 | /// An item can be any text file (like a Markdown or RestructedText file). ``Reader``s will turn the file into an ``Item``, and ``Writer``s will turn the ``Item`` into a `String` (for example HTML or RSS) to be written to disk.
28 | public class Item<M: Metadata>: AnyItem {
   |              `- note: generic class 'Item' does not conform to the 'Sendable' protocol
29 |   /// The absolute path of the file
30 |   public let absoluteSource: Path
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:44:77: warning: type 'Item<M>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 42 |
 43 |       // Process files in parallel with deterministic result ordering
 44 |       let items = try await withThrowingTaskGroup(of: (Int, Item<M>?).self) { group in
    |                                                                             `- warning: type 'Item<M>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 45 |         for (index, container) in relevantContainers.enumerated() {
 46 |           group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Item.swift:28:14: note: generic class 'Item' does not conform to the 'Sendable' protocol
26 | ///
27 | /// An item can be any text file (like a Markdown or RestructedText file). ``Reader``s will turn the file into an ``Item``, and ``Writer``s will turn the ``Item`` into a `String` (for example HTML or RSS) to be written to disk.
28 | public class Item<M: Metadata>: AnyItem {
   |              `- note: generic class 'Item' does not conform to the 'Sendable' protocol
29 |   /// The absolute path of the file
30 |   public let absoluteSource: Path
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:46:17: warning: type 'Item<M>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 44 |       let items = try await withThrowingTaskGroup(of: (Int, Item<M>?).self) { group in
 45 |         for (index, container) in relevantContainers.enumerated() {
 46 |           group.addTask {
    |                 `- warning: type 'Item<M>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 47 |             // Pick the first reader that is able to work on this file, based on file extension
 48 |             guard let reader = step.readers.first(where: { $0.supportedExtensions.contains(container.path.extension ?? "") }) else {
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Item.swift:28:14: note: generic class 'Item' does not conform to the 'Sendable' protocol
26 | ///
27 | /// An item can be any text file (like a Markdown or RestructedText file). ``Reader``s will turn the file into an ``Item``, and ``Writer``s will turn the ``Item`` into a `String` (for example HTML or RSS) to be written to disk.
28 | public class Item<M: Metadata>: AnyItem {
   |              `- note: generic class 'Item' does not conform to the 'Sendable' protocol
29 |   /// The absolute path of the file
30 |   public let absoluteSource: Path
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:46:25: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 44 |       let items = try await withThrowingTaskGroup(of: (Int, Item<M>?).self) { group in
 45 |         for (index, container) in relevantContainers.enumerated() {
 46 |           group.addTask {
    |                         `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 47 |             // Pick the first reader that is able to work on this file, based on file extension
 48 |             guard let reader = step.readers.first(where: { $0.supportedExtensions.contains(container.path.extension ?? "") }) else {
    :
 66 |                 title: partialItem.title ?? container.relativePath.lastComponentWithoutExtension,
 67 |                 body: partialItem.body,
 68 |                 date: date ?? fileIO.creationDate(container.path) ?? Date(),
    |                               `- note: closure captures 'fileIO' which is accessible to code in the current task
 69 |                 created: fileIO.creationDate(container.path) ?? Date(),
 70 |                 lastModified: fileIO.modificationDate(container.path) ?? Date(),
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:124:25: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
122 |       try await withThrowingTaskGroup(of: Void.self) { group in
123 |         for writer in step.writers {
124 |           group.addTask {
    |                         `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
125 |             try await writer.run(step.items, allItems, fileStorage, outputPath, step.folder ?? "", fileIO)
    |                                                                                                    `- note: closure captures 'fileIO' which is accessible to code in the current task
126 |           }
127 |         }
[16/27] Compiling Saga Reader.swift
[17/27] Compiling Saga Saga.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Saga.swift:111:15: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
109 |     try await withThrowingTaskGroup(of: Void.self) { group in
110 |       for step in processSteps {
111 |         group.addTask {
    |               |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |               |- note: Passing value of non-Sendable type '() async throws -> Void' as a 'sending' argument risks causing races in between local and caller code
    |               `- note: access can happen concurrently
112 |           try await step.runWriters()
113 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Saga.swift:136:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |     try await withThrowingTaskGroup(of: Void.self) { group in
135 |       for path in unhandledPaths {
136 |         group.addTask {
    |                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
137 |           let relativePath = try path.relativePath(from: self.inputPath)
    |                                  `- note: closure captures 'path' which is accessible to code in the current task
138 |           let input = path
139 |           let output = self.outputPath + relativePath
[18/27] Compiling Saga utils.swift
[18/27] Linking watch
[19/27] Applying watch
[21/27] Compiling Saga Atom.swift
[22/27] Compiling Saga FileContainer.swift
[23/27] Compiling Saga FileIO.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/FileIO.swift:18: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
16 | public extension FileIO {
17 |   /// The default version of `FileIO`, which uses PathKit.
18 |   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
19 |     resolveSwiftPackageFolder: { path in try path.resolveSwiftPackageFolder() },
20 |     findFiles: { try $0.recursiveChildren().filter(\.isFile) },
[24/27] Compiling Saga Item.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/FileIO.swift:18: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
16 | public extension FileIO {
17 |   /// The default version of `FileIO`, which uses PathKit.
18 |   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
19 |     resolveSwiftPackageFolder: { path in try path.resolveSwiftPackageFolder() },
20 |     findFiles: { try $0.recursiveChildren().filter(\.isFile) },
[25/27] Emitting module Saga
/Users/admin/builder/spi-builder-workspace/Sources/Saga/FileIO.swift:18: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
16 | public extension FileIO {
17 |   /// The default version of `FileIO`, which uses PathKit.
18 |   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
19 |     resolveSwiftPackageFolder: { path in try path.resolveSwiftPackageFolder() },
20 |     findFiles: { try $0.recursiveChildren().filter(\.isFile) },
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Path+Extensions.swift:52:3: 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
50 |   }
51 | #else
52 |   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
53 |     public init(from decoder: Decoder) throws {
54 |       let container = try decoder.singleValueContainer()
[26/27] Compiling Saga ItemWriteMode.swift
[27/27] Compiling Saga MetadataDecoder.swift
Build complete! (13.50s)
Fetching https://github.com/kylef/PathKit
[1/1438] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.84s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (3.31s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.89s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.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
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.