Build Information
Successful build of WrappingHStack, reference 2.2.11 (425d94
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 03:11:53 UTC.
Swift 6 data race errors: 1
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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dkk/WrappingHStack.git
Reference: 2.2.11
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dkk/WrappingHStack
* tag 2.2.11 -> FETCH_HEAD
HEAD is now at 425d948 Update WrappingHStack.podspec
Cloned https://github.com/dkk/WrappingHStack.git
Revision (git rev-parse @):
425d9488ba55f58f0b34498c64c054c77fc2a44b
SUCCESS checkout https://github.com/dkk/WrappingHStack.git at 2.2.11
========================================
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": "wrappinghstack",
"name": "WrappingHStack",
"url": "https://github.com/dkk/WrappingHStack.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WrappingHStack",
"dependencies": [
]
}
]
}
Fetching https://github.com/dkk/WrappingHStack.git
[1/479] Fetching wrappinghstack
Fetched https://github.com/dkk/WrappingHStack.git from cache (0.87s)
Creating working copy for https://github.com/dkk/WrappingHStack.git
Working copy of https://github.com/dkk/WrappingHStack.git resolved at 2.2.11 (425d948)
warning: '.resolve-product-dependencies': dependency 'wrappinghstack' 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/dkk/WrappingHStack.git
{
"dependencies" : [
],
"manifest_display_name" : "WrappingHStack",
"name" : "WrappingHStack",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "WrappingHStack",
"targets" : [
"WrappingHStack"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WrappingHStack",
"module_type" : "SwiftTarget",
"name" : "WrappingHStack",
"path" : "Sources/WrappingHStack",
"product_memberships" : [
"WrappingHStack"
],
"sources" : [
"ContentManager.swift",
"InternalWrappingHStack.swift",
"NewLine.swift",
"ViewType.swift",
"WrappingHStack.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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 -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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/8] Compiling WrappingHStack WrappingHStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrappingHStack/WrappingHStack.swift:14:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public struct WrappingHStack: View {
13 | private struct HeightPreferenceKey: PreferenceKey {
14 | static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
15 | static func reduce(value: inout CGFloat , nextValue: () -> CGFloat) {
16 | value = nextValue()
[4/8] Compiling WrappingHStack NewLine.swift
[5/8] Compiling WrappingHStack ContentManager.swift
[6/8] Emitting module WrappingHStack
/Users/admin/builder/spi-builder-workspace/Sources/WrappingHStack/WrappingHStack.swift:14:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public struct WrappingHStack: View {
13 | private struct HeightPreferenceKey: PreferenceKey {
14 | static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
15 | static func reduce(value: inout CGFloat , nextValue: () -> CGFloat) {
16 | value = nextValue()
[7/8] Compiling WrappingHStack ViewType.swift
[8/8] Compiling WrappingHStack InternalWrappingHStack.swift
Build complete! (12.99s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "WrappingHStack",
"name" : "WrappingHStack",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "WrappingHStack",
"targets" : [
"WrappingHStack"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WrappingHStack",
"module_type" : "SwiftTarget",
"name" : "WrappingHStack",
"path" : "Sources/WrappingHStack",
"product_memberships" : [
"WrappingHStack"
],
"sources" : [
"ContentManager.swift",
"InternalWrappingHStack.swift",
"NewLine.swift",
"ViewType.swift",
"WrappingHStack.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.