Build Information
Successful build of SwiftUIPreciselyRoundedRectangle with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CypherPoet/SwiftUIPreciselyRoundedRectangle.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CypherPoet/SwiftUIPreciselyRoundedRectangle
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b46a082 tweak readme
Cloned https://github.com/CypherPoet/SwiftUIPreciselyRoundedRectangle.git
Revision (git rev-parse @):
b46a082a5a8c2c17572238a75bc8d4431beacd78
SUCCESS checkout https://github.com/CypherPoet/SwiftUIPreciselyRoundedRectangle.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/CypherPoet/SwiftUIPreciselyRoundedRectangle.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/8] Compiling SwiftUIGeometryUtils Double+Constants.swift
[5/8] Compiling SwiftUIGeometryUtils CGRect+Points.swift
[6/8] Compiling SwiftUIGeometryUtils RectangleCorner.swift
[7/8] Emitting module SwiftUIGeometryUtils
[8/8] Compiling SwiftUIGeometryUtils Angle+Constants.swift
[9/15] Compiling PreciselyRoundedRectangle View+cornerRadius.swift
[10/15] Compiling PreciselyRoundedRectangle PreciselyRoundedRectangle.swift
/Users/admin/builder/spi-builder-workspace/Sources/PreciselyRoundedRectangle/CornerRadiusMap.swift:25:23: warning: static property 'zeroed' is not concurrency-safe because non-'Sendable' type 'CornerRadiusMap' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 |
5 | public struct CornerRadiusMap {
| `- note: consider making struct 'CornerRadiusMap' conform to the 'Sendable' protocol
6 | public var topLeading: Double
7 | public var topTrailing: Double
:
23 |
24 |
25 | public static let zeroed: CornerRadiusMap = .init()
| |- warning: static property 'zeroed' is not concurrency-safe because non-'Sendable' type 'CornerRadiusMap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroed' 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
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/PreciselyRoundedRectangle/PreciselyRoundedRectangle.swift:7:16: warning: stored property 'cornerRadiusMap' of 'Sendable'-conforming struct 'PreciselyRoundedRectangle' has non-sendable type 'CornerRadiusMap'; this is an error in the Swift 6 language mode
5 | /// each corner.
6 | public struct PreciselyRoundedRectangle {
7 | public var cornerRadiusMap: CornerRadiusMap
| `- warning: stored property 'cornerRadiusMap' of 'Sendable'-conforming struct 'PreciselyRoundedRectangle' has non-sendable type 'CornerRadiusMap'; this is an error in the Swift 6 language mode
8 |
9 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/PreciselyRoundedRectangle/CornerRadiusMap.swift:5:15: note: consider making struct 'CornerRadiusMap' conform to the 'Sendable' protocol
3 |
4 |
5 | public struct CornerRadiusMap {
| `- note: consider making struct 'CornerRadiusMap' conform to the 'Sendable' protocol
6 | public var topLeading: Double
7 | public var topTrailing: Double
[11/15] Emitting module PreciselyRoundedRectangle
/Users/admin/builder/spi-builder-workspace/Sources/PreciselyRoundedRectangle/CornerRadiusMap.swift:25:23: warning: static property 'zeroed' is not concurrency-safe because non-'Sendable' type 'CornerRadiusMap' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 |
5 | public struct CornerRadiusMap {
| `- note: consider making struct 'CornerRadiusMap' conform to the 'Sendable' protocol
6 | public var topLeading: Double
7 | public var topTrailing: Double
:
23 |
24 |
25 | public static let zeroed: CornerRadiusMap = .init()
| |- warning: static property 'zeroed' is not concurrency-safe because non-'Sendable' type 'CornerRadiusMap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroed' 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
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/PreciselyRoundedRectangle/PreciselyRoundedRectangle.swift:7:16: warning: stored property 'cornerRadiusMap' of 'Sendable'-conforming struct 'PreciselyRoundedRectangle' has non-sendable type 'CornerRadiusMap'; this is an error in the Swift 6 language mode
5 | /// each corner.
6 | public struct PreciselyRoundedRectangle {
7 | public var cornerRadiusMap: CornerRadiusMap
| `- warning: stored property 'cornerRadiusMap' of 'Sendable'-conforming struct 'PreciselyRoundedRectangle' has non-sendable type 'CornerRadiusMap'; this is an error in the Swift 6 language mode
8 |
9 | public init(
/Users/admin/builder/spi-builder-workspace/Sources/PreciselyRoundedRectangle/CornerRadiusMap.swift:5:15: note: consider making struct 'CornerRadiusMap' conform to the 'Sendable' protocol
3 |
4 |
5 | public struct CornerRadiusMap {
| `- note: consider making struct 'CornerRadiusMap' conform to the 'Sendable' protocol
6 | public var topLeading: Double
7 | public var topTrailing: Double
[12/15] Compiling PreciselyRoundedRectangle Path+Init.swift
[13/15] Compiling PreciselyRoundedRectangle NSBezierPath+cgPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/PreciselyRoundedRectangle/Toolbox/Extensions/NSBezierPath+cgPath.swift:17:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
15 | let type = element(at: i, associatedPoints: &points)
16 |
17 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
18 | case .moveTo:
19 | path.move(to: points[0])
[14/15] Compiling PreciselyRoundedRectangle CornerRadiusMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/PreciselyRoundedRectangle/CornerRadiusMap.swift:25:23: warning: static property 'zeroed' is not concurrency-safe because non-'Sendable' type 'CornerRadiusMap' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 |
5 | public struct CornerRadiusMap {
| `- note: consider making struct 'CornerRadiusMap' conform to the 'Sendable' protocol
6 | public var topLeading: Double
7 | public var topTrailing: Double
:
23 |
24 |
25 | public static let zeroed: CornerRadiusMap = .init()
| |- warning: static property 'zeroed' is not concurrency-safe because non-'Sendable' type 'CornerRadiusMap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zeroed' 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
26 | }
27 |
[15/15] Compiling PreciselyRoundedRectangle BezierPath.swift
Build complete! (34.95s)
Fetching https://github.com/CypherPoet/SwiftUIGeometryUtils
[1/137] Fetching swiftuigeometryutils
Fetched https://github.com/CypherPoet/SwiftUIGeometryUtils from cache (1.18s)
Computing version for https://github.com/CypherPoet/SwiftUIGeometryUtils
Computed https://github.com/CypherPoet/SwiftUIGeometryUtils at 0.2.1 (0.68s)
Creating working copy for https://github.com/CypherPoet/SwiftUIGeometryUtils
Working copy of https://github.com/CypherPoet/SwiftUIGeometryUtils resolved at 0.2.1
Build complete.
{
"dependencies" : [
{
"identity" : "swiftuigeometryutils",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "0.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/CypherPoet/SwiftUIGeometryUtils"
}
],
"manifest_display_name" : "SwiftUIPreciselyRoundedRectangle",
"name" : "SwiftUIPreciselyRoundedRectangle",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "PreciselyRoundedRectangle",
"targets" : [
"PreciselyRoundedRectangle"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PreciselyRoundedRectangleTests",
"module_type" : "SwiftTarget",
"name" : "PreciselyRoundedRectangleTests",
"path" : "Tests/PreciselyRoundedRectangle",
"sources" : [
"Cases/PreciselyRoundedRectangleTests.swift"
],
"target_dependencies" : [
"PreciselyRoundedRectangle"
],
"type" : "test"
},
{
"c99name" : "PreciselyRoundedRectangle",
"module_type" : "SwiftTarget",
"name" : "PreciselyRoundedRectangle",
"path" : "Sources/PreciselyRoundedRectangle",
"product_dependencies" : [
"SwiftUIGeometryUtils"
],
"product_memberships" : [
"PreciselyRoundedRectangle"
],
"sources" : [
"BezierPath.swift",
"CornerRadiusMap.swift",
"PreciselyRoundedRectangle.swift",
"Toolbox/Extensions/NSBezierPath+cgPath.swift",
"Toolbox/Extensions/Path+Init.swift",
"View Modifiers/View+cornerRadius.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.