Build Information
Successful build of SwiftDetailer, reference main (d144f7
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 08:03:00 UTC.
Swift 6 data race errors: 2
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/openalloc/SwiftDetailer.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/openalloc/SwiftDetailer
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d144f77 Added demo projects to README
Cloned https://github.com/openalloc/SwiftDetailer.git
Revision (git rev-parse @):
d144f770e4974ce62f0e1e22a01f2620210d8403
SUCCESS checkout https://github.com/openalloc/SwiftDetailer.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": "swiftdetailer",
"name": "SwiftDetailer",
"url": "https://github.com/openalloc/SwiftDetailer.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftDetailer",
"dependencies": [
]
}
]
}
Fetching https://github.com/openalloc/SwiftDetailer.git
[1/257] Fetching swiftdetailer
Fetched https://github.com/openalloc/SwiftDetailer.git from cache (0.89s)
Creating working copy for https://github.com/openalloc/SwiftDetailer.git
Working copy of https://github.com/openalloc/SwiftDetailer.git resolved at main (d144f77)
warning: '.resolve-product-dependencies': dependency 'swiftdetailer' 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/openalloc/SwiftDetailer.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/12] Compiling Detailer DetailerContext.swift
[4/12] Emitting module Detailer
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/DetailerConfig.swift:28:23: warning: static property 'validateIndicator' is not concurrency-safe because non-'Sendable' type '(Bool) -> AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
26 | #endif
27 |
28 | public static let validateIndicator: (Bool) -> AnyView = { AnyView(
| |- warning: static property 'validateIndicator' is not concurrency-safe because non-'Sendable' type '(Bool) -> AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validateIndicator' 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
29 | Image(systemName: "exclamationmark.triangle")
30 | .font(.title2)
/Users/admin/builder/spi-builder-workspace/Sources/DetailerConfig.swift:28:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
26 | #endif
27 |
28 | public static let validateIndicator: (Bool) -> AnyView = { AnyView(
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
29 | Image(systemName: "exclamationmark.triangle")
30 | .font(.title2)
[5/12] Compiling Detailer View+Validate.swift
[6/12] Compiling Detailer EditDetailBase.swift
[7/12] Compiling Detailer DetailerConfig.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/DetailerConfig.swift:28:23: warning: static property 'validateIndicator' is not concurrency-safe because non-'Sendable' type '(Bool) -> AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
26 | #endif
27 |
28 | public static let validateIndicator: (Bool) -> AnyView = { AnyView(
| |- warning: static property 'validateIndicator' is not concurrency-safe because non-'Sendable' type '(Bool) -> AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validateIndicator' 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
29 | Image(systemName: "exclamationmark.triangle")
30 | .font(.title2)
/Users/admin/builder/spi-builder-workspace/Sources/DetailerConfig.swift:28:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
26 | #endif
27 |
28 | public static let validateIndicator: (Bool) -> AnyView = { AnyView(
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
29 | Image(systemName: "exclamationmark.triangle")
30 | .font(.title2)
[8/12] Compiling Detailer EditDetailC.swift
[9/12] Compiling Detailer EditDetailR.swift
[10/12] Compiling Detailer ViewDetail.swift
[11/12] Compiling Detailer Validate.swift
[12/12] Compiling Detailer View+Detailer.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/DetailerConfig.swift:28:23: warning: static property 'validateIndicator' is not concurrency-safe because non-'Sendable' type '(Bool) -> AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
26 | #endif
27 |
28 | public static let validateIndicator: (Bool) -> AnyView = { AnyView(
| |- warning: static property 'validateIndicator' is not concurrency-safe because non-'Sendable' type '(Bool) -> AnyView' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validateIndicator' 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
29 | Image(systemName: "exclamationmark.triangle")
30 | .font(.title2)
Build complete! (20.32s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftDetailer",
"name" : "SwiftDetailer",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Detailer",
"targets" : [
"Detailer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Detailer",
"module_type" : "SwiftTarget",
"name" : "Detailer",
"path" : "Sources",
"product_memberships" : [
"Detailer"
],
"sources" : [
"DetailerConfig.swift",
"DetailerContext.swift",
"Internal/EditDetailBase.swift",
"Internal/EditDetailC.swift",
"Internal/EditDetailR.swift",
"Internal/Validate.swift",
"Internal/ViewDetail.swift",
"View+Detailer.swift",
"View+Validate.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.