Build Information
Successful build of KituraStencil with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 3
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/Kitura/Kitura-StencilTemplateEngine.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/Kitura-StencilTemplateEngine
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1909bd4 TravisCI: remove swift 4.x; add swift 5.4 (#55)
Cloned https://github.com/Kitura/Kitura-StencilTemplateEngine.git
Revision (git rev-parse @):
1909bd470295fb7653a58f93a7a8a0776570bc4d
SUCCESS checkout https://github.com/Kitura/Kitura-StencilTemplateEngine.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/Kitura/Kitura-StencilTemplateEngine.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/5] Write sources
[4/5] Write swift-version-6F35C1178C84523A.txt
[6/9] Compiling KituraTemplateEngine TemplateEngine.swift
[7/9] Emitting module KituraTemplateEngine
[8/9] Compiling PathKit PathKit.swift
[9/9] Emitting module PathKit
[10/28] Compiling Stencil Node.swift
[11/28] Compiling Stencil NowTag.swift
[12/28] Compiling Stencil Inheritence.swift
[13/28] Compiling Stencil KeyPath.swift
[14/28] Compiling Stencil Parser.swift
[15/28] Compiling Stencil Template.swift
[16/30] Compiling Stencil Lexer.swift
[17/30] Compiling Stencil Loader.swift
[18/30] Compiling Stencil Extension.swift
[19/30] Compiling Stencil FilterTag.swift
[20/30] Compiling Stencil IfTag.swift
[21/30] Compiling Stencil Include.swift
[22/30] Compiling Stencil Filters.swift
[23/30] Compiling Stencil ForTag.swift
[24/30] Compiling Stencil Context.swift
[25/30] Compiling Stencil Environment.swift
[26/30] Emitting module Stencil
[27/30] Compiling Stencil Errors.swift
[28/30] Compiling Stencil Expression.swift
[29/30] Compiling Stencil Tokenizer.swift
[30/30] Compiling Stencil Variable.swift
[31/32] Compiling KituraStencil KituraStencilTemplateEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraStencil/KituraStencilTemplateEngine.swift:36:10: warning: associated value 'unableToEncodeValue(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
34 |
35 | /// Thrown when unable to encode the `Encodable` value provided to data.
36 | case unableToEncodeValue(value: Encodable)
| `- warning: associated value 'unableToEncodeValue(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
37 |
38 | /// Thrown when Stencil fails to render the context with the given template.
Swift.Encodable:1:17: note: protocol 'Encodable' does not conform to the 'Sendable' protocol
1 | public protocol Encodable {
| `- note: protocol 'Encodable' does not conform to the 'Sendable' protocol
2 | func encode(to encoder: any Encoder) throws
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraStencil/KituraStencilTemplateEngine.swift:39:10: warning: associated value 'unableToRenderContext(context:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
37 |
38 | /// Thrown when Stencil fails to render the context with the given template.
39 | case unableToRenderContext(context: [String: Any])
| `- warning: associated value 'unableToRenderContext(context:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
40 |
41 | /// Thrown when a `[Encodable]` or `Set<Encodable>` is passed without a Key.
/Users/admin/builder/spi-builder-workspace/Sources/KituraStencil/KituraStencilTemplateEngine.swift:42:10: warning: associated value 'noKeyProvidedForType(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
40 |
41 | /// Thrown when a `[Encodable]` or `Set<Encodable>` is passed without a Key.
42 | case noKeyProvidedForType(value: Encodable)
| `- warning: associated value 'noKeyProvidedForType(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
43 | }
44 |
Swift.Encodable:1:17: note: protocol 'Encodable' does not conform to the 'Sendable' protocol
1 | public protocol Encodable {
| `- note: protocol 'Encodable' does not conform to the 'Sendable' protocol
2 | func encode(to encoder: any Encoder) throws
3 | }
[32/32] Emitting module KituraStencil
/Users/admin/builder/spi-builder-workspace/Sources/KituraStencil/KituraStencilTemplateEngine.swift:36:10: warning: associated value 'unableToEncodeValue(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
34 |
35 | /// Thrown when unable to encode the `Encodable` value provided to data.
36 | case unableToEncodeValue(value: Encodable)
| `- warning: associated value 'unableToEncodeValue(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
37 |
38 | /// Thrown when Stencil fails to render the context with the given template.
Swift.Encodable:1:17: note: protocol 'Encodable' does not conform to the 'Sendable' protocol
1 | public protocol Encodable {
| `- note: protocol 'Encodable' does not conform to the 'Sendable' protocol
2 | func encode(to encoder: any Encoder) throws
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraStencil/KituraStencilTemplateEngine.swift:39:10: warning: associated value 'unableToRenderContext(context:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
37 |
38 | /// Thrown when Stencil fails to render the context with the given template.
39 | case unableToRenderContext(context: [String: Any])
| `- warning: associated value 'unableToRenderContext(context:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
40 |
41 | /// Thrown when a `[Encodable]` or `Set<Encodable>` is passed without a Key.
/Users/admin/builder/spi-builder-workspace/Sources/KituraStencil/KituraStencilTemplateEngine.swift:42:10: warning: associated value 'noKeyProvidedForType(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
40 |
41 | /// Thrown when a `[Encodable]` or `Set<Encodable>` is passed without a Key.
42 | case noKeyProvidedForType(value: Encodable)
| `- warning: associated value 'noKeyProvidedForType(value:)' of 'Sendable'-conforming enum 'StencilTemplateEngineError' has non-sendable type 'any Encodable'; this is an error in the Swift 6 language mode
43 | }
44 |
Swift.Encodable:1:17: note: protocol 'Encodable' does not conform to the 'Sendable' protocol
1 | public protocol Encodable {
| `- note: protocol 'Encodable' does not conform to the 'Sendable' protocol
2 | func encode(to encoder: any Encoder) throws
3 | }
Build complete! (29.57s)
Fetching https://github.com/kylef/Stencil.git
Fetching https://github.com/Kitura/Kitura-TemplateEngine.git
[1/438] Fetching kitura-templateengine
[120/5627] Fetching kitura-templateengine, stencil
Fetched https://github.com/kylef/Stencil.git from cache (1.21s)
Fetched https://github.com/Kitura/Kitura-TemplateEngine.git from cache (1.21s)
Computing version for https://github.com/Kitura/Kitura-TemplateEngine.git
Computed https://github.com/Kitura/Kitura-TemplateEngine.git at 2.0.200 (0.69s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/kylef/Stencil.git at 0.13.1 (2.88s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[165/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.97s)
Fetched https://github.com/kylef/PathKit.git from cache (0.97s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.68s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.68s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/Kitura/Kitura-TemplateEngine.git
Working copy of https://github.com/Kitura/Kitura-TemplateEngine.git resolved at 2.0.200
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Stencil.git
Working copy of https://github.com/kylef/Stencil.git resolved at 0.13.1
Build complete.
{
"dependencies" : [
{
"identity" : "kitura-templateengine",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.200",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/Kitura-TemplateEngine.git"
},
{
"identity" : "stencil",
"requirement" : {
"range" : [
{
"lower_bound" : "0.13.0",
"upper_bound" : "0.14.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/Stencil.git"
}
],
"manifest_display_name" : "KituraStencil",
"name" : "KituraStencil",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "KituraStencil",
"targets" : [
"KituraStencil"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KituraStencil",
"module_type" : "SwiftTarget",
"name" : "KituraStencil",
"path" : "Sources/KituraStencil",
"product_dependencies" : [
"KituraTemplateEngine",
"Stencil"
],
"product_memberships" : [
"KituraStencil"
],
"sources" : [
"KituraStencilTemplateEngine.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.