Build Information
Successful build of Everything, reference 1.1.0 (c697f4
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 21:44:54 UTC.
Swift 6 data race errors: 63
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
| |- note: add '@MainActor' to make static property 'allExamples' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
[148/154] Compiling Everything Button+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:5:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
3 | // MARK: -
4 |
5 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public init(stringLiteral value: String) {
7 | self.init(string: value)!
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:11:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | }
10 |
11 | extension URL: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:44:39: warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | private let closure: @Sendable (@Sendable (UnsafeRawBufferPointer) -> Void) -> Void
41 |
42 | public init(_ value: some Any) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
43 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
44 | Swift.withUnsafeBytes(of: value) { buffer in
| `- warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | callback(buffer)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:52:13: warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | }
49 |
50 | public init(_ value: [some Any]) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
51 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
52 | value.withUnsafeBytes { buffer in
| `- warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | callback(buffer)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:6:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
7 | } set: {
8 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:8:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
7 | } set: {
8 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
9 | }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:16:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
15 | }, set: {
16 | self.wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
17 | })
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:43: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:66: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:34:29: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:36:13: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:56:27: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:58:13: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:50:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | public struct ErrorHandlerKey: EnvironmentKey {
50 | public static var defaultValue = ErrorHandler {
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fatalError("Unhandled error: \($0)")
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:75:18: warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
67 | public struct ErrorHandlingModifier: ViewModifier {
68 | @State
69 | var error: Error?
| `- note: mutation of this property is only permitted within the actor
70 | @State
71 | var isPresented = false
:
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
| `- warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
76 | self.isPresented = true
77 | })
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:76:18: warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
69 | var error: Error?
70 | @State
71 | var isPresented = false
| `- note: mutation of this property is only permitted within the actor
72 |
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
76 | self.isPresented = true
| `- warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
77 | })
78 | .alert(isPresented: $isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:50:16: warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
48 | }
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
| |- warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:51:16: warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
| |- warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:52:16: warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
| |- warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:53:16: warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
| |- warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:54:16: warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
| |- warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:55:16: warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
| |- warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:56:16: warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
| |- warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:57:16: warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
| |- warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allExamples' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
[149/154] Compiling Everything ErrorHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:5:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
3 | // MARK: -
4 |
5 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public init(stringLiteral value: String) {
7 | self.init(string: value)!
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:11:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | }
10 |
11 | extension URL: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:44:39: warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | private let closure: @Sendable (@Sendable (UnsafeRawBufferPointer) -> Void) -> Void
41 |
42 | public init(_ value: some Any) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
43 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
44 | Swift.withUnsafeBytes(of: value) { buffer in
| `- warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | callback(buffer)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:52:13: warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | }
49 |
50 | public init(_ value: [some Any]) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
51 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
52 | value.withUnsafeBytes { buffer in
| `- warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | callback(buffer)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:6:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
7 | } set: {
8 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:8:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
7 | } set: {
8 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
9 | }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:16:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
15 | }, set: {
16 | self.wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
17 | })
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:43: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:66: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:34:29: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:36:13: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:56:27: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:58:13: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:50:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | public struct ErrorHandlerKey: EnvironmentKey {
50 | public static var defaultValue = ErrorHandler {
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fatalError("Unhandled error: \($0)")
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:75:18: warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
67 | public struct ErrorHandlingModifier: ViewModifier {
68 | @State
69 | var error: Error?
| `- note: mutation of this property is only permitted within the actor
70 | @State
71 | var isPresented = false
:
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
| `- warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
76 | self.isPresented = true
77 | })
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:76:18: warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
69 | var error: Error?
70 | @State
71 | var isPresented = false
| `- note: mutation of this property is only permitted within the actor
72 |
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
76 | self.isPresented = true
| `- warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
77 | })
78 | .alert(isPresented: $isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:50:16: warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
48 | }
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
| |- warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:51:16: warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
| |- warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:52:16: warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
| |- warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:53:16: warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
| |- warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:54:16: warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
| |- warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:55:16: warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
| |- warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:56:16: warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
| |- warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:57:16: warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
| |- warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allExamples' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
[150/154] Compiling Everything Image+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:5:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
3 | // MARK: -
4 |
5 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public init(stringLiteral value: String) {
7 | self.init(string: value)!
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:11:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | }
10 |
11 | extension URL: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:44:39: warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | private let closure: @Sendable (@Sendable (UnsafeRawBufferPointer) -> Void) -> Void
41 |
42 | public init(_ value: some Any) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
43 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
44 | Swift.withUnsafeBytes(of: value) { buffer in
| `- warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | callback(buffer)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:52:13: warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | }
49 |
50 | public init(_ value: [some Any]) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
51 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
52 | value.withUnsafeBytes { buffer in
| `- warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | callback(buffer)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:6:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
7 | } set: {
8 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:8:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
7 | } set: {
8 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
9 | }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:16:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
15 | }, set: {
16 | self.wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
17 | })
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:43: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:66: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:34:29: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:36:13: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:56:27: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:58:13: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:50:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | public struct ErrorHandlerKey: EnvironmentKey {
50 | public static var defaultValue = ErrorHandler {
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fatalError("Unhandled error: \($0)")
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:75:18: warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
67 | public struct ErrorHandlingModifier: ViewModifier {
68 | @State
69 | var error: Error?
| `- note: mutation of this property is only permitted within the actor
70 | @State
71 | var isPresented = false
:
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
| `- warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
76 | self.isPresented = true
77 | })
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:76:18: warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
69 | var error: Error?
70 | @State
71 | var isPresented = false
| `- note: mutation of this property is only permitted within the actor
72 |
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
76 | self.isPresented = true
| `- warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
77 | })
78 | .alert(isPresented: $isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:50:16: warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
48 | }
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
| |- warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:51:16: warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
| |- warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:52:16: warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
| |- warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:53:16: warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
| |- warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:54:16: warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
| |- warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:55:16: warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
| |- warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:56:16: warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
| |- warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:57:16: warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
| |- warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allExamples' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
[151/154] Compiling Everything InigoColorPalette.swift
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:5:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
3 | // MARK: -
4 |
5 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public init(stringLiteral value: String) {
7 | self.init(string: value)!
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:11:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | }
10 |
11 | extension URL: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:44:39: warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | private let closure: @Sendable (@Sendable (UnsafeRawBufferPointer) -> Void) -> Void
41 |
42 | public init(_ value: some Any) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
43 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
44 | Swift.withUnsafeBytes(of: value) { buffer in
| `- warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | callback(buffer)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:52:13: warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | }
49 |
50 | public init(_ value: [some Any]) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
51 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
52 | value.withUnsafeBytes { buffer in
| `- warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | callback(buffer)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:6:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
7 | } set: {
8 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:8:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
7 | } set: {
8 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
9 | }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:16:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
15 | }, set: {
16 | self.wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
17 | })
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:43: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:66: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:34:29: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:36:13: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:56:27: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:58:13: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:50:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | public struct ErrorHandlerKey: EnvironmentKey {
50 | public static var defaultValue = ErrorHandler {
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fatalError("Unhandled error: \($0)")
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:75:18: warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
67 | public struct ErrorHandlingModifier: ViewModifier {
68 | @State
69 | var error: Error?
| `- note: mutation of this property is only permitted within the actor
70 | @State
71 | var isPresented = false
:
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
| `- warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
76 | self.isPresented = true
77 | })
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:76:18: warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
69 | var error: Error?
70 | @State
71 | var isPresented = false
| `- note: mutation of this property is only permitted within the actor
72 |
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
76 | self.isPresented = true
| `- warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
77 | })
78 | .alert(isPresented: $isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:50:16: warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
48 | }
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
| |- warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:51:16: warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
| |- warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:52:16: warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
| |- warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:53:16: warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
| |- warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:54:16: warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
| |- warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:55:16: warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
| |- warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:56:16: warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
| |- warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:57:16: warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
| |- warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allExamples' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
[152/154] Compiling Everything Styles.swift
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:5:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
3 | // MARK: -
4 |
5 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public init(stringLiteral value: String) {
7 | self.init(string: value)!
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:11:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | }
10 |
11 | extension URL: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:44:39: warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | private let closure: @Sendable (@Sendable (UnsafeRawBufferPointer) -> Void) -> Void
41 |
42 | public init(_ value: some Any) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
43 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
44 | Swift.withUnsafeBytes(of: value) { buffer in
| `- warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | callback(buffer)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:52:13: warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | }
49 |
50 | public init(_ value: [some Any]) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
51 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
52 | value.withUnsafeBytes { buffer in
| `- warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | callback(buffer)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:6:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
7 | } set: {
8 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:8:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
7 | } set: {
8 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
9 | }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:16:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
15 | }, set: {
16 | self.wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
17 | })
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:43: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:66: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:34:29: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:36:13: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:56:27: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:58:13: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:50:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | public struct ErrorHandlerKey: EnvironmentKey {
50 | public static var defaultValue = ErrorHandler {
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fatalError("Unhandled error: \($0)")
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:75:18: warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
67 | public struct ErrorHandlingModifier: ViewModifier {
68 | @State
69 | var error: Error?
| `- note: mutation of this property is only permitted within the actor
70 | @State
71 | var isPresented = false
:
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
| `- warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
76 | self.isPresented = true
77 | })
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:76:18: warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
69 | var error: Error?
70 | @State
71 | var isPresented = false
| `- note: mutation of this property is only permitted within the actor
72 |
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
76 | self.isPresented = true
| `- warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
77 | })
78 | .alert(isPresented: $isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:50:16: warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
48 | }
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
| |- warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:51:16: warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
| |- warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:52:16: warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
| |- warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:53:16: warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
| |- warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:54:16: warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
| |- warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:55:16: warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
| |- warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:56:16: warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
| |- warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:57:16: warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
| |- warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allExamples' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
[153/154] Compiling Everything SwiftUI+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:5:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
3 | // MARK: -
4 |
5 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public init(stringLiteral value: String) {
7 | self.init(string: value)!
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:11:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | }
10 |
11 | extension URL: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:44:39: warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | private let closure: @Sendable (@Sendable (UnsafeRawBufferPointer) -> Void) -> Void
41 |
42 | public init(_ value: some Any) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
43 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
44 | Swift.withUnsafeBytes(of: value) { buffer in
| `- warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | callback(buffer)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:52:13: warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | }
49 |
50 | public init(_ value: [some Any]) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
51 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
52 | value.withUnsafeBytes { buffer in
| `- warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | callback(buffer)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:6:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
7 | } set: {
8 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:8:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
7 | } set: {
8 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
9 | }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:16:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
15 | }, set: {
16 | self.wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
17 | })
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:43: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:66: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:34:29: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:36:13: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:56:27: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:58:13: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:50:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | public struct ErrorHandlerKey: EnvironmentKey {
50 | public static var defaultValue = ErrorHandler {
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fatalError("Unhandled error: \($0)")
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:75:18: warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
67 | public struct ErrorHandlingModifier: ViewModifier {
68 | @State
69 | var error: Error?
| `- note: mutation of this property is only permitted within the actor
70 | @State
71 | var isPresented = false
:
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
| `- warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
76 | self.isPresented = true
77 | })
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:76:18: warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
69 | var error: Error?
70 | @State
71 | var isPresented = false
| `- note: mutation of this property is only permitted within the actor
72 |
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
76 | self.isPresented = true
| `- warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
77 | })
78 | .alert(isPresented: $isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:50:16: warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
48 | }
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
| |- warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:51:16: warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
| |- warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:52:16: warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
| |- warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:53:16: warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
| |- warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:54:16: warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
| |- warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:55:16: warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
| |- warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:56:16: warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
| |- warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:57:16: warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
| |- warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allExamples' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
[154/154] Compiling Everything ViewAdapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:5:1: warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
3 | // MARK: -
4 |
5 | extension URL: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public init(stringLiteral value: String) {
7 | self.init(string: value)!
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:11:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | }
10 |
11 | extension URL: ExpressibleByStringInterpolation {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByStringInterpolation'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:44:39: warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | private let closure: @Sendable (@Sendable (UnsafeRawBufferPointer) -> Void) -> Void
41 |
42 | public init(_ value: some Any) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
43 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
44 | Swift.withUnsafeBytes(of: value) { buffer in
| `- warning: capture of 'value' with non-sendable type 'some Any' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | callback(buffer)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/Scratch/Scratch.swift:52:13: warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 | }
49 |
50 | public init(_ value: [some Any]) {
| `- note: consider making generic parameter 'some Any' conform to the 'Sendable' protocol
51 | closure = { (callback: (UnsafeRawBufferPointer) -> Void) in
52 | value.withUnsafeBytes { buffer in
| `- warning: capture of 'value' with non-sendable type '[some Any]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | callback(buffer)
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:6:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
7 | } set: {
8 | wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:8:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
2 |
3 | public extension Binding {
4 | func unsafeBinding<V>() -> Binding<V> where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
5 | Binding<V> {
6 | wrappedValue!
7 | } set: {
8 | wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
9 | }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: capture of 'default' with non-sendable type '() -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:14:34: warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
| |- warning: implicit capture of 'default' requires that '() -> T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }, set: {
16 | self.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:16:13: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
10 | }
11 |
12 | func unwrappingRebound<T>(default: @escaping () -> T) -> Binding<T> where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
13 | Binding<T>(get: {
14 | self.wrappedValue ?? `default`()
15 | }, set: {
16 | self.wrappedValue = $0
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a '@Sendable' closure
17 | })
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:43: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:23:66: warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
19 |
20 | // TODO: Rename
21 | func withUnsafeBinding<V, R>(_ block: (Binding<V>) throws -> R) rethrows -> R? where Value == V? {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
22 | if wrappedValue != nil {
23 | return try block(Binding<V> { wrappedValue! } set: { wrappedValue = $0 })
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<V>>' in a '@Sendable' closure
24 | }
25 | else {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:34:29: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:36:13: warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
30 |
31 | public extension Binding where Value == SwiftUI.Angle {
32 | init <F>(radians: Binding<F>) where F: BinaryFloatingPoint {
| `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
33 | self = .init(get: {
34 | .radians(Double(radians.wrappedValue))
35 | }, set: {
36 | radians.wrappedValue = F($0.radians)
| `- warning: capture of 'radians' with non-sendable type 'Binding<F>' in a '@Sendable' closure
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:56:27: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/Binding+Extensions.swift:58:13: warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
52 |
53 | public extension Binding where Value == Double {
54 | init <Other>(_ binding: Binding<Other>) where Other: BinaryFloatingPoint {
| `- note: consider making generic parameter 'Other' conform to the 'Sendable' protocol
55 | self.init {
56 | return Double(binding.wrappedValue)
57 | } set: { newValue in
58 | binding.wrappedValue = Other(newValue)
| `- warning: capture of 'binding' with non-sendable type 'Binding<Other>' in a '@Sendable' closure
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:50:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | public struct ErrorHandlerKey: EnvironmentKey {
50 | public static var defaultValue = ErrorHandler {
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fatalError("Unhandled error: \($0)")
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:75:18: warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
67 | public struct ErrorHandlingModifier: ViewModifier {
68 | @State
69 | var error: Error?
| `- note: mutation of this property is only permitted within the actor
70 | @State
71 | var isPresented = false
:
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
| `- warning: main actor-isolated property 'error' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
76 | self.isPresented = true
77 | })
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/ErrorHandler.swift:76:18: warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
69 | var error: Error?
70 | @State
71 | var isPresented = false
| `- note: mutation of this property is only permitted within the actor
72 |
73 | public func body(content: Content) -> some View {
74 | content.environment(\.errorHandler, ErrorHandler {
75 | self.error = $0
76 | self.isPresented = true
| `- warning: main actor-isolated property 'isPresented' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
77 | })
78 | .alert(isPresented: $isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:50:16: warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
48 | }
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
| |- warning: static property 'example1' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:51:16: warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
49 |
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
| |- warning: static property 'example2' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:52:16: warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
50 | static let example1 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.33, 0.67])
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
| |- warning: static property 'example3' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:53:16: warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
51 | static let example2 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.00, 0.10, 0.20])
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
| |- warning: static property 'example4' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:54:16: warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
52 | static let example3 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 1.0], [0.30, 0.20, 0.20])
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
| |- warning: static property 'example5' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:55:16: warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
53 | static let example4 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 1.0, 0.5], [0.80, 0.90, 0.30])
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
| |- warning: static property 'example6' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:56:16: warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
54 | static let example5 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [1.0, 0.7, 0.4], [0.00, 0.15, 0.20])
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
| |- warning: static property 'example7' is not concurrency-safe because non-'Sendable' type 'InigoColourPalette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'example7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/Everything/SwiftUI/InigoColorPalette.swift:57:16: warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // https://iquilezles.org/www/articles/palettes/palettes.htm
33 | public struct InigoColourPalette {
| `- note: consider making struct 'InigoColourPalette' conform to the 'Sendable' protocol
34 | init(_ a: SIMD3<Double>, _ b: SIMD3<Double>, _ c: SIMD3<Double>, _ d: SIMD3<Double>) {
35 | self.a = a
:
55 | static let example6 = InigoColourPalette([0.5, 0.5, 0.5], [0.5, 0.5, 0.5], [2.0, 1.0, 0.0], [0.50, 0.20, 0.25])
56 | static let example7 = InigoColourPalette([0.8, 0.5, 0.4], [0.2, 0.4, 0.2], [2.0, 1.0, 1.0], [0.00, 0.25, 0.25])
57 | static let allExamples: [InigoColourPalette] = [.example1, .example2, .example3, .example4, .example5, .example6, .example7]
| |- warning: static property 'allExamples' is not concurrency-safe because non-'Sendable' type '[InigoColourPalette]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allExamples' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 |
Build complete! (9.64s)
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/Everything/SwiftUI/Styles.swift.gyb
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
Build complete.
{
"dependencies" : [
{
"identity" : "swift-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-algorithms"
}
],
"manifest_display_name" : "Everything",
"name" : "Everything",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "maccatalyst",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Everything",
"targets" : [
"Everything"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EverythingUnsafeConformances",
"targets" : [
"EverythingUnsafeConformances"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EverythingUnsafeConformances",
"module_type" : "SwiftTarget",
"name" : "EverythingUnsafeConformances",
"path" : "Sources/EverythingUnsafeConformances",
"product_memberships" : [
"EverythingUnsafeConformances"
],
"sources" : [
"EverythingUnsafeConformances.swift"
],
"type" : "library"
},
{
"c99name" : "EverythingTests",
"module_type" : "SwiftTarget",
"name" : "EverythingTests",
"path" : "Tests/EverythingTests",
"sources" : [
"BitRange_Tests.swift",
"BitsTests.swift",
"CSVTests.swift",
"CollectionScannerTests.swift",
"CombineTests.swift",
"ComparisonTests.swift",
"HeapTests.swift",
"IdentifiableSetTests.swift",
"ParsingTests/CharacterSetTests.swift",
"PathTests.swift",
"ProcessTest.swift",
"RandomTests.swift",
"SIMDTests.swift",
"TaggedTests.swift",
"Utilities.swift",
"VersionTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Everything"
],
"type" : "test"
},
{
"c99name" : "Everything",
"module_type" : "SwiftTarget",
"name" : "Everything",
"path" : "Sources/Everything",
"product_dependencies" : [
"Algorithms"
],
"product_memberships" : [
"Everything"
],
"sources" : [
"Algorithms/AStarSearch.swift",
"Algorithms/BloomFilter.swift",
"Algorithms/CRC16.swift",
"Algorithms/Comparison.swift",
"Algorithms/DamerauLevenshtein.swift",
"Algorithms/ExponentialMovingAverageIrregular.swift",
"Algorithms/Heap.swift",
"Algorithms/OrderedSet.swift",
"Algorithms/PriorityQueue.swift",
"Algorithms/Search.swift",
"Algorithms/Visitor.swift",
"AppKit/AppKit+Extensions.swift",
"CSV/CSVDecoder.swift",
"CSV/CSVFormatter.swift",
"Coding/AnyDecodable.swift",
"Coding/BinaryEncoding.swift",
"Coding/FormEncoder.swift",
"Coding/Streams.swift",
"Color/CGColor+More.swift",
"Color/ColorConvertible.swift",
"Color/ColorParser.swift",
"Color/SystemColorPalette.swift",
"Combine/Combine.swift",
"Combine/ConcreteSubscription.swift",
"Combine/DisplayLinkPublisher.swift",
"Combine/FSEventPublisher.swift",
"Concurrency/Atomic.swift",
"Concurrency/Concurrency.swift",
"Concurrency/Threading.swift",
"CoreLocation/CoreLocation+Extensions.swift",
"CoreLocation/CoreLocation+Extensions2.swift",
"DataFormatting/Converters.swift",
"DataStructures/IdentifiableSet.swift",
"FileSystem/FSPath+Extensions.swift",
"FileSystem/FSPath.swift",
"FileSystem/FileBookmarks.swift",
"FileSystem/FileSystem.swift",
"FormatStyle.swift",
"Foundation/AnyCodingKey.swift",
"Foundation/BlockValueTransformer.swift",
"Foundation/Casts.swift",
"Foundation/CharacterSet+Extensions.swift",
"Foundation/Collections+Extensions.swift",
"Foundation/Date+Extensions.swift",
"Foundation/Errors.swift",
"Foundation/FileManager+xattr.swift",
"Foundation/Foundation+Misc.swift",
"Foundation/NSXML+Extensions.swift",
"Foundation/NumberFormatter+Extensions.swift",
"Foundation/Optional+Extensions.swift",
"Foundation/Padding.swift",
"Foundation/Process+Extensions.swift",
"Foundation/Scanner+Extensions.swift",
"Foundation/Shlex.swift",
"Foundation/String+Escaping.swift",
"Foundation/String+Extensions.swift",
"Foundation/URL+Extensions.swift",
"Foundation/UnsafeBufferPointer+Extensions.swift",
"Foundation/printColumnar.swift",
"Functional/Functional.swift",
"HID/VirtualKeyCode.swift",
"Math/Clamp.swift",
"Math/Fuzzy.swift",
"Math/Lerp.swift",
"Math/Math.swift",
"Math/signExtend.swift",
"Memory/Align.swift",
"Memory/BitRange.swift",
"Memory/BitSet.swift",
"Memory/Bits.swift",
"Memory/Endianness.swift",
"Memory/Memory.swift",
"Misc/Benchmark.swift",
"Misc/BinaryCoding.swift",
"Misc/Box.swift",
"Misc/Cache.swift",
"Misc/CompositeHash.swift",
"Misc/CoreMotion+Combine.swift",
"Misc/CustomTupleConvertable.swift",
"Misc/Errno.swift",
"Misc/Hashing.swift",
"Misc/Identified.swift",
"Misc/Logging.swift",
"Misc/LolUID.swift",
"Misc/MachTime.swift",
"Misc/Misc.swift",
"Misc/Named.swift",
"Misc/OutputStream.swift",
"Misc/Random.swift",
"Misc/Tagged+Radians.swift",
"Misc/Tagged.swift",
"Misc/Timestamp.swift",
"Misc/TrivialID.swift",
"Misc/Version.swift",
"Networking/MultipeerHelper.swift",
"Parsing/CollectionScanner.swift",
"Parsing/YACharacterSet.swift",
"PropertyWrappers/PropertyWrappers.swift",
"RadixedIntegerFormatStyle.swift",
"Scratch/Scratch.swift",
"SwiftUI/Binding+Extensions.swift",
"SwiftUI/Button+Extensions.swift",
"SwiftUI/ErrorHandler.swift",
"SwiftUI/Image+Extensions.swift",
"SwiftUI/InigoColorPalette.swift",
"SwiftUI/Styles.swift",
"SwiftUI/SwiftUI+Extensions.swift",
"SwiftUI/ViewAdapter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.