The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of VisualEffects, reference 1.0.3 (8ff7f9), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 11:55:44 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/twostraws/VisualEffects.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/twostraws/VisualEffects
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 8ff7f90 Moved swift-tools-version down to 5.2
Cloned https://github.com/twostraws/VisualEffects.git
Revision (git rev-parse @):
8ff7f90f9650d9db5774275d0b1f07ef642ecf4d
SUCCESS checkout https://github.com/twostraws/VisualEffects.git at 1.0.3
========================================
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.64s)
Creating working copy for https://github.com/twostraws/VisualEffects.git
Working copy of https://github.com/twostraws/VisualEffects.git resolved at 1.0.3 (8ff7f90)
warning: '.resolve-product-dependencies': dependency 'visualeffects' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/twostraws/VisualEffects.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.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 |
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 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 |
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 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 |
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 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 |     }
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, *)
[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! (11.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.