Build Information
Failed to build CodeEditorView, reference 0.15.4 (aba6c1
), with Swift 5.10 for macOS (SPM) on 6 Apr 2025 21:08:02 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mchakravarty/CodeEditorView.git
Reference: 0.15.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mchakravarty/CodeEditorView
* tag 0.15.4 -> FETCH_HEAD
HEAD is now at aba6c18 Add language configuration for Cabal files
Cloned https://github.com/mchakravarty/CodeEditorView.git
Revision (git rev-parse @):
aba6c189bb2f6fd9d7b8e9f5739aeb3c8c7e3254
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mchakravarty/CodeEditorView.git at 0.15.4
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/mchakravarty/CodeEditorView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-33747A42983211AE.txt
[5/14] Emitting module Rearrange
[6/15] Compiling Rearrange RangeMutation.swift
[7/15] Compiling Rearrange NSTextRange+NSRange.swift
[8/15] Compiling Rearrange String+NSRange.swift
[9/15] Compiling Rearrange NSRange+Shift.swift
[10/15] Compiling Rearrange NSRange+ApplyMutation.swift
[11/15] Compiling Rearrange NSRange+Convenience.swift
[12/15] Compiling Rearrange IndexSet+NSRange.swift
[13/15] Compiling Rearrange IndexSet+ApplyMutation.swift
[14/15] Compiling Rearrange NSTextLocation+Comparable.swift
[15/15] Compiling Rearrange UITextRange+Convenience.swift
[16/26] Compiling LanguageSupport SwiftConfiguration.swift
[17/26] Compiling LanguageSupport Message.swift
[18/26] Compiling LanguageSupport Location.swift
[19/26] Compiling LanguageSupport SQLiteConfiguration.swift
[20/27] Compiling LanguageSupport Tokeniser.swift
[21/27] Compiling LanguageSupport LanguageService.swift
[22/27] Compiling LanguageSupport LanguageConfiguration.swift
[23/27] Compiling LanguageSupport HaskellConfiguration.swift
[24/27] Compiling LanguageSupport AgdaConfiguration.swift
[25/27] Compiling LanguageSupport CabalConfiguration.swift
[26/27] Emitting module LanguageSupport
[27/27] Compiling LanguageSupport CypherConfiguration.swift
[28/46] Compiling CodeEditorView ScrollViewExtras.swift
[29/46] Compiling CodeEditorView TextContentStorageExtras.swift
[30/47] Compiling CodeEditorView Theme.swift
[31/47] Compiling CodeEditorView UIHostingView.swift
[32/47] Compiling CodeEditorView Constants.swift
[33/47] Compiling CodeEditorView GutterView.swift
[34/47] Compiling CodeEditorView TextLayoutManagerExtras.swift
[35/47] Compiling CodeEditorView TextView.swift
[36/47] Compiling CodeEditorView MinimapView.swift
[37/47] Compiling CodeEditorView OSDefinitions.swift
[38/47] Compiling CodeEditorView ViewModifiers.swift
[39/47] Compiling CodeEditorView LineMap.swift
[40/47] Compiling CodeEditorView MessageViews.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/47] Compiling CodeEditorView CodeEditor.swift
[42/47] Compiling CodeEditorView CodeStorage.swift
[43/47] Compiling CodeEditorView CodeStorageDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeStorageDelegate.swift:641:42: warning: capture of 'textStorage' with non-sendable type 'NSTextStorage' in a `@Sendable` closure
if let textStorageObserver = textStorage.textStorageObserver {
^
AppKit.NSTextStorage:2:12: note: class 'NSTextStorage' does not conform to the 'Sendable' protocol
open class NSTextStorage : NSMutableAttributedString, NSSecureCoding {
^
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeStorageDelegate.swift:641:42: warning: capture of 'textStorage' with non-sendable type 'NSTextStorage' in a `@Sendable` closure
if let textStorageObserver = textStorage.textStorageObserver {
^
AppKit.NSTextStorage:2:12: note: class 'NSTextStorage' does not conform to the 'Sendable' protocol
open class NSTextStorage : NSMutableAttributedString, NSSecureCoding {
^
[44/47] Compiling CodeEditorView CodeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeStorageDelegate.swift:641:42: warning: capture of 'textStorage' with non-sendable type 'NSTextStorage' in a `@Sendable` closure
if let textStorageObserver = textStorage.textStorageObserver {
^
AppKit.NSTextStorage:2:12: note: class 'NSTextStorage' does not conform to the 'Sendable' protocol
open class NSTextStorage : NSMutableAttributedString, NSSecureCoding {
^
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeStorageDelegate.swift:641:42: warning: capture of 'textStorage' with non-sendable type 'NSTextStorage' in a `@Sendable` closure
if let textStorageObserver = textStorage.textStorageObserver {
^
AppKit.NSTextStorage:2:12: note: class 'NSTextStorage' does not conform to the 'Sendable' protocol
open class NSTextStorage : NSMutableAttributedString, NSSecureCoding {
^
[45/47] Emitting module CodeEditorView
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeActions.swift:371:4: error: unknown attribute 'Previewable'
@Previewable @StateObject var selection = CompletionPanel.ObservableSelection()
^
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeActions.swift:405:19: warning: result of 'CompletionPanel.CompletionView' initializer is unused
CompletionPanel.CompletionView(completions: completions, selection: selection)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[46/47] Compiling CodeEditorView CodeActions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeActions.swift:371:4: error: unknown attribute 'Previewable'
@Previewable @StateObject var selection = CompletionPanel.ObservableSelection()
^
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeActions.swift:405:19: warning: result of 'CompletionPanel.CompletionView' initializer is unused
CompletionPanel.CompletionView(completions: completions, selection: selection)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_14CodeEditorView33_553AC1551CB8D204667FC2DEF84CC3F5Ll7PreviewfMf_.swift:14:9: error: ambiguous use of 'init(_:traits:body:)'
DeveloperToolsSupport.Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeActions.swift:370:1: note: in expansion of macro 'Preview' here
#Preview {
^~~~~~~~~~
AppKit.Preview:3:12: note: found this candidate
public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> NSView)
^
AppKit.Preview:4:12: note: found this candidate
public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> NSViewController)
^
SwiftUI.Preview:3:12: note: found this candidate
public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> any View)
^
[47/47] Compiling CodeEditorView CodeEditing.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeActions.swift:371:4: error: unknown attribute 'Previewable'
@Previewable @StateObject var selection = CompletionPanel.ObservableSelection()
^
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeActions.swift:405:19: warning: result of 'CompletionPanel.CompletionView' initializer is unused
CompletionPanel.CompletionView(completions: completions, selection: selection)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_14CodeEditorView33_553AC1551CB8D204667FC2DEF84CC3F5Ll7PreviewfMf_.swift:14:9: error: ambiguous use of 'init(_:traits:body:)'
DeveloperToolsSupport.Preview {
^
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditorView/CodeActions.swift:370:1: note: in expansion of macro 'Preview' here
#Preview {
^~~~~~~~~~
AppKit.Preview:3:12: note: found this candidate
public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> NSView)
^
AppKit.Preview:4:12: note: found this candidate
public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> NSViewController)
^
SwiftUI.Preview:3:12: note: found this candidate
public init(_ name: String? = nil, traits: PreviewTrait<Preview.ViewTraits>..., body: @escaping @MainActor () -> any View)
^
error: fatalError
Fetching https://github.com/ChimeHQ/Rearrange.git
[1/554] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange.git from cache (1.10s)
Computing version for https://github.com/ChimeHQ/Rearrange.git
Computed https://github.com/ChimeHQ/Rearrange.git at 1.8.1 (2.23s)
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 FAILURE 5.10 macosSpm