Build Information
Successful build of Publish with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 4
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/JohnSundell/Publish.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JohnSundell/Publish
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 58e9430 Foundation theme: Add margin to tags (#133)
Cloned https://github.com/JohnSundell/Publish.git
Revision (git rev-parse @):
58e943047882a5a6d8135ae2711be8ba7fba57c4
SUCCESS checkout https://github.com/JohnSundell/Publish.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/JohnSundell/Publish.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
Building for debugging...
[0/15] Write sources
[5/15] Write publish-cli-entitlement.plist
[7/15] Write sources
[11/15] Write swift-version-6F35C1178C84523A.txt
[13/116] Emitting module CollectionConcurrencyKit
[14/116] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[15/116] Compiling Plot Indentation.swift
[16/116] Compiling Plot Language.swift
[17/116] Compiling Plot Node.swift
[18/116] Compiling Plot NodeConvertible.swift
[19/119] Emitting module Ink
[20/119] Compiling Ink TextStyleMarker.swift
[21/119] Compiling Ink URL.swift
[22/119] Compiling Ink URLDeclaration.swift
[23/119] Emitting module Plot
[24/125] Compiling Plot HTMLAnchorTarget.swift
[25/125] Compiling Plot HTMLAttributes.swift
[26/125] Compiling Plot HTMLAudioFormat.swift
[27/125] Compiling Plot Document.swift
[28/125] Compiling Plot DocumentEncoding.swift
[29/125] Compiling Plot Element.swift
[30/125] Compiling Plot EmptyComponent.swift
[31/125] Compiling Plot HTMLVideoFormat.swift
[32/125] Compiling Plot HTMLViewportWidthMode.swift
[33/125] Compiling Plot ElementClosingMode.swift
[34/125] Compiling Plot ElementComponent.swift
[35/125] Compiling Plot ElementDefinition.swift
[36/125] Compiling Plot Attribute.swift
[37/125] Compiling Plot Component.swift
[38/125] Compiling Plot ComponentAttributes.swift
[39/125] Compiling Plot ComponentBuilder.swift
[40/125] Compiling Plot HTMLComponents.swift
[41/125] Compiling Plot HTMLElements.swift
[42/125] Compiling Plot HTMLFormContentType.swift
[43/125] Compiling Plot HTMLFormMethod.swift
[44/125] Compiling Plot EnvironmentKey.swift
[45/125] Compiling Plot EnvironmentValue.swift
[46/125] Compiling Plot HTML.swift
[47/125] Compiling Plot HTMLAnchorRelationship.swift
[48/125] Compiling Plot ComponentContainer.swift
[49/125] Compiling Plot ComponentGroup.swift
[50/125] Compiling Plot ControlFlow.swift
[51/125] Emitting module Sweep
[52/125] Compiling Sweep Sweep.swift
[53/125] Compiling Plot Optional+Component.swift
[54/125] Compiling Plot PodcastAttributes.swift
[55/125] Compiling Plot PodcastComponents.swift
[56/125] Compiling Plot PodcastElements.swift
[57/125] Compiling Plot PodcastEpisodeType.swift
[58/125] Compiling Plot PodcastFeed.swift
[93/125] Compiling Codextended Codextended.swift
[94/125] Emitting module Codextended
[95/125] Compiling ShellOut ShellOut.swift
[96/125] Emitting module ShellOut
[97/125] Compiling Plot PodcastMediaType.swift
[98/125] Compiling Plot PodcastType.swift
[99/125] Compiling Plot RSS.swift
[100/125] Compiling Plot RSSAttributes.swift
[101/125] Compiling Plot RSSElements.swift
[102/125] Compiling Plot Renderable.swift
[103/125] Compiling Plot XMLAttributes.swift
[104/125] Compiling Plot XMLElements.swift
[105/125] Compiling Plot AnyAttribute.swift
[106/125] Compiling Plot AnyElement.swift
[107/125] Compiling Plot AnyEnvironmentValue.swift
[108/125] Compiling Plot AnyNode.swift
[109/125] Compiling Plot SiteMap.swift
[110/125] Compiling Plot SiteMapChangeFrequency.swift
[111/125] Compiling Plot SiteMapElements.swift
[112/125] Compiling Plot TwitterCardType.swift
[113/125] Compiling Plot URLRepresentable.swift
[114/125] Compiling Plot XML.swift
[115/125] Compiling Plot ElementRenderingBuffer.swift
[116/125] Compiling Plot ElementWrapper.swift
[117/125] Compiling Plot Environment.swift
[118/125] Compiling Plot ModifiedComponent.swift
[119/125] Compiling Plot Renderer.swift
[120/125] Compiling Plot String+Escaping.swift
[121/125] Emitting module Files
[122/125] Compiling Files Files.swift
[123/180] Compiling Publish FeedConfiguration.swift
[124/180] Compiling Publish HTMLFactory.swift
[125/180] Compiling Publish HTMLFileMode.swift
[126/180] Compiling Publish Index.swift
[127/180] Compiling Publish Item.swift
[128/180] Compiling Publish ItemRSSProperties.swift
[129/185] Compiling Publish Location.swift
[130/185] Compiling Publish Mutations.swift
[131/185] Compiling Publish Page.swift
[132/185] Compiling Publish Path.swift
[133/185] Compiling Publish PlotComponents.swift
[134/185] Compiling Publish PlotEnvironmentKeys.swift
[135/185] Compiling Publish AnyItem.swift
[136/185] Compiling Publish Audio.swift
[137/185] Compiling Publish Content.swift
[138/185] Compiling Publish ContentProtocol.swift
[139/185] Compiling Publish DeploymentMethod.swift
[140/185] Compiling Publish Favicon.swift
[141/185] Compiling Publish PlotModifiers.swift
[142/185] Compiling Publish Plugin.swift
[143/185] Compiling Publish PodcastAuthor.swift
[144/185] Compiling Publish PodcastCompatibleWebsiteItemMetadata.swift
[145/185] Compiling Publish PodcastEpisodeMetadata.swift
[146/185] Compiling Publish PodcastFeedConfiguration.swift
[147/185] Compiling Publish Section.swift
[148/185] Compiling Publish SectionMap.swift
[149/185] Compiling Publish SortOrder.swift
[150/185] Compiling Publish StringWrapper.swift
[151/185] Compiling Publish Tag.swift
[152/185] Compiling Publish TagDetailsPage.swift
[153/185] Emitting module Publish
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/PublishingError.swift:14:16: warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
12 | public var stepName: String?
13 | /// Any path that the error was encountered at.
14 | public var path: Path?
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
15 | /// An info message that gives more context about the error.
16 | public let infoMessage: String
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/ContentError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct ContentError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/FileIOError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct FileIOError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PodcastError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct PodcastError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[154/185] Compiling Publish TagHTMLConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:41: warning: capture of 'pipeline' with non-sendable type 'PublishingPipeline<Self>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'pipeline' with non-sendable type 'PublishingPipeline<Self>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PublishingPipeline.swift:13:17: note: consider making generic struct 'PublishingPipeline' conform to the 'Sendable' protocol
11 | #endif
12 |
13 | internal struct PublishingPipeline<Site: Website> {
| `- note: consider making generic struct 'PublishingPipeline' conform to the 'Sendable' protocol
14 | let steps: [PublishingStep<Site>]
15 | let originFilePath: Path
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:63: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:73: warning: capture of 'path' with non-sendable type 'Path?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'path' with non-sendable type 'Path?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:122:17: warning: capture of 'completionHandler' with non-sendable type '(Result<PublishedWebsite<Self>, any Error>?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
122 | completionHandler(.success(website))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<PublishedWebsite<Self>, any Error>?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | } catch {
124 | completionHandler(.failure(error))
[155/185] Compiling Publish TagListPage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:41: warning: capture of 'pipeline' with non-sendable type 'PublishingPipeline<Self>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'pipeline' with non-sendable type 'PublishingPipeline<Self>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PublishingPipeline.swift:13:17: note: consider making generic struct 'PublishingPipeline' conform to the 'Sendable' protocol
11 | #endif
12 |
13 | internal struct PublishingPipeline<Site: Website> {
| `- note: consider making generic struct 'PublishingPipeline' conform to the 'Sendable' protocol
14 | let steps: [PublishingStep<Site>]
15 | let originFilePath: Path
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:63: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:73: warning: capture of 'path' with non-sendable type 'Path?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'path' with non-sendable type 'Path?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:122:17: warning: capture of 'completionHandler' with non-sendable type '(Result<PublishedWebsite<Self>, any Error>?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
122 | completionHandler(.success(website))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<PublishedWebsite<Self>, any Error>?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | } catch {
124 | completionHandler(.failure(error))
[156/185] Compiling Publish Theme+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:41: warning: capture of 'pipeline' with non-sendable type 'PublishingPipeline<Self>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'pipeline' with non-sendable type 'PublishingPipeline<Self>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PublishingPipeline.swift:13:17: note: consider making generic struct 'PublishingPipeline' conform to the 'Sendable' protocol
11 | #endif
12 |
13 | internal struct PublishingPipeline<Site: Website> {
| `- note: consider making generic struct 'PublishingPipeline' conform to the 'Sendable' protocol
14 | let steps: [PublishingStep<Site>]
15 | let originFilePath: Path
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:63: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:73: warning: capture of 'path' with non-sendable type 'Path?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'path' with non-sendable type 'Path?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:122:17: warning: capture of 'completionHandler' with non-sendable type '(Result<PublishedWebsite<Self>, any Error>?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
122 | completionHandler(.success(website))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<PublishedWebsite<Self>, any Error>?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | } catch {
124 | completionHandler(.failure(error))
[157/185] Compiling Publish Theme.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:41: warning: capture of 'pipeline' with non-sendable type 'PublishingPipeline<Self>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'pipeline' with non-sendable type 'PublishingPipeline<Self>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PublishingPipeline.swift:13:17: note: consider making generic struct 'PublishingPipeline' conform to the 'Sendable' protocol
11 | #endif
12 |
13 | internal struct PublishingPipeline<Site: Website> {
| `- note: consider making generic struct 'PublishingPipeline' conform to the 'Sendable' protocol
14 | let steps: [PublishingStep<Site>]
15 | let originFilePath: Path
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:63: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:73: warning: capture of 'path' with non-sendable type 'Path?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'path' with non-sendable type 'Path?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:122:17: warning: capture of 'completionHandler' with non-sendable type '(Result<PublishedWebsite<Self>, any Error>?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
122 | completionHandler(.success(website))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<PublishedWebsite<Self>, any Error>?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | } catch {
124 | completionHandler(.failure(error))
[158/185] Compiling Publish Video.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:41: warning: capture of 'pipeline' with non-sendable type 'PublishingPipeline<Self>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'pipeline' with non-sendable type 'PublishingPipeline<Self>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PublishingPipeline.swift:13:17: note: consider making generic struct 'PublishingPipeline' conform to the 'Sendable' protocol
11 | #endif
12 |
13 | internal struct PublishingPipeline<Site: Website> {
| `- note: consider making generic struct 'PublishingPipeline' conform to the 'Sendable' protocol
14 | let steps: [PublishingStep<Site>]
15 | let originFilePath: Path
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:63: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:73: warning: capture of 'path' with non-sendable type 'Path?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'path' with non-sendable type 'Path?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:122:17: warning: capture of 'completionHandler' with non-sendable type '(Result<PublishedWebsite<Self>, any Error>?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
122 | completionHandler(.success(website))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<PublishedWebsite<Self>, any Error>?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | } catch {
124 | completionHandler(.failure(error))
[159/185] Compiling Publish Website.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:41: warning: capture of 'pipeline' with non-sendable type 'PublishingPipeline<Self>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'pipeline' with non-sendable type 'PublishingPipeline<Self>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PublishingPipeline.swift:13:17: note: consider making generic struct 'PublishingPipeline' conform to the 'Sendable' protocol
11 | #endif
12 |
13 | internal struct PublishingPipeline<Site: Website> {
| `- note: consider making generic struct 'PublishingPipeline' conform to the 'Sendable' protocol
14 | let steps: [PublishingStep<Site>]
15 | let originFilePath: Path
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:63: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:121:73: warning: capture of 'path' with non-sendable type 'Path?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 | Task {
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
| `- warning: capture of 'path' with non-sendable type 'Path?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | completionHandler(.success(website))
123 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Website.swift:122:17: warning: capture of 'completionHandler' with non-sendable type '(Result<PublishedWebsite<Self>, any Error>?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | do {
121 | let website = try await pipeline.execute(for: self, at: path)
122 | completionHandler(.success(website))
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<PublishedWebsite<Self>, any Error>?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | } catch {
124 | completionHandler(.failure(error))
[160/185] Compiling Publish Array+Appending.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/ContentError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct ContentError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/FileIOError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct FileIOError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[161/185] Compiling Publish CommandLine+Output.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/ContentError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct ContentError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/FileIOError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct FileIOError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[162/185] Compiling Publish ContentError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/ContentError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct ContentError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/FileIOError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct FileIOError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[163/185] Compiling Publish File+SwiftPackageFolder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/ContentError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct ContentError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/FileIOError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct FileIOError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[164/185] Compiling Publish FileIOError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/ContentError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct ContentError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/FileIOError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct FileIOError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[165/185] Compiling Publish Folder+Group.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/ContentError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct ContentError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'ContentError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/FileIOError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct FileIOError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'FileIOError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[166/185] Compiling Publish Predicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/PublishingError.swift:14:16: warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
12 | public var stepName: String?
13 | /// Any path that the error was encountered at.
14 | public var path: Path?
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
15 | /// An info message that gives more context about the error.
16 | public let infoMessage: String
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[167/185] Compiling Publish PublishedWebsite.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/PublishingError.swift:14:16: warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
12 | public var stepName: String?
13 | /// Any path that the error was encountered at.
14 | public var path: Path?
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
15 | /// An info message that gives more context about the error.
16 | public let infoMessage: String
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[168/185] Compiling Publish PublishingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/PublishingError.swift:14:16: warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
12 | public var stepName: String?
13 | /// Any path that the error was encountered at.
14 | public var path: Path?
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
15 | /// An info message that gives more context about the error.
16 | public let infoMessage: String
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[169/185] Compiling Publish PublishingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/PublishingError.swift:14:16: warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
12 | public var stepName: String?
13 | /// Any path that the error was encountered at.
14 | public var path: Path?
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
15 | /// An info message that gives more context about the error.
16 | public let infoMessage: String
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[170/185] Compiling Publish PublishingStep.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/PublishingError.swift:14:16: warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
12 | public var stepName: String?
13 | /// Any path that the error was encountered at.
14 | public var path: Path?
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
15 | /// An info message that gives more context about the error.
16 | public let infoMessage: String
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[171/185] Compiling Publish RSSFeedConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/PublishingError.swift:14:16: warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
12 | public var stepName: String?
13 | /// Any path that the error was encountered at.
14 | public var path: Path?
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PublishingError' has non-sendable type 'Path?'; this is an error in the Swift 6 language mode
15 | /// An info message that gives more context about the error.
16 | public let infoMessage: String
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[172/185] Compiling Publish HTMLGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:19:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
17 | func generate() async throws {
18 | try await withThrowingTaskGroup(of: Void.self) { group in
19 | group.addTask { try await copyThemeResources() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:20:33: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
18 | try await withThrowingTaskGroup(of: Void.self) { group in
19 | group.addTask { try await copyThemeResources() }
20 | group.addTask { try generateIndexHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:21:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
19 | group.addTask { try await copyThemeResources() }
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | group.addTask { try await generatePageHTML() }
23 | group.addTask { try await generateTagHTMLIfNeeded() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:22:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | group.addTask { try await generateTagHTMLIfNeeded() }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:23:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
23 | group.addTask { try await generateTagHTMLIfNeeded() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |
25 | // Throw any errors generated by the above set of operations:
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PodcastError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct PodcastError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[173/185] Compiling Publish MarkdownContentFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:19:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
17 | func generate() async throws {
18 | try await withThrowingTaskGroup(of: Void.self) { group in
19 | group.addTask { try await copyThemeResources() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:20:33: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
18 | try await withThrowingTaskGroup(of: Void.self) { group in
19 | group.addTask { try await copyThemeResources() }
20 | group.addTask { try generateIndexHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:21:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
19 | group.addTask { try await copyThemeResources() }
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | group.addTask { try await generatePageHTML() }
23 | group.addTask { try await generateTagHTMLIfNeeded() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:22:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | group.addTask { try await generateTagHTMLIfNeeded() }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:23:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
23 | group.addTask { try await generateTagHTMLIfNeeded() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |
25 | // Throw any errors generated by the above set of operations:
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PodcastError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct PodcastError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[174/185] Compiling Publish MarkdownFileHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:19:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
17 | func generate() async throws {
18 | try await withThrowingTaskGroup(of: Void.self) { group in
19 | group.addTask { try await copyThemeResources() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:20:33: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
18 | try await withThrowingTaskGroup(of: Void.self) { group in
19 | group.addTask { try await copyThemeResources() }
20 | group.addTask { try generateIndexHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:21:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
19 | group.addTask { try await copyThemeResources() }
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | group.addTask { try await generatePageHTML() }
23 | group.addTask { try await generateTagHTMLIfNeeded() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:22:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | group.addTask { try await generateTagHTMLIfNeeded() }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:23:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
23 | group.addTask { try await generateTagHTMLIfNeeded() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |
25 | // Throw any errors generated by the above set of operations:
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PodcastError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct PodcastError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[175/185] Compiling Publish MarkdownMetadataDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:19:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
17 | func generate() async throws {
18 | try await withThrowingTaskGroup(of: Void.self) { group in
19 | group.addTask { try await copyThemeResources() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:20:33: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
18 | try await withThrowingTaskGroup(of: Void.self) { group in
19 | group.addTask { try await copyThemeResources() }
20 | group.addTask { try generateIndexHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:21:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
19 | group.addTask { try await copyThemeResources() }
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | group.addTask { try await generatePageHTML() }
23 | group.addTask { try await generateTagHTMLIfNeeded() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:22:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | group.addTask { try await generateTagHTMLIfNeeded() }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:23:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
23 | group.addTask { try await generateTagHTMLIfNeeded() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |
25 | // Throw any errors generated by the above set of operations:
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PodcastError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct PodcastError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[176/185] Compiling Publish PodcastError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:19:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
17 | func generate() async throws {
18 | try await withThrowingTaskGroup(of: Void.self) { group in
19 | group.addTask { try await copyThemeResources() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:20:33: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
18 | try await withThrowingTaskGroup(of: Void.self) { group in
19 | group.addTask { try await copyThemeResources() }
20 | group.addTask { try generateIndexHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:21:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
19 | group.addTask { try await copyThemeResources() }
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | group.addTask { try await generatePageHTML() }
23 | group.addTask { try await generateTagHTMLIfNeeded() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:22:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | group.addTask { try await generateTagHTMLIfNeeded() }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:23:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
23 | group.addTask { try await generateTagHTMLIfNeeded() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |
25 | // Throw any errors generated by the above set of operations:
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PodcastError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct PodcastError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[177/185] Compiling Publish PodcastFeedGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:19:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
17 | func generate() async throws {
18 | try await withThrowingTaskGroup(of: Void.self) { group in
19 | group.addTask { try await copyThemeResources() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:20:33: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
18 | try await withThrowingTaskGroup(of: Void.self) { group in
19 | group.addTask { try await copyThemeResources() }
20 | group.addTask { try generateIndexHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:21:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
19 | group.addTask { try await copyThemeResources() }
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | group.addTask { try await generatePageHTML() }
23 | group.addTask { try await generateTagHTMLIfNeeded() }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:22:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
20 | group.addTask { try generateIndexHTML() }
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | group.addTask { try await generateTagHTMLIfNeeded() }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/HTMLGenerator.swift:23:39: warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import CollectionConcurrencyKit
10 |
11 | internal struct HTMLGenerator<Site: Website> {
| `- note: consider making generic struct 'HTMLGenerator' conform to the 'Sendable' protocol
12 | let theme: Theme<Site>
13 | let indentation: Indentation.Kind?
:
21 | group.addTask { try await generateSectionHTML() }
22 | group.addTask { try await generatePageHTML() }
23 | group.addTask { try await generateTagHTMLIfNeeded() }
| `- warning: capture of 'self' with non-sendable type 'HTMLGenerator<Site>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |
25 | // Throw any errors generated by the above set of operations:
/Users/admin/builder/spi-builder-workspace/Sources/Publish/Internal/PodcastError.swift:8:9: warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 |
7 | internal struct PodcastError: Error {
8 | var path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'PodcastError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | var reason: Reason
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Publish/API/Path.swift:11:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
9 | /// Type used to express a path within a website, either to a
10 | /// location or to a resource, such as a file or image.
11 | public struct Path: StringWrapper {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
12 | public var string: String
13 |
[178/185] Compiling Publish PublishingPipeline.swift
[179/185] Compiling Publish RSSFeedGenerator.swift
[180/185] Compiling Publish ShellOutError+PublishingErrorConvertible.swift
[181/185] Compiling Publish SiteMapGenerator.swift
[182/185] Compiling Publish String+Normalized.swift
[183/194] Compiling PublishCLICore ProjectKind.swift
[184/194] Compiling PublishCLICore WebsiteGenerator.swift
[185/194] Compiling PublishCLICore WebsiteDeployer.swift
[186/194] Compiling PublishCLICore WebsiteRunner.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublishCLICore/WebsiteRunner.swift:33:51: warning: capture of 'self' with non-sendable type 'WebsiteRunner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import ShellOut
10 |
11 | internal struct WebsiteRunner {
| `- note: consider making struct 'WebsiteRunner' conform to the 'Sendable' protocol
12 | let folder: Folder
13 | var portNumber: Int
:
31 | do {
32 | _ = try shellOut(
33 | to: "python3 -m http.server \(self.portNumber)",
| `- warning: capture of 'self' with non-sendable type 'WebsiteRunner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | at: outputFolder.path,
35 | process: serverProcess
/Users/admin/builder/spi-builder-workspace/Sources/PublishCLICore/WebsiteRunner.swift:34:25: warning: capture of 'outputFolder' with non-sendable type 'Folder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | _ = try shellOut(
33 | to: "python3 -m http.server \(self.portNumber)",
34 | at: outputFolder.path,
| `- warning: capture of 'outputFolder' with non-sendable type 'Folder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | process: serverProcess
36 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/files/Sources/Files.swift:478:15: note: struct 'Folder' does not conform to the 'Sendable' protocol
476 | /// folder by initializing an instance with a `path`, or you can create new
477 | /// subfolders using this type's various `createSubfolder...` APIs.
478 | public struct Folder: Location {
| `- note: struct 'Folder' does not conform to the 'Sendable' protocol
479 | public let storage: Storage<Folder>
480 |
/Users/admin/builder/spi-builder-workspace/Sources/PublishCLICore/WebsiteRunner.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Files'
6 |
7 | import Foundation
8 | import Files
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Files'
9 | import ShellOut
10 |
[187/194] Compiling PublishCLICore CLIError.swift
[188/194] Compiling PublishCLICore Folder+SwiftPackage.swift
[189/194] Emitting module PublishCLICore
[190/194] Compiling PublishCLICore ProjectGenerator.swift
[191/194] Compiling PublishCLICore CLI.swift
[192/196] Compiling PublishCLI main.swift
[193/196] Emitting module PublishCLI
[193/196] Write Objects.LinkFileList
[194/196] Linking publish-cli
[195/196] Applying publish-cli
Build complete! (44.46s)
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/ink.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/codextended.git
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/sweep.git
[1/181] Fetching codextended
[16/2266] Fetching codextended, plot
[58/4171] Fetching codextended, plot, ink
[219/4254] Fetching codextended, plot, ink, collectionconcurrencykit
[292/4370] Fetching codextended, plot, ink, collectionconcurrencykit, sweep
[338/5326] Fetching codextended, plot, ink, collectionconcurrencykit, sweep, shellout
[494/6557] Fetching codextended, plot, ink, collectionconcurrencykit, sweep, shellout, files
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.96s)
Fetched https://github.com/johnsundell/files.git from cache (0.97s)
[5176/5243] Fetching codextended, plot, ink, sweep, shellout
Fetched https://github.com/johnsundell/codextended.git from cache (1.03s)
Fetched https://github.com/johnsundell/plot.git from cache (1.03s)
Fetched https://github.com/johnsundell/shellout.git from cache (1.03s)
Fetched https://github.com/johnsundell/ink.git from cache (1.03s)
Fetched https://github.com/johnsundell/sweep.git from cache (1.03s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.1.0 (0.68s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.71s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (2.66s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.67s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.2.0 (0.68s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.9.0 (0.69s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.5.1 (0.67s)
Creating working copy for https://github.com/johnsundell/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.0
Creating working copy for https://github.com/johnsundell/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.9.0
Creating working copy for https://github.com/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.2.0
Creating working copy for https://github.com/johnsundell/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.3.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/johnsundell/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.5.1
Creating working copy for https://github.com/johnsundell/collectionConcurrencyKit.git
Working copy of https://github.com/johnsundell/collectionConcurrencyKit.git resolved at 0.1.0
Build complete.
{
"dependencies" : [
{
"identity" : "ink",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnsundell/ink.git"
},
{
"identity" : "plot",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnsundell/plot.git"
},
{
"identity" : "files",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnsundell/files.git"
},
{
"identity" : "codextended",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnsundell/codextended.git"
},
{
"identity" : "shellout",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnsundell/shellout.git"
},
{
"identity" : "sweep",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnsundell/sweep.git"
},
{
"identity" : "collectionconcurrencykit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnsundell/collectionConcurrencyKit.git"
}
],
"manifest_display_name" : "Publish",
"name" : "Publish",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Publish",
"targets" : [
"Publish"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "publish-cli",
"targets" : [
"PublishCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "PublishTests",
"module_type" : "SwiftTarget",
"name" : "PublishTests",
"path" : "Tests/PublishTests",
"sources" : [
"Infrastructure/AnyError.swift",
"Infrastructure/Assertions.swift",
"Infrastructure/Files+Temporary.swift",
"Infrastructure/HTMLFactoryMock.swift",
"Infrastructure/Item+Stubbable.swift",
"Infrastructure/Page+Stubbable.swift",
"Infrastructure/PublishTestCase.swift",
"Infrastructure/Require.swift",
"Infrastructure/String+Unique.swift",
"Infrastructure/Stubbable.swift",
"Infrastructure/WebsiteStub.swift",
"Tests/CLITests.swift",
"Tests/ContentMutationTests.swift",
"Tests/DeploymentTests.swift",
"Tests/ErrorTests.swift",
"Tests/FileIOTests.swift",
"Tests/HTMLGenerationTests.swift",
"Tests/MarkdownTests.swift",
"Tests/PathTests.swift",
"Tests/PlotComponentTests.swift",
"Tests/PluginTests.swift",
"Tests/PodcastFeedGenerationTests.swift",
"Tests/PublishingContextTests.swift",
"Tests/RSSFeedGenerationTests.swift",
"Tests/SiteMapGenerationTests.swift",
"Tests/WebsiteTests.swift"
],
"target_dependencies" : [
"Publish",
"PublishCLICore"
],
"type" : "test"
},
{
"c99name" : "PublishCLICore",
"module_type" : "SwiftTarget",
"name" : "PublishCLICore",
"path" : "Sources/PublishCLICore",
"product_memberships" : [
"publish-cli"
],
"sources" : [
"CLI.swift",
"CLIError.swift",
"Folder+SwiftPackage.swift",
"ProjectGenerator.swift",
"ProjectKind.swift",
"WebsiteDeployer.swift",
"WebsiteGenerator.swift",
"WebsiteRunner.swift"
],
"target_dependencies" : [
"Publish"
],
"type" : "library"
},
{
"c99name" : "PublishCLI",
"module_type" : "SwiftTarget",
"name" : "PublishCLI",
"path" : "Sources/PublishCLI",
"product_memberships" : [
"publish-cli"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"PublishCLICore"
],
"type" : "executable"
},
{
"c99name" : "Publish",
"module_type" : "SwiftTarget",
"name" : "Publish",
"path" : "Sources/Publish",
"product_dependencies" : [
"Ink",
"Plot",
"Files",
"Codextended",
"ShellOut",
"Sweep",
"CollectionConcurrencyKit"
],
"product_memberships" : [
"Publish",
"publish-cli"
],
"sources" : [
"API/AnyItem.swift",
"API/Audio.swift",
"API/Content.swift",
"API/ContentProtocol.swift",
"API/DeploymentMethod.swift",
"API/Favicon.swift",
"API/FeedConfiguration.swift",
"API/HTMLFactory.swift",
"API/HTMLFileMode.swift",
"API/Index.swift",
"API/Item.swift",
"API/ItemRSSProperties.swift",
"API/Location.swift",
"API/Mutations.swift",
"API/Page.swift",
"API/Path.swift",
"API/PlotComponents.swift",
"API/PlotEnvironmentKeys.swift",
"API/PlotModifiers.swift",
"API/Plugin.swift",
"API/PodcastAuthor.swift",
"API/PodcastCompatibleWebsiteItemMetadata.swift",
"API/PodcastEpisodeMetadata.swift",
"API/PodcastFeedConfiguration.swift",
"API/Predicate.swift",
"API/PublishedWebsite.swift",
"API/PublishingContext.swift",
"API/PublishingError.swift",
"API/PublishingStep.swift",
"API/RSSFeedConfiguration.swift",
"API/Section.swift",
"API/SectionMap.swift",
"API/SortOrder.swift",
"API/StringWrapper.swift",
"API/Tag.swift",
"API/TagDetailsPage.swift",
"API/TagHTMLConfiguration.swift",
"API/TagListPage.swift",
"API/Theme+Foundation.swift",
"API/Theme.swift",
"API/Video.swift",
"API/Website.swift",
"Internal/Array+Appending.swift",
"Internal/CommandLine+Output.swift",
"Internal/ContentError.swift",
"Internal/File+SwiftPackageFolder.swift",
"Internal/FileIOError.swift",
"Internal/Folder+Group.swift",
"Internal/HTMLGenerator.swift",
"Internal/MarkdownContentFactory.swift",
"Internal/MarkdownFileHandler.swift",
"Internal/MarkdownMetadataDecoder.swift",
"Internal/PodcastError.swift",
"Internal/PodcastFeedGenerator.swift",
"Internal/PublishingPipeline.swift",
"Internal/RSSFeedGenerator.swift",
"Internal/ShellOutError+PublishingErrorConvertible.swift",
"Internal/SiteMapGenerator.swift",
"Internal/String+Normalized.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.