Build Information
Failed to build CodeEditorView, reference 0.15.4 (aba6c1
), with Swift 5.9 for macOS (SPM) on 6 Apr 2025 21:08:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.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.9
Building package at path: $PWD
https://github.com/mchakravarty/CodeEditorView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/10] Compiling Rearrange String+NSRange.swift
[2/11] Compiling Rearrange RangeMutation.swift
[3/11] Compiling Rearrange UITextRange+Convenience.swift
[4/11] Compiling Rearrange NSTextRange+NSRange.swift
[5/11] Compiling Rearrange NSRange+Convenience.swift
[6/11] Compiling Rearrange NSRange+ApplyMutation.swift
[7/11] Emitting module Rearrange
[8/11] Compiling Rearrange IndexSet+NSRange.swift
[9/11] Compiling Rearrange IndexSet+ApplyMutation.swift
[10/11] Compiling Rearrange NSRange+Shift.swift
[11/11] Compiling Rearrange NSTextLocation+Comparable.swift
[12/22] Compiling LanguageSupport SQLiteConfiguration.swift
[13/23] Compiling LanguageSupport Message.swift
[14/23] Compiling LanguageSupport Location.swift
[15/23] Compiling LanguageSupport LanguageConfiguration.swift
[16/23] Compiling LanguageSupport SwiftConfiguration.swift
[17/23] Compiling LanguageSupport Tokeniser.swift
[18/23] Compiling LanguageSupport LanguageService.swift
[19/23] Compiling LanguageSupport HaskellConfiguration.swift
[20/23] Compiling LanguageSupport CypherConfiguration.swift
[21/23] Compiling LanguageSupport AgdaConfiguration.swift
[22/23] Compiling LanguageSupport CabalConfiguration.swift
[23/23] Emitting module LanguageSupport
[24/42] Compiling CodeEditorView Theme.swift
[25/42] Compiling CodeEditorView UIHostingView.swift
[26/42] Compiling CodeEditorView ScrollViewExtras.swift
[27/42] Compiling CodeEditorView TextContentStorageExtras.swift
[28/43] Compiling CodeEditorView ViewModifiers.swift
[29/43] Compiling CodeEditorView Constants.swift
[30/43] Compiling CodeEditorView GutterView.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/43] Compiling CodeEditorView LineMap.swift
[32/43] Compiling CodeEditorView MessageViews.swift
[33/43] Compiling CodeEditorView MinimapView.swift
[34/43] Compiling CodeEditorView OSDefinitions.swift
[35/43] Compiling CodeEditorView CodeEditor.swift
[36/43] Compiling CodeEditorView CodeStorage.swift
[37/43] Compiling CodeEditorView TextLayoutManagerExtras.swift
[38/43] Compiling CodeEditorView TextView.swift
[39/43] 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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[40/43] 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 {
^
[41/43] 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 {
^
[42/43] 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:8: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 () -> View)
^
[43/43] 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:8: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 () -> View)
^
error: fatalError
Fetching https://github.com/ChimeHQ/Rearrange.git
[12/554] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange.git (1.14s)
Computing version for https://github.com/ChimeHQ/Rearrange.git
Computed https://github.com/ChimeHQ/Rearrange.git at 1.8.1 (2.29s)
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.9 macosSpm