Build Information
Successful build of SwiftDetailer, reference 0.9.5 (af03eb
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 08:02:30 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: 0.9.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/openalloc/SwiftDetailer
* tag 0.9.5 -> FETCH_HEAD
HEAD is now at af03ebd Simplified design, replacing isAdd binding with originalID in context
Cloned https://github.com/openalloc/SwiftDetailer.git
Revision (git rev-parse @):
af03ebd7edda882cd10cd137f93ad5916a9a008d
SUCCESS checkout https://github.com/openalloc/SwiftDetailer.git at 0.9.5
========================================
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.91s)
Creating working copy for https://github.com/openalloc/SwiftDetailer.git
Working copy of https://github.com/openalloc/SwiftDetailer.git resolved at 0.9.5 (af03ebd)
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 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:29: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
27 | #endif
28 |
29 | 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
30 | Image(systemName: "exclamationmark.triangle")
31 | .font(.title2)
[4/12] Compiling Detailer EditDetailC.swift
[5/12] Compiling Detailer EditDetailR.swift
[6/12] Compiling Detailer DetailerContext.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:29: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
27 | #endif
28 |
29 | 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
30 | Image(systemName: "exclamationmark.triangle")
31 | .font(.title2)
/Users/admin/builder/spi-builder-workspace/Sources/DetailerConfig.swift:29:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
27 | #endif
28 |
29 | 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
30 | Image(systemName: "exclamationmark.triangle")
31 | .font(.title2)
[8/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:29: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
27 | #endif
28 |
29 | 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
30 | Image(systemName: "exclamationmark.triangle")
31 | .font(.title2)
/Users/admin/builder/spi-builder-workspace/Sources/DetailerConfig.swift:29:23: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
27 | #endif
28 |
29 | 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
30 | Image(systemName: "exclamationmark.triangle")
31 | .font(.title2)
[9/12] Compiling Detailer EditDetailBase.swift
[10/12] Compiling Detailer View+Validate.swift
[11/12] Compiling Detailer Validate.swift
[12/12] Compiling Detailer ViewDetail.swift
Build complete! (26.97s)
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.3"
}
Done.