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.1 for macOS (SPM) on 25 Apr 2025 21:00:36 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: 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.59s)
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.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.74s)
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.