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 CodeEditorView, reference main (617b57), with Swift 6.0 for macOS (SPM) on 4 Dec 2025 17:38:14 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mchakravarty/CodeEditorView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mchakravarty/CodeEditorView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 617b57f Fix notification of language service about changes
Cloned https://github.com/mchakravarty/CodeEditorView.git
Revision (git rev-parse @):
617b57f363b2b75b9520fba67e7190689b91a444
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mchakravarty/CodeEditorView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mchakravarty/CodeEditorView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-5BDAB9E9C0126B9D.txt
[5/14] Compiling Rearrange RangeMutation.swift
[6/14] Compiling Rearrange String+NSRange.swift
[7/15] Compiling Rearrange UITextRange+Convenience.swift
[8/15] Compiling Rearrange NSTextLocation+Comparable.swift
[9/15] Compiling Rearrange IndexSet+ApplyMutation.swift
[10/15] Compiling Rearrange IndexSet+NSRange.swift
[11/15] Emitting module Rearrange
[12/15] Compiling Rearrange NSRange+Convenience.swift
[13/15] Compiling Rearrange NSRange+Shift.swift
[14/15] Compiling Rearrange NSTextRange+NSRange.swift
[15/15] Compiling Rearrange NSRange+ApplyMutation.swift
[16/27] Compiling LanguageSupport SwiftConfiguration.swift
[17/27] Compiling LanguageSupport PythonConfiguration.swift
[18/28] Compiling LanguageSupport Message.swift
[19/28] Compiling LanguageSupport SQLiteConfiguration.swift
[20/28] Compiling LanguageSupport Tokeniser.swift
[21/28] Compiling LanguageSupport Location.swift
[22/28] Compiling LanguageSupport LanguageService.swift
[23/28] Compiling LanguageSupport LanguageConfiguration.swift
[24/28] Compiling LanguageSupport AgdaConfiguration.swift
[25/28] Compiling LanguageSupport CabalConfiguration.swift
[26/28] Compiling LanguageSupport CypherConfiguration.swift
[27/28] Compiling LanguageSupport HaskellConfiguration.swift
[28/28] Emitting module LanguageSupport
[29/47] Compiling CodeEditorView Theme.swift
[30/47] Compiling CodeEditorView UIHostingView.swift
[31/48] Compiling CodeEditorView TextLayoutManagerExtras.swift
[32/48] Compiling CodeEditorView TextView.swift
[33/48] Compiling CodeEditorView Constants.swift
[34/48] Compiling CodeEditorView GutterView.swift
[35/48] Compiling CodeEditorView ScrollViewExtras.swift
[36/48] Compiling CodeEditorView TextContentStorageExtras.swift
[37/48] Compiling CodeEditorView MinimapView.swift
[38/48] Compiling CodeEditorView OSDefinitions.swift
[39/48] Compiling CodeEditorView ViewModifiers.swift
[40/48] Compiling CodeEditorView LineMap.swift
[41/48] Compiling CodeEditorView MessageViews.swift
[42/48] Compiling CodeEditorView CodeEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeEditor.swift:743:33: warning: call to main actor-isolated instance method 'scrollPositionDidChange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
741 |           // FIXME: we would like to get less fine-grained updates here, but `NSScrollView.didEndLiveScrollNotification` doesn't happen when moving the cursor around
742 |           if let scrollView {
743 |             context.coordinator.scrollPositionDidChange(scrollView)
    |                                 `- warning: call to main actor-isolated instance method 'scrollPositionDidChange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
744 |           }
745 |         }
    :
884 |
885 |     @MainActor
886 |     func scrollPositionDidChange(_ scrollView: NSScrollView) {
    |          `- note: calls to instance method 'scrollPositionDidChange' from outside of its actor context are implicitly asynchronous
887 |       guard !updatingView else { return }
888 |
[43/48] Compiling CodeEditorView CodeStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeEditor.swift:743:33: warning: call to main actor-isolated instance method 'scrollPositionDidChange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
741 |           // FIXME: we would like to get less fine-grained updates here, but `NSScrollView.didEndLiveScrollNotification` doesn't happen when moving the cursor around
742 |           if let scrollView {
743 |             context.coordinator.scrollPositionDidChange(scrollView)
    |                                 `- warning: call to main actor-isolated instance method 'scrollPositionDidChange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
744 |           }
745 |         }
    :
884 |
885 |     @MainActor
886 |     func scrollPositionDidChange(_ scrollView: NSScrollView) {
    |          `- note: calls to instance method 'scrollPositionDidChange' from outside of its actor context are implicitly asynchronous
887 |       guard !updatingView else { return }
888 |
[44/48] Emitting module CodeEditorView
[45/48] Compiling CodeEditorView CodeStorageDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeStorageDelegate.swift:401:53: warning: passing argument of non-sendable type 'NSTextStorage' into main actor-isolated context may introduce data races; this is an error in the Swift 6 language mode
399 |       }
400 |
401 |       await self?.requestSemanticTokens(for: lines, in: textStorage)
    |                                                     `- warning: passing argument of non-sendable type 'NSTextStorage' into main actor-isolated context may introduce data races; this is an error in the Swift 6 language mode
402 |     }
403 |
AppKit.NSTextStorage:2:12: note: class 'NSTextStorage' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.0, *)
 2 | open class NSTextStorage : NSMutableAttributedString, NSSecureCoding {
   |            `- note: class 'NSTextStorage' does not conform to the 'Sendable' protocol
 3 |     open var layoutManagers: [NSLayoutManager] { get }
 4 |     open func addLayoutManager(_ aLayoutManager: NSLayoutManager)
[46/48] Compiling CodeEditorView CodeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeStorageDelegate.swift:401:53: warning: passing argument of non-sendable type 'NSTextStorage' into main actor-isolated context may introduce data races; this is an error in the Swift 6 language mode
399 |       }
400 |
401 |       await self?.requestSemanticTokens(for: lines, in: textStorage)
    |                                                     `- warning: passing argument of non-sendable type 'NSTextStorage' into main actor-isolated context may introduce data races; this is an error in the Swift 6 language mode
402 |     }
403 |
AppKit.NSTextStorage:2:12: note: class 'NSTextStorage' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.0, *)
 2 | open class NSTextStorage : NSMutableAttributedString, NSSecureCoding {
   |            `- note: class 'NSTextStorage' does not conform to the 'Sendable' protocol
 3 |     open var layoutManagers: [NSLayoutManager] { get }
 4 |     open func addLayoutManager(_ aLayoutManager: NSLayoutManager)
