Build Information
Successful build of PerfectMustache with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
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/perfectlysoft/perfect-mustache.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-mustache
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0d5e45e Updated for swift 5. Removed Perfect-Thread dependency
Cloned https://github.com/perfectlysoft/perfect-mustache.git
Revision (git rev-parse @):
0d5e45e95ca06c4ba7696a0cfc250e0ed35aff00
SUCCESS checkout https://github.com/perfectlysoft/perfect-mustache.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/perfectlysoft/perfect-mustache.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/13] Compiling PerfectLib SysProcess.swift
[5/13] Compiling PerfectLib PerfectServer.swift
[6/13] Compiling PerfectLib JSONConvertible.swift
[7/13] Compiling PerfectLib PerfectError.swift
[8/13] Compiling PerfectLib Log.swift
[9/13] Emitting module PerfectLib
[10/13] Compiling PerfectLib Dir.swift
[11/13] Compiling PerfectLib File.swift
[12/13] Compiling PerfectLib Utilities.swift
[13/13] Compiling PerfectLib Bytes.swift
[14/15] Emitting module PerfectMustache
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMustache/Mustache.swift:25:13: warning: var 'mustacheTemplateCache' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
23 | let mustacheExtension = "mustache"
24 |
25 | private var mustacheTemplateCache = [String: (Int, MustacheTemplate)]()
| |- warning: var 'mustacheTemplateCache' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mustacheTemplateCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mustacheTemplateCache' 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
26 | private let mustacheTemplateCacheQueue = DispatchQueue(label: "mustacheTemplateCache", attributes: .concurrent)
27 |
[15/15] Compiling PerfectMustache Mustache.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectMustache/Mustache.swift:25:13: warning: var 'mustacheTemplateCache' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
23 | let mustacheExtension = "mustache"
24 |
25 | private var mustacheTemplateCache = [String: (Int, MustacheTemplate)]()
| |- warning: var 'mustacheTemplateCache' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mustacheTemplateCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mustacheTemplateCache' 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
26 | private let mustacheTemplateCacheQueue = DispatchQueue(label: "mustacheTemplateCache", attributes: .concurrent)
27 |
Build complete! (25.24s)
Fetching https://github.com/PerfectlySoft/PerfectLib.git
[1/10784] Fetching perfectlib
Fetched https://github.com/PerfectlySoft/PerfectLib.git from cache (2.68s)
Computing version for https://github.com/PerfectlySoft/PerfectLib.git
Computed https://github.com/PerfectlySoft/PerfectLib.git at 4.0.1 (0.66s)
Creating working copy for https://github.com/PerfectlySoft/PerfectLib.git
Working copy of https://github.com/PerfectlySoft/PerfectLib.git resolved at 4.0.1
Build complete.
{
"dependencies" : [
{
"identity" : "perfectlib",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PerfectlySoft/PerfectLib.git"
}
],
"manifest_display_name" : "PerfectMustache",
"name" : "PerfectMustache",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "PerfectMustache",
"targets" : [
"PerfectMustache"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PerfectMustacheTests",
"module_type" : "SwiftTarget",
"name" : "PerfectMustacheTests",
"path" : "Tests/PerfectMustacheTests",
"sources" : [
"PerfectMustacheTests.swift"
],
"target_dependencies" : [
"PerfectMustache"
],
"type" : "test"
},
{
"c99name" : "PerfectMustache",
"module_type" : "SwiftTarget",
"name" : "PerfectMustache",
"path" : "Sources/PerfectMustache",
"product_dependencies" : [
"PerfectLib"
],
"product_memberships" : [
"PerfectMustache"
],
"sources" : [
"Mustache.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.