Build Information
Successful build of swift-mdk, reference v0.36.0 (d32670), with Swift 6.1 for macOS (SPM) on 27 Apr 2026 20:20:28 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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wang-bin/swift-mdk.git
Reference: v0.36.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wang-bin/swift-mdk
* tag v0.36.0 -> FETCH_HEAD
HEAD is now at d326708 v0.36.0
Cloned https://github.com/wang-bin/swift-mdk.git
Revision (git rev-parse @):
d3267082816363236cbdf97ac61ec881e650da4c
SUCCESS checkout https://github.com/wang-bin/swift-mdk.git at v0.36.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/wang-bin/swift-mdk.git
https://github.com/wang-bin/swift-mdk.git
{
"dependencies" : [
],
"manifest_display_name" : "swift-mdk",
"name" : "swift-mdk",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "swift-mdk",
"targets" : [
"swift-mdk"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "swift_mdkTests",
"module_type" : "SwiftTarget",
"name" : "swift-mdkTests",
"path" : "Tests/swift-mdkTests",
"sources" : [
"swift_mdkTests.swift"
],
"target_dependencies" : [
"swift-mdk"
],
"type" : "test"
},
{
"c99name" : "swift_mdk",
"module_type" : "SwiftTarget",
"name" : "swift-mdk",
"path" : "Sources/swift-mdk",
"product_memberships" : [
"swift-mdk"
],
"sources" : [
"MediaInfo.swift",
"Player.swift",
"VideoFrame.swift",
"global.swift",
"swift_mdk.swift"
],
"target_dependencies" : [
"mdk-sdk"
],
"type" : "library"
},
{
"c99name" : "mdk_sdk",
"module_type" : "BinaryTarget",
"name" : "mdk-sdk",
"path" : "remote/archive/mdk-sdk-apple.zip",
"product_memberships" : [
"swift-mdk"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.7"
}
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/3] Write sources
[1/3] Copying mdk.framework
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/9] Compiling swift_mdk swift_mdk.swift
[5/9] Compiling swift_mdk global.swift
[6/9] Compiling swift_mdk VideoFrame.swift
[7/9] Compiling swift_mdk MediaInfo.swift
[8/9] Emitting module swift_mdk
[9/9] Compiling swift_mdk Player.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-mdk/Player.swift:180:36: warning: main actor-isolated property 'currentDrawable' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
173 | @available(visionOS, unavailable)
174 | public func setRenderTarget(_ mkv : MTKView, commandQueue cmdQueue: MTLCommandQueue, vid:AnyObject? = nil) ->Void {
175 | func currentRt(_ opaque: UnsafeRawPointer?)->UnsafeRawPointer? {
| `- note: add '@MainActor' to make local function 'currentRt' part of global actor 'MainActor'
176 | guard let p = opaque else {
177 | return nil
178 | }
179 | let v : MTKView = bridge(ptr: p)
180 | guard let drawable = v.currentDrawable else {
| `- warning: main actor-isolated property 'currentDrawable' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
181 | return nil
182 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h:59:64: note: property declared here
57 | @discussion currentDrawable is updated at the end -draw (i.e. after the delegate's drawInMTKView method is called)
58 | */
59 | @property (nonatomic, readonly, nullable) id <CAMetalDrawable> currentDrawable;
| `- note: property declared here
60 |
61 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/swift-mdk/Player.swift:188:37: warning: main actor-isolated property 'device' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
172 | // TODO: addRenderTarget, removeRenderTarget
173 | @available(visionOS, unavailable)
174 | public func setRenderTarget(_ mkv : MTKView, commandQueue cmdQueue: MTLCommandQueue, vid:AnyObject? = nil) ->Void {
| `- note: add '@MainActor' to make instance method 'setRenderTarget(_:commandQueue:vid:)' part of global actor 'MainActor'
175 | func currentRt(_ opaque: UnsafeRawPointer?)->UnsafeRawPointer? {
176 | guard let p = opaque else {
:
186 | var ra = mdkMetalRenderAPI()
187 | ra.type = MDK_RenderAPI_Metal
188 | ra.device = bridge(obj: mkv.device.unsafelyUnwrapped)
| `- warning: main actor-isolated property 'device' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
189 | ra.cmdQueue = bridge(obj: cmdQueue)
190 | ra.opaque = bridge(obj: mkv)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h:52:56: note: property declared here
50 | @discussion This must be explicitly set by the application unless it was passed into the initializer. Defaults to nil
51 | */
52 | @property (nonatomic, retain, nullable) id <MTLDevice> device;
| `- note: property declared here
53 |
54 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/swift-mdk/Player.swift:192:36: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
172 | // TODO: addRenderTarget, removeRenderTarget
173 | @available(visionOS, unavailable)
174 | public func setRenderTarget(_ mkv : MTKView, commandQueue cmdQueue: MTLCommandQueue, vid:AnyObject? = nil) ->Void {
| `- note: add '@MainActor' to make instance method 'setRenderTarget(_:commandQueue:vid:)' part of global actor 'MainActor'
175 | func currentRt(_ opaque: UnsafeRawPointer?)->UnsafeRawPointer? {
176 | guard let p = opaque else {
:
190 | ra.opaque = bridge(obj: mkv)
191 | ra.currentRenderTarget = currentRt
192 | ra.layer = bridge(obj: mkv.layer)
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
193 | setRenderAPI(&ra, vid:vid)
194 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 | */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
| `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
Build complete! (10.33s)
Downloading binary artifact https://github.com/wang-bin/mdk-sdk/releases/download/v0.36.0/mdk-sdk-apple.zip
[31925/65285336] Downloading https://github.com/wang-bin/mdk-sdk/releases/download/v0.36.0/mdk-sdk-apple.zip
Downloaded https://github.com/wang-bin/mdk-sdk/releases/download/v0.36.0/mdk-sdk-apple.zip (3.47s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-mdk",
"name" : "swift-mdk",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "swift-mdk",
"targets" : [
"swift-mdk"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "swift_mdkTests",
"module_type" : "SwiftTarget",
"name" : "swift-mdkTests",
"path" : "Tests/swift-mdkTests",
"sources" : [
"swift_mdkTests.swift"
],
"target_dependencies" : [
"swift-mdk"
],
"type" : "test"
},
{
"c99name" : "swift_mdk",
"module_type" : "SwiftTarget",
"name" : "swift-mdk",
"path" : "Sources/swift-mdk",
"product_memberships" : [
"swift-mdk"
],
"sources" : [
"MediaInfo.swift",
"Player.swift",
"VideoFrame.swift",
"global.swift",
"swift_mdk.swift"
],
"target_dependencies" : [
"mdk-sdk"
],
"type" : "library"
},
{
"c99name" : "mdk_sdk",
"module_type" : "BinaryTarget",
"name" : "mdk-sdk",
"path" : "remote/archive/mdk-sdk-apple.zip",
"product_memberships" : [
"swift-mdk"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.7"
}
Done.