Build Information
Successful build of LRUCache with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
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/nicklockwood/LRUCache.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nicklockwood/LRUCache
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 542f044 Update for 1.0.7 release
Cloned https://github.com/nicklockwood/LRUCache.git
Revision (git rev-parse @):
542f0449556327415409ededc9c43a4bd0a397dc
SUCCESS checkout https://github.com/nicklockwood/LRUCache.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/nicklockwood/LRUCache.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/4] Emitting module LRUCache
[4/4] Compiling LRUCache LRUCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/LRUCache.swift:88:13: warning: capture of 'self' with non-sendable type 'LRUCache<Key, Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | #endif
50 |
51 | public final class LRUCache<Key: Hashable, Value> {
| `- note: generic class 'LRUCache' does not conform to the 'Sendable' protocol
52 | private var values: [Key: Container] = [:]
53 | private unowned(unsafe) var head: Container?
:
86 | queue: nil
87 | ) { [weak self] _ in
88 | self?.removeAllValues()
| `- warning: capture of 'self' with non-sendable type 'LRUCache<Key, Value>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
89 | }
90 | }
Build complete! (16.22s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "LRUCache",
"name" : "LRUCache",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LRUCache",
"targets" : [
"LRUCache"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LRUCacheTests",
"module_type" : "SwiftTarget",
"name" : "LRUCacheTests",
"path" : "Tests",
"sources" : [
"LRUCacheTests.swift",
"LRUPerformanceTests.swift",
"MetadataTests.swift"
],
"target_dependencies" : [
"LRUCache"
],
"type" : "test"
},
{
"c99name" : "LRUCache",
"module_type" : "SwiftTarget",
"name" : "LRUCache",
"path" : "Sources",
"product_memberships" : [
"LRUCache"
],
"sources" : [
"LRUCache.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.