This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of VisualEffects with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/twostraws/VisualEffects.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/5] Compiling VisualEffects VisualEffectBlur-iOS.swift
[4/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() {
[5/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 non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
67 |         }
68 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/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 non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
71 |         }
72 |
AppKit.NSVisualEffectView:3:14: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.10, *)
 2 | @MainActor open class NSVisualEffectView : NSView {
 3 |     open var material: NSVisualEffectView.Material { get set }
   |              `- note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
/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 non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
75 |         }
76 |
AppKit.NSVisualEffectView:5:25: note: mutation of this property is only permitted within the actor
 3 |     open var material: NSVisualEffectView.Material { get set }
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
   |                         `- note: mutation of this property is only permitted within the actor
 6 |     open var state: NSVisualEffectView.State { get set }
 7 |     open var maskImage: NSImage? { get set }
/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 non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
79 |         }
80 |     }
AppKit.NSVisualEffectView:6:14: note: mutation of this property is only permitted within the actor
 4 |     open var interiorBackgroundStyle: NSView.BackgroundStyle { get }
 5 |     @MainActor open var blendingMode: NSVisualEffectView.BlendingMode { get set }
 6 |     open var state: NSVisualEffectView.State { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var maskImage: NSImage? { get set }
 8 |     @available(macOS 10.12, *)
Build complete! (31.44s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.