Build Information
Successful build of Stencil with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 8
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/nerdsupremacist/Stencil.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerdsupremacist/Stencil
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a229b59 Update CHANGELOG.md
Cloned https://github.com/nerdsupremacist/Stencil.git
Revision (git rev-parse @):
a229b59d3d888cd6bed2d372bdce627d71ea5e66
SUCCESS checkout https://github.com/nerdsupremacist/Stencil.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/nerdsupremacist/Stencil.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/5] Compiling PathKit PathKit.swift
[5/5] Emitting module PathKit
[6/25] Emitting module Stencil
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:1:14: warning: non-final class 'TemplateDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | public class TemplateDoesNotExist: Error, CustomStringConvertible {
| `- warning: non-final class 'TemplateDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
2 | let templateNames: [String]
3 | let loader: Loader?
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:3:7: warning: stored property 'loader' of 'Sendable'-conforming class 'TemplateDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
1 | public class TemplateDoesNotExist: Error, CustomStringConvertible {
2 | let templateNames: [String]
3 | let loader: Loader?
| `- warning: stored property 'loader' of 'Sendable'-conforming class 'TemplateDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
4 |
5 | public init(templateNames: [String], loader: Loader? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:4:17: note: protocol 'Loader' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public protocol Loader {
| `- note: protocol 'Loader' does not conform to the 'Sendable' protocol
5 | func loadTemplate(name: String, environment: Environment) throws -> Template
6 | func loadTemplate(names: [String], environment: Environment) throws -> Template
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:24:28: warning: stored property 'token' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type 'Token?'; this is an error in the Swift 6 language mode
22 | public let reason: String
23 | public var description: String { return reason }
24 | public internal(set) var token: Token?
| `- warning: stored property 'token' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type 'Token?'; this is an error in the Swift 6 language mode
25 | public internal(set) var stackTrace: [Token]
26 | public var templateName: String? { return token?.sourceMap.filename }
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer.swift:82:14: note: class 'Token' does not conform to the 'Sendable' protocol
80 | }
81 |
82 | public class Token: Equatable {
| `- note: class 'Token' does not conform to the 'Sendable' protocol
83 | public enum Kind: Equatable {
84 | /// A token representing a piece of text.
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:25:28: warning: stored property 'stackTrace' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type '[Token]'; this is an error in the Swift 6 language mode
23 | public var description: String { return reason }
24 | public internal(set) var token: Token?
25 | public internal(set) var stackTrace: [Token]
| `- warning: stored property 'stackTrace' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type '[Token]'; this is an error in the Swift 6 language mode
26 | public var templateName: String? { return token?.sourceMap.filename }
27 | var allTokens: [Token] {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer.swift:82:14: note: class 'Token' does not conform to the 'Sendable' protocol
80 | }
81 |
82 | public class Token: Equatable {
| `- note: class 'Token' does not conform to the 'Sendable' protocol
83 | public enum Kind: Equatable {
84 | /// A token representing a piece of text.
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:112:7: warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
110 | }
111 |
112 | class SuspiciousFileOperation: Error {
| `- warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
113 | let basePath: Path
114 | let path: Path
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:113:7: warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
111 |
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
| `- warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
114 | let path: Path
115 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
1 | import Foundation
2 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
3 |
4 | public protocol Loader {
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:114:7: warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
114 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
115 |
116 | init(basePath: Path, path: Path) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer.swift:75:14: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'SourceMap' may have shared mutable state; this is an error in the Swift 6 language mode
64 | }
65 |
66 | public struct SourceMap: Equatable {
| `- note: consider making struct 'SourceMap' conform to the 'Sendable' protocol
67 | public let filename: String?
68 | public let location: ContentLocation
:
73 | }
74 |
75 | static let unknown = SourceMap()
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'SourceMap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | public static func == (lhs: SourceMap, rhs: SourceMap) -> Bool {
[7/27] Compiling Stencil Template.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer.swift:75:14: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'SourceMap' may have shared mutable state; this is an error in the Swift 6 language mode
64 | }
65 |
66 | public struct SourceMap: Equatable {
| `- note: consider making struct 'SourceMap' conform to the 'Sendable' protocol
67 | public let filename: String?
68 | public let location: ContentLocation
:
73 | }
74 |
75 | static let unknown = SourceMap()
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'SourceMap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | public static func == (lhs: SourceMap, rhs: SourceMap) -> Bool {
[8/27] Compiling Stencil Tokenizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer.swift:75:14: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'SourceMap' may have shared mutable state; this is an error in the Swift 6 language mode
64 | }
65 |
66 | public struct SourceMap: Equatable {
| `- note: consider making struct 'SourceMap' conform to the 'Sendable' protocol
67 | public let filename: String?
68 | public let location: ContentLocation
:
73 | }
74 |
75 | static let unknown = SourceMap()
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'SourceMap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | public static func == (lhs: SourceMap, rhs: SourceMap) -> Bool {
[9/27] Compiling Stencil Loader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:112:7: warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
110 | }
111 |
112 | class SuspiciousFileOperation: Error {
| `- warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
113 | let basePath: Path
114 | let path: Path
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:113:7: warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
111 |
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
| `- warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
114 | let path: Path
115 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
1 | import Foundation
2 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
3 |
4 | public protocol Loader {
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:114:7: warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
114 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
115 |
116 | init(basePath: Path, path: Path) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/Node.swift:63:9: warning: variable 'components' was never mutated; consider changing to 'let' constant
61 |
62 | class func parse(_ parser: TokenParser, token: Token) throws -> NodeType {
63 | var components = token.components
| `- warning: variable 'components' was never mutated; consider changing to 'let' constant
64 |
65 | func hasToken(_ token: String, at index: Int) -> Bool {
[10/27] Compiling Stencil Node.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:112:7: warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
110 | }
111 |
112 | class SuspiciousFileOperation: Error {
| `- warning: non-final class 'SuspiciousFileOperation' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
113 | let basePath: Path
114 | let path: Path
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:113:7: warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
111 |
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
| `- warning: stored property 'basePath' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
114 | let path: Path
115 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
1 | import Foundation
2 | import PathKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'PathKit'
3 |
4 | public protocol Loader {
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:114:7: warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
112 | class SuspiciousFileOperation: Error {
113 | let basePath: Path
114 | let path: Path
| `- warning: stored property 'path' of 'Sendable'-conforming class 'SuspiciousFileOperation' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
115 |
116 | init(basePath: Path, path: Path) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:17:15: note: struct 'Path' does not conform to the 'Sendable' protocol
15 |
16 | /// Represents a filesystem path.
17 | public struct Path {
| `- note: struct 'Path' does not conform to the 'Sendable' protocol
18 | /// The character used by the OS to separate two path elements
19 | public static let separator = "/"
/Users/admin/builder/spi-builder-workspace/Sources/Node.swift:63:9: warning: variable 'components' was never mutated; consider changing to 'let' constant
61 |
62 | class func parse(_ parser: TokenParser, token: Token) throws -> NodeType {
63 | var components = token.components
| `- warning: variable 'components' was never mutated; consider changing to 'let' constant
64 |
65 | func hasToken(_ token: String, at index: Int) -> Bool {
[11/27] Compiling Stencil Context.swift
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:1:14: warning: non-final class 'TemplateDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | public class TemplateDoesNotExist: Error, CustomStringConvertible {
| `- warning: non-final class 'TemplateDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
2 | let templateNames: [String]
3 | let loader: Loader?
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:3:7: warning: stored property 'loader' of 'Sendable'-conforming class 'TemplateDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
1 | public class TemplateDoesNotExist: Error, CustomStringConvertible {
2 | let templateNames: [String]
3 | let loader: Loader?
| `- warning: stored property 'loader' of 'Sendable'-conforming class 'TemplateDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
4 |
5 | public init(templateNames: [String], loader: Loader? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:4:17: note: protocol 'Loader' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public protocol Loader {
| `- note: protocol 'Loader' does not conform to the 'Sendable' protocol
5 | func loadTemplate(name: String, environment: Environment) throws -> Template
6 | func loadTemplate(names: [String], environment: Environment) throws -> Template
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:24:28: warning: stored property 'token' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type 'Token?'; this is an error in the Swift 6 language mode
22 | public let reason: String
23 | public var description: String { return reason }
24 | public internal(set) var token: Token?
| `- warning: stored property 'token' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type 'Token?'; this is an error in the Swift 6 language mode
25 | public internal(set) var stackTrace: [Token]
26 | public var templateName: String? { return token?.sourceMap.filename }
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer.swift:82:14: note: class 'Token' does not conform to the 'Sendable' protocol
80 | }
81 |
82 | public class Token: Equatable {
| `- note: class 'Token' does not conform to the 'Sendable' protocol
83 | public enum Kind: Equatable {
84 | /// A token representing a piece of text.
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:25:28: warning: stored property 'stackTrace' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type '[Token]'; this is an error in the Swift 6 language mode
23 | public var description: String { return reason }
24 | public internal(set) var token: Token?
25 | public internal(set) var stackTrace: [Token]
| `- warning: stored property 'stackTrace' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type '[Token]'; this is an error in the Swift 6 language mode
26 | public var templateName: String? { return token?.sourceMap.filename }
27 | var allTokens: [Token] {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer.swift:82:14: note: class 'Token' does not conform to the 'Sendable' protocol
80 | }
81 |
82 | public class Token: Equatable {
| `- note: class 'Token' does not conform to the 'Sendable' protocol
83 | public enum Kind: Equatable {
84 | /// A token representing a piece of text.
[12/27] Compiling Stencil Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:1:14: warning: non-final class 'TemplateDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | public class TemplateDoesNotExist: Error, CustomStringConvertible {
| `- warning: non-final class 'TemplateDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
2 | let templateNames: [String]
3 | let loader: Loader?
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:3:7: warning: stored property 'loader' of 'Sendable'-conforming class 'TemplateDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
1 | public class TemplateDoesNotExist: Error, CustomStringConvertible {
2 | let templateNames: [String]
3 | let loader: Loader?
| `- warning: stored property 'loader' of 'Sendable'-conforming class 'TemplateDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
4 |
5 | public init(templateNames: [String], loader: Loader? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:4:17: note: protocol 'Loader' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public protocol Loader {
| `- note: protocol 'Loader' does not conform to the 'Sendable' protocol
5 | func loadTemplate(name: String, environment: Environment) throws -> Template
6 | func loadTemplate(names: [String], environment: Environment) throws -> Template
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:24:28: warning: stored property 'token' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type 'Token?'; this is an error in the Swift 6 language mode
22 | public let reason: String
23 | public var description: String { return reason }
24 | public internal(set) var token: Token?
| `- warning: stored property 'token' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type 'Token?'; this is an error in the Swift 6 language mode
25 | public internal(set) var stackTrace: [Token]
26 | public var templateName: String? { return token?.sourceMap.filename }
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer.swift:82:14: note: class 'Token' does not conform to the 'Sendable' protocol
80 | }
81 |
82 | public class Token: Equatable {
| `- note: class 'Token' does not conform to the 'Sendable' protocol
83 | public enum Kind: Equatable {
84 | /// A token representing a piece of text.
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:25:28: warning: stored property 'stackTrace' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type '[Token]'; this is an error in the Swift 6 language mode
23 | public var description: String { return reason }
24 | public internal(set) var token: Token?
25 | public internal(set) var stackTrace: [Token]
| `- warning: stored property 'stackTrace' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type '[Token]'; this is an error in the Swift 6 language mode
26 | public var templateName: String? { return token?.sourceMap.filename }
27 | var allTokens: [Token] {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer.swift:82:14: note: class 'Token' does not conform to the 'Sendable' protocol
80 | }
81 |
82 | public class Token: Equatable {
| `- note: class 'Token' does not conform to the 'Sendable' protocol
83 | public enum Kind: Equatable {
84 | /// A token representing a piece of text.
[13/27] Compiling Stencil Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:1:14: warning: non-final class 'TemplateDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | public class TemplateDoesNotExist: Error, CustomStringConvertible {
| `- warning: non-final class 'TemplateDoesNotExist' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
2 | let templateNames: [String]
3 | let loader: Loader?
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:3:7: warning: stored property 'loader' of 'Sendable'-conforming class 'TemplateDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
1 | public class TemplateDoesNotExist: Error, CustomStringConvertible {
2 | let templateNames: [String]
3 | let loader: Loader?
| `- warning: stored property 'loader' of 'Sendable'-conforming class 'TemplateDoesNotExist' has non-sendable type '(any Loader)?'; this is an error in the Swift 6 language mode
4 |
5 | public init(templateNames: [String], loader: Loader? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Loader.swift:4:17: note: protocol 'Loader' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public protocol Loader {
| `- note: protocol 'Loader' does not conform to the 'Sendable' protocol
5 | func loadTemplate(name: String, environment: Environment) throws -> Template
6 | func loadTemplate(names: [String], environment: Environment) throws -> Template
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:24:28: warning: stored property 'token' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type 'Token?'; this is an error in the Swift 6 language mode
22 | public let reason: String
23 | public var description: String { return reason }
24 | public internal(set) var token: Token?
| `- warning: stored property 'token' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type 'Token?'; this is an error in the Swift 6 language mode
25 | public internal(set) var stackTrace: [Token]
26 | public var templateName: String? { return token?.sourceMap.filename }
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer.swift:82:14: note: class 'Token' does not conform to the 'Sendable' protocol
80 | }
81 |
82 | public class Token: Equatable {
| `- note: class 'Token' does not conform to the 'Sendable' protocol
83 | public enum Kind: Equatable {
84 | /// A token representing a piece of text.
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:25:28: warning: stored property 'stackTrace' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type '[Token]'; this is an error in the Swift 6 language mode
23 | public var description: String { return reason }
24 | public internal(set) var token: Token?
25 | public internal(set) var stackTrace: [Token]
| `- warning: stored property 'stackTrace' of 'Sendable'-conforming struct 'TemplateSyntaxError' has non-sendable type '[Token]'; this is an error in the Swift 6 language mode
26 | public var templateName: String? { return token?.sourceMap.filename }
27 | var allTokens: [Token] {
/Users/admin/builder/spi-builder-workspace/Sources/Tokenizer.swift:82:14: note: class 'Token' does not conform to the 'Sendable' protocol
80 | }
81 |
82 | public class Token: Equatable {
| `- note: class 'Token' does not conform to the 'Sendable' protocol
83 | public enum Kind: Equatable {
84 | /// A token representing a piece of text.
[14/27] Compiling Stencil Include.swift
[15/27] Compiling Stencil Inheritence.swift
[16/27] Compiling Stencil ForTag.swift
[17/27] Compiling Stencil IfTag.swift
[18/27] Compiling Stencil NowTag.swift
[19/27] Compiling Stencil Parser.swift
[20/27] Compiling Stencil KeyPath.swift
[21/27] Compiling Stencil Lexer.swift
[22/27] Compiling Stencil FilterTag.swift
[23/27] Compiling Stencil Filters.swift
[24/27] Compiling Stencil Expression.swift
[25/27] Compiling Stencil Extension.swift
[26/27] Compiling Stencil Variable.swift
[27/27] Compiling Stencil _SwiftSupport.swift
Build complete! (25.20s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[165/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.97s)
Fetched https://github.com/kylef/Spectre.git from cache (0.97s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (2.64s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.0 (0.68s)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Build complete.
{
"dependencies" : [
{
"identity" : "pathkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/PathKit.git"
},
{
"identity" : "spectre",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/Spectre.git"
}
],
"manifest_display_name" : "Stencil",
"name" : "Stencil",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Stencil",
"targets" : [
"Stencil"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2",
"5"
],
"targets" : [
{
"c99name" : "StencilTests",
"module_type" : "SwiftTarget",
"name" : "StencilTests",
"path" : "Tests/StencilTests",
"product_dependencies" : [
"Spectre"
],
"sources" : [
"ContextSpec.swift",
"EnvironmentSpec.swift",
"ExpressionSpec.swift",
"FilterSpec.swift",
"FilterTagSpec.swift",
"ForNodeSpec.swift",
"IfNodeSpec.swift",
"IncludeSpec.swift",
"InheritanceSpec.swift",
"LexerSpec.swift",
"LoaderSpec.swift",
"NodeSpec.swift",
"NowNodeSpec.swift",
"ParserSpec.swift",
"StencilSpec.swift",
"TemplateSpec.swift",
"TokenSpec.swift",
"VariableSpec.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Stencil"
],
"type" : "test"
},
{
"c99name" : "Stencil",
"module_type" : "SwiftTarget",
"name" : "Stencil",
"path" : "Sources",
"product_dependencies" : [
"PathKit"
],
"product_memberships" : [
"Stencil"
],
"sources" : [
"Context.swift",
"Environment.swift",
"Errors.swift",
"Expression.swift",
"Extension.swift",
"FilterTag.swift",
"Filters.swift",
"ForTag.swift",
"IfTag.swift",
"Include.swift",
"Inheritence.swift",
"KeyPath.swift",
"Lexer.swift",
"Loader.swift",
"Node.swift",
"NowTag.swift",
"Parser.swift",
"Template.swift",
"Tokenizer.swift",
"Variable.swift",
"_SwiftSupport.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.