Build Information
Successful build of DisplayLink, reference master (520ed8
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 18:41:00 UTC.
Swift 6 data race errors: 1
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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/timdonnelly/DisplayLink.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/timdonnelly/DisplayLink
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 520ed87 Remove unavailable framework import within WatchOS
Cloned https://github.com/timdonnelly/DisplayLink.git
Revision (git rev-parse @):
520ed874d5d3f6ee9bbb4e21d8edfe4af9baa19e
SUCCESS checkout https://github.com/timdonnelly/DisplayLink.git at master
========================================
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": "displaylink",
"name": "DisplayLink",
"url": "https://github.com/timdonnelly/DisplayLink.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DisplayLink",
"dependencies": [
]
}
]
}
Fetching https://github.com/timdonnelly/DisplayLink.git
[1/39] Fetching displaylink
Fetched https://github.com/timdonnelly/DisplayLink.git from cache (0.64s)
Creating working copy for https://github.com/timdonnelly/DisplayLink.git
Working copy of https://github.com/timdonnelly/DisplayLink.git resolved at master (520ed87)
warning: '.resolve-product-dependencies': dependency 'displaylink' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/timdonnelly/DisplayLink.git
https://github.com/timdonnelly/DisplayLink.git
{
"dependencies" : [
],
"manifest_display_name" : "DisplayLink",
"name" : "DisplayLink",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "DisplayLink",
"targets" : [
"DisplayLink"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DisplayLinkTests",
"module_type" : "SwiftTarget",
"name" : "DisplayLinkTests",
"path" : "Tests/DisplayLinkTests",
"sources" : [
"DisplayLinkTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"DisplayLink"
],
"type" : "test"
},
{
"c99name" : "DisplayLink",
"module_type" : "SwiftTarget",
"name" : "DisplayLink",
"path" : "Sources/DisplayLink",
"product_memberships" : [
"DisplayLink"
],
"sources" : [
"DisplayLink.swift",
"OnFrame.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/5] Emitting module DisplayLink
/Users/admin/builder/spi-builder-workspace/Sources/DisplayLink/DisplayLink.swift:79:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DisplayLink' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | // A publisher that emits new values when the system is about to update the display.
6 | public final class DisplayLink: Publisher {
| `- note: class 'DisplayLink' does not conform to the 'Sendable' protocol
7 | public typealias Output = Frame
8 | public typealias Failure = Never
:
77 |
78 | extension DisplayLink {
79 | public static let shared = DisplayLink()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DisplayLink' 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
80 | }
81 |
[4/5] Compiling DisplayLink OnFrame.swift
[5/5] Compiling DisplayLink DisplayLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/DisplayLink/DisplayLink.swift:79:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DisplayLink' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | // A publisher that emits new values when the system is about to update the display.
6 | public final class DisplayLink: Publisher {
| `- note: class 'DisplayLink' does not conform to the 'Sendable' protocol
7 | public typealias Output = Frame
8 | public typealias Failure = Never
:
77 |
78 | extension DisplayLink {
79 | public static let shared = DisplayLink()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DisplayLink' 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
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/DisplayLink/DisplayLink.swift:202:21: warning: capture of 'self' with non-sendable type 'DisplayLink.PlatformDisplayLink?' in a '@Sendable' closure
168 |
169 | /// DisplayLink is used to hook into screen refreshes.
170 | fileprivate final class PlatformDisplayLink {
| `- note: class 'PlatformDisplayLink' does not conform to the 'Sendable' protocol
171 |
172 | /// The callback to call for each frame.
:
200 |
201 | DispatchQueue.main.async {
202 | self?.handle(frame: frame)
| `- warning: capture of 'self' with non-sendable type 'DisplayLink.PlatformDisplayLink?' in a '@Sendable' closure
203 | }
204 |
Build complete! (7.20s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "DisplayLink",
"name" : "DisplayLink",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "DisplayLink",
"targets" : [
"DisplayLink"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DisplayLinkTests",
"module_type" : "SwiftTarget",
"name" : "DisplayLinkTests",
"path" : "Tests/DisplayLinkTests",
"sources" : [
"DisplayLinkTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"DisplayLink"
],
"type" : "test"
},
{
"c99name" : "DisplayLink",
"module_type" : "SwiftTarget",
"name" : "DisplayLink",
"path" : "Sources/DisplayLink",
"product_memberships" : [
"DisplayLink"
],
"sources" : [
"DisplayLink.swift",
"OnFrame.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.