Build Information
Successful build of Spiral, reference main (7921e1
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 17:49:39 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 -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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/buh/Spiral.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/buh/Spiral
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7921e17 Update FUNDING.yml
Cloned https://github.com/buh/Spiral.git
Revision (git rev-parse @):
7921e17f20062e62c4fe6ee98fb8ed61e6f3427e
SUCCESS checkout https://github.com/buh/Spiral.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": "spiral",
"name": "Spiral",
"url": "https://github.com/buh/Spiral.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spiral",
"dependencies": [
]
}
]
}
Fetching https://github.com/buh/Spiral.git
[1/969] Fetching spiral
Fetched https://github.com/buh/Spiral.git from cache (1.04s)
Creating working copy for https://github.com/buh/Spiral.git
Working copy of https://github.com/buh/Spiral.git resolved at main (7921e17)
warning: '.resolve-product-dependencies': dependency 'spiral' 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/buh/Spiral.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 -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/6] Compiling Spiral SpiralPoints.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spiral/SpiralPoints.swift:19:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SpiralPoint' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Spiral point with location and angular position.
10 | public struct SpiralPoint {
| `- note: consider making struct 'SpiralPoint' conform to the 'Sendable' protocol
11 |
12 | /// A spiral point location.
:
17 |
18 | /// A default empty value.
19 | public static let zero = SpiralPoint(point: .zero, angle: .zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SpiralPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
20 | }
21 |
[4/6] Compiling Spiral SpiralView.swift
[5/6] Emitting module Spiral
/Users/admin/builder/spi-builder-workspace/Sources/Spiral/Spiral.swift:13:17: warning: stored property 'pathType' of 'Sendable'-conforming struct 'Spiral' has non-sendable type 'SpiralPathType'; this is an error in the Swift 6 language mode
11 | public struct Spiral: Shape {
12 |
13 | private let pathType: SpiralPathType
| `- warning: stored property 'pathType' of 'Sendable'-conforming struct 'Spiral' has non-sendable type 'SpiralPathType'; this is an error in the Swift 6 language mode
14 | private let startAt: Angle
15 | private let endAt: Angle
:
102 |
103 | /// Type of path to draw the spiral.
104 | public enum SpiralPathType {
| `- note: consider making enum 'SpiralPathType' conform to the 'Sendable' protocol
105 | /// Line type draws lines between spiral points.
106 | case line
/Users/admin/builder/spi-builder-workspace/Sources/Spiral/SpiralPoints.swift:19:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SpiralPoint' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Spiral point with location and angular position.
10 | public struct SpiralPoint {
| `- note: consider making struct 'SpiralPoint' conform to the 'Sendable' protocol
11 |
12 | /// A spiral point location.
:
17 |
18 | /// A default empty value.
19 | public static let zero = SpiralPoint(point: .zero, angle: .zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SpiralPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
20 | }
21 |
[6/6] Compiling Spiral Spiral.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spiral/Spiral.swift:13:17: warning: stored property 'pathType' of 'Sendable'-conforming struct 'Spiral' has non-sendable type 'SpiralPathType'; this is an error in the Swift 6 language mode
11 | public struct Spiral: Shape {
12 |
13 | private let pathType: SpiralPathType
| `- warning: stored property 'pathType' of 'Sendable'-conforming struct 'Spiral' has non-sendable type 'SpiralPathType'; this is an error in the Swift 6 language mode
14 | private let startAt: Angle
15 | private let endAt: Angle
:
102 |
103 | /// Type of path to draw the spiral.
104 | public enum SpiralPathType {
| `- note: consider making enum 'SpiralPathType' conform to the 'Sendable' protocol
105 | /// Line type draws lines between spiral points.
106 | case line
Build complete! (12.70s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Spiral",
"name" : "Spiral",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "Spiral",
"targets" : [
"Spiral"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Spiral",
"module_type" : "SwiftTarget",
"name" : "Spiral",
"path" : "Sources/Spiral",
"product_memberships" : [
"Spiral"
],
"sources" : [
"Spiral.swift",
"SpiralPoints.swift",
"SpiralView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.