Build Information
Successful build of RichTextKit, reference main (0caef5), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 17:10:06 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielsaidi/RichTextKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/danielsaidi/RichTextKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0caef55 Update documentation
Cloned https://github.com/danielsaidi/RichTextKit.git
Revision (git rev-parse @):
0caef558285d631b230301cd75e6438bbdd5e0cc
SUCCESS checkout https://github.com/danielsaidi/RichTextKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/danielsaidi/RichTextKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[35 / 45] RichTextKit_RichTextKit
[36 / 45]
[37 / 46] RichTextKit
[47 / 123]
[50 / 123]
[58 / 123]
[60 / 123]
[61 / 123]
[66 / 123]
[68 / 123]
[70 / 123]
[73 / 123]
[78 / 123]
[81 / 123]
[83 / 123]
[84 / 123]
[94 / 123]
[96 / 123]
[97 / 123]
[100 / 123]
[102 / 123]
[114 / 123] RichTextKit
[115 / 123] RichTextKit
[116 / 123] RichTextKit
[120 / 123] RichTextKit
Build complete! (11.90 sec)
Fetching https://github.com/danielsaidi/MockingKit.git
[1/2648] Fetching mockingkit
Fetched https://github.com/danielsaidi/MockingKit.git (2.34s)
Computing version for https://github.com/danielsaidi/MockingKit.git
Computed https://github.com/danielsaidi/MockingKit.git at 1.5.0 (2.96s)
Creating working copy for https://github.com/danielsaidi/MockingKit.git
Working copy of https://github.com/danielsaidi/MockingKit.git resolved at 1.5.0
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:84:24: [1;33mwarning: [1;39m'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m82 |[0;0m var body: some View {
[0;36m83 |[0;0m VStack {
[0;36m84 |[0;0m Text("\(value)")
[0;36m|[0;0m `- [1;33mwarning: [1;39m'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m85 |[0;0m Picker(forValue: writableKeypath, in: context) {
[0;36m86 |[0;0m Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:41:13: [1;33mwarning: [1;39mcapture of 'paragraph' with non-Sendable type 'Binding<NSMutableParagraphStyle>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m39 |[0;0m let values = values ?? value.defaultPickerValues ?? []
[0;36m40 |[0;0m let binding: Binding<ValueType> = .init {
[0;36m41 |[0;0m paragraph.wrappedValue[keyPath: value]
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'paragraph' with non-Sendable type 'Binding<NSMutableParagraphStyle>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m42 |[0;0m } set: { newValue in
[0;36m43 |[0;0m paragraph.wrappedValue[keyPath: value] = newValue
SwiftUI.Binding:2:61: [1;39mnote: [1;39mgeneric struct 'Binding' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m @frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric struct 'Binding' does not conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m public var transaction: Transaction
[0;36m4 |[0;0m @preconcurrency public init(get: @escaping @isolated(any) @Sendable () -> Value, set: @escaping @isolated(any) @Sendable (Value) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:41:45: [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'WritableKeyPath<NSMutableParagraphStyle, ValueType>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m39 |[0;0m let values = values ?? value.defaultPickerValues ?? []
[0;36m40 |[0;0m let binding: Binding<ValueType> = .init {
[0;36m41 |[0;0m paragraph.wrappedValue[keyPath: value]
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'WritableKeyPath<NSMutableParagraphStyle, ValueType>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m42 |[0;0m } set: { newValue in
[0;36m43 |[0;0m paragraph.wrappedValue[keyPath: value] = newValue
Swift.WritableKeyPath:1:14: [1;39mnote: [1;39mgeneric class 'WritableKeyPath' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric class 'WritableKeyPath' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m @objc deinit
[0;36m3 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:13: [1;33mwarning: [1;39mcapture of 'paragraph' with non-Sendable type 'Binding<NSMutableParagraphStyle>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m41 |[0;0m paragraph.wrappedValue[keyPath: value]
[0;36m42 |[0;0m } set: { newValue in
[0;36m43 |[0;0m paragraph.wrappedValue[keyPath: value] = newValue
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'paragraph' with non-Sendable type 'Binding<NSMutableParagraphStyle>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m44 |[0;0m }
[0;36m45 |[0;0m let indexBinding = Self.indexBinding(for: values, binding: binding)
SwiftUI.Binding:2:61: [1;39mnote: [1;39mgeneric struct 'Binding' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m @frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric struct 'Binding' does not conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m public var transaction: Transaction
[0;36m4 |[0;0m @preconcurrency public init(get: @escaping @isolated(any) @Sendable () -> Value, set: @escaping @isolated(any) @Sendable (Value) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:45: [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'WritableKeyPath<NSMutableParagraphStyle, ValueType>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m41 |[0;0m paragraph.wrappedValue[keyPath: value]
[0;36m42 |[0;0m } set: { newValue in
[0;36m43 |[0;0m paragraph.wrappedValue[keyPath: value] = newValue
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'WritableKeyPath<NSMutableParagraphStyle, ValueType>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m44 |[0;0m }
[0;36m45 |[0;0m let indexBinding = Self.indexBinding(for: values, binding: binding)
Swift.WritableKeyPath:1:14: [1;39mnote: [1;39mgeneric class 'WritableKeyPath' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric class 'WritableKeyPath' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m @objc deinit
[0;36m3 |[0;0m }
macro expansion #Preview:35:36: [1;33mwarning: [1;39m'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:104:2: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m65 |[0;0m }
[0;36m66 |[0;0m
[0;36m67 |[0;0m [4;39m#Preview {[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'Preview' here[0;0m
[0;36m68 |[0;0m
[0;36m69 |[0;0m struct Preview: View {
[0;36m:[0;0m
[0;36m102 |[0;0m
[0;36m103 |[0;0m return Preview()
[0;36m104 |[0;0m }
[0;36m +--- [0;0mmacro expansion #Preview [0;36m--------------------------------------[0;0m
[0;36m |[0;0m[0;36m33 |[0;0m var body: some View {
[0;36m |[0;0m[0;36m34 |[0;0m VStack {
[0;36m |[0;0m[0;36m35 |[0;0m Text("\(value)")
[0;36m |[0;0m [0;36m|[0;0m `- [1;33mwarning: [1;39m'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m |[0;0m[0;36m36 |[0;0m Picker(forValue: writableKeypath, in: context) {
[0;36m |[0;0m[0;36m37 |[0;0m Text("Context")
[0;36m +-----------------------------[0;0m[0;36m--------------------------------------[0;0m
[0;36m105 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:37:17: [1;33mwarning: [1;39mcapture of 'paragraph' with non-Sendable type 'Binding<NSMutableParagraphStyle>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m35 |[0;0m self.init(
[0;36m36 |[0;0m value: .init {
[0;36m37 |[0;0m paragraph.wrappedValue[keyPath: value]
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'paragraph' with non-Sendable type 'Binding<NSMutableParagraphStyle>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m38 |[0;0m } set: { newValue in
[0;36m39 |[0;0m paragraph.wrappedValue[keyPath: value] = newValue
SwiftUI.Binding:2:61: [1;39mnote: [1;39mgeneric struct 'Binding' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m @frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric struct 'Binding' does not conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m public var transaction: Transaction
[0;36m4 |[0;0m @preconcurrency public init(get: @escaping @isolated(any) @Sendable () -> Value, set: @escaping @isolated(any) @Sendable (Value) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:37:49: [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'WritableKeyPath<NSMutableParagraphStyle, ValueType>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m35 |[0;0m self.init(
[0;36m36 |[0;0m value: .init {
[0;36m37 |[0;0m paragraph.wrappedValue[keyPath: value]
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'WritableKeyPath<NSMutableParagraphStyle, ValueType>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m38 |[0;0m } set: { newValue in
[0;36m39 |[0;0m paragraph.wrappedValue[keyPath: value] = newValue
Swift.WritableKeyPath:1:14: [1;39mnote: [1;39mgeneric class 'WritableKeyPath' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric class 'WritableKeyPath' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m @objc deinit
[0;36m3 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:17: [1;33mwarning: [1;39mcapture of 'paragraph' with non-Sendable type 'Binding<NSMutableParagraphStyle>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m37 |[0;0m paragraph.wrappedValue[keyPath: value]
[0;36m38 |[0;0m } set: { newValue in
[0;36m39 |[0;0m paragraph.wrappedValue[keyPath: value] = newValue
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'paragraph' with non-Sendable type 'Binding<NSMutableParagraphStyle>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m40 |[0;0m },
[0;36m41 |[0;0m step: step,
SwiftUI.Binding:2:61: [1;39mnote: [1;39mgeneric struct 'Binding' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m @frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric struct 'Binding' does not conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m public var transaction: Transaction
[0;36m4 |[0;0m @preconcurrency public init(get: @escaping @isolated(any) @Sendable () -> Value, set: @escaping @isolated(any) @Sendable (Value) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:49: [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'WritableKeyPath<NSMutableParagraphStyle, ValueType>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m37 |[0;0m paragraph.wrappedValue[keyPath: value]
[0;36m38 |[0;0m } set: { newValue in
[0;36m39 |[0;0m paragraph.wrappedValue[keyPath: value] = newValue
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'WritableKeyPath<NSMutableParagraphStyle, ValueType>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m40 |[0;0m },
[0;36m41 |[0;0m step: step,
Swift.WritableKeyPath:1:14: [1;39mnote: [1;39mgeneric class 'WritableKeyPath' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric class 'WritableKeyPath' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m @objc deinit
[0;36m3 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:57:24: [1;33mwarning: [1;39m'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m55 |[0;0m var body: some View {
[0;36m56 |[0;0m VStack {
[0;36m57 |[0;0m Text("\(value)")
[0;36m|[0;0m `- [1;33mwarning: [1;39m'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m58 |[0;0m Toggle(
[0;36m59 |[0;0m forValue: writableKeypath,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:33:17: [1;33mwarning: [1;39mcapture of 'paragraph' with non-Sendable type 'Binding<NSMutableParagraphStyle>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m31 |[0;0m self.init(
[0;36m32 |[0;0m isOn: .init {
[0;36m33 |[0;0m paragraph.wrappedValue[keyPath: value]
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'paragraph' with non-Sendable type 'Binding<NSMutableParagraphStyle>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m34 |[0;0m } set: { newValue in
[0;36m35 |[0;0m paragraph.wrappedValue[keyPath: value] = newValue
SwiftUI.Binding:2:61: [1;39mnote: [1;39mgeneric struct 'Binding' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m @frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric struct 'Binding' does not conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m public var transaction: Transaction
[0;36m4 |[0;0m @preconcurrency public init(get: @escaping @isolated(any) @Sendable () -> Value, set: @escaping @isolated(any) @Sendable (Value) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:33:49: [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'WritableKeyPath<NSMutableParagraphStyle, Bool>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m31 |[0;0m self.init(
[0;36m32 |[0;0m isOn: .init {
[0;36m33 |[0;0m paragraph.wrappedValue[keyPath: value]
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'WritableKeyPath<NSMutableParagraphStyle, Bool>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m34 |[0;0m } set: { newValue in
[0;36m35 |[0;0m paragraph.wrappedValue[keyPath: value] = newValue
Swift.WritableKeyPath:1:14: [1;39mnote: [1;39mgeneric class 'WritableKeyPath' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric class 'WritableKeyPath' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m @objc deinit
[0;36m3 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:35:17: [1;33mwarning: [1;39mcapture of 'paragraph' with non-Sendable type 'Binding<NSMutableParagraphStyle>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m33 |[0;0m paragraph.wrappedValue[keyPath: value]
[0;36m34 |[0;0m } set: { newValue in
[0;36m35 |[0;0m paragraph.wrappedValue[keyPath: value] = newValue
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'paragraph' with non-Sendable type 'Binding<NSMutableParagraphStyle>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m36 |[0;0m },
[0;36m37 |[0;0m label: label
SwiftUI.Binding:2:61: [1;39mnote: [1;39mgeneric struct 'Binding' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
[0;36m2 |[0;0m @frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric struct 'Binding' does not conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m public var transaction: Transaction
[0;36m4 |[0;0m @preconcurrency public init(get: @escaping @isolated(any) @Sendable () -> Value, set: @escaping @isolated(any) @Sendable (Value) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:35:49: [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'WritableKeyPath<NSMutableParagraphStyle, Bool>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m33 |[0;0m paragraph.wrappedValue[keyPath: value]
[0;36m34 |[0;0m } set: { newValue in
[0;36m35 |[0;0m paragraph.wrappedValue[keyPath: value] = newValue
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'value' with non-Sendable type 'WritableKeyPath<NSMutableParagraphStyle, Bool>' in a '@Sendable' closure[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m36 |[0;0m },
[0;36m37 |[0;0m label: label
Swift.WritableKeyPath:1:14: [1;39mnote: [1;39mgeneric class 'WritableKeyPath' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
[0;36m|[0;0m `- [1;39mnote: [1;39mgeneric class 'WritableKeyPath' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m @objc deinit
[0;36m3 |[0;0m }
macro expansion #Preview:33:36: [1;33mwarning: [1;39m'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:79:2: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m40 |[0;0m }
[0;36m41 |[0;0m
[0;36m42 |[0;0m [4;39m#Preview {[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'Preview' here[0;0m
[0;36m43 |[0;0m
[0;36m44 |[0;0m struct Preview: View {
[0;36m:[0;0m
[0;36m77 |[0;0m
[0;36m78 |[0;0m return Preview()
[0;36m79 |[0;0m }
[0;36m +--- [0;0mmacro expansion #Preview [0;36m---------------------------------------[0;0m
[0;36m |[0;0m[0;36m31 |[0;0m var body: some View {
[0;36m |[0;0m[0;36m32 |[0;0m VStack {
[0;36m |[0;0m[0;36m33 |[0;0m Text("\(value)")
[0;36m |[0;0m [0;36m|[0;0m `- [1;33mwarning: [1;39m'appendInterpolation' is deprecated: Localized string interpolation produces an unlocalized, debug description for this type of value. Use a type supported by LocalizedStringKey.StringInterpolation or initialize a LocalizedStringResource instead with an interpolated value that conforms to CustomLocalizedStringResourceConvertible.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m |[0;0m[0;36m34 |[0;0m Toggle(
[0;36m |[0;0m[0;36m35 |[0;0m forValue: writableKeypath,
[0;36m +-----------------------------[0;0m[0;36m---------------------------------------[0;0m
[0;36m80 |[0;0m
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:149:13: [1;33mwarning: [1;39m'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m147 |[0;0m ) -> some View {
[0;36m148 |[0;0m if config.lineSpacingPicker {
[0;36m149 |[0;0m RichTextLine.SpacingPickerStack(context: context)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m150 |[0;0m .buttonStyle(.bordered)
[0;36m151 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:149:26: [1;33mwarning: [1;39m'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m147 |[0;0m ) -> some View {
[0;36m148 |[0;0m if config.lineSpacingPicker {
[0;36m149 |[0;0m RichTextLine.SpacingPickerStack(context: context)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m150 |[0;0m .buttonStyle(.bordered)
[0;36m151 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "mockingkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/danielsaidi/MockingKit.git"
}
],
"manifest_display_name" : "RichTextKit",
"name" : "RichTextKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "RichTextKit",
"targets" : [
"RichTextKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RichTextKitTests",
"module_type" : "SwiftTarget",
"name" : "RichTextKitTests",
"path" : "Tests/RichTextKitTests",
"product_dependencies" : [
"MockingKit"
],
"sources" : [
"Attributes/RichTextAttributeReaderWriterTests.swift",
"Colors/RichTextColorTests.swift",
"Data/RichTextDataFormatTests.swift",
"Data/RichTextDataReaderTests.swift",
"Extensions/NSAttributedString+EmptyTests.swift",
"Extensions/String+CharactersTests.swift",
"Extensions/String+ParagraphTests.swift",
"Extensions/String+SubscriptTests.swift",
"Fonts/StandardFontSizeProviderTests.swift",
"RichTextContextTests.swift",
"RichTextEditorTests.swift",
"RichTextViewIntegrationTests+UIKit.swift",
"RichTextViewRepresentable+AttributesTests.swift",
"RichTextViewRepresentable+ColorTests.swift",
"RichTextViewRepresentable+FontSizeTests.swift",
"RichTextViewRepresentable+StylesTests.swift",
"RichTextViewRepresentableTests.swift",
"RichTextView_AppKitTests.swift",
"Styles/RichTextStyleTests.swift",
"Styles/RichTextViewHighlightingStyleTests.swift",
"Utils/RichTextView+Helpers.swift",
"_Foundation/RichTextCoordinator+SubscriptionsTests.swift",
"_Foundation/RichTextCoordinatorIntegrationTests+UIKit.swift",
"_Foundation/RichTextCoordinatorTests.swift",
"_Foundation/RichTextPresenterTests.swift",
"_Foundation/RichTextReaderTests.swift"
],
"target_dependencies" : [
"RichTextKit"
],
"type" : "test"
},
{
"c99name" : "RichTextKit",
"module_type" : "SwiftTarget",
"name" : "RichTextKit",
"path" : "Sources/RichTextKit",
"product_memberships" : [
"RichTextKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Resources/da.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "da"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Resources/de.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "de"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Resources/nb.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "nb"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Resources/sv.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "sv"
}
}
}
],
"sources" : [
"Actions/RichTextAction+Button.swift",
"Actions/RichTextAction+ButtonGroup.swift",
"Actions/RichTextAction+ButtonStack.swift",
"Actions/RichTextAction+KeyboardShortcutModifier.swift",
"Actions/RichTextAction.swift",
"Actions/RichTextInsertion.swift",
"Attributes/RichTextAttribute.swift",
"Attributes/RichTextAttributeReader.swift",
"Attributes/RichTextAttributeWriter.swift",
"Bridging/RichTextView+Config.swift",
"Bridging/RichTextView+Config_AppKit.swift",
"Bridging/RichTextView+Config_UIKit.swift",
"Bridging/RichTextView+Setup.swift",
"Bridging/RichTextView+Theme.swift",
"Bridging/RichTextViewComponent+Attributes.swift",
"Bridging/RichTextViewComponent+Colors.swift",
"Bridging/RichTextViewComponent+Font.swift",
"Bridging/RichTextViewComponent+Images.swift",
"Bridging/RichTextViewComponent+Paragraph.swift",
"Bridging/RichTextViewComponent+Pasting.swift",
"Bridging/RichTextViewComponent+Ranges.swift",
"Bridging/RichTextViewComponent+Styles.swift",
"Bridging/RichTextViewComponent+Superscript.swift",
"Bridging/RichTextViewComponent.swift",
"Bridging/RichTextView_AppKit.swift",
"Bridging/RichTextView_UIKit.swift",
"Colors/ColorRepresentable.swift",
"Colors/RichTextColor+Picker.swift",
"Colors/RichTextColor.swift",
"Commands/RichTextCommand+ActionButton.swift",
"Commands/RichTextCommand+ActionButtonGroup.swift",
"Commands/RichTextCommand+FormatMenu.swift",
"Commands/RichTextCommand+ShareMenu.swift",
"Commands/RichTextCommand.swift",
"Data/NSAttributedString+Init.swift",
"Data/RichTextDataError.swift",
"Data/RichTextDataFormat+Menu.swift",
"Data/RichTextDataFormat.swift",
"Data/RichTextDataReader.swift",
"Data/UTType+RichText.swift",
"Export/NSAttributedString+Export.swift",
"Export/RichTextExportError.swift",
"Export/RichTextExportMenu.swift",
"Export/RichTextExportService.swift",
"Export/RichTextExportUrlResolver+FileManager.swift",
"Export/RichTextExportUrlResolver.swift",
"Export/StandardRichTextExportService.swift",
"Extensions/Image+Label.swift",
"Extensions/NSAttributedString+Empty.swift",
"Extensions/NSTextAttachment+Image.swift",
"Extensions/String+Characters.swift",
"Extensions/String+Paragraph.swift",
"Extensions/String+Subscript.swift",
"Fonts/FontDescriptorRepresentable.swift",
"Fonts/FontRepresentable.swift",
"Fonts/FontTraitsRepresentable.swift",
"Fonts/RichTextFont+ForEachPicker.swift",
"Fonts/RichTextFont+ListPicker.swift",
"Fonts/RichTextFont+Picker.swift",
"Fonts/RichTextFont+PickerConfig.swift",
"Fonts/RichTextFont+PickerFont.swift",
"Fonts/RichTextFont+PickerItem.swift",
"Fonts/RichTextFont+SizePicker.swift",
"Fonts/RichTextFont+SizePickerConfig.swift",
"Fonts/RichTextFont+SizePickerStack.swift",
"Fonts/RichTextFont.swift",
"Fonts/StandardFontSizeProvider.swift",
"Format/RichTextFormat+Sheet.swift",
"Format/RichTextFormat+Sidebar.swift",
"Format/RichTextFormat+Toolbar.swift",
"Format/RichTextFormat+ToolbarConfig.swift",
"Format/RichTextFormat+ToolbarStyle.swift",
"Format/RichTextFormat.swift",
"Format/RichTextFormatToolbarBase.swift",
"Images/Image+RichText.swift",
"Images/ImageRepresentable.swift",
"Images/RichTextImageAttachment.swift",
"Images/RichTextImageAttachmentManager.swift",
"Images/RichTextImageAttachmentSize.swift",
"Images/RichTextImageConfiguration.swift",
"Images/RichTextImageInsertConfiguration.swift",
"Keyboard/RichTextKeyboardToolbar+Config.swift",
"Keyboard/RichTextKeyboardToolbar+Style.swift",
"Keyboard/RichTextKeyboardToolbar.swift",
"Keyboard/RichTextKeyboardToolbarMenu.swift",
"Localization/Bundle+Locale.swift",
"Localization/RTKL10n.swift",
"Paragraph/NSMutableParagraphStyle+PickerValues.swift",
"Paragraph/NSMutableParagraphStyle+StepperInterval.swift",
"Paragraph/NSMutableParagraphStyleValueLabel.swift",
"Paragraph/NSParagraphStyle+Mutable.swift",
"Paragraph/NSParagraphStyle+Views.swift",
"Paragraph/NSTextAlignment+Views.swift",
"Paragraph/Picker+RichTextParagraphValue.swift",
"Paragraph/Stepper+RichTextParagraphValue.swift",
"Paragraph/Toggle+RichTextParagraphValue.swift",
"Pasteboard/PasteboardImageReader.swift",
"Pdf/PdfDataError.swift",
"Pdf/PdfPageConfiguration.swift",
"Pdf/PdfPageMargins.swift",
"Pdf/RichTextPdfDataReader.swift",
"Sharing/RichTextNSSharingMenu.swift",
"Sharing/RichTextShareMenu.swift",
"Sharing/RichTextShareService.swift",
"Sharing/StandardRichTextShareService.swift",
"Styles/RichTextAttributes+RichTextStyle.swift",
"Styles/RichTextHighlightingStyle.swift",
"Styles/RichTextStyle+Button.swift",
"Styles/RichTextStyle+Toggle.swift",
"Styles/RichTextStyle+ToggleGroup.swift",
"Styles/RichTextStyle+ToggleStack.swift",
"Styles/RichTextStyle.swift",
"Styles/View+RichTextStyle.swift",
"Views/ForEachPicker.swift",
"Views/ListPicker.swift",
"Views/ListPickerItem.swift",
"Views/ListPickerSection.swift",
"Views/RichTextLabelValue.swift",
"Views/ViewRepresentable.swift",
"_Deprecated/NSMutableParagraphStyle+Custom.swift",
"_Deprecated/NSTextAlignment+Deprecated.swift",
"_Deprecated/RichTextAlignment+KeyboardShortcutModifier.swift",
"_Deprecated/RichTextAlignment+Picker.swift",
"_Deprecated/RichTextAlignment.swift",
"_Deprecated/RichTextLine+SpacingPicker.swift",
"_Deprecated/RichTextLine+SpacingPickerConfig.swift",
"_Deprecated/RichTextLine+SpacingPickerStack.swift",
"_Deprecated/RichTextLine.swift",
"_Deprecated/RichTextViewComponent+Alignment.swift",
"_Deprecated/RichTextViewComponent+Indent.swift",
"_Deprecated/RichTextViewComponent+Line.swift",
"_Essential/RichTextContext+Actions.swift",
"_Essential/RichTextContext+Colors.swift",
"_Essential/RichTextContext+Pasting.swift",
"_Essential/RichTextContext+Styles.swift",
"_Essential/RichTextContext.swift",
"_Essential/RichTextContextFocusedValueKey.swift",
"_Essential/RichTextEditor+Config.swift",
"_Essential/RichTextEditor+Style.swift",
"_Essential/RichTextEditor.swift",
"_Essential/RichTextViewRepresentable.swift",
"_Essential/RichTextViewer.swift",
"_Foundation/RichTextCoordinator+Actions.swift",
"_Foundation/RichTextCoordinator+Subscriptions.swift",
"_Foundation/RichTextCoordinator.swift",
"_Foundation/RichTextPresenter.swift",
"_Foundation/RichTextReader.swift",
"_Foundation/RichTextWriter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.