Build Information
Successful build of Stencil, reference 0.13.2 (a229b5
), with Swift 6.0 for Linux on 4 Nov 2024 03:53:24 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/Stencil.git
Reference: 0.13.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/nerdsupremacist/Stencil
* tag 0.13.2 -> FETCH_HEAD
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 0.13.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/nerdsupremacist/Stencil.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[583/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.26s)
Fetched https://github.com/kylef/PathKit.git from cache (0.26s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.06s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.59s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module PathKit
[5/5] Compiling PathKit PathKit.swift
[7/26] Compiling Stencil Lexer.swift
/host/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
/host/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 |
/host/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 = "/"
/host/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 {
/host/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) {
/host/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 = "/"
/host/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 {
[8/26] Compiling Stencil Loader.swift
/host/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
/host/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 |
/host/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 = "/"
/host/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 {
/host/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) {
/host/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 = "/"
/host/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 {
[9/26] Compiling Stencil Node.swift
/host/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
/host/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 |
/host/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 = "/"
/host/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 {
/host/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) {
/host/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 = "/"
/host/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/26] Compiling Stencil NowTag.swift
[11/26] Compiling Stencil Parser.swift
[12/26] Compiling Stencil Template.swift
/host/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 {
[13/26] Compiling Stencil Tokenizer.swift
/host/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 {
[14/28] Compiling Stencil Context.swift
/host/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?
/host/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) {
/host/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
/host/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 }
/host/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.
/host/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] {
/host/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.
[15/28] Compiling Stencil Environment.swift
/host/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?
/host/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) {
/host/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
/host/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 }
/host/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.
/host/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] {
/host/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.
[16/28] Compiling Stencil Errors.swift
/host/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?
/host/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) {
/host/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
/host/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 }
/host/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.
/host/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] {
/host/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.
[17/28] Compiling Stencil Include.swift
[18/28] Compiling Stencil Inheritence.swift
[19/28] Compiling Stencil KeyPath.swift
[20/28] Emitting module Stencil
/host/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?
/host/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) {
/host/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
/host/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 }
/host/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.
/host/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] {
/host/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.
/host/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
/host/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 |
/host/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 = "/"
/host/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 {
/host/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) {
/host/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 = "/"
/host/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 {
[21/28] Compiling Stencil Expression.swift
[22/28] Compiling Stencil Extension.swift
[23/28] Compiling Stencil FilterTag.swift
[24/28] Compiling Stencil Filters.swift
[25/28] Compiling Stencil ForTag.swift
[26/28] Compiling Stencil IfTag.swift
[27/28] Compiling Stencil Variable.swift
[28/28] Compiling Stencil _SwiftSupport.swift
Build complete! (22.39s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.