The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Glur, reference main (ba4f05), with Swift 6.1 for macOS (SPM) on 13 Aug 2026 12:48:23 UTC.

Swift 6 data race errors: 2

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: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joogps/Glur.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/joogps/Glur
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ba4f05d Merge pull request #28 from joogps/mac-backdrop-fix
Cloned https://github.com/joogps/Glur.git
Revision (git rev-parse @):
ba4f05d3c9a608ec773b9305f2af6089390de68a
SUCCESS checkout https://github.com/joogps/Glur.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/joogps/Glur.git
https://github.com/joogps/Glur.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Glur",
  "name" : "Glur",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Glur",
      "targets" : [
        "Glur"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GlurBackdrop",
      "targets" : [
        "GlurBackdrop"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GlurBackdrop",
      "module_type" : "SwiftTarget",
      "name" : "GlurBackdrop",
      "path" : "Sources/GlurBackdrop",
      "product_memberships" : [
        "GlurBackdrop"
      ],
      "sources" : [
        "BackdropBlurFilter.swift",
        "GlurBackdropNSView.swift",
        "GlurBackdropUIView.swift",
        "GlurView.swift"
      ],
      "target_dependencies" : [
        "Glur"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Glur",
      "module_type" : "SwiftTarget",
      "name" : "Glur",
      "path" : "Sources/Glur",
      "product_memberships" : [
        "Glur",
        "GlurBackdrop"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Glur/Resources/blur.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Glur/Resources/noise.metal",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "BlurDirection.swift",
        "CompatibilityModifier.swift",
        "Glur.swift",
        "GlurMask.swift",
        "GlurModifier.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/5] Write sources
[2/5] Copying noise.metal
[2/5] Copying blur.metal
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/12] Compiling Glur resource_bundle_accessor.swift
[7/12] Compiling Glur GlurModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:64:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | fileprivate struct SizePreferenceKey: PreferenceKey {
64 |     static var defaultValue: CGSize = .zero
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 |     static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
[8/12] Compiling Glur GlurMask.swift
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurMask.swift:272:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'GlurMask.Cache' may have shared mutable state; this is an error in the Swift 6 language mode
270 |     }
271 |
272 |     private static let cache = Cache()
    |                        |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'GlurMask.Cache' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |
274 |     /// Gradients depend only on their own parameters, never on the size of the view they
275 |     /// end up on, so a rendered one can be held on to for as long as it's being used.
276 |     private final class Cache {
    |                         `- note: class 'Cache' does not conform to the 'Sendable' protocol
277 |         private var storage: [Ramp: CGImage] = [:]
278 |         private let lock = NSLock()
[9/12] Compiling Glur Glur.swift
[10/12] Compiling Glur CompatibilityModifier.swift
[11/12] Compiling Glur BlurDirection.swift
[12/12] Emitting module Glur
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurMask.swift:272:24: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'GlurMask.Cache' may have shared mutable state; this is an error in the Swift 6 language mode
270 |     }
271 |
272 |     private static let cache = Cache()
    |                        |- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'GlurMask.Cache' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |
274 |     /// Gradients depend only on their own parameters, never on the size of the view they
275 |     /// end up on, so a rendered one can be held on to for as long as it's being used.
276 |     private final class Cache {
    |                         `- note: class 'Cache' does not conform to the 'Sendable' protocol
277 |         private var storage: [Ramp: CGImage] = [:]
278 |         private let lock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/Glur/GlurModifier.swift:64:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | fileprivate struct SizePreferenceKey: PreferenceKey {
64 |     static var defaultValue: CGSize = .zero
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 |     static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
[13/17] Compiling GlurBackdrop GlurView.swift
[14/17] Compiling GlurBackdrop GlurBackdropUIView.swift
[15/17] Compiling GlurBackdrop BackdropBlurFilter.swift
[16/17] Emitting module GlurBackdrop
[17/17] Compiling GlurBackdrop GlurBackdropNSView.swift
Build complete! (9.43s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Glur",
  "name" : "Glur",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Glur",
      "targets" : [
        "Glur"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GlurBackdrop",
      "targets" : [
        "GlurBackdrop"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GlurBackdrop",
      "module_type" : "SwiftTarget",
      "name" : "GlurBackdrop",
      "path" : "Sources/GlurBackdrop",
      "product_memberships" : [
        "GlurBackdrop"
      ],
      "sources" : [
        "BackdropBlurFilter.swift",
        "GlurBackdropNSView.swift",
        "GlurBackdropUIView.swift",
        "GlurView.swift"
      ],
      "target_dependencies" : [
        "Glur"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Glur",
      "module_type" : "SwiftTarget",
      "name" : "Glur",
      "path" : "Sources/Glur",
      "product_memberships" : [
        "Glur",
        "GlurBackdrop"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Glur/Resources/blur.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Glur/Resources/noise.metal",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "BlurDirection.swift",
        "CompatibilityModifier.swift",
        "Glur.swift",
        "GlurMask.swift",
        "GlurModifier.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.