Build Information
Successful build of fx-upscale, reference 1.2.5 (decc83
), with Swift 6.1 for macOS (SPM) on 8 Jul 2025 11:36:16 UTC.
Swift 6 data race errors: 0
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 InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finnvoor/fx-upscale.git
Reference: 1.2.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/finnvoor/fx-upscale
* tag 1.2.5 -> FETCH_HEAD
HEAD is now at decc837 Update progress on main thread (#23)
Cloned https://github.com/finnvoor/fx-upscale.git
Revision (git rev-parse @):
decc83725992c97dfbbe9c69798588645f8f3fd3
SUCCESS checkout https://github.com/finnvoor/fx-upscale.git at 1.2.5
Fetching https://github.com/Finnvoor/SwiftTUI.git
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/80] Fetching swifttui
Fetched https://github.com/Finnvoor/SwiftTUI.git from cache (0.62s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.15s)
Computing version for https://github.com/Finnvoor/SwiftTUI.git
Computed https://github.com/Finnvoor/SwiftTUI.git at 1.0.4 (1.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.52s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.0
Creating working copy for https://github.com/Finnvoor/SwiftTUI.git
Working copy of https://github.com/Finnvoor/SwiftTUI.git resolved at 1.0.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "fx-upscale",
"name": "fx-upscale",
"url": "https://github.com/finnvoor/fx-upscale.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/fx-upscale",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "swifttui",
"name": "SwiftTUI",
"url": "https://github.com/Finnvoor/SwiftTUI.git",
"version": "1.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftTUI",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/finnvoor/fx-upscale.git
[8/354] Fetching fx-upscale
Fetched https://github.com/finnvoor/fx-upscale.git from cache (0.80s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/Finnvoor/SwiftTUI.git from cache
Fetched https://github.com/Finnvoor/SwiftTUI.git from cache (0.51s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.52s)
Computing version for https://github.com/Finnvoor/SwiftTUI.git
Computed https://github.com/Finnvoor/SwiftTUI.git at 1.0.4 (0.57s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.50s)
Creating working copy for https://github.com/finnvoor/fx-upscale.git
Working copy of https://github.com/finnvoor/fx-upscale.git resolved at 1.2.5 (decc837)
Creating working copy for https://github.com/Finnvoor/SwiftTUI.git
Working copy of https://github.com/Finnvoor/SwiftTUI.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Found 2 product dependencies
- swift-argument-parser
- SwiftTUI
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/finnvoor/fx-upscale.git
https://github.com/finnvoor/fx-upscale.git
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swifttui",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Finnvoor/SwiftTUI.git"
}
],
"manifest_display_name" : "fx-upscale",
"name" : "fx-upscale",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "fx-upscale",
"targets" : [
"fx-upscale"
],
"type" : {
"executable" : null
}
},
{
"name" : "Upscaling",
"targets" : [
"Upscaling"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "fx_upscale",
"module_type" : "SwiftTarget",
"name" : "fx-upscale",
"path" : "Sources/fx-upscale",
"product_dependencies" : [
"ArgumentParser",
"SwiftTUI"
],
"product_memberships" : [
"fx-upscale"
],
"sources" : [
"FXUpscale.swift"
],
"target_dependencies" : [
"Upscaling"
],
"type" : "executable"
},
{
"c99name" : "UpscalingTests",
"module_type" : "SwiftTarget",
"name" : "UpscalingTests",
"path" : "Tests/UpscalingTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/UpscalingTests/Resources/ladybird.jpg",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"UpscalingTests.swift"
],
"target_dependencies" : [
"Upscaling"
],
"type" : "test"
},
{
"c99name" : "Upscaling",
"module_type" : "SwiftTarget",
"name" : "Upscaling",
"path" : "Sources/Upscaling",
"product_memberships" : [
"fx-upscale",
"Upscaling"
],
"sources" : [
"CoreImage/UpscalingFilter.swift",
"CoreImage/UpscalingImageProcessorKernel.swift",
"Extensions/AVVideoCodecType+Extensions.swift",
"Extensions/CMFormatDescription+Extensions.swift",
"Extensions/CVPixelBuffer+Extensions.swift",
"Extensions/MTLFXSpatialScaler+Extensions.swift",
"Extensions/MTLFXSpatialScalerDescriptor+Extensions.swift",
"Extensions/MTLTexture+Extensions.swift",
"Extensions/URL+Extensions.swift",
"Upscaler.swift",
"UpscalingExportSession.swift"
],
"type" : "library"
}
],
"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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/11] Write sources
[4/11] Write fx-upscale-entitlement.plist
[7/11] Write swift-version-2F0A5646E1D333AE.txt
[9/33] Emitting module ArgumentParserToolInfo
[10/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/71] Compiling ArgumentParser ArgumentHelp.swift
[12/71] Compiling ArgumentParser ArgumentVisibility.swift
[13/71] Compiling ArgumentParser CompletionKind.swift
[14/71] Compiling ArgumentParser Errors.swift
[15/75] Emitting module ArgumentParser
[16/75] Compiling ArgumentParser Flag.swift
[17/75] Compiling ArgumentParser NameSpecification.swift
[18/75] Compiling ArgumentParser Option.swift
[19/75] Compiling ArgumentParser OptionGroup.swift
[20/75] Compiling ArgumentParser InputOrigin.swift
[21/75] Compiling ArgumentParser Name.swift
[22/75] Compiling ArgumentParser Parsed.swift
[23/75] Compiling ArgumentParser ParsedValues.swift
[24/75] Compiling ArgumentParser Platform.swift
[25/75] Compiling ArgumentParser SequenceExtensions.swift
[26/75] Compiling ArgumentParser StringExtensions.swift
[27/75] Compiling ArgumentParser Tree.swift
[28/75] Compiling SwiftTUI Window.swift
[29/75] Compiling SwiftTUI String+ANSI.swift
[30/75] Compiling SwiftTUI Termios.swift
[31/75] Compiling SwiftTUI Cursor.swift
[32/75] Compiling SwiftTUI CommandLine.swift
[33/75] Emitting module SwiftTUI
[34/75] Compiling SwiftTUI ActivityIndicator.swift
[35/75] Compiling SwiftTUI ProgressBar.swift
[36/75] Compiling SwiftTUI Key.swift
[37/75] Compiling ArgumentParser AsyncParsableCommand.swift
[38/75] Compiling ArgumentParser CommandConfiguration.swift
[39/75] Compiling ArgumentParser EnumerableFlag.swift
[40/75] Compiling ArgumentParser ExpressibleByArgument.swift
[41/75] Compiling ArgumentParser BashCompletionsGenerator.swift
[42/75] Compiling ArgumentParser CompletionsGenerator.swift
[43/75] Compiling ArgumentParser FishCompletionsGenerator.swift
[44/75] Compiling ArgumentParser ZshCompletionsGenerator.swift
[45/75] Compiling ArgumentParser Argument.swift
[46/75] Compiling ArgumentParser ParsableArguments.swift
[47/75] Compiling ArgumentParser ParsableArgumentsValidation.swift
[48/75] Compiling ArgumentParser ParsableCommand.swift
[49/75] Compiling ArgumentParser ArgumentDecoder.swift
[50/75] Compiling ArgumentParser ParserError.swift
[51/75] Compiling ArgumentParser SplitArguments.swift
[52/75] Compiling ArgumentParser DumpHelpGenerator.swift
[53/75] Compiling ArgumentParser HelpCommand.swift
[54/75] Compiling ArgumentParser HelpGenerator.swift
[55/75] Compiling ArgumentParser MessageInfo.swift
[56/75] Compiling ArgumentParser UsageGenerator.swift
[57/75] Compiling ArgumentParser CollectionExtensions.swift
[58/75] Compiling ArgumentParser ArgumentDefinition.swift
[59/75] Compiling ArgumentParser ArgumentSet.swift
[60/75] Compiling ArgumentParser CommandParser.swift
[61/75] Compiling ArgumentParser InputKey.swift
[62/75] Compiling Upscaling MTLTexture+Extensions.swift
[63/76] Compiling Upscaling MTLFXSpatialScaler+Extensions.swift
[64/76] Compiling Upscaling MTLFXSpatialScalerDescriptor+Extensions.swift
[65/76] Compiling Upscaling CVPixelBuffer+Extensions.swift
[66/76] Compiling Upscaling Upscaler.swift
[67/76] Compiling Upscaling URL+Extensions.swift
[68/76] Compiling Upscaling CMFormatDescription+Extensions.swift
[71/76] Emitting module Upscaling
[72/76] Compiling Upscaling AVVideoCodecType+Extensions.swift
[73/76] Compiling Upscaling UpscalingExportSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:344:23: warning: capture of 'assetWriterInput' with non-sendable type 'AVAssetWriterInput' in a '@Sendable' closure
342 | )
343 | assetWriterInput.requestMediaDataWhenReady(on: queue) {
344 | while assetWriterInput.isReadyForMoreMediaData {
| `- warning: capture of 'assetWriterInput' with non-sendable type 'AVAssetWriterInput' in a '@Sendable' closure
345 | if let nextSampleBuffer = assetReaderOutput.copyNextSampleBuffer() {
346 | if nextSampleBuffer.presentationTimeStamp.isNumeric {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
41 | */
42 | API_AVAILABLE(macos(10.7), ios(4.1), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
43 | @interface AVAssetWriterInput : NSObject
| `- note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
44 | {
45 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
1 | import AVFoundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
2 | import VideoToolbox
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:345:47: warning: capture of 'assetReaderOutput' with non-sendable type 'AVAssetReaderOutput' in a '@Sendable' closure
343 | assetWriterInput.requestMediaDataWhenReady(on: queue) {
344 | while assetWriterInput.isReadyForMoreMediaData {
345 | if let nextSampleBuffer = assetReaderOutput.copyNextSampleBuffer() {
| `- warning: capture of 'assetReaderOutput' with non-sendable type 'AVAssetReaderOutput' in a '@Sendable' closure
346 | if nextSampleBuffer.presentationTimeStamp.isNumeric {
347 | progress.completedUnitCount = Int64(nextSampleBuffer.presentationTimeStamp.seconds)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:42:12: note: class 'AVAssetReaderOutput' does not conform to the 'Sendable' protocol
40 | */
41 | API_AVAILABLE(macos(10.7), ios(4.1), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
42 | @interface AVAssetReaderOutput : NSObject
| `- note: class 'AVAssetReaderOutput' does not conform to the 'Sendable' protocol
43 | {
44 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:381:23: warning: capture of 'assetWriterInput' with non-sendable type 'AVAssetWriterInput' in a '@Sendable' closure
379 | )
380 | assetWriterInput.requestMediaDataWhenReady(on: queue) {
381 | while assetWriterInput.isReadyForMoreMediaData {
| `- warning: capture of 'assetWriterInput' with non-sendable type 'AVAssetWriterInput' in a '@Sendable' closure
382 | if let nextSampleBuffer = assetReaderOutput.copyNextSampleBuffer() {
383 | if nextSampleBuffer.presentationTimeStamp.isNumeric {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
41 | */
42 | API_AVAILABLE(macos(10.7), ios(4.1), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
43 | @interface AVAssetWriterInput : NSObject
| `- note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
44 | {
45 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:382:47: warning: capture of 'assetReaderOutput' with non-sendable type 'AVAssetReaderOutput' in a '@Sendable' closure
380 | assetWriterInput.requestMediaDataWhenReady(on: queue) {
381 | while assetWriterInput.isReadyForMoreMediaData {
382 | if let nextSampleBuffer = assetReaderOutput.copyNextSampleBuffer() {
| `- warning: capture of 'assetReaderOutput' with non-sendable type 'AVAssetReaderOutput' in a '@Sendable' closure
383 | if nextSampleBuffer.presentationTimeStamp.isNumeric {
384 | let timestamp = Int64(nextSampleBuffer.presentationTimeStamp.seconds)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:42:12: note: class 'AVAssetReaderOutput' does not conform to the 'Sendable' protocol
40 | */
41 | API_AVAILABLE(macos(10.7), ios(4.1), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
42 | @interface AVAssetReaderOutput : NSObject
| `- note: class 'AVAssetReaderOutput' does not conform to the 'Sendable' protocol
43 | {
44 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:390:55: warning: capture of 'upscaler' with non-sendable type 'Upscaler' in a '@Sendable' closure
388 | }
389 | if let imageBuffer = nextSampleBuffer.imageBuffer {
390 | let upscaledImageBuffer = upscaler.upscale(
| `- warning: capture of 'upscaler' with non-sendable type 'Upscaler' in a '@Sendable' closure
391 | imageBuffer,
392 | pixelBufferPool: adaptor.pixelBufferPool
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/Upscaler.swift:11:20: note: class 'Upscaler' does not conform to the 'Sendable' protocol
9 | // MARK: - Upscaler
10 |
11 | public final class Upscaler {
| `- note: class 'Upscaler' does not conform to the 'Sendable' protocol
12 | // MARK: Lifecycle
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:392:50: warning: capture of 'adaptor' with non-sendable type 'AVAssetWriterInputPixelBufferAdaptor' in a '@Sendable' closure
390 | let upscaledImageBuffer = upscaler.upscale(
391 | imageBuffer,
392 | pixelBufferPool: adaptor.pixelBufferPool
| `- warning: capture of 'adaptor' with non-sendable type 'AVAssetWriterInputPixelBufferAdaptor' in a '@Sendable' closure
393 | )
394 | guard adaptor.append(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:715:12: note: class 'AVAssetWriterInputPixelBufferAdaptor' does not conform to the 'Sendable' protocol
713 | */
714 | API_AVAILABLE(macos(10.7), ios(4.1), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
715 | @interface AVAssetWriterInputPixelBufferAdaptor : NSObject
| `- note: class 'AVAssetWriterInputPixelBufferAdaptor' does not conform to the 'Sendable' protocol
716 | {
717 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:434:23: warning: capture of 'assetWriterInput' with non-sendable type 'AVAssetWriterInput' in a '@Sendable' closure
432 | )
433 | assetWriterInput.requestMediaDataWhenReady(on: queue) {
434 | while assetWriterInput.isReadyForMoreMediaData {
| `- warning: capture of 'assetWriterInput' with non-sendable type 'AVAssetWriterInput' in a '@Sendable' closure
435 | if let nextSampleBuffer = assetReaderOutput.copyNextSampleBuffer() {
436 | if nextSampleBuffer.presentationTimeStamp.isNumeric {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
41 | */
42 | API_AVAILABLE(macos(10.7), ios(4.1), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
43 | @interface AVAssetWriterInput : NSObject
| `- note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
44 | {
45 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:435:47: warning: capture of 'assetReaderOutput' with non-sendable type 'AVAssetReaderOutput' in a '@Sendable' closure
433 | assetWriterInput.requestMediaDataWhenReady(on: queue) {
434 | while assetWriterInput.isReadyForMoreMediaData {
435 | if let nextSampleBuffer = assetReaderOutput.copyNextSampleBuffer() {
| `- warning: capture of 'assetReaderOutput' with non-sendable type 'AVAssetReaderOutput' in a '@Sendable' closure
436 | if nextSampleBuffer.presentationTimeStamp.isNumeric {
437 | let timestamp = Int64(nextSampleBuffer.presentationTimeStamp.seconds)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:42:12: note: class 'AVAssetReaderOutput' does not conform to the 'Sendable' protocol
40 | */
41 | API_AVAILABLE(macos(10.7), ios(4.1), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos)
42 | @interface AVAssetReaderOutput : NSObject
| `- note: class 'AVAssetReaderOutput' does not conform to the 'Sendable' protocol
43 | {
44 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:457:62: warning: capture of 'upscaler' with non-sendable type 'Upscaler' in a '@Sendable' closure
455 | return
456 | }
457 | let upscaledLeftEyePixelBuffer = upscaler.upscale(
| `- warning: capture of 'upscaler' with non-sendable type 'Upscaler' in a '@Sendable' closure
458 | leftEyePixelBuffer,
459 | pixelBufferPool: adaptor.pixelBufferPool
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/Upscaler.swift:11:20: note: class 'Upscaler' does not conform to the 'Sendable' protocol
9 | // MARK: - Upscaler
10 |
11 | public final class Upscaler {
| `- note: class 'Upscaler' does not conform to the 'Sendable' protocol
12 | // MARK: Lifecycle
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:459:50: warning: capture of 'adaptor' with non-sendable type 'AVAssetWriterInputTaggedPixelBufferGroupAdaptor' in a '@Sendable' closure
457 | let upscaledLeftEyePixelBuffer = upscaler.upscale(
458 | leftEyePixelBuffer,
459 | pixelBufferPool: adaptor.pixelBufferPool
| `- warning: capture of 'adaptor' with non-sendable type 'AVAssetWriterInputTaggedPixelBufferGroupAdaptor' in a '@Sendable' closure
460 | )
461 | let upscaledRightEyePixelBuffer = upscaler.upscale(
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:843:12: note: class 'AVAssetWriterInputTaggedPixelBufferGroupAdaptor' does not conform to the 'Sendable' protocol
841 | */
842 | API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos)
843 | @interface AVAssetWriterInputTaggedPixelBufferGroupAdaptor : NSObject
| `- note: class 'AVAssetWriterInputTaggedPixelBufferGroupAdaptor' does not conform to the 'Sendable' protocol
844 | AV_INIT_UNAVAILABLE
845 |
/Users/admin/builder/spi-builder-workspace/Sources/Upscaling/UpscalingExportSession.swift:145:35: 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
143 | try await withThrowingTaskGroup(of: Void.self) { [weak self] group in
144 | for mediaTrack in mediaTracks {
145 | group.addTask { [weak self] in
| `- 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
146 | guard let self else { return }
| `- note: closure captures non-Sendable 'self'
147 | switch mediaTrack {
| `- note: closure captures non-Sendable 'mediaTrack'
148 | case let .audio(output, input):
149 | let progress = Progress(totalUnitCount: Int64(duration.seconds))
[74/78] Emitting module fx_upscale
[75/78] Compiling fx_upscale FXUpscale.swift
[75/78] Write Objects.LinkFileList
[76/78] Linking fx-upscale
[77/78] Applying fx-upscale
Build complete! (13.09s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swifttui",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Finnvoor/SwiftTUI.git"
}
],
"manifest_display_name" : "fx-upscale",
"name" : "fx-upscale",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "fx-upscale",
"targets" : [
"fx-upscale"
],
"type" : {
"executable" : null
}
},
{
"name" : "Upscaling",
"targets" : [
"Upscaling"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "fx_upscale",
"module_type" : "SwiftTarget",
"name" : "fx-upscale",
"path" : "Sources/fx-upscale",
"product_dependencies" : [
"ArgumentParser",
"SwiftTUI"
],
"product_memberships" : [
"fx-upscale"
],
"sources" : [
"FXUpscale.swift"
],
"target_dependencies" : [
"Upscaling"
],
"type" : "executable"
},
{
"c99name" : "UpscalingTests",
"module_type" : "SwiftTarget",
"name" : "UpscalingTests",
"path" : "Tests/UpscalingTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/UpscalingTests/Resources/ladybird.jpg",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"UpscalingTests.swift"
],
"target_dependencies" : [
"Upscaling"
],
"type" : "test"
},
{
"c99name" : "Upscaling",
"module_type" : "SwiftTarget",
"name" : "Upscaling",
"path" : "Sources/Upscaling",
"product_memberships" : [
"fx-upscale",
"Upscaling"
],
"sources" : [
"CoreImage/UpscalingFilter.swift",
"CoreImage/UpscalingImageProcessorKernel.swift",
"Extensions/AVVideoCodecType+Extensions.swift",
"Extensions/CMFormatDescription+Extensions.swift",
"Extensions/CVPixelBuffer+Extensions.swift",
"Extensions/MTLFXSpatialScaler+Extensions.swift",
"Extensions/MTLFXSpatialScalerDescriptor+Extensions.swift",
"Extensions/MTLTexture+Extensions.swift",
"Extensions/URL+Extensions.swift",
"Upscaler.swift",
"UpscalingExportSession.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.