Build Information
Successful build of Fit, reference 1.0.2 (701b55
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 04:39:27 UTC.
Swift 6 data race errors: 4
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/OlehKorchytskyi/Fit.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OlehKorchytskyi/Fit
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 701b55b - removed unnecessary container width check; - code cleaning.
Cloned https://github.com/OlehKorchytskyi/Fit.git
Revision (git rev-parse @):
701b55b29197fe816325a567cc37c61972033796
SUCCESS checkout https://github.com/OlehKorchytskyi/Fit.git at 1.0.2
========================================
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": "fit",
"name": "Fit",
"url": "https://github.com/OlehKorchytskyi/Fit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Fit",
"dependencies": [
]
}
]
}
Fetching https://github.com/OlehKorchytskyi/Fit.git
[3/61] Fetching fit
Fetched https://github.com/OlehKorchytskyi/Fit.git from cache (0.72s)
Creating working copy for https://github.com/OlehKorchytskyi/Fit.git
Working copy of https://github.com/OlehKorchytskyi/Fit.git resolved at 1.0.2 (701b55b)
warning: '.resolve-product-dependencies': dependency 'fit' 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/OlehKorchytskyi/Fit.git
{
"dependencies" : [
],
"manifest_display_name" : "Fit",
"name" : "Fit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Fit",
"targets" : [
"Fit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FitTests",
"module_type" : "SwiftTarget",
"name" : "FitTests",
"path" : "Tests/FitTests",
"sources" : [
"FitTests.swift"
],
"target_dependencies" : [
"Fit"
],
"type" : "test"
},
{
"c99name" : "Fit",
"module_type" : "SwiftTarget",
"name" : "Fit",
"path" : "Sources/Fit",
"product_memberships" : [
"Fit"
],
"sources" : [
"Fit.swift",
"FitLayout.swift",
"ItemSpacing.swift",
"LayoutCache.swift",
"LineBreak.swift",
"LineCache.swift",
"LineSpacing.swift",
"LineStyle.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/11] Compiling Fit LineSpacing.swift
[4/11] Compiling Fit LineCache.swift
[5/11] Compiling Fit ItemSpacing.swift
[6/11] Compiling Fit LayoutCache.swift
[7/11] Compiling Fit LineBreak.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fit/LineBreak.swift:12:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LineBreak?' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | struct LineBreakKey: LayoutValueKey {
12 | static let defaultValue: LineBreak? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LineBreak?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
13 | }
14 |
:
26 | /// }
27 | /// ```
28 | public struct LineBreak {
| `- note: consider making struct 'LineBreak' conform to the 'Sendable' protocol
29 |
30 | let after: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Fit/LineBreak.swift:46:23: warning: static property 'noBreak' is not concurrency-safe because non-'Sendable' type 'LineBreak' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct LineBreak {
| `- note: consider making struct 'LineBreak' conform to the 'Sendable' protocol
29 |
30 | let after: Bool
:
44 | extension LineBreak {
45 |
46 | public static let noBreak = LineBreak(after: false, condition: { _ in false })
| |- warning: static property 'noBreak' is not concurrency-safe because non-'Sendable' type 'LineBreak' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBreak' 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
47 |
48 | /// A demand to place the element on the next line.
/Users/admin/builder/spi-builder-workspace/Sources/Fit/LineBreak.swift:49:23: warning: static property 'before' is not concurrency-safe because non-'Sendable' type 'LineBreak' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct LineBreak {
| `- note: consider making struct 'LineBreak' conform to the 'Sendable' protocol
29 |
30 | let after: Bool
:
47 |
48 | /// A demand to place the element on the next line.
49 | public static let before = LineBreak(after: false, condition: { _ in true })
| |- warning: static property 'before' is not concurrency-safe because non-'Sendable' type 'LineBreak' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'before' 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
50 |
51 | /// A conditional demand to place the element on the next line.
/Users/admin/builder/spi-builder-workspace/Sources/Fit/LineBreak.swift:59:23: warning: static property 'after' is not concurrency-safe because non-'Sendable' type 'LineBreak' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct LineBreak {
| `- note: consider making struct 'LineBreak' conform to the 'Sendable' protocol
29 |
30 | let after: Bool
:
57 |
58 | /// A demand to line brake after current element.
59 | public static let after = LineBreak(after: true, condition: { _ in true })
| |- warning: static property 'after' is not concurrency-safe because non-'Sendable' type 'LineBreak' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'after' 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
60 | /// A conditional demand to line brake after current element.
61 | /// - Parameter condition: a required condition that needs to be met for performing a line brake.
[8/11] Compiling Fit Fit.swift
[9/11] Emitting module Fit
/Users/admin/builder/spi-builder-workspace/Sources/Fit/LineBreak.swift:12:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LineBreak?' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | struct LineBreakKey: LayoutValueKey {
12 | static let defaultValue: LineBreak? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LineBreak?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
13 | }
14 |
:
26 | /// }
27 | /// ```
28 | public struct LineBreak {
| `- note: consider making struct 'LineBreak' conform to the 'Sendable' protocol
29 |
30 | let after: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Fit/LineBreak.swift:46:23: warning: static property 'noBreak' is not concurrency-safe because non-'Sendable' type 'LineBreak' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct LineBreak {
| `- note: consider making struct 'LineBreak' conform to the 'Sendable' protocol
29 |
30 | let after: Bool
:
44 | extension LineBreak {
45 |
46 | public static let noBreak = LineBreak(after: false, condition: { _ in false })
| |- warning: static property 'noBreak' is not concurrency-safe because non-'Sendable' type 'LineBreak' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBreak' 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
47 |
48 | /// A demand to place the element on the next line.
/Users/admin/builder/spi-builder-workspace/Sources/Fit/LineBreak.swift:49:23: warning: static property 'before' is not concurrency-safe because non-'Sendable' type 'LineBreak' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct LineBreak {
| `- note: consider making struct 'LineBreak' conform to the 'Sendable' protocol
29 |
30 | let after: Bool
:
47 |
48 | /// A demand to place the element on the next line.
49 | public static let before = LineBreak(after: false, condition: { _ in true })
| |- warning: static property 'before' is not concurrency-safe because non-'Sendable' type 'LineBreak' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'before' 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
50 |
51 | /// A conditional demand to place the element on the next line.
/Users/admin/builder/spi-builder-workspace/Sources/Fit/LineBreak.swift:59:23: warning: static property 'after' is not concurrency-safe because non-'Sendable' type 'LineBreak' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct LineBreak {
| `- note: consider making struct 'LineBreak' conform to the 'Sendable' protocol
29 |
30 | let after: Bool
:
57 |
58 | /// A demand to line brake after current element.
59 | public static let after = LineBreak(after: true, condition: { _ in true })
| |- warning: static property 'after' is not concurrency-safe because non-'Sendable' type 'LineBreak' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'after' 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
60 | /// A conditional demand to line brake after current element.
61 | /// - Parameter condition: a required condition that needs to be met for performing a line brake.
[10/11] Compiling Fit FitLayout.swift
[11/11] Compiling Fit LineStyle.swift
Build complete! (20.24s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/Fit/PrivacyInfo.xcprivacy
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Fit",
"name" : "Fit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Fit",
"targets" : [
"Fit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FitTests",
"module_type" : "SwiftTarget",
"name" : "FitTests",
"path" : "Tests/FitTests",
"sources" : [
"FitTests.swift"
],
"target_dependencies" : [
"Fit"
],
"type" : "test"
},
{
"c99name" : "Fit",
"module_type" : "SwiftTarget",
"name" : "Fit",
"path" : "Sources/Fit",
"product_memberships" : [
"Fit"
],
"sources" : [
"Fit.swift",
"FitLayout.swift",
"ItemSpacing.swift",
"LayoutCache.swift",
"LineBreak.swift",
"LineCache.swift",
"LineSpacing.swift",
"LineStyle.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.