Build Information
Successful build of swiftui-viewmodifierbuilder, reference main (eb80f5
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 06:11:33 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/ericlewis/swiftui-viewmodifierbuilder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ericlewis/swiftui-viewmodifierbuilder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at eb80f5b fix badges
Cloned https://github.com/ericlewis/swiftui-viewmodifierbuilder.git
Revision (git rev-parse @):
eb80f5bb5cb6914ca1229be2e0b08d3430917678
SUCCESS checkout https://github.com/ericlewis/swiftui-viewmodifierbuilder.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": "swiftui-viewmodifierbuilder",
"name": "swiftui-viewmodifierbuilder",
"url": "https://github.com/ericlewis/swiftui-viewmodifierbuilder.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-viewmodifierbuilder",
"dependencies": [
]
}
]
}
Fetching https://github.com/ericlewis/swiftui-viewmodifierbuilder.git
[1/59] Fetching swiftui-viewmodifierbuilder
Fetched https://github.com/ericlewis/swiftui-viewmodifierbuilder.git from cache (0.63s)
Creating working copy for https://github.com/ericlewis/swiftui-viewmodifierbuilder.git
Working copy of https://github.com/ericlewis/swiftui-viewmodifierbuilder.git resolved at main (eb80f5b)
warning: '.resolve-product-dependencies': dependency 'swiftui-viewmodifierbuilder' 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/ericlewis/swiftui-viewmodifierbuilder.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/5] Compiling ViewModifierBuilder View+Modifiers.swift
[4/5] Emitting module ViewModifierBuilder
[5/5] Compiling ViewModifierBuilder ViewModifierBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/ViewModifierBuilder.swift:137:6: warning: call to main actor-isolated initializer 'init(modifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | /// producing an optional modifier that is visible only when the condition
133 | /// evaluates to `true`.
134 | public static func buildOptional<Modifier: ViewModifier>(_ modifier: Modifier?)
| `- note: add '@MainActor' to make static method 'buildOptional' part of global actor 'MainActor'
135 | -> OptionalModifier<Modifier>
136 | {
137 | .init(modifier: modifier)
| `- warning: call to main actor-isolated initializer 'init(modifier:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 |
:
180 | }
181 |
182 | public struct OptionalModifier<Modifier: ViewModifier>: ViewModifier {
| `- note: calls to initializer 'init(modifier:)' from outside of its actor context are implicitly asynchronous
183 | let modifier: Modifier?
184 |
/Users/admin/builder/spi-builder-workspace/Sources/ViewModifierBuilder.swift:137:6: warning: sending 'modifier' risks causing data races; this is an error in the Swift 6 language mode
135 | -> OptionalModifier<Modifier>
136 | {
137 | .init(modifier: modifier)
| |- warning: sending 'modifier' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'modifier' to main actor-isolated initializer 'init(modifier:)' risks causing data races between main actor-isolated and task-isolated uses
138 | }
139 |
Build complete! (12.01s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swiftui-viewmodifierbuilder",
"name" : "swiftui-viewmodifierbuilder",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "ViewModifierBuilder",
"targets" : [
"ViewModifierBuilder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ViewModifierBuilder",
"module_type" : "SwiftTarget",
"name" : "ViewModifierBuilder",
"path" : "Sources",
"product_memberships" : [
"ViewModifierBuilder"
],
"sources" : [
"View+Modifiers.swift",
"ViewModifierBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.