Build Information
Successful build of RichTextKit, reference main (3081c7
), with Swift 6.2 (beta) for macOS (SPM) on 24 Jun 2025 09:40:47 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[86/158] Compiling RichTextKit NSTextAlignment+Views.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[87/158] Compiling RichTextKit Picker+RichTextParagraphValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[88/158] Compiling RichTextKit Stepper+RichTextParagraphValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[89/158] Compiling RichTextKit Toggle+RichTextParagraphValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[90/158] Compiling RichTextKit PasteboardImageReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[91/158] Compiling RichTextKit PdfDataError.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[92/158] Compiling RichTextKit PdfPageConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[93/158] Compiling RichTextKit PdfPageMargins.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[94/158] Compiling RichTextKit RichTextPdfDataReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[95/158] Compiling RichTextKit RichTextNSSharingMenu.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[96/158] Compiling RichTextKit RichTextShareMenu.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[97/158] Compiling RichTextKit RichTextShareService.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[98/158] Compiling RichTextKit StandardRichTextShareService.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:86:24: warning: '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. [#DeprecatedDeclaration]
84 | var body: some View {
85 | VStack {
86 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
87 | Picker(forValue: writableKeypath, in: context) {
88 | Text("Context")
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:43:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
41 | let values = values ?? value.defaultPickerValues ?? []
42 | let binding: Binding<ValueType> = .init {
43 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:45:35: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
43 | paragraph.wrappedValue[keyPath: value]
44 | } set: { newValue in
45 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
46 | }
47 | let indexBinding = Self.indexBinding(for: values, binding: binding)
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:35:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | /// in the provided paragraph style.
34 | init<ValueType: Hashable, ValueLabel: View>(
35 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
36 | in paragraph: Binding<NSMutableParagraphStyle>,
37 | values: [ValueType]? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:63:27: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
64 | set: { binding.wrappedValue = values[$0] }
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:59:13: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
57 |
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
60 | binding: Binding<ValueType>
61 | ) -> Binding<Int> {
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:64:28: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
62 | .init(
63 | get: { values.firstIndex(of: binding.wrappedValue) ?? 0 },
64 | set: { binding.wrappedValue = values[$0] }
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
65 | )
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:60:9: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
58 | static func indexBinding<ValueType: Hashable>(
59 | for values: [ValueType],
60 | binding: Binding<ValueType>
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
61 | ) -> Binding<Int> {
62 | .init(
macro expansion #Preview:35:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Picker+RichTextParagraphValue.swift:106:2: note: expanded code originates here
67 | }
68 |
69 | #Preview {
| `- note: in expansion of macro 'Preview' here
70 |
71 | struct Preview: View {
:
104 |
105 | return Preview()
106 | }
+--- macro expansion #Preview --------------------------------------
|33 | var body: some View {
|34 | VStack {
|35 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|36 | Picker(forValue: writableKeypath, in: context) {
|37 | Text("Context")
+-------------------------------------------------------------------
107 |
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:39:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
37 | self.init(
38 | value: .init {
39 | paragraph.wrappedValue[keyPath: value]
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:41:39: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
39 | paragraph.wrappedValue[keyPath: value]
40 | } set: { newValue in
41 | paragraph.wrappedValue[keyPath: value] = newValue
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
42 | },
43 | step: step,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Stepper+RichTextParagraphValue.swift:32:18: warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
30 | /// provided paragraph style.
31 | init<ValueType: Hashable & Strideable & Comparable & SignedNumeric>(
32 | forValue value: WritableKeyPath<NSMutableParagraphStyle, ValueType>,
| `- warning: capture of non-sendable type 'ValueType.Type' in an isolated closure
33 | in paragraph: Binding<NSMutableParagraphStyle>,
34 | step: ValueType.Stride,
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:59:24: warning: '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. [#DeprecatedDeclaration]
57 | var body: some View {
58 | VStack {
59 | Text("\(value)")
| `- warning: '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. [#DeprecatedDeclaration]
60 | Toggle(
61 | forValue: writableKeypath,
macro expansion #Preview:33:36: warning: '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. [#DeprecatedDeclaration]
`- /Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Paragraph/Toggle+RichTextParagraphValue.swift:81:2: note: expanded code originates here
42 | }
43 |
44 | #Preview {
| `- note: in expansion of macro 'Preview' here
45 |
46 | struct Preview: View {
:
79 |
80 | return Preview()
81 | }
+--- macro expansion #Preview ---------------------------------------
|31 | var body: some View {
|32 | VStack {
|33 | Text("\(value)")
| | `- warning: '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. [#DeprecatedDeclaration]
|34 | Toggle(
|35 | forValue: writableKeypath,
+--------------------------------------------------------------------
82 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[99/158] Compiling RichTextKit ImageRepresentable.swift
[100/158] Compiling RichTextKit RichTextImageAttachment.swift
[101/158] Compiling RichTextKit RichTextImageAttachmentManager.swift
[102/158] Compiling RichTextKit RichTextImageAttachmentSize.swift
[103/158] Compiling RichTextKit RichTextImageConfiguration.swift
[104/158] Compiling RichTextKit RichTextImageInsertConfiguration.swift
[105/158] Compiling RichTextKit RichTextKeyboardToolbar+Config.swift
[106/158] Compiling RichTextKit RichTextKeyboardToolbar+Style.swift
[107/158] Compiling RichTextKit RichTextKeyboardToolbar.swift
[108/158] Compiling RichTextKit RichTextKeyboardToolbarMenu.swift
[109/158] Compiling RichTextKit Bundle+Locale.swift
[110/158] Compiling RichTextKit RTKL10n.swift
[111/158] Compiling RichTextKit NSMutableParagraphStyle+PickerValues.swift
[112/158] Compiling RichTextKit NSMutableParagraphStyle+StepperInterval.swift
[113/158] Compiling RichTextKit NSMutableParagraphStyleValueLabel.swift
[114/158] Compiling RichTextKit RichTextExportUrlResolver.swift
[115/158] Compiling RichTextKit StandardRichTextExportService.swift
[116/158] Compiling RichTextKit Image+Label.swift
[117/158] Compiling RichTextKit NSAttributedString+Empty.swift
[118/158] Compiling RichTextKit NSTextAttachment+Image.swift
[119/158] Compiling RichTextKit String+Characters.swift
[120/158] Compiling RichTextKit String+Paragraph.swift
[121/158] Compiling RichTextKit String+Subscript.swift
[122/158] Compiling RichTextKit FontDescriptorRepresentable.swift
[123/158] Compiling RichTextKit FontRepresentable.swift
[124/158] Compiling RichTextKit FontTraitsRepresentable.swift
[125/158] Compiling RichTextKit RichTextFont+ForEachPicker.swift
[126/158] Compiling RichTextKit RichTextFont+ListPicker.swift
[127/158] Compiling RichTextKit RichTextFont+Picker.swift
[128/158] Compiling RichTextKit RichTextFont+PickerConfig.swift
[129/158] Compiling RichTextKit RichTextAction+Button.swift
[130/158] Compiling RichTextKit RichTextAction+ButtonGroup.swift
[131/158] Compiling RichTextKit RichTextAction+ButtonStack.swift
[132/158] Compiling RichTextKit RichTextAction+KeyboardShortcutModifier.swift
[133/158] Compiling RichTextKit RichTextAction.swift
[134/158] Compiling RichTextKit RichTextInsertion.swift
[135/158] Compiling RichTextKit RichTextAttribute.swift
[136/158] Compiling RichTextKit RichTextAttributeReader.swift
[137/158] Compiling RichTextKit RichTextAttributeWriter.swift
[138/158] Compiling RichTextKit RichTextView+Config.swift
[139/158] Compiling RichTextKit RichTextView+Config_AppKit.swift
[140/158] Compiling RichTextKit RichTextView+Config_UIKit.swift
[141/158] Compiling RichTextKit RichTextView+Setup.swift
[142/158] Compiling RichTextKit RichTextView+Theme.swift
[143/158] Compiling RichTextKit RichTextViewComponent+Attributes.swift
[144/158] Compiling RichTextKit RichTextFont+PickerFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[145/158] Compiling RichTextKit RichTextFont+PickerItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[146/158] Compiling RichTextKit RichTextFont+SizePicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[147/158] Compiling RichTextKit RichTextFont+SizePickerConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[148/158] Compiling RichTextKit RichTextFont+SizePickerStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[149/158] Compiling RichTextKit RichTextFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[150/158] Compiling RichTextKit StandardFontSizeProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[151/158] Compiling RichTextKit RichTextFormat+Sheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[152/158] Compiling RichTextKit RichTextFormat+Sidebar.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[153/158] Compiling RichTextKit RichTextFormat+Toolbar.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[154/158] Compiling RichTextKit RichTextFormat+ToolbarConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[155/158] Compiling RichTextKit RichTextFormat+ToolbarStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[156/158] Compiling RichTextKit RichTextFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[157/158] Compiling RichTextKit RichTextFormatToolbarBase.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[158/158] Compiling RichTextKit Image+RichText.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:13: warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'RichTextLine' is deprecated: Use native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichTextKit/Format/RichTextFormatToolbarBase.swift:150:26: warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
148 | ) -> some View {
149 | if config.lineSpacingPicker {
150 | RichTextLine.SpacingPickerStack(context: context)
| `- warning: 'SpacingPickerStack' is deprecated: Use SwiftUI Picker with native NSParagraphStyle directly instead. [#DeprecatedDeclaration]
151 | .buttonStyle(.bordered)
152 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (11.64s)
Fetching https://github.com/danielsaidi/MockingKit.git
[1/2362] Fetching mockingkit
Fetched https://github.com/danielsaidi/MockingKit.git from cache (1.22s)
Computing version for https://github.com/danielsaidi/MockingKit.git
Computed https://github.com/danielsaidi/MockingKit.git at 1.5.0 (1.67s)
Creating working copy for https://github.com/danielsaidi/MockingKit.git
Working copy of https://github.com/danielsaidi/MockingKit.git resolved at 1.5.0
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.