Build Information
Successful build of MacYT, reference main (e0651e), with Swift 6.1 for macOS (SPM) on 6 Nov 2026 03:05:15 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sameerbajaj/MacYT.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sameerbajaj/MacYT
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e0651e1 Add SPM Package.swift, SPI configuration, and documentation metadata
Cloned https://github.com/sameerbajaj/MacYT.git
Revision (git rev-parse @):
e0651e187b08a98121ea270f009a695e5007689b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sameerbajaj/MacYT.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/sameerbajaj/MacYT.git
https://github.com/sameerbajaj/MacYT.git
{
"dependencies" : [
],
"manifest_display_name" : "MacYT",
"name" : "MacYT",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "MacYT",
"targets" : [
"MacYT"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "MacYT",
"module_type" : "SwiftTarget",
"name" : "MacYT",
"path" : "MacYT",
"product_memberships" : [
"MacYT"
],
"sources" : [
"ContentView.swift",
"MacYTApp.swift",
"Models/DownloadOptions.swift",
"Models/VideoFormat.swift",
"Models/VideoInfo.swift",
"Services/DependencyChecker.swift",
"Services/DownloadManager.swift",
"Services/SelfUpdater.swift",
"Services/UpdateChecker.swift",
"Services/UpdaterController.swift",
"Services/YTDLPService.swift",
"Theme/DesignTokens.swift",
"ViewModels/AppViewModel.swift",
"Views/AudioExportSummaryView.swift",
"Views/AudioExtractionView.swift",
"Views/Components/GradientButton.swift",
"Views/Components/ShimmerView.swift",
"Views/Components/StatusBadge.swift",
"Views/DependencyStatusView.swift",
"Views/DownloadOptionsPanel.swift",
"Views/DownloadProgressView.swift",
"Views/ExportedFilesView.swift",
"Views/FormatSelectionView.swift",
"Views/SimpleAdvancedOptionsView.swift",
"Views/URLInputBar.swift",
"Views/UpdaterCommands.swift",
"Views/VideoInfoCard.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/6] Write sources
[0/6] Write MacYT-entitlement.plist
[2/6] Write swift-version-2F0A5646E1D333AE.txt
[4/32] Emitting module MacYT
/Users/admin/builder/spi-builder-workspace/MacYT/Models/VideoFormat.swift:133:24: warning: static property 'fileSizeFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let fileSizeFormatter: ByteCountFormatter = {
| |- warning: static property 'fileSizeFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileSizeFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | let formatter = ByteCountFormatter()
135 | formatter.allowedUnits = [.useKB, .useMB, .useGB]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DependencyChecker.swift:52:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyChecker' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class DependencyChecker: ObservableObject {
| `- note: class 'DependencyChecker' does not conform to the 'Sendable' protocol
52 | static let shared = DependencyChecker()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyChecker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | @Published var ytdlpStatus: DependencyStatus = .checking
/Users/admin/builder/spi-builder-workspace/MacYT/Services/SelfUpdater.swift:265:9: warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
263 |
264 | private final class DownloadDelegate: NSObject, URLSessionDownloadDelegate {
265 | let onProgress: (Double) -> Void
| |- warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
266 |
267 | init(progress: @escaping (Double) -> Void) {
/Users/admin/builder/spi-builder-workspace/MacYT/Services/YTDLPService.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'YTDLPService' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import OSLog
3 |
4 | class YTDLPService {
| `- note: class 'YTDLPService' does not conform to the 'Sendable' protocol
5 | static let shared = YTDLPService()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'YTDLPService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | private let logger = Logger(subsystem: "luminoslabs.MacYT", category: "YTDLPService")
7 |
[5/34] Compiling MacYT UpdaterCommands.swift
[6/34] Compiling MacYT VideoInfoCard.swift
[7/34] Compiling MacYT DownloadManager.swift
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:90:13: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
88 | let data = fh.availableData
89 | if data.isEmpty { return }
90 | self.enqueueOutputChunk(data)
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
91 | }
92 | errPipe.fileHandleForReading.readabilityHandler = { fh in
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:95:13: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
93 | let data = fh.availableData
94 | if data.isEmpty { return }
95 | self.enqueueOutputChunk(data)
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:147:13: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
145 | writeDebugLog("chunk.raw \(debugEscaped(text))")
146 | outputParsingQueue.async {
147 | self.processOutputChunk(text)
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:532:29: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
530 | private func resetDebugLog() {
531 | debugLogQueue.async {
532 | guard let url = self.debugLogURL() else { return }
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
533 | try? FileManager.default.createDirectory(at: url.deletingLastPathComponent(), withIntermediateDirectories: true)
534 | try? Data().write(to: url, options: .atomic)
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:540:29: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
538 | private func writeDebugLog(_ message: String) {
539 | debugLogQueue.async {
540 | guard let url = self.debugLogURL() else { return }
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
541 | let timestamp = ISO8601DateFormatter().string(from: Date())
542 | let line = "[\(timestamp)] \(message)\n"
/Users/admin/builder/spi-builder-workspace/MacYT/Services/SelfUpdater.swift:265:9: warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
263 |
264 | private final class DownloadDelegate: NSObject, URLSessionDownloadDelegate {
265 | let onProgress: (Double) -> Void
| |- warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
266 |
267 | init(progress: @escaping (Double) -> Void) {
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:104:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
102 | startOutputFlushTimer()
103 |
104 | let termStatus = await waitForProcessExit()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'waitForProcessExit()' risks causing data races between nonisolated and main actor-isolated uses
105 | writeDebugLog("process.exit code=\(termStatus)")
106 |
[8/34] Compiling MacYT SelfUpdater.swift
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:90:13: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
88 | let data = fh.availableData
89 | if data.isEmpty { return }
90 | self.enqueueOutputChunk(data)
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
91 | }
92 | errPipe.fileHandleForReading.readabilityHandler = { fh in
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:95:13: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
93 | let data = fh.availableData
94 | if data.isEmpty { return }
95 | self.enqueueOutputChunk(data)
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:147:13: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
145 | writeDebugLog("chunk.raw \(debugEscaped(text))")
146 | outputParsingQueue.async {
147 | self.processOutputChunk(text)
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:532:29: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
530 | private func resetDebugLog() {
531 | debugLogQueue.async {
532 | guard let url = self.debugLogURL() else { return }
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
533 | try? FileManager.default.createDirectory(at: url.deletingLastPathComponent(), withIntermediateDirectories: true)
534 | try? Data().write(to: url, options: .atomic)
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:540:29: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
538 | private func writeDebugLog(_ message: String) {
539 | debugLogQueue.async {
540 | guard let url = self.debugLogURL() else { return }
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
541 | let timestamp = ISO8601DateFormatter().string(from: Date())
542 | let line = "[\(timestamp)] \(message)\n"
/Users/admin/builder/spi-builder-workspace/MacYT/Services/SelfUpdater.swift:265:9: warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
263 |
264 | private final class DownloadDelegate: NSObject, URLSessionDownloadDelegate {
265 | let onProgress: (Double) -> Void
| |- warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
266 |
267 | init(progress: @escaping (Double) -> Void) {
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:104:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
102 | startOutputFlushTimer()
103 |
104 | let termStatus = await waitForProcessExit()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'waitForProcessExit()' risks causing data races between nonisolated and main actor-isolated uses
105 | writeDebugLog("process.exit code=\(termStatus)")
106 |
[9/34] Compiling MacYT UpdateChecker.swift
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:90:13: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
88 | let data = fh.availableData
89 | if data.isEmpty { return }
90 | self.enqueueOutputChunk(data)
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
91 | }
92 | errPipe.fileHandleForReading.readabilityHandler = { fh in
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:95:13: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
93 | let data = fh.availableData
94 | if data.isEmpty { return }
95 | self.enqueueOutputChunk(data)
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure; this is an error in the Swift 6 language mode
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:147:13: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
145 | writeDebugLog("chunk.raw \(debugEscaped(text))")
146 | outputParsingQueue.async {
147 | self.processOutputChunk(text)
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:532:29: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
530 | private func resetDebugLog() {
531 | debugLogQueue.async {
532 | guard let url = self.debugLogURL() else { return }
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
533 | try? FileManager.default.createDirectory(at: url.deletingLastPathComponent(), withIntermediateDirectories: true)
534 | try? Data().write(to: url, options: .atomic)
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:540:29: warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
12 | }
13 |
14 | class DownloadManager: ObservableObject {
| `- note: class 'DownloadManager' does not conform to the 'Sendable' protocol
15 | @Published var status: DownloadStatus = .idle
16 | private(set) var currentLine: String = ""
:
538 | private func writeDebugLog(_ message: String) {
539 | debugLogQueue.async {
540 | guard let url = self.debugLogURL() else { return }
| `- warning: capture of 'self' with non-sendable type 'DownloadManager' in a '@Sendable' closure
541 | let timestamp = ISO8601DateFormatter().string(from: Date())
542 | let line = "[\(timestamp)] \(message)\n"
/Users/admin/builder/spi-builder-workspace/MacYT/Services/SelfUpdater.swift:265:9: warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
263 |
264 | private final class DownloadDelegate: NSObject, URLSessionDownloadDelegate {
265 | let onProgress: (Double) -> Void
| |- warning: stored property 'onProgress' of 'Sendable'-conforming class 'DownloadDelegate' has non-sendable type '(Double) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
266 |
267 | init(progress: @escaping (Double) -> Void) {
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DownloadManager.swift:104:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
102 | startOutputFlushTimer()
103 |
104 | let termStatus = await waitForProcessExit()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'waitForProcessExit()' risks causing data races between nonisolated and main actor-isolated uses
105 | writeDebugLog("process.exit code=\(termStatus)")
106 |
[10/34] Compiling MacYT AppViewModel.swift
/Users/admin/builder/spi-builder-workspace/MacYT/ViewModels/AppViewModel.swift:71:51: warning: sending 'self.ytdlpService' risks causing data races; this is an error in the Swift 6 language mode
69 | Task {
70 | do {
71 | let info = try await ytdlpService.fetchVideoInfo(url: sanitizedURL)
| |- warning: sending 'self.ytdlpService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.ytdlpService' to nonisolated instance method 'fetchVideoInfo(url:)' risks causing data races between nonisolated and main actor-isolated uses
72 | self.videoInfo = info
73 | self.formats = info.formats.sorted { ($0.tbr ?? 0) > ($1.tbr ?? 0) }
[11/34] Compiling MacYT AudioExportSummaryView.swift
/Users/admin/builder/spi-builder-workspace/MacYT/ViewModels/AppViewModel.swift:71:51: warning: sending 'self.ytdlpService' risks causing data races; this is an error in the Swift 6 language mode
69 | Task {
70 | do {
71 | let info = try await ytdlpService.fetchVideoInfo(url: sanitizedURL)
| |- warning: sending 'self.ytdlpService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.ytdlpService' to nonisolated instance method 'fetchVideoInfo(url:)' risks causing data races between nonisolated and main actor-isolated uses
72 | self.videoInfo = info
73 | self.formats = info.formats.sorted { ($0.tbr ?? 0) > ($1.tbr ?? 0) }
[12/34] Compiling MacYT AudioExtractionView.swift
/Users/admin/builder/spi-builder-workspace/MacYT/ViewModels/AppViewModel.swift:71:51: warning: sending 'self.ytdlpService' risks causing data races; this is an error in the Swift 6 language mode
69 | Task {
70 | do {
71 | let info = try await ytdlpService.fetchVideoInfo(url: sanitizedURL)
| |- warning: sending 'self.ytdlpService' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.ytdlpService' to nonisolated instance method 'fetchVideoInfo(url:)' risks causing data races between nonisolated and main actor-isolated uses
72 | self.videoInfo = info
73 | self.formats = info.formats.sorted { ($0.tbr ?? 0) > ($1.tbr ?? 0) }
[13/34] Compiling MacYT ContentView.swift
[14/34] Compiling MacYT MacYTApp.swift
[15/34] Compiling MacYT DownloadOptions.swift
[16/34] Compiling MacYT GradientButton.swift
[17/34] Compiling MacYT ShimmerView.swift
[18/34] Compiling MacYT StatusBadge.swift
[19/34] Compiling MacYT UpdaterController.swift
/Users/admin/builder/spi-builder-workspace/MacYT/Services/YTDLPService.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'YTDLPService' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import OSLog
3 |
4 | class YTDLPService {
| `- note: class 'YTDLPService' does not conform to the 'Sendable' protocol
5 | static let shared = YTDLPService()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'YTDLPService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | private let logger = Logger(subsystem: "luminoslabs.MacYT", category: "YTDLPService")
7 |
/Users/admin/builder/spi-builder-workspace/MacYT/Services/YTDLPService.swift:54:57: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | try process.run()
53 |
54 | Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | process.waitUntilExit()
56 | let data = await stdoutTask.value
:
58 | let errString = String(data: errData, encoding: .utf8)?.trimmingCharacters(in: .whitespacesAndNewlines) ?? ""
59 |
60 | self.logger.info("Inspect finished with exit code: \(process.terminationStatus), stdout bytes: \(data.count), stderr bytes: \(errData.count)")
| `- note: closure captures 'self' which is accessible to code in the current task
61 |
62 | if process.terminationStatus != 0 {
[20/34] Compiling MacYT YTDLPService.swift
/Users/admin/builder/spi-builder-workspace/MacYT/Services/YTDLPService.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'YTDLPService' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import OSLog
3 |
4 | class YTDLPService {
| `- note: class 'YTDLPService' does not conform to the 'Sendable' protocol
5 | static let shared = YTDLPService()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'YTDLPService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | private let logger = Logger(subsystem: "luminoslabs.MacYT", category: "YTDLPService")
7 |
/Users/admin/builder/spi-builder-workspace/MacYT/Services/YTDLPService.swift:54:57: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | try process.run()
53 |
54 | Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | process.waitUntilExit()
56 | let data = await stdoutTask.value
:
58 | let errString = String(data: errData, encoding: .utf8)?.trimmingCharacters(in: .whitespacesAndNewlines) ?? ""
59 |
60 | self.logger.info("Inspect finished with exit code: \(process.terminationStatus), stdout bytes: \(data.count), stderr bytes: \(errData.count)")
| `- note: closure captures 'self' which is accessible to code in the current task
61 |
62 | if process.terminationStatus != 0 {
[21/34] Compiling MacYT DesignTokens.swift
/Users/admin/builder/spi-builder-workspace/MacYT/Services/YTDLPService.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'YTDLPService' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import OSLog
3 |
4 | class YTDLPService {
| `- note: class 'YTDLPService' does not conform to the 'Sendable' protocol
5 | static let shared = YTDLPService()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'YTDLPService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | private let logger = Logger(subsystem: "luminoslabs.MacYT", category: "YTDLPService")
7 |
/Users/admin/builder/spi-builder-workspace/MacYT/Services/YTDLPService.swift:54:57: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | try process.run()
53 |
54 | Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | process.waitUntilExit()
56 | let data = await stdoutTask.value
:
58 | let errString = String(data: errData, encoding: .utf8)?.trimmingCharacters(in: .whitespacesAndNewlines) ?? ""
59 |
60 | self.logger.info("Inspect finished with exit code: \(process.terminationStatus), stdout bytes: \(data.count), stderr bytes: \(errData.count)")
| `- note: closure captures 'self' which is accessible to code in the current task
61 |
62 | if process.terminationStatus != 0 {
[22/34] Compiling MacYT VideoFormat.swift
/Users/admin/builder/spi-builder-workspace/MacYT/Models/VideoFormat.swift:133:24: warning: static property 'fileSizeFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let fileSizeFormatter: ByteCountFormatter = {
| |- warning: static property 'fileSizeFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileSizeFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | let formatter = ByteCountFormatter()
135 | formatter.allowedUnits = [.useKB, .useMB, .useGB]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DependencyChecker.swift:52:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyChecker' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class DependencyChecker: ObservableObject {
| `- note: class 'DependencyChecker' does not conform to the 'Sendable' protocol
52 | static let shared = DependencyChecker()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyChecker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | @Published var ytdlpStatus: DependencyStatus = .checking
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DependencyChecker.swift:96:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
94 | ffmpegStatus = .checking
95 |
96 | async let yt = check(executable: "yt-dlp")
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' into async let risks causing data races between nonisolated and main actor-isolated uses
97 | async let ff = check(executable: "ffmpeg")
98 |
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DependencyChecker.swift:97:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
95 |
96 | async let yt = check(executable: "yt-dlp")
97 | async let ff = check(executable: "ffmpeg")
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' into async let risks causing data races between nonisolated and main actor-isolated uses
98 |
99 | let (ytResult, ffResult) = await (yt, ff)
[23/34] Compiling MacYT VideoInfo.swift
/Users/admin/builder/spi-builder-workspace/MacYT/Models/VideoFormat.swift:133:24: warning: static property 'fileSizeFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let fileSizeFormatter: ByteCountFormatter = {
| |- warning: static property 'fileSizeFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileSizeFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | let formatter = ByteCountFormatter()
135 | formatter.allowedUnits = [.useKB, .useMB, .useGB]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DependencyChecker.swift:52:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyChecker' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class DependencyChecker: ObservableObject {
| `- note: class 'DependencyChecker' does not conform to the 'Sendable' protocol
52 | static let shared = DependencyChecker()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyChecker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | @Published var ytdlpStatus: DependencyStatus = .checking
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DependencyChecker.swift:96:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
94 | ffmpegStatus = .checking
95 |
96 | async let yt = check(executable: "yt-dlp")
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' into async let risks causing data races between nonisolated and main actor-isolated uses
97 | async let ff = check(executable: "ffmpeg")
98 |
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DependencyChecker.swift:97:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
95 |
96 | async let yt = check(executable: "yt-dlp")
97 | async let ff = check(executable: "ffmpeg")
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' into async let risks causing data races between nonisolated and main actor-isolated uses
98 |
99 | let (ytResult, ffResult) = await (yt, ff)
[24/34] Compiling MacYT DependencyChecker.swift
/Users/admin/builder/spi-builder-workspace/MacYT/Models/VideoFormat.swift:133:24: warning: static property 'fileSizeFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | private static let fileSizeFormatter: ByteCountFormatter = {
| |- warning: static property 'fileSizeFormatter' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileSizeFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | let formatter = ByteCountFormatter()
135 | formatter.allowedUnits = [.useKB, .useMB, .useGB]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h:39:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
37 |
38 | API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0))
39 | @interface NSByteCountFormatter : NSFormatter
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
40 |
41 | /* Shortcut for converting a byte count into a string without creating an NSByteCountFormatter and an NSNumber. If you need to specify options other than countStyle, create an instance of NSByteCountFormatter first.
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DependencyChecker.swift:52:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyChecker' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | class DependencyChecker: ObservableObject {
| `- note: class 'DependencyChecker' does not conform to the 'Sendable' protocol
52 | static let shared = DependencyChecker()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyChecker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | @Published var ytdlpStatus: DependencyStatus = .checking
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DependencyChecker.swift:96:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
94 | ffmpegStatus = .checking
95 |
96 | async let yt = check(executable: "yt-dlp")
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' into async let risks causing data races between nonisolated and main actor-isolated uses
97 | async let ff = check(executable: "ffmpeg")
98 |
/Users/admin/builder/spi-builder-workspace/MacYT/Services/DependencyChecker.swift:97:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
95 |
96 | async let yt = check(executable: "yt-dlp")
97 | async let ff = check(executable: "ffmpeg")
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' into async let risks causing data races between nonisolated and main actor-isolated uses
98 |
99 | let (ytResult, ffResult) = await (yt, ff)
[25/34] Compiling MacYT ExportedFilesView.swift
[26/34] Compiling MacYT FormatSelectionView.swift
[27/34] Compiling MacYT SimpleAdvancedOptionsView.swift
[28/34] Compiling MacYT URLInputBar.swift
[29/34] Compiling MacYT DependencyStatusView.swift
[30/34] Compiling MacYT DownloadOptionsPanel.swift
[31/34] Compiling MacYT DownloadProgressView.swift
[31/34] Write Objects.LinkFileList
[32/34] Linking MacYT
[33/34] Applying MacYT
Build complete! (15.90s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MacYT",
"name" : "MacYT",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "MacYT",
"targets" : [
"MacYT"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "MacYT",
"module_type" : "SwiftTarget",
"name" : "MacYT",
"path" : "MacYT",
"product_memberships" : [
"MacYT"
],
"sources" : [
"ContentView.swift",
"MacYTApp.swift",
"Models/DownloadOptions.swift",
"Models/VideoFormat.swift",
"Models/VideoInfo.swift",
"Services/DependencyChecker.swift",
"Services/DownloadManager.swift",
"Services/SelfUpdater.swift",
"Services/UpdateChecker.swift",
"Services/UpdaterController.swift",
"Services/YTDLPService.swift",
"Theme/DesignTokens.swift",
"ViewModels/AppViewModel.swift",
"Views/AudioExportSummaryView.swift",
"Views/AudioExtractionView.swift",
"Views/Components/GradientButton.swift",
"Views/Components/ShimmerView.swift",
"Views/Components/StatusBadge.swift",
"Views/DependencyStatusView.swift",
"Views/DownloadOptionsPanel.swift",
"Views/DownloadProgressView.swift",
"Views/ExportedFilesView.swift",
"Views/FormatSelectionView.swift",
"Views/SimpleAdvancedOptionsView.swift",
"Views/URLInputBar.swift",
"Views/UpdaterCommands.swift",
"Views/VideoInfoCard.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Done.