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 (bc71c8), with Swift 6.2 (beta) for macOS (SPM) on 11 Sep 2025 14:31:15 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 bc71c84 feat: Make it possible to supply a dateKeyPath for the Atom feed, which determines how the <updated> element gets its value
Cloned https://github.com/loopwerk/Saga.git
Revision (git rev-parse @):
bc71c84ca44ea29b2c4893349cddd0d35c98a149
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/loopwerk/Saga.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/loopwerk/Saga.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[1/8] Write watch-entitlement.plist
[4/8] Write swift-version-1EA4D86E10B52AF.txt
[6/10] Compiling PathKit PathKit.swift
[7/10] Emitting module PathKit
[8/26] 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:48:32: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |           group.addTask {
 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 {
    |                                `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 49 |               return (index, nil)
 50 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:28:21: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 26 |   let runWriters: () async throws -> Void
 27 |
 28 |   init<M: Metadata>(step: ProcessStep<M>, fileStorage: [FileContainer], inputPath: Path, outputPath: Path, itemWriteMode: ItemWriteMode, fileIO: FileIO) {
    |                     `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 29 |     runReaders = {
 30 |       let unhandledFileContainers = fileStorage.filter { $0.handled == false }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:124:30: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |         for writer in step.writers {
123 |           group.addTask {
124 |             try await writer.run(step.items, allItems, fileStorage, outputPath, step.folder ?? "", fileIO)
    |                              `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 |           }
126 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:122:13: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
120 |
121 |       try await withThrowingTaskGroup(of: Void.self) { group in
122 |         for writer in step.writers {
    |             `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |           group.addTask {
124 |             try await writer.run(step.items, allItems, fileStorage, outputPath, step.folder ?? "", fileIO)
[9/26] 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:48:32: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |           group.addTask {
 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 {
    |                                `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 49 |               return (index, nil)
 50 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:28:21: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 26 |   let runWriters: () async throws -> Void
 27 |
 28 |   init<M: Metadata>(step: ProcessStep<M>, fileStorage: [FileContainer], inputPath: Path, outputPath: Path, itemWriteMode: ItemWriteMode, fileIO: FileIO) {
    |                     `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 29 |     runReaders = {
 30 |       let unhandledFileContainers = fileStorage.filter { $0.handled == false }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:124:30: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |         for writer in step.writers {
123 |           group.addTask {
124 |             try await writer.run(step.items, allItems, fileStorage, outputPath, step.folder ?? "", fileIO)
    |                              `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 |           }
126 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:122:13: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
120 |
121 |       try await withThrowingTaskGroup(of: Void.self) { group in
122 |         for writer in step.writers {
    |             `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |           group.addTask {
124 |             try await writer.run(step.items, allItems, fileStorage, outputPath, step.folder ?? "", fileIO)
[10/26] Compiling Saga FileIO.swift
[11/26] Compiling Saga Item.swift
[12/26] Emitting module Saga
/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()
[13/26] Compiling Saga Atom.swift
[14/26] Compiling Saga FileContainer.swift
[15/26] Compiling Saga ItemWriteMode.swift
[16/26] Compiling Saga MetadataDecoder.swift
[17/27] Compiling SagaCLI main.swift
[18/27] Emitting module SagaCLI
[18/27] Write Objects.LinkFileList
[20/27] Compiling Saga utils.swift
[21/27] Compiling Saga Saga.swift
[22/27] Compiling Saga Reader.swift
[23/27] Compiling Saga RenderingContexts.swift
[24/27] Compiling Saga Writer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Writer.swift:26:13: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 24 |     return Writer(run: { items, allItems, fileStorage, outputRoot, outputPrefix, fileIO in
 25 |       try await withThrowingTaskGroup(of: Void.self) { group in
 26 |         for item in items {
    |             `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 27 |           group.addTask {
 28 |             // Resources are unhandled files in the same folder. These could be images for example, or other static files.
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Writer.swift:32:27: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 30 |               .filter { $0.relativePath.parent() == item.relativeSource.parent() && !$0.handled }
 31 |               .map { $0.path }
 32 |             let context = ItemRenderingContext(item: item, items: items, allItems: allItems, resources: resources)
    |                           `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 33 |             let stringToWrite = try await renderer(context)
 34 |             try fileIO.write(outputRoot + item.relativeDestination, stringToWrite)
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Writer.swift:64:100: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 62 |         for (key, itemsInPartition) in Array(partitions).sorted(by: { $0.0 < $1.0 }) {
 63 |           group.addTask {
 64 |             let finishedOutputPath = Path(output.string.replacingOccurrences(of: "[key]", with: "\(key.slugified)"))
    |                                                                                                    `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 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) {
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Writer.swift:62:14: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 60 |
 61 |       try await withThrowingTaskGroup(of: Void.self) { group in
 62 |         for (key, itemsInPartition) in Array(partitions).sorted(by: { $0.0 < $1.0 }) {
    |              `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 63 |           group.addTask {
 64 |             let finishedOutputPath = Path(output.string.replacingOccurrences(of: "[key]", with: "\(key.slugified)"))
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Writer.swift:66:23: warning: capture of non-sendable type 'M.Type' in an isolated 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) {
    |                       `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 67 |               PartitionedRenderingContext(key: key, items: $0, allItems: $1, paginator: $2, outputPath: $3)
 68 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Writer.swift:57:15: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 55 |   /// The `output` path is a template where `[key]` will be replaced with the key used for the partition.
 56 |   /// Example: `articles/[key]/index.html`
 57 |   static func partitionedWriter<T>(_ renderer: @escaping (PartitionedRenderingContext<T, M>) async throws -> String, output: Path = "[key]/index.html", paginate: Int? = nil, paginatedOutput: Path = "[key]/page/[page]/index.html", partitioner: @escaping ([Item<M>]) -> [T: [Item<M>]]) -> Self {
    |               `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
 58 |     return Writer(run: { items, allItems, fileStorage, outputRoot, outputPrefix, fileIO in
 59 |       let partitions = partitioner(items)
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Writer.swift:162:27: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
160 |
161 |             let finishedOutputPath = Path(paginatedOutput.string.replacingOccurrences(of: "[page]", with: "\(currentPage)"))
162 |             let context = getContext(items, allItems, paginator, outputPrefix + finishedOutputPath)
    |                           `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
163 |             let stringToWrite = try await renderer(context)
164 |             try fileIO.write(outputRoot + outputPrefix + finishedOutputPath, stringToWrite)
/Users/admin/builder/spi-builder-workspace/Sources/Saga/Writer.swift:123:235: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
121 |
122 | private extension Writer {
123 |   static func writePages<Context>(renderer: @escaping (Context) async throws -> String, items: [Item<M>], allItems: [AnyItem], outputRoot: Path, outputPrefix: Path, output: Path, paginate: Int?, paginatedOutput: Path, fileIO: FileIO, getContext: @escaping ([Item<M>], [AnyItem], Paginator?, Path) -> Context) async throws {
    |                                                                                                                                                                                                                                           `- warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
124 |     if let perPage = paginate {
125 |       let ranges = items.chunked(into: perPage)
[25/27] Compiling Saga String+Slugify.swift
[25/27] Linking watch
[26/27] Applying watch
Build complete! (12.19s)
Fetching https://github.com/kylef/PathKit
[1/1438] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.87s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.90s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.97s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.51s)
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/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"
    }
  ],
  "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.