Build Information
Successful build of DeviceKit, reference 5.6.0 (513b9d
), with Swift 6.0 for macOS (SPM) on 27 Mar 2025 20:34:06 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/devicekit/DeviceKit.git
Reference: 5.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/devicekit/DeviceKit
* tag 5.6.0 -> FETCH_HEAD
HEAD is now at 513b9d7 Update CHANGELOG and README.
Cloned https://github.com/devicekit/DeviceKit.git
Revision (git rev-parse @):
513b9d7e7a1bd46504a1009bbab943b75ce2f195
SUCCESS checkout https://github.com/devicekit/DeviceKit.git at 5.6.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": "devicekit",
"name": "DeviceKit",
"url": "https://github.com/devicekit/DeviceKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DeviceKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/devicekit/DeviceKit.git
[1/4038] Fetching devicekit
Fetched https://github.com/devicekit/DeviceKit.git from cache (1.13s)
Creating working copy for https://github.com/devicekit/DeviceKit.git
Working copy of https://github.com/devicekit/DeviceKit.git resolved at 5.6.0 (513b9d7)
warning: '.resolve-product-dependencies': dependency 'devicekit' 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/devicekit/DeviceKit.git
https://github.com/devicekit/DeviceKit.git
{
"dependencies" : [
],
"manifest_display_name" : "DeviceKit",
"name" : "DeviceKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "DeviceKit",
"targets" : [
"DeviceKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "DeviceKitTests",
"module_type" : "SwiftTarget",
"name" : "DeviceKitTests",
"path" : "Tests",
"sources" : [
"Tests.swift"
],
"target_dependencies" : [
"DeviceKit"
],
"type" : "test"
},
{
"c99name" : "DeviceKit",
"module_type" : "SwiftTarget",
"name" : "DeviceKit",
"path" : "Source",
"product_memberships" : [
"DeviceKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Device.generated.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/6] Compiling DeviceKit resource_bundle_accessor.swift
[5/6] Compiling DeviceKit Device.generated.swift
/Users/admin/builder/spi-builder-workspace/Source/Device.generated.swift:553:21: warning: static property 'identifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
551 |
552 | /// Gets the identifier from the system, such as "iPhone7,1".
553 | public static var identifier: String = {
| |- warning: static property 'identifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'identifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'identifier' 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
554 | var systemInfo = utsname()
555 | uname(&systemInfo)
[6/6] Emitting module DeviceKit
/Users/admin/builder/spi-builder-workspace/Source/Device.generated.swift:553:21: warning: static property 'identifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
551 |
552 | /// Gets the identifier from the system, such as "iPhone7,1".
553 | public static var identifier: String = {
| |- warning: static property 'identifier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'identifier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'identifier' 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
554 | var systemInfo = utsname()
555 | uname(&systemInfo)
Build complete! (6.13s)
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Source/Info.plist
/Users/admin/builder/spi-builder-workspace/Source/Device.swift.gyb
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "DeviceKit",
"name" : "DeviceKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "DeviceKit",
"targets" : [
"DeviceKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "DeviceKitTests",
"module_type" : "SwiftTarget",
"name" : "DeviceKitTests",
"path" : "Tests",
"sources" : [
"Tests.swift"
],
"target_dependencies" : [
"DeviceKit"
],
"type" : "test"
},
{
"c99name" : "DeviceKit",
"module_type" : "SwiftTarget",
"name" : "DeviceKit",
"path" : "Source",
"product_memberships" : [
"DeviceKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Device.generated.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.