Build Information
Successful build of UserDefaultsSnapshotLib, reference main (26e906
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 08:20:59 UTC.
Swift 6 data race errors: 0
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VergeGroup/UserDefaultsSnapshot.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/VergeGroup/UserDefaultsSnapshot
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 26e9064 Update ignore
Cloned https://github.com/VergeGroup/UserDefaultsSnapshot.git
Revision (git rev-parse @):
26e9064cf45e48ced6220073071eeaf3dd60c62c
SUCCESS checkout https://github.com/VergeGroup/UserDefaultsSnapshot.git at main
========================================
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": "userdefaultssnapshot",
"name": "UserDefaultsSnapshotLib",
"url": "https://github.com/VergeGroup/UserDefaultsSnapshot.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UserDefaultsSnapshot",
"dependencies": [
]
}
]
}
Fetching https://github.com/VergeGroup/UserDefaultsSnapshot.git
[1/155] Fetching userdefaultssnapshot
Fetched https://github.com/VergeGroup/UserDefaultsSnapshot.git from cache (0.68s)
Creating working copy for https://github.com/VergeGroup/UserDefaultsSnapshot.git
Working copy of https://github.com/VergeGroup/UserDefaultsSnapshot.git resolved at main (26e9064)
warning: '.resolve-product-dependencies': dependency 'userdefaultssnapshot' 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/VergeGroup/UserDefaultsSnapshot.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling UserDefaultsSnapshotLib UserDefaultsSnapshot.swift
[4/9] Compiling UserDefaultsSnapshotLib _UserDefaultsPrimitiveValueType.swift
[5/9] Compiling UserDefaultsSnapshotLib UserDefaultsPersistentStoreSinkCancellable.swift
[6/9] Emitting module UserDefaultsSnapshotLib
[7/9] Compiling UserDefaultsSnapshotLib UserDefaultsPersistentStoreBase.swift
[8/9] Compiling UserDefaultsSnapshotLib UserDefaultsPersistentStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:89:11: warning: sending 'sink' risks causing data races; this is an error in the Swift 6 language mode
87 | if Thread.isMainThread {
88 | MainActor.assumeIsolated {
89 | sink(
| |- warning: sending 'sink' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'sink' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
90 | snapshot
91 | )
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:96:13: warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
94 | Task { @MainActor in
95 | sink(
96 | snapshot
| |- warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
97 | )
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsSnapshotLib/UserDefaultsPersistentStore.swift:109:11: warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
107 | Task { @MainActor in
108 | sink(
109 | snapshot
| |- warning: sending 'snapshot' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'snapshot' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
110 | )
111 | }
[9/9] Compiling UserDefaultsSnapshotLib UserDefaultsObject.swift
Build complete! (8.74s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "UserDefaultsSnapshotLib",
"name" : "UserDefaultsSnapshotLib",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "UserDefaultsSnapshotLib",
"targets" : [
"UserDefaultsSnapshotLib"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UserDefaultsSnapshotLibTests",
"module_type" : "SwiftTarget",
"name" : "UserDefaultsSnapshotLibTests",
"path" : "Tests/UserDefaultsSnapshotLibTests",
"sources" : [
"UserDefaultsBackingTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"UserDefaultsSnapshotLib"
],
"type" : "test"
},
{
"c99name" : "UserDefaultsSnapshotLib",
"module_type" : "SwiftTarget",
"name" : "UserDefaultsSnapshotLib",
"path" : "Sources/UserDefaultsSnapshotLib",
"product_memberships" : [
"UserDefaultsSnapshotLib"
],
"sources" : [
"UserDefaultsObject.swift",
"UserDefaultsPersistentStore.swift",
"UserDefaultsPersistentStoreBase.swift",
"UserDefaultsPersistentStoreSinkCancellable.swift",
"UserDefaultsSnapshot.swift",
"_UserDefaultsPrimitiveValueType.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.