Build Information
Successful build of Saga, reference main (cb4ccf
), with Swift 6.2 (beta) for macOS (SPM) on 24 Jun 2025 10:45:20 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.64.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 cb4ccf5 chore: Create the docs on tag, not on release
Cloned https://github.com/loopwerk/Saga.git
Revision (git rev-parse @):
cb4ccf56496177d443e7bd6585a8a2af64fa0541
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
[2/8] Write sources
[4/8] Write swift-version-1EA4D86E10B52AF.txt
[6/10] Emitting module PathKit
[7/10] Compiling PathKit PathKit.swift
[8/26] Compiling SagaCLI main.swift
[9/26] Emitting module SagaCLI
[9/26] Write Objects.LinkFileList
[11/26] Compiling Saga Atom.swift
[12/26] Compiling Saga FileContainer.swift
[13/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()
[14/26] Compiling Saga ItemWriteMode.swift
[15/26] Compiling Saga MetadataDecoder.swift
[16/26] Compiling Saga FileIO.swift
[17/26] Compiling Saga Item.swift
[18/27] Compiling Saga String+Slugify.swift
[19/27] Compiling Saga RenderingContexts.swift
[20/27] Compiling Saga Reader.swift
[21/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:46:32: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | group.addTask {
45 | // Pick the first reader that is able to work on this file, based on file extension
46 | 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
47 | return (index, nil)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:26:21: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 | let runWriters: () async throws -> Void
25 |
26 | 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
27 | runReaders = {
28 | let unhandledFileContainers = fileStorage.filter { $0.handled == false }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:120:30: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
118 | for writer in step.writers {
119 | group.addTask {
120 | 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
121 | }
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:118:13: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
116 |
117 | try await withThrowingTaskGroup(of: Void.self) { group in
118 | 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
119 | group.addTask {
120 | try await writer.run(step.items, allItems, fileStorage, outputPath, step.folder ?? "", fileIO)
[22/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:46:32: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | group.addTask {
45 | // Pick the first reader that is able to work on this file, based on file extension
46 | 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
47 | return (index, nil)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:26:21: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 | let runWriters: () async throws -> Void
25 |
26 | 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
27 | runReaders = {
28 | let unhandledFileContainers = fileStorage.filter { $0.handled == false }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:120:30: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
118 | for writer in step.writers {
119 | group.addTask {
120 | 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
121 | }
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/Saga/ProcessingStep.swift:118:13: warning: capture of non-sendable type 'M.Type' in an isolated closure; this is an error in the Swift 6 language mode
116 |
117 | try await withThrowingTaskGroup(of: Void.self) { group in
118 | 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
119 | group.addTask {
120 | try await writer.run(step.items, allItems, fileStorage, outputPath, step.folder ?? "", fileIO)
[23/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)
[24/27] Compiling Saga Saga.swift
[25/27] Compiling Saga utils.swift
[25/27] Linking watch
[26/27] Applying watch
Build complete! (11.55s)
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.99s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.96s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.94s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.45s)
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.