Build Information
Successful build of CoreGraphicsExtensions, reference 1.8.1 (df652f
), with Swift 6.0 (beta) for macOS (SPM) on 14 Sep 2024 07:26:35 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/heestand-xyz/CoreGraphicsExtensions.git
Reference: 1.8.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/heestand-xyz/CoreGraphicsExtensions
* tag 1.8.1 -> FETCH_HEAD
HEAD is now at df652fb Slicing
Cloned https://github.com/heestand-xyz/CoreGraphicsExtensions.git
Revision (git rev-parse @):
df652fb05da50b5c7d68c05d5e3797394c96938e
SUCCESS checkout https://github.com/heestand-xyz/CoreGraphicsExtensions.git at 1.8.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/heestand-xyz/CoreGraphicsExtensions.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.txt
[3/16] Compiling CoreGraphicsExtensions CGFloat+Lerp.swift
[4/17] Compiling CoreGraphicsExtensions CGPoint+Lerp.swift
[5/17] Compiling CoreGraphicsExtensions ReaderTiming.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:14:23: warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
| |- warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onAppear' 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 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:15:23: warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
| |- warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onChange' 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
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:17:23: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
:
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'always' 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
18 |
19 | public init(rawValue: Int) {
[6/17] Compiling CoreGraphicsExtensions SizeReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:17:23: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
:
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'always' 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
18 |
19 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:14:23: warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
| |- warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onAppear' 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 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:15:23: warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
| |- warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onChange' 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
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
[7/17] Compiling CoreGraphicsExtensions SafeAreaReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/SafeAreaReader.swift:25:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SafeArea' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | @available(iOS 14, macOS 11, *)
11 | public struct SafeArea: Equatable {
| `- note: consider making struct 'SafeArea' conform to the 'Sendable' protocol
12 | /// Size ignoring safe area
13 | public let size: CGSize
:
23 | size: frame.size)
24 | }
25 | public static let zero = SafeArea(frame: .zero, insets: EdgeInsets(top: 0.0, leading: 0.0, bottom: 0.0, trailing: 0.0))
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SafeArea' 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
26 | public static let one = SafeArea(frame: .one, insets: EdgeInsets(top: 1.0, leading: 1.0, bottom: 1.0, trailing: 1.0))
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/SafeAreaReader.swift:26:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'SafeArea' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | @available(iOS 14, macOS 11, *)
11 | public struct SafeArea: Equatable {
| `- note: consider making struct 'SafeArea' conform to the 'Sendable' protocol
12 | /// Size ignoring safe area
13 | public let size: CGSize
:
24 | }
25 | public static let zero = SafeArea(frame: .zero, insets: EdgeInsets(top: 0.0, leading: 0.0, bottom: 0.0, trailing: 0.0))
26 | public static let one = SafeArea(frame: .one, insets: EdgeInsets(top: 1.0, leading: 1.0, bottom: 1.0, trailing: 1.0))
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'SafeArea' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:17:23: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
:
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'always' 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
18 |
19 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:14:23: warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
| |- warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onAppear' 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 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:15:23: warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
| |- warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onChange' 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
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
[8/17] Compiling CoreGraphicsExtensions CGVector.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:17:23: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
:
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'always' 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
18 |
19 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:14:23: warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
| |- warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onAppear' 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 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:15:23: warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
| |- warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onChange' 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
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
[9/17] Compiling CoreGraphicsExtensions FrameReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:17:23: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
:
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'always' 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
18 |
19 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:14:23: warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
| |- warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onAppear' 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 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:15:23: warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
| |- warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onChange' 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
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
[10/17] Compiling CoreGraphicsExtensions CGSize+Resolution.swift
[11/17] Compiling CoreGraphicsExtensions CGSize.swift
[12/17] Compiling CoreGraphicsExtensions CGRect.swift
[13/17] Compiling CoreGraphicsExtensions CGSize+Place.swift
[14/17] Emitting module CoreGraphicsExtensions
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:17:23: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
:
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'always' 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
18 |
19 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/SafeAreaReader.swift:25:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SafeArea' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | @available(iOS 14, macOS 11, *)
11 | public struct SafeArea: Equatable {
| `- note: consider making struct 'SafeArea' conform to the 'Sendable' protocol
12 | /// Size ignoring safe area
13 | public let size: CGSize
:
23 | size: frame.size)
24 | }
25 | public static let zero = SafeArea(frame: .zero, insets: EdgeInsets(top: 0.0, leading: 0.0, bottom: 0.0, trailing: 0.0))
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SafeArea' 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
26 | public static let one = SafeArea(frame: .one, insets: EdgeInsets(top: 1.0, leading: 1.0, bottom: 1.0, trailing: 1.0))
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/SafeAreaReader.swift:26:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'SafeArea' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | @available(iOS 14, macOS 11, *)
11 | public struct SafeArea: Equatable {
| `- note: consider making struct 'SafeArea' conform to the 'Sendable' protocol
12 | /// Size ignoring safe area
13 | public let size: CGSize
:
24 | }
25 | public static let zero = SafeArea(frame: .zero, insets: EdgeInsets(top: 0.0, leading: 0.0, bottom: 0.0, trailing: 0.0))
26 | public static let one = SafeArea(frame: .one, insets: EdgeInsets(top: 1.0, leading: 1.0, bottom: 1.0, trailing: 1.0))
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'SafeArea' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:14:23: warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
| |- warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onAppear' 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 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:15:23: warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
| |- warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onChange' 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
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
[15/17] Compiling CoreGraphicsExtensions CGFloat+Scale.swift
[16/17] Compiling CoreGraphicsExtensions CGPoint.swift
[17/17] Compiling CoreGraphicsExtensions OriginReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:17:23: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
:
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'always' 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
18 |
19 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:14:23: warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
| |- warning: static property 'onAppear' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onAppear' 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 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreGraphicsExtensions/Geometry/Timing/ReaderTiming.swift:15:23: warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ReaderTiming: OptionSet {
| `- note: consider making struct 'ReaderTiming' conform to the 'Sendable' protocol
11 |
12 | public let rawValue: Int
13 |
14 | public static let onAppear = ReaderTiming(rawValue: 1 << 0)
15 | public static let onChange = ReaderTiming(rawValue: 1 << 1)
| |- warning: static property 'onChange' is not concurrency-safe because non-'Sendable' type 'ReaderTiming' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onChange' 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
16 |
17 | public static let always: ReaderTiming = [.onAppear, .onChange]
Build complete! (16.79s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CoreGraphicsExtensions",
"name" : "CoreGraphicsExtensions",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CoreGraphicsExtensions",
"targets" : [
"CoreGraphicsExtensions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoreGraphicsExtensions",
"module_type" : "SwiftTarget",
"name" : "CoreGraphicsExtensions",
"path" : "Sources/CoreGraphicsExtensions",
"product_memberships" : [
"CoreGraphicsExtensions"
],
"sources" : [
"CGFloat+Scale.swift",
"CGPoint.swift",
"CGRect.swift",
"CGSize+Place.swift",
"CGSize+Resolution.swift",
"CGSize.swift",
"CGVector.swift",
"Geometry/FrameReader.swift",
"Geometry/OriginReader.swift",
"Geometry/SafeAreaReader.swift",
"Geometry/SizeReader.swift",
"Geometry/Timing/ReaderTiming.swift",
"Lerp/CGFloat+Lerp.swift",
"Lerp/CGPoint+Lerp.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.