trailer-cli icon indicating copy to clipboard operation
trailer-cli copied to clipboard

Failed on install using Homebrew - macOS Tahoe 26.0.1

Open fishstix81 opened this issue 2 months ago • 1 comments

Installing via homebrew gives this error.

Last 15 lines from ~/Library/Logs/Homebrew/trailer-cli/01.swift.log:
/private/tmp/trailer-cli-20251027-5495-3nu75i/trailer-cli-1.6.0/Sources/trailer/Data/Models/Comment.swift:175:74: error: converting function value of type '@MainActor @Sendable () -> [any Element]' to '() -> [any Element]' loses global actor 'MainActor'
    static let fragmentForItems = Fragment(on: "IssueComment", elements: commentFields)
                                                                         ^
/private/tmp/trailer-cli-20251027-5495-3nu75i/trailer-cli-1.6.0/Sources/trailer/Data/Models/Comment.swift:176:88: error: converting function value of type '@MainActor @Sendable () -> [any Element]' to '() -> [any Element]' loses global actor 'MainActor'
    static let fragmentForReviews = Fragment(on: "PullRequestReviewComment", elements: commentFields)
                                                                                       ^
/private/tmp/trailer-cli-20251027-5495-3nu75i/trailer-cli-1.6.0/Sources/trailer/Data/Protocols/Item.swift:137:40: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
                let data = try encoder.encode(items)
                                       ^

There's also a Failed frontend command: with a very verbose log. Not sure if that's helpful or not.

fishstix81 avatar Oct 27 '25 20:10 fishstix81

macOS 26.1 still exhibits the same behavior as well.

spkane avatar Nov 13 '25 18:11 spkane