Build Information
Successful build of swift-mustache, reference 2.0.0 (9de71f
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 14:19:33 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hummingbird-project/swift-mustache.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hummingbird-project/swift-mustache
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 9de71fc Update docs again
Cloned https://github.com/hummingbird-project/swift-mustache.git
Revision (git rev-parse @):
9de71fc4d10f0efc0ac758d0acf14e75d39b47b4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hummingbird-project/swift-mustache.git at 2.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-mustache",
"name": "swift-mustache",
"url": "https://github.com/hummingbird-project/swift-mustache.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-mustache",
"dependencies": [
]
}
]
}
Fetching https://github.com/hummingbird-project/swift-mustache.git
[18/1719] Fetching swift-mustache
Fetched https://github.com/hummingbird-project/swift-mustache.git from cache (0.94s)
Creating working copy for https://github.com/hummingbird-project/swift-mustache.git
Working copy of https://github.com/hummingbird-project/swift-mustache.git resolved at 2.0.0 (9de71fc)
warning: '.resolve-product-dependencies': dependency 'swift-mustache' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/hummingbird-project/swift-mustache.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/20] Compiling Mustache Template.swift
[4/21] Compiling Mustache Transform.swift
[5/21] Compiling Mustache String.swift
[6/21] Compiling Mustache Template+FileSystem.swift
[7/21] Compiling Mustache Sequence.swift
[8/21] Compiling Mustache SequenceContext.swift
[9/21] Compiling Mustache Lambda.swift
[10/21] Compiling Mustache Library+FileSystem.swift
[11/21] Emitting module Mustache
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/ContentType.swift:53:16: warning: static property 'types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | static var types: [String: MustacheContentType] = [
| |- warning: static property 'types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'types' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'types' 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
54 | "HTML": HTMLContentType(),
55 | "TEXT": TextContentType(),
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Library.swift:99:20: warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
97 | public let filename: String
98 | /// Context (line, linenumber and column number)
99 | public let context: MustacheParserContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
100 | /// Actual error that occurred
101 | public let error: Error
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Parser.swift:300:15: note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
298 |
299 | /// context used in parser error
300 | public struct MustacheParserContext {
| `- note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
301 | public let line: String
302 | public let lineNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Template+Parser.swift:18:20: warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
16 | /// Error return by `MustacheTemplate.parse`. Includes information about where error occurred
17 | public struct ParserError: Swift.Error {
18 | public let context: MustacheParserContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
19 | public let error: Swift.Error
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Parser.swift:300:15: note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
298 |
299 | /// context used in parser error
300 | public struct MustacheParserContext {
| `- note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
301 | public let line: String
302 | public let lineNumber: Int
[12/21] Compiling Mustache ContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/ContentType.swift:53:16: warning: static property 'types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | static var types: [String: MustacheContentType] = [
| |- warning: static property 'types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'types' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'types' 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
54 | "HTML": HTMLContentType(),
55 | "TEXT": TextContentType(),
[13/21] Compiling Mustache Context.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/ContentType.swift:53:16: warning: static property 'types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | static var types: [String: MustacheContentType] = [
| |- warning: static property 'types' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'types' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'types' 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
54 | "HTML": HTMLContentType(),
55 | "TEXT": TextContentType(),
[14/21] Compiling Mustache Template+Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Template+Parser.swift:18:20: warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
16 | /// Error return by `MustacheTemplate.parse`. Includes information about where error occurred
17 | public struct ParserError: Swift.Error {
18 | public let context: MustacheParserContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
19 | public let error: Swift.Error
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Parser.swift:300:15: note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
298 |
299 | /// context used in parser error
300 | public struct MustacheParserContext {
| `- note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
301 | public let line: String
302 | public let lineNumber: Int
[15/21] Compiling Mustache Template+Render.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Template+Parser.swift:18:20: warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
16 | /// Error return by `MustacheTemplate.parse`. Includes information about where error occurred
17 | public struct ParserError: Swift.Error {
18 | public let context: MustacheParserContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
19 | public let error: Swift.Error
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Parser.swift:300:15: note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
298 |
299 | /// context used in parser error
300 | public struct MustacheParserContext {
| `- note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
301 | public let line: String
302 | public let lineNumber: Int
[16/21] Compiling Mustache Library.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Library.swift:99:20: warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
97 | public let filename: String
98 | /// Context (line, linenumber and column number)
99 | public let context: MustacheParserContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
100 | /// Actual error that occurred
101 | public let error: Error
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Parser.swift:300:15: note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
298 |
299 | /// context used in parser error
300 | public struct MustacheParserContext {
| `- note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
301 | public let line: String
302 | public let lineNumber: Int
[17/21] Compiling Mustache Mirror.swift
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Library.swift:99:20: warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
97 | public let filename: String
98 | /// Context (line, linenumber and column number)
99 | public let context: MustacheParserContext
| `- warning: stored property 'context' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'MustacheParserContext'; this is an error in the Swift 6 language mode
100 | /// Actual error that occurred
101 | public let error: Error
/Users/admin/builder/spi-builder-workspace/Sources/Mustache/Parser.swift:300:15: note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
298 |
299 | /// context used in parser error
300 | public struct MustacheParserContext {
| `- note: consider making struct 'MustacheParserContext' conform to the 'Sendable' protocol
301 | public let line: String
302 | public let lineNumber: Int
[18/21] Compiling Mustache Parent.swift
[19/21] Compiling Mustache Parser.swift
[20/21] Compiling Mustache CustomRenderable.swift
[21/21] Compiling Mustache Deprecations.swift
Build complete! (12.01s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-mustache",
"name" : "swift-mustache",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Mustache",
"targets" : [
"Mustache"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MustacheTests",
"module_type" : "SwiftTarget",
"name" : "MustacheTests",
"path" : "Tests/MustacheTests",
"sources" : [
"ErrorTests.swift",
"LibraryTests.swift",
"PartialTests.swift",
"SpecTests.swift",
"TemplateParserTests.swift",
"TemplateRendererTests.swift",
"TransformTests.swift"
],
"target_dependencies" : [
"Mustache"
],
"type" : "test"
},
{
"c99name" : "Mustache",
"module_type" : "SwiftTarget",
"name" : "Mustache",
"path" : "Sources/Mustache",
"product_memberships" : [
"Mustache"
],
"sources" : [
"ContentType.swift",
"Context.swift",
"CustomRenderable.swift",
"Deprecations.swift",
"Lambda.swift",
"Library+FileSystem.swift",
"Library.swift",
"Mirror.swift",
"Parent.swift",
"Parser.swift",
"Sequence.swift",
"SequenceContext.swift",
"String.swift",
"Template+FileSystem.swift",
"Template+Parser.swift",
"Template+Render.swift",
"Template.swift",
"Transform.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.