Build Information
Successful build of circular-progress, reference develop (21f394
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 13:41:58 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/aleksproger/circular-progress.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aleksproger/circular-progress
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 21f394b Make onTimer public
Cloned https://github.com/aleksproger/circular-progress.git
Revision (git rev-parse @):
21f394bb48d26f63834c7298d538b043fad52bc1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/aleksproger/circular-progress.git at develop
========================================
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": "circular-progress",
"name": "circular-progress",
"url": "https://github.com/aleksproger/circular-progress.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/circular-progress",
"dependencies": [
]
}
]
}
Fetching https://github.com/aleksproger/circular-progress.git
[1/59] Fetching circular-progress
Fetched https://github.com/aleksproger/circular-progress.git from cache (0.66s)
Creating working copy for https://github.com/aleksproger/circular-progress.git
Working copy of https://github.com/aleksproger/circular-progress.git resolved at develop (21f394b)
warning: '.resolve-product-dependencies': dependency 'circular-progress' 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/aleksproger/circular-progress.git
{
"dependencies" : [
],
"manifest_display_name" : "circular-progress",
"name" : "circular-progress",
"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" : "CircularProgress",
"targets" : [
"CircularProgress"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CircularProgress",
"module_type" : "SwiftTarget",
"name" : "CircularProgress",
"path" : "Sources",
"product_memberships" : [
"CircularProgress"
],
"sources" : [
"CircularProgress.swift",
"CircularProgressState.swift",
"CircularProgressStyle.swift",
"DisplayLink+ViewModifier.swift",
"Example+OnTimer.swift",
"Examples/Example.swift",
"Shapes/Checkmark.swift",
"Shapes/Exclamation.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 CircularProgress Checkmark.swift
[4/11] Compiling CircularProgress Example+OnTimer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Example+OnTimer.swift:15:100: warning: main actor-isolated property 'block' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 | struct OnTimer: ViewModifier {
5 | let interval: TimeInterval
6 | let block: () -> Void
| `- note: property declared here
7 |
8 | init(_ interval: TimeInterval, _ block: @escaping () -> Void) {
:
13 | func body(content: Content) -> some View {
14 | content.onAppear {
15 | Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in withAnimation { block() } }
| `- warning: main actor-isolated property 'block' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | }
17 | }
[5/11] Compiling CircularProgress Example.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Example.swift:9:22: warning: use of 'frame' treated as a reference to instance method in protocol 'View'
7 | HStack {
8 | SimpleExampleView(lineWidth: 10)
9 | .frame(square: 100)
| |- warning: use of 'frame' treated as a reference to instance method in protocol 'View'
| `- note: use 'self.' to silence this warning
10 |
11 | RotatingExampleView(lineWidth: 10)
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:219:10: note: 'frame(square:alignment:)' declared here
217 | @warn_unqualified_access
218 | @inlinable
219 | func frame(square: CGFloat, alignment: Alignment = .center) -> some View {
| `- note: 'frame(square:alignment:)' declared here
220 | frame(width: square, height: square, alignment: alignment)
221 | }
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Example.swift:13:22: warning: use of 'frame' treated as a reference to instance method in protocol 'View'
11 | RotatingExampleView(lineWidth: 10)
12 | .accentColor(.purple)
13 | .frame(square: 100)
| |- warning: use of 'frame' treated as a reference to instance method in protocol 'View'
| `- note: use 'self.' to silence this warning
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:219:10: note: 'frame(square:alignment:)' declared here
217 | @warn_unqualified_access
218 | @inlinable
219 | func frame(square: CGFloat, alignment: Alignment = .center) -> some View {
| `- note: 'frame(square:alignment:)' declared here
220 | frame(width: square, height: square, alignment: alignment)
221 | }
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Example.swift:18:22: warning: use of 'frame' treated as a reference to instance method in protocol 'View'
16 | HStack {
17 | InteractiveExampleView(lineWidth: 10)
18 | .frame(square: 100)
| |- warning: use of 'frame' treated as a reference to instance method in protocol 'View'
| `- note: use 'self.' to silence this warning
19 |
20 | CustomExampleView(lineWidth: 10)
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:219:10: note: 'frame(square:alignment:)' declared here
217 | @warn_unqualified_access
218 | @inlinable
219 | func frame(square: CGFloat, alignment: Alignment = .center) -> some View {
| `- note: 'frame(square:alignment:)' declared here
220 | frame(width: square, height: square, alignment: alignment)
221 | }
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Example.swift:21:22: warning: use of 'frame' treated as a reference to instance method in protocol 'View'
19 |
20 | CustomExampleView(lineWidth: 10)
21 | .frame(square: 100)
| |- warning: use of 'frame' treated as a reference to instance method in protocol 'View'
| `- note: use 'self.' to silence this warning
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:219:10: note: 'frame(square:alignment:)' declared here
217 | @warn_unqualified_access
218 | @inlinable
219 | func frame(square: CGFloat, alignment: Alignment = .center) -> some View {
| `- note: 'frame(square:alignment:)' declared here
220 | frame(width: square, height: square, alignment: alignment)
221 | }
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Example.swift:25:18: warning: use of 'frame' treated as a reference to instance method in protocol 'View'
23 |
24 | InteractiveExampleView(lineWidth: 2)
25 | .frame(square: 20)
| |- warning: use of 'frame' treated as a reference to instance method in protocol 'View'
| `- note: use 'self.' to silence this warning
26 | }
27 | .padding()
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:219:10: note: 'frame(square:alignment:)' declared here
217 | @warn_unqualified_access
218 | @inlinable
219 | func frame(square: CGFloat, alignment: Alignment = .center) -> some View {
| `- note: 'frame(square:alignment:)' declared here
220 | frame(width: square, height: square, alignment: alignment)
221 | }
/Users/admin/builder/spi-builder-workspace/Sources/Examples/Example.swift:120:9: warning: call to main actor-isolated initializer 'init(lineWidth:state:color:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
117 | /// Allows to configure with maximum flexibility, while preserving `CircualrProgress` sematics in the declaration site. Similar to Apple styling approach.
118 | struct CustomCircularProgressStyle: CircularProgressStyle {
119 | func makeBody(configuration: CircularProgressStyleConfiguration<CustomState>) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
120 | CircularProgress(
| `- warning: call to main actor-isolated initializer 'init(lineWidth:state:color:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
121 | lineWidth: configuration.lineWidth,
122 | state: configuration.state,
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:64:12: note: calls to initializer 'init(lineWidth:state:color:_:)' from outside of its actor context are implicitly asynchronous
62 | /// )
63 | /// ```
64 | public init(
| `- note: calls to initializer 'init(lineWidth:state:color:_:)' from outside of its actor context are implicitly asynchronous
65 | lineWidth: CGFloat,
66 | state: State,
[6/11] Compiling CircularProgress Exclamation.swift
[7/11] Compiling CircularProgress CircularProgressStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgressStyle.swift:30:9: warning: call to main actor-isolated initializer 'init(lineWidth:state:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | /// Use the style as `.progressStyle(.simple)` instead of `.progressStyle(DefaultCircularProgressStyle())``
28 | public struct DefaultCircularProgressStyle: CircularProgressStyle {
29 | public func makeBody(configuration: CircularProgressStyleConfiguration<Double>) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
30 | CircularProgress(
| `- warning: call to main actor-isolated initializer 'init(lineWidth:state:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | lineWidth: configuration.lineWidth,
32 | state: configuration.state,
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:124:12: note: calls to initializer 'init(lineWidth:state:color:)' from outside of its actor context are implicitly asynchronous
122 | /// )
123 | /// ```
124 | public init(
| `- note: calls to initializer 'init(lineWidth:state:color:)' from outside of its actor context are implicitly asynchronous
125 | lineWidth: CGFloat,
126 | state: State,
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgressStyle.swift:42:9: warning: call to main actor-isolated initializer 'init(lineWidth:state:color:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// Use the style as `.progressStyle(.interactive)` instead of `.progressStyle(InteractiveCircularProgressStyle())``
40 | public struct InteractiveCircularProgressStyle: CircularProgressStyle {
41 | public func makeBody(configuration: CircularProgressStyleConfiguration<CircularProgressState>) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
42 | CircularProgress(
| `- warning: call to main actor-isolated initializer 'init(lineWidth:state:color:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | lineWidth: configuration.lineWidth,
44 | state: configuration.state,
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:64:12: note: calls to initializer 'init(lineWidth:state:color:_:)' from outside of its actor context are implicitly asynchronous
62 | /// )
63 | /// ```
64 | public init(
| `- note: calls to initializer 'init(lineWidth:state:color:_:)' from outside of its actor context are implicitly asynchronous
65 | lineWidth: CGFloat,
66 | state: State,
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgressStyle.swift:54:27: warning: call to main actor-isolated initializer 'init(lineWidth:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | switch progressState {
53 | case .inProgress: EmptyView()
54 | case .failed: ExclamationView(lineWidth: configuration.lineWidth).foregroundColor(.red)
| `- warning: call to main actor-isolated initializer 'init(lineWidth:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | case .succeeded: CheckmarkView(lineWidth: configuration.lineWidth).foregroundColor(.green) }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shapes/Exclamation.swift:41:12: note: calls to initializer 'init(lineWidth:)' from outside of its actor context are implicitly asynchronous
39 | let shape: ExclamationShape
40 |
41 | public init(lineWidth: CGFloat) {
| `- note: calls to initializer 'init(lineWidth:)' from outside of its actor context are implicitly asynchronous
42 | self.shape = ExclamationShape(lineWidth: lineWidth)
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgressStyle.swift:55:30: warning: call to main actor-isolated initializer 'init(lineWidth:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 | case .inProgress: EmptyView()
54 | case .failed: ExclamationView(lineWidth: configuration.lineWidth).foregroundColor(.red)
55 | case .succeeded: CheckmarkView(lineWidth: configuration.lineWidth).foregroundColor(.green) }
| `- warning: call to main actor-isolated initializer 'init(lineWidth:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
56 | }
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Shapes/Checkmark.swift:43:12: note: calls to initializer 'init(lineWidth:)' from outside of its actor context are implicitly asynchronous
41 | let shape: CheckmarkShape
42 |
43 | public init(lineWidth: CGFloat) {
| `- note: calls to initializer 'init(lineWidth:)' from outside of its actor context are implicitly asynchronous
44 | self.shape = CheckmarkShape(lineWidth: lineWidth)
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgressStyle.swift:64:9: warning: call to main actor-isolated initializer 'init(lineWidth:state:speed:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 | /// Use the style as `.progressStyle(.interactive)` instead of `.progressStyle(RotatingProgressStyle())``
62 | public struct RotatingProgressStyle: CircularProgressStyle {
63 | public func makeBody(configuration: CircularProgressStyleConfiguration<Double>) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
64 | RotatingCircleProgress(lineWidth: configuration.lineWidth, state: configuration.state)
| `- warning: call to main actor-isolated initializer 'init(lineWidth:state:speed:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | }
66 | }
:
79 | let speed: Double
80 |
81 | init(
| `- note: calls to initializer 'init(lineWidth:state:speed:)' from outside of its actor context are implicitly asynchronous
82 | lineWidth: CGFloat,
83 | state: State,
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgressStyle.swift:42:9: warning: sending 'configuration.state' risks causing data races; this is an error in the Swift 6 language mode
40 | public struct InteractiveCircularProgressStyle: CircularProgressStyle {
41 | public func makeBody(configuration: CircularProgressStyleConfiguration<CircularProgressState>) -> some View {
42 | CircularProgress(
| |- warning: sending 'configuration.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration.state' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
43 | lineWidth: configuration.lineWidth,
44 | state: configuration.state,
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgressStyle.swift:42:9: warning: sending task-isolated value of type '(CircularProgressState) -> _ConditionalContent<_ConditionalContent<EmptyView, some View>, some View>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
40 | public struct InteractiveCircularProgressStyle: CircularProgressStyle {
41 | public func makeBody(configuration: CircularProgressStyleConfiguration<CircularProgressState>) -> some View {
42 | CircularProgress(
| `- warning: sending task-isolated value of type '(CircularProgressState) -> _ConditionalContent<_ConditionalContent<EmptyView, some View>, some View>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
43 | lineWidth: configuration.lineWidth,
44 | state: configuration.state,
[8/11] Compiling CircularProgress CircularProgressState.swift
[9/11] Compiling CircularProgress CircularProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:225:1: warning: extension declares a conformance of imported type 'Double' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
223 |
224 | /// Allows to use plain `Double` as `State` in `CircularProgress`
225 | extension Double: RawRepresentable {
| |- warning: extension declares a conformance of imported type 'Double' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
226 | public var rawValue: Double { self }
227 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:232:1: warning: extension declares a conformance of imported type 'Float' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
230 |
231 | /// Allows to use plain `Float` as `State` in `CircularProgress`
232 | extension Float: RawRepresentable {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
233 | public var rawValue: Float { self }
234 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:239:1: warning: extension declares a conformance of imported type 'CGFloat' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
237 |
238 | /// Allows to use plain `CGFloat` as `State` in `CircularProgress`
239 | extension CGFloat: RawRepresentable {
| |- warning: extension declares a conformance of imported type 'CGFloat' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
240 | public var rawValue: CGFloat { self }
241 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:207:26: warning: use of 'frame' treated as a reference to instance method in protocol 'View'
205 |
206 | content(state)
207 | .frame(square: sqrt(pow(min(proxy.size.height, proxy.size.width) - lineWidth, 2) / 2))
| |- warning: use of 'frame' treated as a reference to instance method in protocol 'View'
| `- note: use 'self.' to silence this warning
208 | .position(x: proxy.size.width / 2, y: proxy.size.height / 2)
209 | }
:
217 | @warn_unqualified_access
218 | @inlinable
219 | func frame(square: CGFloat, alignment: Alignment = .center) -> some View {
| `- note: 'frame(square:alignment:)' declared here
220 | frame(width: square, height: square, alignment: alignment)
221 | }
[10/11] Emitting module CircularProgress
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:225:1: warning: extension declares a conformance of imported type 'Double' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
223 |
224 | /// Allows to use plain `Double` as `State` in `CircularProgress`
225 | extension Double: RawRepresentable {
| |- warning: extension declares a conformance of imported type 'Double' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
226 | public var rawValue: Double { self }
227 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:232:1: warning: extension declares a conformance of imported type 'Float' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
230 |
231 | /// Allows to use plain `Float` as `State` in `CircularProgress`
232 | extension Float: RawRepresentable {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
233 | public var rawValue: Float { self }
234 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:239:1: warning: extension declares a conformance of imported type 'CGFloat' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
237 |
238 | /// Allows to use plain `CGFloat` as `State` in `CircularProgress`
239 | extension CGFloat: RawRepresentable {
| |- warning: extension declares a conformance of imported type 'CGFloat' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
240 | public var rawValue: CGFloat { self }
241 |
/Users/admin/builder/spi-builder-workspace/Sources/DisplayLink+ViewModifier.swift:36:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DisplayLink' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
33 | final class DisplayLink: NSObject, ObservableObject {
| `- note: class 'DisplayLink' does not conform to the 'Sendable' protocol
34 | @Published var frameChange: Bool = false
35 |
36 | static let shared = DisplayLink()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DisplayLink' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
37 |
38 | func register() {
[11/11] Compiling CircularProgress DisplayLink+ViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/DisplayLink+ViewModifier.swift:36:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DisplayLink' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
33 | final class DisplayLink: NSObject, ObservableObject {
| `- note: class 'DisplayLink' does not conform to the 'Sendable' protocol
34 | @Published var frameChange: Bool = false
35 |
36 | static let shared = DisplayLink()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DisplayLink' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
37 |
38 | func register() {
/Users/admin/builder/spi-builder-workspace/Sources/DisplayLink+ViewModifier.swift:49:31: warning: capture of 'self' with non-sendable type 'DisplayLink?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | }
32 |
33 | final class DisplayLink: NSObject, ObservableObject {
| `- note: class 'DisplayLink' does not conform to the 'Sendable' protocol
34 | @Published var frameChange: Bool = false
35 |
:
47 | } else {
48 | Timer.scheduledTimer(withTimeInterval: 1/60, repeats: true) { [weak self] _ in
49 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'DisplayLink?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | frameChange.toggle()
51 | }
Build complete! (19.28s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "circular-progress",
"name" : "circular-progress",
"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" : "CircularProgress",
"targets" : [
"CircularProgress"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CircularProgress",
"module_type" : "SwiftTarget",
"name" : "CircularProgress",
"path" : "Sources",
"product_memberships" : [
"CircularProgress"
],
"sources" : [
"CircularProgress.swift",
"CircularProgressState.swift",
"CircularProgressStyle.swift",
"DisplayLink+ViewModifier.swift",
"Example+OnTimer.swift",
"Examples/Example.swift",
"Shapes/Checkmark.swift",
"Shapes/Exclamation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/aleksproger/circular-progress/develop
Repository: aleksproger/circular-progress
Swift version used: 6.0
Target: CircularProgress
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'CircularProgress'...
Finished extracting symbol information for 'CircularProgress'. (5.48s)
Building documentation for 'CircularProgress'...
Finished building documentation for 'CircularProgress' (2.55s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/aleksproger/circular-progress/develop
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.28s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.41s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.32s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.56s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit Identifier.swift
[7/53] Compiling SymbolKit KindIdentifier.swift
[8/53] Compiling SymbolKit Location.swift
[9/53] Compiling SymbolKit Mutability.swift
[10/57] Compiling SymbolKit Names.swift
[11/57] Compiling SymbolKit SPI.swift
[12/57] Compiling SymbolKit Snippet.swift
[13/57] Compiling SymbolKit Extension.swift
[14/57] Compiling SymbolKit SemanticVersion.swift
[15/57] Compiling SymbolKit AccessControl.swift
[16/57] Compiling SymbolKit Availability.swift
[17/57] Compiling SymbolKit AvailabilityItem.swift
[18/57] Compiling SymbolKit Domain.swift
[19/57] Compiling Snippets SnippetParser.swift
[20/57] Compiling Snippets Snippet.swift
[21/57] Emitting module Snippets
[22/57] Compiling SymbolKit GenericConstraint.swift
[23/57] Compiling SymbolKit GenericParameter.swift
[24/57] Compiling SymbolKit Generics.swift
[25/57] Compiling SymbolKit Namespace.swift
[26/57] Emitting module SymbolKit
[27/57] Compiling SymbolKit Symbol.swift
[28/57] Compiling SymbolKit SymbolKind.swift
[29/57] Compiling SymbolKit SymbolGraph.swift
[30/57] Compiling SymbolKit GraphCollector.swift
[31/57] Compiling SymbolKit SourceRange.swift
[32/57] Compiling SymbolKit Metadata.swift
[33/57] Compiling SymbolKit Module.swift
[34/57] Compiling SymbolKit OperatingSystem.swift
[35/57] Compiling SymbolKit Platform.swift
[36/57] Compiling SymbolKit Mixin+Equals.swift
[37/57] Compiling SymbolKit Mixin+Hash.swift
[38/57] Compiling SymbolKit Mixin.swift
[39/57] Compiling SymbolKit LineList.swift
[40/57] Compiling SymbolKit Position.swift
[41/57] Compiling SymbolKit Relationship.swift
[42/57] Compiling SymbolKit RelationshipKind.swift
[43/57] Compiling SymbolKit SourceOrigin.swift
[44/57] Compiling SymbolKit GenericConstraints.swift
[45/57] Compiling SymbolKit Swift.swift
[46/57] Compiling SymbolKit DeclarationFragments.swift
[47/57] Compiling SymbolKit Fragment.swift
[48/57] Compiling SymbolKit FragmentKind.swift
[49/57] Compiling SymbolKit FunctionParameter.swift
[50/57] Compiling SymbolKit FunctionSignature.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.06s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/10] Compiling CircularProgress Exclamation.swift
[3/10] Compiling CircularProgress Example+OnTimer.swift
[4/10] Compiling CircularProgress DisplayLink+ViewModifier.swift
[5/10] Compiling CircularProgress CircularProgressStyle.swift
[6/10] Compiling CircularProgress CircularProgressState.swift
[7/10] Compiling CircularProgress CircularProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:225:1: warning: extension declares a conformance of imported type 'Double' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
223 |
224 | /// Allows to use plain `Double` as `State` in `CircularProgress`
225 | extension Double: RawRepresentable {
| |- warning: extension declares a conformance of imported type 'Double' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
226 | public var rawValue: Double { self }
227 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:232:1: warning: extension declares a conformance of imported type 'Float' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
230 |
231 | /// Allows to use plain `Float` as `State` in `CircularProgress`
232 | extension Float: RawRepresentable {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
233 | public var rawValue: Float { self }
234 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:239:1: warning: extension declares a conformance of imported type 'CGFloat' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
237 |
238 | /// Allows to use plain `CGFloat` as `State` in `CircularProgress`
239 | extension CGFloat: RawRepresentable {
| |- warning: extension declares a conformance of imported type 'CGFloat' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
240 | public var rawValue: CGFloat { self }
241 |
[8/10] Compiling CircularProgress Example.swift
[9/10] Compiling CircularProgress Checkmark.swift
[10/10] Emitting module CircularProgress
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:225:1: warning: extension declares a conformance of imported type 'Double' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
223 |
224 | /// Allows to use plain `Double` as `State` in `CircularProgress`
225 | extension Double: RawRepresentable {
| |- warning: extension declares a conformance of imported type 'Double' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
226 | public var rawValue: Double { self }
227 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:232:1: warning: extension declares a conformance of imported type 'Float' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
230 |
231 | /// Allows to use plain `Float` as `State` in `CircularProgress`
232 | extension Float: RawRepresentable {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
233 | public var rawValue: Float { self }
234 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress.swift:239:1: warning: extension declares a conformance of imported type 'CGFloat' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
237 |
238 | /// Allows to use plain `CGFloat` as `State` in `CircularProgress`
239 | extension CGFloat: RawRepresentable {
| |- warning: extension declares a conformance of imported type 'CGFloat' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
240 | public var rawValue: CGFloat { self }
241 |
Build of target: 'CircularProgress' complete! (1.10s)
7294
54 /Users/admin/builder/spi-builder-workspace/.docs/aleksproger/circular-progress/develop
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/aleksproger/circular-progress/develop
File count: 7294
Doc size: 54.0MB
Preparing doc bundle ...
Uploading prod-aleksproger-circular-progress-develop-aae4b948.zip to s3://spi-docs-inbox/prod-aleksproger-circular-progress-develop-aae4b948.zip
Copying... [11%]
Copying... [21%]
Copying... [30%]
Copying... [40%]
Copying... [50%]
Copying... [60%]
Copying... [70%]
Copying... [80%]
Copying... [90%]
Copying... [100%]
Done.