The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CodeEditTextView, reference main (d65c2a), with Swift 6.0 for macOS (SPM) on 26 Jun 2025 20:47:26 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CodeEditApp/CodeEditTextView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CodeEditApp/CodeEditTextView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d65c2a4 Skip Selection Update in Undo/Redo (#113)
Cloned https://github.com/CodeEditApp/CodeEditTextView.git
Revision (git rev-parse @):
d65c2a4b23a52f69d0b3a113124d7434c7af07fa
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/CodeEditApp/CodeEditTextView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CodeEditApp/CodeEditTextView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftLint
[2/2] Compiling plugin SwiftLintFix
Building for debugging...
[2/16] Write sources
[13/16] Write swift-version-5BDAB9E9C0126B9D.txt
[15/40] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[16/41] Compiling InternalCollectionsUtilities Debugging.swift
[17/41] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[18/41] Compiling InternalCollectionsUtilities Descriptions.swift
[19/41] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[20/41] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[21/41] Compiling InternalCollectionsUtilities _SortedCollection.swift
[22/41] Emitting module InternalCollectionsUtilities
[23/41] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[24/41] Compiling InternalCollectionsUtilities UInt+reversed.swift
[25/41] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[26/41] Compiling InternalCollectionsUtilities Integer rank.swift
[27/41] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[28/41] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[29/41] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/323] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[31/323] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[32/324] Compiling DequeModule _DequeBuffer.swift
[33/324] Compiling HeapModule _HeapNode.swift
[34/324] Compiling HeapModule Heap+Invariants.swift
[35/324] Compiling HeapModule Heap.swift
[36/324] Compiling DequeModule _DequeBufferHeader.swift
[37/324] Compiling DequeModule _DequeSlot.swift
[38/324] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[39/324] Compiling HeapModule Heap+UnsafeHandle.swift
[40/324] Compiling HashTreeCollections _HashNode+Storage.swift
[41/324] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[42/324] Compiling HeapModule Heap+Descriptions.swift
[43/324] Emitting module HeapModule
[44/324] Compiling HashTreeCollections _HashNode+Structural filter.swift
[45/324] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[46/324] Compiling HashTreeCollections _UnmanagedHashNode.swift
[47/324] Compiling HashTreeCollections _UnsafePath.swift
[48/324] Compiling HashTreeCollections TreeDictionary+Codable.swift
[49/324] Compiling HashTreeCollections TreeDictionary+Collection.swift
[50/324] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[51/324] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[52/330] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[53/330] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[54/330] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[55/330] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[56/330] Compiling HashTreeCollections _HashNode.swift
[57/330] Compiling HashTreeCollections _HashNodeHeader.swift
[58/330] Compiling DequeModule _UnsafeWrappedBuffer.swift
[59/330] Compiling HashTreeCollections _RawHashNode.swift
[65/330] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[66/330] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[67/330] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[68/330] Compiling HashTreeCollections TreeDictionary+Filter.swift
[69/330] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[70/330] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[71/330] Compiling HashTreeCollections TreeDictionary+Keys.swift
[72/330] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[73/330] Compiling HashTreeCollections TreeDictionary+Merge.swift
[74/330] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[75/330] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[76/330] Compiling HashTreeCollections TreeDictionary+Values.swift
[77/335] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[78/335] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[79/335] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[80/335] Compiling HashTreeCollections _HashNode+Structural merge.swift
[81/335] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[82/335] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[84/335] Compiling HashTreeCollections _HashSlot.swift
[85/335] Compiling HashTreeCollections _HashStack.swift
[86/335] Compiling HashTreeCollections _HashTreeIterator.swift
[87/335] Compiling HashTreeCollections _HashTreeStatistics.swift
[88/335] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[89/335] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[90/335] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[91/335] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[92/335] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[93/335] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[94/335] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[95/335] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[96/335] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[97/335] Compiling HashTreeCollections TreeSet+Equatable.swift
[98/335] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[99/335] Compiling HashTreeCollections TreeSet+Extras.swift
[100/335] Compiling HashTreeCollections TreeSet+Filter.swift
[101/335] Compiling HashTreeCollections TreeSet+Hashable.swift
[102/335] Compiling HashTreeCollections TreeSet+Sendable.swift
[103/335] Compiling HashTreeCollections TreeSet+Sequence.swift
[104/335] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[105/343] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[106/343] Compiling HashTreeCollections _AncestorHashSlots.swift
[107/343] Compiling HashTreeCollections _Bitmap.swift
[108/343] Compiling HashTreeCollections _Bucket.swift
[114/343] Compiling HashTreeCollections _Hash.swift
[115/343] Compiling HashTreeCollections _HashLevel.swift
[116/343] Compiling HashTreeCollections _HashNode+Builder.swift
[117/343] Compiling HashTreeCollections _HashNode+Debugging.swift
[118/343] Compiling HashTreeCollections _HashNode+Initializers.swift
[119/343] Compiling HashTreeCollections _HashNode+Invariants.swift
[121/343] Compiling HashTreeCollections _HashNode+Lookups.swift
[122/343] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[138/343] Compiling BitCollections BitSet.swift
[139/343] Compiling BitCollections Range+Utilities.swift
[140/343] Compiling BitCollections Slice+Utilities.swift
[141/343] Compiling BitCollections UInt+Tricks.swift
[142/343] Compiling BitCollections _Word.swift
[143/343] Compiling OrderedCollections OrderedSet.swift
[144/343] Compiling OrderedCollections _UnsafeBitset.swift
[145/343] Compiling HashTreeCollections _HashNode+Structural union.swift
[169/343] Emitting module DequeModule
[170/343] Emitting module BitCollections
[194/343] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[195/343] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[196/343] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[197/343] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[198/343] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[199/343] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[200/343] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[201/343] Compiling HashTreeCollections TreeSet.swift
[295/350] Emitting module OrderedCollections
[314/350] Emitting module _RopeModule
[315/350] Compiling _RopeModule Rope+Remove.swift
[316/350] Compiling _RopeModule Rope+RemoveSubrange.swift
[317/350] Compiling _RopeModule Rope+Split.swift
[318/350] Compiling _RopeModule Optional Utilities.swift
[319/350] Compiling _RopeModule String Utilities.swift
[320/350] Compiling _RopeModule String.Index+ABI.swift
[321/350] Compiling _RopeModule _CharacterRecognizer.swift
[338/350] Emitting module HashTreeCollections
[339/352] Compiling Collections Collections.swift
[340/352] Emitting module Collections
[340/352] Compiling CodeEditTextViewObjC CGContextHidden.m
[341/352] Compiling Internal TSYTextStorage.m
[343/352] Compiling Rearrange String+NSRange.swift
[344/352] Compiling Rearrange UITextRange+Convenience.swift
[345/352] Compiling Rearrange RangeMutation.swift
[346/352] Compiling Rearrange IndexSet+ApplyMutation.swift
[347/352] Compiling Rearrange NSRange+Convenience.swift
[348/352] Compiling Rearrange NSRange+Shift.swift
[349/352] Emitting module Rearrange
[350/352] Compiling Rearrange NSTextRange+NSRange.swift
[351/352] Compiling Rearrange NSRange+ApplyMutation.swift
[352/352] Compiling Rearrange IndexSet+NSRange.swift
[353/363] Compiling TextStory TextStoringMonitor.swift
[354/364] Compiling TextStory NSTextContentStorage+TextStoring.swift
[355/364] Compiling TextStory LazyTextStoringMonitor.swift
[356/364] Compiling TextStory NSTextStorage+TextStoring.swift
[357/364] Compiling TextStory TextStoring+Ranges.swift
[358/364] Compiling TextStory TextMutation.swift
[359/364] Compiling TextStory TextMutationEventRouter.swift
[360/364] Compiling TextStory TextStoring.swift
[361/364] Compiling TextStory TextView+TextStoring.swift
[362/364] Emitting module TextStory
[363/364] Compiling TextStory BufferingTextStorage.swift
[364/364] Compiling TextStory CompositeTextStoringMonitor.swift
[365/446] Compiling CodeEditTextView InvisibleCharactersDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Iterator.swift:199:16: warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
197 |
198 |         if lastAttachment.range.max > originalPosition.position.range.max,
199 |            var extendedLinePosition = lineStorage.getLine(atOffset: lastAttachment.range.max) {
    |                `- warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
200 |             newPosition = TextLineStorage<TextLine>.TextLinePosition(
201 |                 data: newPosition.data,
[366/446] Compiling CodeEditTextView MarkedRanges.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Iterator.swift:199:16: warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
197 |
198 |         if lastAttachment.range.max > originalPosition.position.range.max,
199 |            var extendedLinePosition = lineStorage.getLine(atOffset: lastAttachment.range.max) {
    |                `- warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
200 |             newPosition = TextLineStorage<TextLine>.TextLinePosition(
201 |                 data: newPosition.data,
[367/446] Compiling CodeEditTextView MarkedTextManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Iterator.swift:199:16: warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
197 |
198 |         if lastAttachment.range.max > originalPosition.position.range.max,
199 |            var extendedLinePosition = lineStorage.getLine(atOffset: lastAttachment.range.max) {
    |                `- warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
200 |             newPosition = TextLineStorage<TextLine>.TextLinePosition(
201 |                 data: newPosition.data,
[368/446] Compiling CodeEditTextView TextAttachment.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Iterator.swift:199:16: warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
197 |
198 |         if lastAttachment.range.max > originalPosition.position.range.max,
199 |            var extendedLinePosition = lineStorage.getLine(atOffset: lastAttachment.range.max) {
    |                `- warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
200 |             newPosition = TextLineStorage<TextLine>.TextLinePosition(
201 |                 data: newPosition.data,
[369/446] Compiling CodeEditTextView TextAttachmentManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Iterator.swift:199:16: warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
197 |
198 |         if lastAttachment.range.max > originalPosition.position.range.max,
199 |            var extendedLinePosition = lineStorage.getLine(atOffset: lastAttachment.range.max) {
    |                `- warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
200 |             newPosition = TextLineStorage<TextLine>.TextLinePosition(
201 |                 data: newPosition.data,
[370/446] Compiling CodeEditTextView TextAttachmentManagerDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Iterator.swift:199:16: warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
197 |
198 |         if lastAttachment.range.max > originalPosition.position.range.max,
199 |            var extendedLinePosition = lineStorage.getLine(atOffset: lastAttachment.range.max) {
    |                `- warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
200 |             newPosition = TextLineStorage<TextLine>.TextLinePosition(
201 |                 data: newPosition.data,
[371/446] Compiling CodeEditTextView TextLayoutManager+Edits.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Iterator.swift:199:16: warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
197 |
198 |         if lastAttachment.range.max > originalPosition.position.range.max,
199 |            var extendedLinePosition = lineStorage.getLine(atOffset: lastAttachment.range.max) {
    |                `- warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
200 |             newPosition = TextLineStorage<TextLine>.TextLinePosition(
201 |                 data: newPosition.data,
[372/446] Compiling CodeEditTextView TextLayoutManager+Invalidation.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Iterator.swift:199:16: warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
197 |
198 |         if lastAttachment.range.max > originalPosition.position.range.max,
199 |            var extendedLinePosition = lineStorage.getLine(atOffset: lastAttachment.range.max) {
    |                `- warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
200 |             newPosition = TextLineStorage<TextLine>.TextLinePosition(
201 |                 data: newPosition.data,
[373/446] Compiling CodeEditTextView TextLayoutManager+Iterator.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Iterator.swift:199:16: warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
197 |
198 |         if lastAttachment.range.max > originalPosition.position.range.max,
199 |            var extendedLinePosition = lineStorage.getLine(atOffset: lastAttachment.range.max) {
    |                `- warning: variable 'extendedLinePosition' was never mutated; consider changing to 'let' constant
200 |             newPosition = TextLineStorage<TextLine>.TextLinePosition(
201 |                 data: newPosition.data,
[374/455] Emitting module CodeEditTextView
[375/455] Compiling CodeEditTextView TextLineStorage.swift
[376/455] Compiling CodeEditTextView Destination.swift
[377/455] Compiling CodeEditTextView Direction.swift
[378/455] Compiling CodeEditTextView SelectionManipulation+Horizontal.swift
[379/455] Compiling CodeEditTextView SelectionManipulation+Vertical.swift
[380/455] Compiling CodeEditTextView TextSelectionManager+SelectionManipulation.swift
[381/455] Compiling CodeEditTextView TextSelection.swift
[382/455] Compiling CodeEditTextView TextSelectionManager+Draw.swift
[383/455] Compiling CodeEditTextView TextSelectionManager+FillRects.swift
[384/455] Compiling CodeEditTextView TextLine.swift
[385/455] Compiling CodeEditTextView CTLineTypesetData.swift
[386/455] Compiling CodeEditTextView LineFragmentTypesetContext.swift
[387/455] Compiling CodeEditTextView TypesetContext.swift
[388/455] Compiling CodeEditTextView Typesetter.swift
[389/455] Compiling CodeEditTextView TextLineStorage+Iterator.swift
[390/455] Compiling CodeEditTextView TextLineStorage+NSTextStorage.swift
[391/455] Compiling CodeEditTextView TextLineStorage+Node.swift
[392/455] Compiling CodeEditTextView TextLineStorage+Structs.swift
[393/455] Compiling CodeEditTextView TextSelectionManager+Move.swift
[394/455] Compiling CodeEditTextView TextSelectionManager+Update.swift
[395/455] Compiling CodeEditTextView TextSelectionManager.swift
[396/455] Compiling CodeEditTextView DraggingTextRenderer.swift
[397/455] Compiling CodeEditTextView TextView+Accessibility.swift
[398/455] Compiling CodeEditTextView TextView+ColumnSelection.swift
[399/455] Compiling CodeEditTextView TextView+CopyPaste.swift
[400/455] Compiling CodeEditTextView TextView+Delete.swift
[401/455] Compiling CodeEditTextView TextView+Drag.swift
[402/455] Compiling CodeEditTextView TextView+FirstResponder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextView/TextView+Insert.swift:12:13: warning: variable 'attachments' was never mutated; consider changing to 'let' constant
10 | extension TextView {
11 |     override public func insertNewline(_ sender: Any?) {
12 |         var attachments: [AnyTextAttachment] = selectionManager.textSelections.compactMap({ selection in
   |             `- warning: variable 'attachments' was never mutated; consider changing to 'let' constant
13 |             let content = layoutManager.contentRun(at: selection.range.location)
14 |             if case let .attachment(attachment) = content?.data, attachment.range == selection.range {
[403/455] Compiling CodeEditTextView TextView+Insert.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextView/TextView+Insert.swift:12:13: warning: variable 'attachments' was never mutated; consider changing to 'let' constant
10 | extension TextView {
11 |     override public func insertNewline(_ sender: Any?) {
12 |         var attachments: [AnyTextAttachment] = selectionManager.textSelections.compactMap({ selection in
   |             `- warning: variable 'attachments' was never mutated; consider changing to 'let' constant
13 |             let content = layoutManager.contentRun(at: selection.range.location)
14 |             if case let .attachment(attachment) = content?.data, attachment.range == selection.range {
[404/455] Compiling CodeEditTextView TextView+KeyDown.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextView/TextView+Insert.swift:12:13: warning: variable 'attachments' was never mutated; consider changing to 'let' constant
10 | extension TextView {
11 |     override public func insertNewline(_ sender: Any?) {
12 |         var attachments: [AnyTextAttachment] = selectionManager.textSelections.compactMap({ selection in
   |             `- warning: variable 'attachments' was never mutated; consider changing to 'let' constant
13 |             let content = layoutManager.contentRun(at: selection.range.location)
14 |             if case let .attachment(attachment) = content?.data, attachment.range == selection.range {
[405/455] Compiling CodeEditTextView TextView+Layout.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextView/TextView+Insert.swift:12:13: warning: variable 'attachments' was never mutated; consider changing to 'let' constant
10 | extension TextView {
11 |     override public func insertNewline(_ sender: Any?) {
12 |         var attachments: [AnyTextAttachment] = selectionManager.textSelections.compactMap({ selection in
   |             `- warning: variable 'attachments' was never mutated; consider changing to 'let' constant
13 |             let content = layoutManager.contentRun(at: selection.range.location)
14 |             if case let .attachment(attachment) = content?.data, attachment.range == selection.range {
[406/455] Compiling CodeEditTextView TextView+Lifecycle.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextView/TextView+Insert.swift:12:13: warning: variable 'attachments' was never mutated; consider changing to 'let' constant
10 | extension TextView {
11 |     override public func insertNewline(_ sender: Any?) {
12 |         var attachments: [AnyTextAttachment] = selectionManager.textSelections.compactMap({ selection in
   |             `- warning: variable 'attachments' was never mutated; consider changing to 'let' constant
13 |             let content = layoutManager.contentRun(at: selection.range.location)
14 |             if case let .attachment(attachment) = content?.data, attachment.range == selection.range {
[407/455] Compiling CodeEditTextView TextView+Menu.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextView/TextView+Insert.swift:12:13: warning: variable 'attachments' was never mutated; consider changing to 'let' constant
10 | extension TextView {
11 |     override public func insertNewline(_ sender: Any?) {
12 |         var attachments: [AnyTextAttachment] = selectionManager.textSelections.compactMap({ selection in
   |             `- warning: variable 'attachments' was never mutated; consider changing to 'let' constant
13 |             let content = layoutManager.contentRun(at: selection.range.location)
14 |             if case let .attachment(attachment) = content?.data, attachment.range == selection.range {
[408/455] Compiling CodeEditTextView TextView+Mouse.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextView/TextView+Insert.swift:12:13: warning: variable 'attachments' was never mutated; consider changing to 'let' constant
10 | extension TextView {
11 |     override public func insertNewline(_ sender: Any?) {
12 |         var attachments: [AnyTextAttachment] = selectionManager.textSelections.compactMap({ selection in
   |             `- warning: variable 'attachments' was never mutated; consider changing to 'let' constant
13 |             let content = layoutManager.contentRun(at: selection.range.location)
14 |             if case let .attachment(attachment) = content?.data, attachment.range == selection.range {
[409/455] Compiling CodeEditTextView TextView+Move.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextView/TextView+Insert.swift:12:13: warning: variable 'attachments' was never mutated; consider changing to 'let' constant
10 | extension TextView {
11 |     override public func insertNewline(_ sender: Any?) {
12 |         var attachments: [AnyTextAttachment] = selectionManager.textSelections.compactMap({ selection in
   |             `- warning: variable 'attachments' was never mutated; consider changing to 'let' constant
13 |             let content = layoutManager.contentRun(at: selection.range.location)
14 |             if case let .attachment(attachment) = content?.data, attachment.range == selection.range {
[410/455] Compiling CodeEditTextView TextView+NSTextInput.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextView/TextView+Insert.swift:12:13: warning: variable 'attachments' was never mutated; consider changing to 'let' constant
10 | extension TextView {
11 |     override public func insertNewline(_ sender: Any?) {
12 |         var attachments: [AnyTextAttachment] = selectionManager.textSelections.compactMap({ selection in
   |             `- warning: variable 'attachments' was never mutated; consider changing to 'let' constant
13 |             let content = layoutManager.contentRun(at: selection.range.location)
14 |             if case let .attachment(attachment) = content?.data, attachment.range == selection.range {
[411/455] Compiling CodeEditTextView TextView.swift
[412/455] Compiling CodeEditTextView TextViewDelegate.swift
[413/455] Compiling CodeEditTextView CEUndoManager.swift
[414/455] Compiling CodeEditTextView HorizontalEdgeInsets.swift
[415/455] Compiling CodeEditTextView KillRing.swift
[416/455] Compiling CodeEditTextView LineEnding.swift
[417/455] Compiling CodeEditTextView Logger.swift
[418/455] Compiling CodeEditTextView MultiStorageDelegate.swift
[419/455] Compiling CodeEditTextView ViewReuseQueue.swift
[420/455] Compiling CodeEditTextView TextLayoutManager+Layout.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Layout.swift:221:13: warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
219 |         var width: CGFloat = 0
220 |         let relativeMinY = max(layoutData.minY - position.yPos, 0)
221 |         let relativeMaxY = max(layoutData.maxY - position.yPos, relativeMinY)
    |             `- warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
222 |
223 | //        for lineFragmentPosition in line.lineFragments.linesStartingAt(
[421/455] Compiling CodeEditTextView TextLayoutManager+Public.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Layout.swift:221:13: warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
219 |         var width: CGFloat = 0
220 |         let relativeMinY = max(layoutData.minY - position.yPos, 0)
221 |         let relativeMaxY = max(layoutData.maxY - position.yPos, relativeMinY)
    |             `- warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
222 |
223 | //        for lineFragmentPosition in line.lineFragments.linesStartingAt(
[422/455] Compiling CodeEditTextView TextLayoutManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Layout.swift:221:13: warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
219 |         var width: CGFloat = 0
220 |         let relativeMinY = max(layoutData.minY - position.yPos, 0)
221 |         let relativeMaxY = max(layoutData.maxY - position.yPos, relativeMinY)
    |             `- warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
222 |
223 | //        for lineFragmentPosition in line.lineFragments.linesStartingAt(
[423/455] Compiling CodeEditTextView TextLayoutManagerDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Layout.swift:221:13: warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
219 |         var width: CGFloat = 0
220 |         let relativeMinY = max(layoutData.minY - position.yPos, 0)
221 |         let relativeMaxY = max(layoutData.maxY - position.yPos, relativeMinY)
    |             `- warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
222 |
223 | //        for lineFragmentPosition in line.lineFragments.linesStartingAt(
[424/455] Compiling CodeEditTextView TextLayoutManagerRenderDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Layout.swift:221:13: warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
219 |         var width: CGFloat = 0
220 |         let relativeMinY = max(layoutData.minY - position.yPos, 0)
221 |         let relativeMaxY = max(layoutData.maxY - position.yPos, relativeMinY)
    |             `- warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
222 |
223 | //        for lineFragmentPosition in line.lineFragments.linesStartingAt(
[425/455] Compiling CodeEditTextView LineBreakStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Layout.swift:221:13: warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
219 |         var width: CGFloat = 0
220 |         let relativeMinY = max(layoutData.minY - position.yPos, 0)
221 |         let relativeMaxY = max(layoutData.maxY - position.yPos, relativeMinY)
    |             `- warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
222 |
223 | //        for lineFragmentPosition in line.lineFragments.linesStartingAt(
[426/455] Compiling CodeEditTextView LineFragment.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Layout.swift:221:13: warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
219 |         var width: CGFloat = 0
220 |         let relativeMinY = max(layoutData.minY - position.yPos, 0)
221 |         let relativeMaxY = max(layoutData.maxY - position.yPos, relativeMinY)
    |             `- warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
222 |
223 | //        for lineFragmentPosition in line.lineFragments.linesStartingAt(
[427/455] Compiling CodeEditTextView LineFragmentRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Layout.swift:221:13: warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
219 |         var width: CGFloat = 0
220 |         let relativeMinY = max(layoutData.minY - position.yPos, 0)
221 |         let relativeMaxY = max(layoutData.maxY - position.yPos, relativeMinY)
    |             `- warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
222 |
223 | //        for lineFragmentPosition in line.lineFragments.linesStartingAt(
[428/455] Compiling CodeEditTextView LineFragmentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditTextView/TextLayoutManager/TextLayoutManager+Layout.swift:221:13: warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
219 |         var width: CGFloat = 0
220 |         let relativeMinY = max(layoutData.minY - position.yPos, 0)
221 |         let relativeMaxY = max(layoutData.maxY - position.yPos, relativeMinY)
    |             `- warning: initialization of immutable value 'relativeMaxY' was never used; consider replacing with assignment to '_' or removing it
222 |
223 | //        for lineFragmentPosition in line.lineFragments.linesStartingAt(
[429/455] Compiling CodeEditTextView TextView+ReplaceCharacters.swift
[430/455] Compiling CodeEditTextView TextView+ScrollToVisible.swift
[431/455] Compiling CodeEditTextView TextView+Select.swift
[432/455] Compiling CodeEditTextView TextView+SetText.swift
[433/455] Compiling CodeEditTextView TextView+Setup.swift
[434/455] Compiling CodeEditTextView TextView+StorageDelegate.swift
[435/455] Compiling CodeEditTextView TextView+TextLayoutManagerDelegate.swift
[436/455] Compiling CodeEditTextView TextView+TextSelectionManagerDelegate.swift
[437/455] Compiling CodeEditTextView TextView+UndoRedo.swift
[438/455] Compiling CodeEditTextView GC+ApproximateEqual.swift
[439/455] Compiling CodeEditTextView NSBezierPath+CGPathFallback.swift
[440/455] Compiling CodeEditTextView NSBezierPath+SmoothPath.swift
[441/455] Compiling CodeEditTextView NSColor+Greyscale.swift
[442/455] Compiling CodeEditTextView NSColor+Hex.swift
[443/455] Compiling CodeEditTextView NSRange+init.swift
[444/455] Compiling CodeEditTextView NSRange+isEmpty.swift
[445/455] Compiling CodeEditTextView NSTextStorage+getLine.swift
[446/455] Compiling CodeEditTextView PixelAligned.swift
[447/455] Compiling CodeEditTextView CodeEditTextView.swift
[448/455] Compiling CodeEditTextView CursorSelectionMode.swift
[449/455] Compiling CodeEditTextView CursorTimer.swift
[450/455] Compiling CodeEditTextView CursorView.swift
[451/455] Compiling CodeEditTextView Emphasis.swift
[452/455] Compiling CodeEditTextView EmphasisManager.swift
[453/455] Compiling CodeEditTextView EmphasisStyle.swift
[454/455] Compiling CodeEditTextView CTTypesetter+SuggestLineBreak.swift
[455/455] Compiling CodeEditTextView CharacterSet.swift
Build complete! (35.93s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/ChimeHQ/TextStory
Fetching https://github.com/lukepistrol/SwiftLintPlugin
[8/358] Fetching swiftlintplugin
[359/853] Fetching swiftlintplugin, textstory
Fetched https://github.com/lukepistrol/SwiftLintPlugin from cache (0.68s)
[125/17210] Fetching textstory, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.61s)
Fetched https://github.com/ChimeHQ/TextStory from cache (1.61s)
Computing version for https://github.com/ChimeHQ/TextStory
Computed https://github.com/ChimeHQ/TextStory at 0.9.1 (0.46s)
Fetching https://github.com/ChimeHQ/Rearrange
[1/569] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.69s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 2.0.0 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.52s)
Computing version for https://github.com/lukepistrol/SwiftLintPlugin
Computed https://github.com/lukepistrol/SwiftLintPlugin at 0.59.1 (3.18s)
Creating working copy for https://github.com/ChimeHQ/TextStory
Working copy of https://github.com/ChimeHQ/TextStory resolved at 0.9.1
Creating working copy for https://github.com/lukepistrol/SwiftLintPlugin
Working copy of https://github.com/lukepistrol/SwiftLintPlugin resolved at 0.59.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 2.0.0
[16375/41085097] Downloading https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip (2.77s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "textstory",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/TextStory"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "swiftlintplugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.52.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/lukepistrol/SwiftLintPlugin"
    }
  ],
  "manifest_display_name" : "CodeEditTextView",
  "name" : "CodeEditTextView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "CodeEditTextView",
      "targets" : [
        "CodeEditTextView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CodeEditTextViewTests",
      "module_type" : "SwiftTarget",
      "name" : "CodeEditTextViewTests",
      "path" : "Tests/CodeEditTextViewTests",
      "product_dependencies" : [
        "SwiftLint"
      ],
      "sources" : [
        "EmphasisManagerTests.swift",
        "KillRingTests.swift",
        "LayoutManager/OverridingLayoutManagerRenderingTests.swift",
        "LayoutManager/TextLayoutManagerAttachmentsTests.swift",
        "LayoutManager/TextLayoutManagerTests.swift",
        "LineEndingTests.swift",
        "MarkedTextTests.swift",
        "TextLayoutLineStorageTests.swift",
        "TextSelectionManagerTests.swift",
        "TextViewTests.swift",
        "TypesetterTests.swift"
      ],
      "target_dependencies" : [
        "CodeEditTextView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CodeEditTextViewObjC",
      "module_type" : "ClangTarget",
      "name" : "CodeEditTextViewObjC",
      "path" : "Sources/CodeEditTextViewObjC",
      "product_memberships" : [
        "CodeEditTextView"
      ],
      "sources" : [
        "CGContextHidden.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CodeEditTextView",
      "module_type" : "SwiftTarget",
      "name" : "CodeEditTextView",
      "path" : "Sources/CodeEditTextView",
      "product_dependencies" : [
        "TextStory",
        "Collections",
        "SwiftLint"
      ],
      "product_memberships" : [
        "CodeEditTextView"
      ],
      "sources" : [
        "CodeEditTextView.swift",
        "Cursors/CursorSelectionMode.swift",
        "Cursors/CursorTimer.swift",
        "Cursors/CursorView.swift",
        "EmphasisManager/Emphasis.swift",
        "EmphasisManager/EmphasisManager.swift",
        "EmphasisManager/EmphasisStyle.swift",
        "Extensions/CTTypesetter+SuggestLineBreak.swift",
        "Extensions/CharacterSet.swift",
        "Extensions/GC+ApproximateEqual.swift",
        "Extensions/NSBezierPath+CGPathFallback.swift",
        "Extensions/NSBezierPath+SmoothPath.swift",
        "Extensions/NSColor+Greyscale.swift",
        "Extensions/NSColor+Hex.swift",
        "Extensions/NSRange+/NSRange+init.swift",
        "Extensions/NSRange+/NSRange+isEmpty.swift",
        "Extensions/NSTextStorage+getLine.swift",
        "Extensions/PixelAligned.swift",
        "InvisibleCharacters/InvisibleCharactersDelegate.swift",
        "MarkedTextManager/MarkedRanges.swift",
        "MarkedTextManager/MarkedTextManager.swift",
        "TextLayoutManager/TextAttachments/TextAttachment.swift",
        "TextLayoutManager/TextAttachments/TextAttachmentManager.swift",
        "TextLayoutManager/TextAttachments/TextAttachmentManagerDelegate.swift",
        "TextLayoutManager/TextLayoutManager+Edits.swift",
        "TextLayoutManager/TextLayoutManager+Invalidation.swift",
        "TextLayoutManager/TextLayoutManager+Iterator.swift",
        "TextLayoutManager/TextLayoutManager+Layout.swift",
        "TextLayoutManager/TextLayoutManager+Public.swift",
        "TextLayoutManager/TextLayoutManager.swift",
        "TextLayoutManager/TextLayoutManagerDelegate.swift",
        "TextLayoutManager/TextLayoutManagerRenderDelegate.swift",
        "TextLine/LineBreakStrategy.swift",
        "TextLine/LineFragment.swift",
        "TextLine/LineFragmentRenderer.swift",
        "TextLine/LineFragmentView.swift",
        "TextLine/TextLine.swift",
        "TextLine/Typesetter/CTLineTypesetData.swift",
        "TextLine/Typesetter/LineFragmentTypesetContext.swift",
        "TextLine/Typesetter/TypesetContext.swift",
        "TextLine/Typesetter/Typesetter.swift",
        "TextLineStorage/TextLineStorage+Iterator.swift",
        "TextLineStorage/TextLineStorage+NSTextStorage.swift",
        "TextLineStorage/TextLineStorage+Node.swift",
        "TextLineStorage/TextLineStorage+Structs.swift",
        "TextLineStorage/TextLineStorage.swift",
        "TextSelectionManager/Destination.swift",
        "TextSelectionManager/Direction.swift",
        "TextSelectionManager/SelectionManipulation/SelectionManipulation+Horizontal.swift",
        "TextSelectionManager/SelectionManipulation/SelectionManipulation+Vertical.swift",
        "TextSelectionManager/SelectionManipulation/TextSelectionManager+SelectionManipulation.swift",
        "TextSelectionManager/TextSelection.swift",
        "TextSelectionManager/TextSelectionManager+Draw.swift",
        "TextSelectionManager/TextSelectionManager+FillRects.swift",
        "TextSelectionManager/TextSelectionManager+Move.swift",
        "TextSelectionManager/TextSelectionManager+Update.swift",
        "TextSelectionManager/TextSelectionManager.swift",
        "TextView/DraggingTextRenderer.swift",
        "TextView/TextView+Accessibility.swift",
        "TextView/TextView+ColumnSelection.swift",
        "TextView/TextView+CopyPaste.swift",
        "TextView/TextView+Delete.swift",
        "TextView/TextView+Drag.swift",
        "TextView/TextView+FirstResponder.swift",
        "TextView/TextView+Insert.swift",
        "TextView/TextView+KeyDown.swift",
        "TextView/TextView+Layout.swift",
        "TextView/TextView+Lifecycle.swift",
        "TextView/TextView+Menu.swift",
        "TextView/TextView+Mouse.swift",
        "TextView/TextView+Move.swift",
        "TextView/TextView+NSTextInput.swift",
        "TextView/TextView+ReplaceCharacters.swift",
        "TextView/TextView+ScrollToVisible.swift",
        "TextView/TextView+Select.swift",
        "TextView/TextView+SetText.swift",
        "TextView/TextView+Setup.swift",
        "TextView/TextView+StorageDelegate.swift",
        "TextView/TextView+TextLayoutManagerDelegate.swift",
        "TextView/TextView+TextSelectionManagerDelegate.swift",
        "TextView/TextView+UndoRedo.swift",
        "TextView/TextView.swift",
        "TextView/TextViewDelegate.swift",
        "Utils/CEUndoManager.swift",
        "Utils/HorizontalEdgeInsets.swift",
        "Utils/KillRing.swift",
        "Utils/LineEnding.swift",
        "Utils/Logger.swift",
        "Utils/MultiStorageDelegate.swift",
        "Utils/ViewReuseQueue.swift"
      ],
      "target_dependencies" : [
        "CodeEditTextViewObjC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.