The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CodeEditorView, reference main (538605), with Swift 6.0 for macOS (SPM) on 7 Feb 2026 17:59:06 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 5386056 Fix (mostly) hghlighting for semantic tokens
Cloned https://github.com/mchakravarty/CodeEditorView.git
Revision (git rev-parse @):
5386056ab53d43363083cb96069715a9608aa048
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 NSRange+Shift.swift
[6/14] Compiling Rearrange NSRange+Convenience.swift
[7/14] Compiling Rearrange NSRange+ApplyMutation.swift
[8/14] Compiling Rearrange IndexSet+ApplyMutation.swift
[9/14] Emitting module Rearrange
[10/14] Compiling Rearrange IndexSet+NSRange.swift
[11/15] Compiling Rearrange UITextRange+Convenience.swift
[12/15] Compiling Rearrange NSTextLocation+Comparable.swift
[13/15] Compiling Rearrange String+NSRange.swift
[14/15] Compiling Rearrange RangeMutation.swift
[15/15] Compiling Rearrange NSTextRange+NSRange.swift
[16/27] Compiling LanguageSupport SwiftConfiguration.swift
[17/27] Compiling LanguageSupport SQLiteConfiguration.swift
[18/28] Compiling LanguageSupport Location.swift
[19/28] Compiling LanguageSupport Message.swift
[20/28] Compiling LanguageSupport PythonConfiguration.swift
[21/28] Compiling LanguageSupport LanguageConfiguration.swift
[22/28] Compiling LanguageSupport Tokeniser.swift
[23/28] Compiling LanguageSupport LanguageService.swift
[24/28] Emitting module LanguageSupport
[25/28] Compiling LanguageSupport AgdaConfiguration.swift
[26/28] Compiling LanguageSupport CabalConfiguration.swift
[27/28] Compiling LanguageSupport CypherConfiguration.swift
[28/28] Compiling LanguageSupport HaskellConfiguration.swift
[29/47] Compiling CodeEditorView Constants.swift
[30/47] Compiling CodeEditorView GutterView.swift
[31/48] Compiling CodeEditorView ViewModifiers.swift
[32/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 |
[33/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 |
[34/48] Compiling CodeEditorView TextLayoutManagerExtras.swift
[35/48] Compiling CodeEditorView TextView.swift
[36/48] Compiling CodeEditorView ScrollViewExtras.swift
[37/48] Compiling CodeEditorView TextContentStorageExtras.swift
[38/48] Compiling CodeEditorView MinimapView.swift
[39/48] Compiling CodeEditorView OSDefinitions.swift
[40/48] Compiling CodeEditorView Theme.swift
[41/48] Compiling CodeEditorView UIHostingView.swift
[42/48] Compiling CodeEditorView LineMap.swift
[43/48] Compiling CodeEditorView MessageViews.swift
[44/48] Compiling CodeEditorView CodeActions.swift
[45/48] Compiling CodeEditorView CodeEditing.swift
[46/48] Compiling CodeEditorView CodeStorageDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeStorageDelegate.swift:418:65: 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
416 |       }
417 |
418 |       await self?.requestSemanticTokens(for: linesAfterEditing, 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
419 |     }
420 |
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 CodeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeStorageDelegate.swift:418:65: 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
416 |       }
417 |
418 |       await self?.requestSemanticTokens(for: linesAfterEditing, 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
419 |     }
420 |
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)
[48/48] Emitting module CodeEditorView
Build complete! (21.53s)
Fetching https://github.com/ChimeHQ/Rearrange.git
[1/569] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange.git from cache (0.75s)
Computing version for https://github.com/ChimeHQ/Rearrange.git
Computed https://github.com/ChimeHQ/Rearrange.git at 1.8.1 (2.97s)
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.