[47/48] Compiling CodeEditorView CodeActions.swift
[48/48] Compiling CodeEditorView CodeEditing.swift
Build complete! (21.18s)
Fetching https://github.com/ChimeHQ/Rearrange.git
[1/569] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange.git from cache (1.08s)
Computing version for https://github.com/ChimeHQ/Rearrange.git
Computed https://github.com/ChimeHQ/Rearrange.git at 1.8.1 (2.98s)
Creating working copy for https://github.com/ChimeHQ/Rearrange.git
Working copy of https://github.com/ChimeHQ/Rearrange.git resolved at 1.8.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "rearrange",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/Rearrange.git"
    }
  ],
  "manifest_display_name" : "CodeEditorView",
  "name" : "CodeEditorView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "LanguageSupport",
      "targets" : [
        "LanguageSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CodeEditorView",
      "targets" : [
        "CodeEditorView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LanguageSupport",
      "module_type" : "SwiftTarget",
      "name" : "LanguageSupport",
      "path" : "Sources/LanguageSupport",
      "product_dependencies" : [
        "Rearrange"
      ],
      "product_memberships" : [
        "LanguageSupport",
        "CodeEditorView"
      ],
      "sources" : [
        "AgdaConfiguration.swift",
        "CabalConfiguration.swift",
        "CypherConfiguration.swift",
        "HaskellConfiguration.swift",
        "LanguageConfiguration.swift",
        "LanguageService.swift",
        "Location.swift",
        "Message.swift",
        "PythonConfiguration.swift",
        "SQLiteConfiguration.swift",
        "SwiftConfiguration.swift",
        "Tokeniser.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CodeEditorView",
      "module_type" : "SwiftTarget",
      "name" : "CodeEditorView",
      "path" : "Sources/CodeEditorView",
      "product_dependencies" : [
        "Rearrange"
      ],
      "product_memberships" : [
        "CodeEditorView"
      ],
      "sources" : [
        "CodeActions.swift",
        "CodeEditing.swift",
        "CodeEditor.swift",
        "CodeStorage.swift",
        "CodeStorageDelegate.swift",
        "CodeView.swift",
        "Constants.swift",
        "GutterView.swift",
        "LineMap.swift",
        "MessageViews.swift",
        "MinimapView.swift",
        "OSDefinitions.swift",
        "ScrollViewExtras.swift",
        "TextContentStorageExtras.swift",
        "TextLayoutManagerExtras.swift",
        "TextView.swift",
        "Theme.swift",
        "UIHostingView.swift",
        "ViewModifiers.swift"
      ],
      "target_dependencies" : [
        "LanguageSupport"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CodeEditorTests",
      "module_type" : "SwiftTarget",
      "name" : "CodeEditorTests",
      "path" : "Tests/CodeEditorTests",
      "sources" : [
        "CodeEditorTests.swift",
        "CypherConfigurationTests.swift",
        "LineMapTests.swift",
        "SQLiteConfigurationTests.swift",
        "TokenTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CodeEditorView"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.9"
}
Done.