trailer-cli
trailer-cli copied to clipboard
Failed on install using Homebrew - macOS Tahoe 26.0.1
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.
macOS 26.1 still exhibits the same behavior as well.