Build Information
Successful build of VisualEffects, reference main (508a01
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 12:48:30 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/twostraws/VisualEffects.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/twostraws/VisualEffects
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 508a01b Added note about iOS 15 API that replaces this repo
Cloned https://github.com/twostraws/VisualEffects.git
Revision (git rev-parse @):
508a01b5432aa8b54a40698eccbacb68d436f8a8
SUCCESS checkout https://github.com/twostraws/VisualEffects.git at main
========================================
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": "visualeffects",
"name": "VisualEffects",
"url": "https://github.com/twostraws/VisualEffects.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/VisualEffects",
"dependencies": [
]
}
]
}
Fetching https://github.com/twostraws/VisualEffects.git
[1/50] Fetching visualeffects
Fetched https://github.com/twostraws/VisualEffects.git from cache (0.58s)
Creating working copy for https://github.com/twostraws/VisualEffects.git
Working copy of https://github.com/twostraws/VisualEffects.git resolved at main (508a01b)
warning: '.resolve-product-dependencies': dependency 'visualeffects' 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/twostraws/VisualEffects.git
https://github.com/twostraws/VisualEffects.git
{
"dependencies" : [
],
"manifest_display_name" : "VisualEffects",
"name" : "VisualEffects",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "VisualEffects",
"targets" : [
"VisualEffects"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VisualEffects",
"module_type" : "SwiftTarget",
"name" : "VisualEffects",
"path" : "Sources/VisualEffects",
"product_memberships" : [
"VisualEffects"
],
"sources" : [
"VisualEffectBlur-Mac.swift",
"VisualEffectBlur-iOS.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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] Compiling VisualEffects VisualEffectBlur-iOS.swift
[4/5] Compiling VisualEffects VisualEffectBlur-Mac.swift
/Users/admin/builder/spi-builder-workspace/Sources/VisualEffects/VisualEffectBlur-Mac.swift:63:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | class Coordinator {
63 | let visualEffectView = NSVisualEffectView()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
64 |
65 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/VisualEffects/VisualEffectBlur-Mac.swift:66:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
64 |
65 | init() {
66 | visualEffectView.blendingMode = .withinWindow
| `- warning: main actor-isolated property 'blendingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSVisualEffectView.h:101:38: note: mutation of this property is only permitted within the actor
99 |
100 | /// A value controlling how the NSVisualEffectView generates its material. See the comments on NSVisualEffectBlendingMode. Not all materials support both blending modes, so NSVisualEffectView may fall back to a more appropriate blending mode as needed. Defaults to NSVisualEffectBlendingModeBehindWindow.
101 | @property NSVisualEffectBlendingMode blendingMode;
| `- note: mutation of this property is only permitted within the actor
102 |
103 | /// A value controlling when the NSVisualEffectView takes on the active look. See the comments on NSVisualEffectState. Defaults to NSVisualEffectStateFollowsWindowActiveState.
/Users/admin/builder/spi-builder-workspace/Sources/VisualEffects/VisualEffectBlur-Mac.swift:70:30: warning: main actor-isolated property 'material' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 | }
68 |
69 | func update(material: NSVisualEffectView.Material) {
| `- note: add '@MainActor' to make instance method 'update(material:)' part of global actor 'MainActor'
70 | visualEffectView.material = material
| `- warning: main actor-isolated property 'material' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 | }
72 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSVisualEffectView.h:95:34: note: mutation of this property is only permitted within the actor
93 |
94 | /// A value indicating which material is shown by the NSVisualEffectView. See the comments on NSVisualEffectMaterial. Defaults to NSVisualEffectMaterialAppearanceBased. You should instead specify an appropriate semantic material value. See the comments on NSVisualEffectMaterial.
95 | @property NSVisualEffectMaterial material;
| `- note: mutation of this property is only permitted within the actor
96 |
97 | /// An NSBackgroundStyle value that most closely matches the look of the material shown by the NSVisualEffectView.
/Users/admin/builder/spi-builder-workspace/Sources/VisualEffects/VisualEffectBlur-Mac.swift:74:30: warning: main actor-isolated property 'blendingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 | }
72 |
73 | func update(blendingMode: NSVisualEffectView.BlendingMode) {
| `- note: add '@MainActor' to make instance method 'update(blendingMode:)' part of global actor 'MainActor'
74 | visualEffectView.blendingMode = blendingMode
| `- warning: main actor-isolated property 'blendingMode' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
75 | }
76 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSVisualEffectView.h:101:38: note: mutation of this property is only permitted within the actor
99 |
100 | /// A value controlling how the NSVisualEffectView generates its material. See the comments on NSVisualEffectBlendingMode. Not all materials support both blending modes, so NSVisualEffectView may fall back to a more appropriate blending mode as needed. Defaults to NSVisualEffectBlendingModeBehindWindow.
101 | @property NSVisualEffectBlendingMode blendingMode;
| `- note: mutation of this property is only permitted within the actor
102 |
103 | /// A value controlling when the NSVisualEffectView takes on the active look. See the comments on NSVisualEffectState. Defaults to NSVisualEffectStateFollowsWindowActiveState.
/Users/admin/builder/spi-builder-workspace/Sources/VisualEffects/VisualEffectBlur-Mac.swift:78:30: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
75 | }
76 |
77 | func update(state: NSVisualEffectView.State) {
| `- note: add '@MainActor' to make instance method 'update(state:)' part of global actor 'MainActor'
78 | visualEffectView.state = state
| `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
79 | }
80 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSVisualEffectView.h:104:31: note: mutation of this property is only permitted within the actor
102 |
103 | /// A value controlling when the NSVisualEffectView takes on the active look. See the comments on NSVisualEffectState. Defaults to NSVisualEffectStateFollowsWindowActiveState.
104 | @property NSVisualEffectState state;
| `- note: mutation of this property is only permitted within the actor
105 |
106 | /// An image whose alpha channel is used to mask the material generated by the NSVisualEffectView. (It does not also mask subviews.) Defaults to nil. It is best to set this to the smallest mask image possible and properly set the image's capInsets property to stretch it. Setting the maskImage on an NSVisualEffectView that is the contentView of a window will correctly influence the window's shadow.
[5/5] Emitting module VisualEffects
/Users/admin/builder/spi-builder-workspace/Sources/VisualEffects/VisualEffectBlur-Mac.swift:63:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | class Coordinator {
63 | let visualEffectView = NSVisualEffectView()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
64 |
65 | init() {
Build complete! (8.23s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "VisualEffects",
"name" : "VisualEffects",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "VisualEffects",
"targets" : [
"VisualEffects"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "VisualEffects",
"module_type" : "SwiftTarget",
"name" : "VisualEffects",
"path" : "Sources/VisualEffects",
"product_memberships" : [
"VisualEffects"
],
"sources" : [
"VisualEffectBlur-Mac.swift",
"VisualEffectBlur-iOS.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.