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

Failed to build VariableBlurImageView with Swift 6.0 for macOS (SPM).

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/Eskils/VariableBlurImageView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Eskils/VariableBlurImageView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 74d9fcb Merge pull request #3 from Eskils/develop
Cloned https://github.com/Eskils/VariableBlurImageView.git
Revision (git rev-parse @):
74d9fcbf9a519c565412e3e6b38b4a2bb356df6c
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/Eskils/VariableBlurImageView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Eskils/VariableBlurImageView.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/7] Write sources
[2/7] Write GenerateTestImages-entitlement.plist
[3/7] Write swift-version-6F35C1178C84523A.txt
[5/18] Compiling VariableBlurImageView VariableBlurMetal.swift
[6/19] Compiling VariableBlurImageView VariableBlurOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:30:23: warning: call to main actor-isolated instance method 'verticalVariableBlur(image:startPoint:endPoint:startRadius:endRadius:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |     case multiple([VariableBlurDescription])
26 |
27 |     func performOperation(onImage image: CPImage, imageView: VariableBlurImageView) {
   |          `- note: add '@MainActor' to make instance method 'performOperation(onImage:imageView:)' part of global actor 'MainActor'
28 |         switch self {
29 |         case .vertical(let startPoint, let endPoint, let startRadius, let endRadius):
30 |             imageView.verticalVariableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
   |                       `- warning: call to main actor-isolated instance method 'verticalVariableBlur(image:startPoint:endPoint:startRadius:endRadius:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |         case .horizontal(let startPoint, let endPoint, let startRadius, let endRadius):
32 |             imageView.horizontalVariableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurImageView.swift:126:15: note: calls to instance method 'verticalVariableBlur(image:startPoint:endPoint:startRadius:endRadius:)' from outside of its actor context are implicitly asynchronous
124 |     ///   - startRadius: The blur radius at the start point.
125 |     ///   - endRadius: The blur radius ar the end point.
126 |     open func verticalVariableBlur(image: NSImage, startPoint: CGFloat, endPoint: CGFloat, startRadius: CGFloat, endRadius: CGFloat) {
    |               `- note: calls to instance method 'verticalVariableBlur(image:startPoint:endPoint:startRadius:endRadius:)' from outside of its actor context are implicitly asynchronous
127 |         originalImage = image
128 |         blurOperation = .vertical(startPoint, endPoint, startRadius, endRadius)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:32:23: warning: call to main actor-isolated instance method 'horizontalVariableBlur(image:startPoint:endPoint:startRadius:endRadius:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |     case multiple([VariableBlurDescription])
26 |
27 |     func performOperation(onImage image: CPImage, imageView: VariableBlurImageView) {
   |          `- note: add '@MainActor' to make instance method 'performOperation(onImage:imageView:)' part of global actor 'MainActor'
28 |         switch self {
29 |         case .vertical(let startPoint, let endPoint, let startRadius, let endRadius):
30 |             imageView.verticalVariableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
31 |         case .horizontal(let startPoint, let endPoint, let startRadius, let endRadius):
32 |             imageView.horizontalVariableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
   |                       `- warning: call to main actor-isolated instance method 'horizontalVariableBlur(image:startPoint:endPoint:startRadius:endRadius:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 |         case .betweenTwoPoints(let startPoint, let endPoint, let startRadius, let endRadius):
34 |             imageView.variableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurImageView.swift:147:15: note: calls to instance method 'horizontalVariableBlur(image:startPoint:endPoint:startRadius:endRadius:)' from outside of its actor context are implicitly asynchronous
145 |     ///   - startRadius: The blur radius at the start point.
146 |     ///   - endRadius: The blur radius ar the end point.
147 |     open func horizontalVariableBlur(image: NSImage, startPoint: CGFloat, endPoint: CGFloat, startRadius: CGFloat, endRadius: CGFloat) {
    |               `- note: calls to instance method 'horizontalVariableBlur(image:startPoint:endPoint:startRadius:endRadius:)' from outside of its actor context are implicitly asynchronous
148 |         originalImage = image
149 |         blurOperation = .horizontal(startPoint, endPoint, startRadius, endRadius)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:34:23: warning: call to main actor-isolated instance method 'variableBlur(image:startPoint:endPoint:startRadius:endRadius:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |     case multiple([VariableBlurDescription])
26 |
27 |     func performOperation(onImage image: CPImage, imageView: VariableBlurImageView) {
   |          `- note: add '@MainActor' to make instance method 'performOperation(onImage:imageView:)' part of global actor 'MainActor'
28 |         switch self {
29 |         case .vertical(let startPoint, let endPoint, let startRadius, let endRadius):
   :
32 |             imageView.horizontalVariableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
33 |         case .betweenTwoPoints(let startPoint, let endPoint, let startRadius, let endRadius):
34 |             imageView.variableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
   |                       `- warning: call to main actor-isolated instance method 'variableBlur(image:startPoint:endPoint:startRadius:endRadius:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 |         case .gradient(let gradientImage, let maxRadius):
36 |             imageView.gradientBlur(image: image, gradientImage: gradientImage, maxRadius: maxRadius)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurImageView.swift:168:15: note: calls to instance method 'variableBlur(image:startPoint:endPoint:startRadius:endRadius:)' from outside of its actor context are implicitly asynchronous
166 |     ///   - startRadius: The blur radius at the start point.
167 |     ///   - endRadius: The blur radius ar the end point.
168 |     open func variableBlur(image: NSImage, startPoint: CGPoint, endPoint: CGPoint, startRadius: CGFloat, endRadius: CGFloat) {
    |               `- note: calls to instance method 'variableBlur(image:startPoint:endPoint:startRadius:endRadius:)' from outside of its actor context are implicitly asynchronous
169 |         originalImage = image
170 |         blurOperation = .betweenTwoPoints(startPoint, endPoint, startRadius, endRadius)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:36:23: warning: call to main actor-isolated instance method 'gradientBlur(image:gradientImage:maxRadius:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |     case multiple([VariableBlurDescription])
26 |
27 |     func performOperation(onImage image: CPImage, imageView: VariableBlurImageView) {
   |          `- note: add '@MainActor' to make instance method 'performOperation(onImage:imageView:)' part of global actor 'MainActor'
28 |         switch self {
29 |         case .vertical(let startPoint, let endPoint, let startRadius, let endRadius):
   :
34 |             imageView.variableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
35 |         case .gradient(let gradientImage, let maxRadius):
36 |             imageView.gradientBlur(image: image, gradientImage: gradientImage, maxRadius: maxRadius)
   |                       `- warning: call to main actor-isolated instance method 'gradientBlur(image:gradientImage:maxRadius:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 |         case .multiple(let descriptions):
38 |             imageView.multipleBlurs(image: image, descriptions: descriptions)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurImageView.swift:188:15: note: calls to instance method 'gradientBlur(image:gradientImage:maxRadius:)' from outside of its actor context are implicitly asynchronous
186 |     ///   - gradient: The image describing the blur radius in terms of lightness. Preferrably a grayscale image.
187 |     ///   - maxRadius: The max blur radius. Fully white corresponds to this radius, while black corresponds to 0.
188 |     open func gradientBlur(image: NSImage, gradientImage: NSImage, maxRadius: CGFloat) {
    |               `- note: calls to instance method 'gradientBlur(image:gradientImage:maxRadius:)' from outside of its actor context are implicitly asynchronous
189 |         originalImage = image
190 |         blurOperation = .gradient(gradientImage, maxRadius)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:38:23: warning: call to main actor-isolated instance method 'multipleBlurs(image:descriptions:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |     case multiple([VariableBlurDescription])
26 |
27 |     func performOperation(onImage image: CPImage, imageView: VariableBlurImageView) {
   |          `- note: add '@MainActor' to make instance method 'performOperation(onImage:imageView:)' part of global actor 'MainActor'
28 |         switch self {
29 |         case .vertical(let startPoint, let endPoint, let startRadius, let endRadius):
   :
36 |             imageView.gradientBlur(image: image, gradientImage: gradientImage, maxRadius: maxRadius)
37 |         case .multiple(let descriptions):
38 |             imageView.multipleBlurs(image: image, descriptions: descriptions)
   |                       `- warning: call to main actor-isolated instance method 'multipleBlurs(image:descriptions:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 |         }
40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurImageView.swift:205:15: note: calls to instance method 'multipleBlurs(image:descriptions:)' from outside of its actor context are implicitly asynchronous
203 |     ///   - image: The image to blur.
204 |     ///   - descriptions: An array of structures describing start/ent points and start/end radiuses.
205 |     open func multipleBlurs(image: NSImage, descriptions: [VariableBlurDescription]) {
    |               `- note: calls to instance method 'multipleBlurs(image:descriptions:)' from outside of its actor context are implicitly asynchronous
206 |         originalImage = image
207 |         blurOperation = .multiple(descriptions)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:30:23: warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
28 |         switch self {
29 |         case .vertical(let startPoint, let endPoint, let startRadius, let endRadius):
30 |             imageView.verticalVariableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
   |                       |- warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: sending task-isolated 'image' to main actor-isolated instance method 'verticalVariableBlur(image:startPoint:endPoint:startRadius:endRadius:)' risks causing data races between main actor-isolated and task-isolated uses
31 |         case .horizontal(let startPoint, let endPoint, let startRadius, let endRadius):
32 |             imageView.horizontalVariableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:32:23: warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
30 |             imageView.verticalVariableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
31 |         case .horizontal(let startPoint, let endPoint, let startRadius, let endRadius):
32 |             imageView.horizontalVariableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
   |                       |- warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: sending task-isolated 'image' to main actor-isolated instance method 'horizontalVariableBlur(image:startPoint:endPoint:startRadius:endRadius:)' risks causing data races between main actor-isolated and task-isolated uses
33 |         case .betweenTwoPoints(let startPoint, let endPoint, let startRadius, let endRadius):
34 |             imageView.variableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:34:23: warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
32 |             imageView.horizontalVariableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
33 |         case .betweenTwoPoints(let startPoint, let endPoint, let startRadius, let endRadius):
34 |             imageView.variableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
   |                       |- warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: sending task-isolated 'image' to main actor-isolated instance method 'variableBlur(image:startPoint:endPoint:startRadius:endRadius:)' risks causing data races between main actor-isolated and task-isolated uses
35 |         case .gradient(let gradientImage, let maxRadius):
36 |             imageView.gradientBlur(image: image, gradientImage: gradientImage, maxRadius: maxRadius)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:36:23: warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
34 |             imageView.variableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
35 |         case .gradient(let gradientImage, let maxRadius):
36 |             imageView.gradientBlur(image: image, gradientImage: gradientImage, maxRadius: maxRadius)
   |                       |- warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: sending task-isolated 'image' to main actor-isolated instance method 'gradientBlur(image:gradientImage:maxRadius:)' risks causing data races between main actor-isolated and task-isolated uses
37 |         case .multiple(let descriptions):
38 |             imageView.multipleBlurs(image: image, descriptions: descriptions)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:36:23: warning: sending 'gradientImage' risks causing data races; this is an error in the Swift 6 language mode
34 |             imageView.variableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
35 |         case .gradient(let gradientImage, let maxRadius):
36 |             imageView.gradientBlur(image: image, gradientImage: gradientImage, maxRadius: maxRadius)
   |                       |- warning: sending 'gradientImage' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: sending task-isolated 'gradientImage' to main actor-isolated instance method 'gradientBlur(image:gradientImage:maxRadius:)' risks causing data races between main actor-isolated and task-isolated uses
37 |         case .multiple(let descriptions):
38 |             imageView.multipleBlurs(image: image, descriptions: descriptions)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:36:23: warning: sending 'maxRadius' risks causing data races; this is an error in the Swift 6 language mode
34 |             imageView.variableBlur(image: image, startPoint: startPoint, endPoint: endPoint, startRadius: startRadius, endRadius: endRadius)
35 |         case .gradient(let gradientImage, let maxRadius):
36 |             imageView.gradientBlur(image: image, gradientImage: gradientImage, maxRadius: maxRadius)
   |                       |- warning: sending 'maxRadius' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: sending task-isolated 'maxRadius' to main actor-isolated instance method 'gradientBlur(image:gradientImage:maxRadius:)' risks causing data races between main actor-isolated and task-isolated uses
37 |         case .multiple(let descriptions):
38 |             imageView.multipleBlurs(image: image, descriptions: descriptions)
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:38:23: warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
36 |             imageView.gradientBlur(image: image, gradientImage: gradientImage, maxRadius: maxRadius)
37 |         case .multiple(let descriptions):
38 |             imageView.multipleBlurs(image: image, descriptions: descriptions)
   |                       |- warning: sending 'image' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: sending task-isolated 'image' to main actor-isolated instance method 'multipleBlurs(image:descriptions:)' risks causing data races between main actor-isolated and task-isolated uses
39 |         }
40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurOperation.swift:38:23: warning: sending 'descriptions' risks causing data races; this is an error in the Swift 6 language mode
36 |             imageView.gradientBlur(image: image, gradientImage: gradientImage, maxRadius: maxRadius)
37 |         case .multiple(let descriptions):
38 |             imageView.multipleBlurs(image: image, descriptions: descriptions)
   |                       |- warning: sending 'descriptions' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: sending task-isolated 'descriptions' to main actor-isolated instance method 'multipleBlurs(image:descriptions:)' risks causing data races between main actor-isolated and task-isolated uses
39 |         }
40 |     }
[7/19] Compiling VariableBlurImageView VariableBlurImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurImageView.swift:302:33: warning: capture of 'image' with non-sendable type 'CPImage' (aka 'NSImage') in a `@Sendable` closure; this is an error in the Swift 6 language mode
300 |         DispatchQueue.global().async {
301 |             do {
302 |                 let imageSize = image.size
    |                                 `- warning: capture of 'image' with non-sendable type 'CPImage' (aka 'NSImage') in a `@Sendable` closure; this is an error in the Swift 6 language mode
303 |
304 |                 let cgImagesOfVariations = imageVariations.compactMap { self.getCGImage(fromUIImage: $0) }
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
  1 | open class NSImage : NSObject {
    |            `- note: class 'NSImage' does not conform to the 'Sendable' protocol
  2 |     public /*not inherited*/ init?(named name: NSImage.Name)
  3 |     @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurImageView.swift:304:44: warning: capture of 'imageVariations' with non-sendable type '[CPImage]' (aka 'Array<NSImage>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
302 |                 let imageSize = image.size
303 |
304 |                 let cgImagesOfVariations = imageVariations.compactMap { self.getCGImage(fromUIImage: $0) }
    |                                            `- warning: capture of 'imageVariations' with non-sendable type '[CPImage]' (aka 'Array<NSImage>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |
306 |                 guard cgImagesOfVariations.count == imageVariations.count else {
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
  |                       `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurImageView.swift:317:44: warning: capture of 'block' with non-sendable type '(CGImage) throws -> CGImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
315 |                         throw VariableBlurImageViewError.cannotTileImage
316 |                     }
317 |                     let blurredImage = try block(tiledImage)
    |                                            |- warning: capture of 'block' with non-sendable type '(CGImage) throws -> CGImage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
318 |                     blurredImageVariations = imageTiler.getComponentImages(image: blurredImage, desiredSize: imageSize)
319 |                 case .sequential:
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurImageView.swift:304:78: warning: call to main actor-isolated instance method 'getCGImage(fromUIImage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
302 |                 let imageSize = image.size
303 |
304 |                 let cgImagesOfVariations = imageVariations.compactMap { self.getCGImage(fromUIImage: $0) }
    |                                                                              `- warning: call to main actor-isolated instance method 'getCGImage(fromUIImage:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
305 |
306 |                 guard cgImagesOfVariations.count == imageVariations.count else {
    :
443 |     }
444 |
445 |     fileprivate func getCGImage(fromUIImage image: CPImage) -> CGImage? {
    |                      `- note: calls to instance method 'getCGImage(fromUIImage:)' from outside of its actor context are implicitly asynchronous
446 |         return image.cgImage(forProposedRect: nil, context: nil, hints: nil)
447 |     }
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlurImageView.swift:304:78: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
302 |                 let imageSize = image.size
303 |
304 |                 let cgImagesOfVariations = imageVariations.compactMap { self.getCGImage(fromUIImage: $0) }
    |                                                                              |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                              `- note: sending task-isolated '$0' to main actor-isolated instance method 'getCGImage(fromUIImage:)' risks causing data races between main actor-isolated and task-isolated uses
305 |
306 |                 guard cgImagesOfVariations.count == imageVariations.count else {
[8/19] Compiling VariableBlurImageView VariableBlurEngine.swift
[9/19] Compiling VariableBlurImageView VariableBlurImage.swift
[10/19] Compiling VariableBlurImageView VariableBlurImageImpl.swift
[11/19] Compiling VariableBlurImageView VariableBlurDescription.swift
[12/19] Emitting module VariableBlurImageView
[13/19] Compiling VariableBlurImageView CrossPlatform.swift
[14/19] Compiling VariableBlurImageView ImageTiler.swift
[15/19] Compiling VariableBlurImageView Image+Extension.swift
[16/19] Compiling VariableBlurImageView MetalFunction.swift
/Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/MetalFunction.swift:16:29: error: type 'Bundle' has no member 'module'
14 |
15 |     static func precompileMetalFunction(withName functionName: String, device: MTLDevice) throws -> MetalFunction {
16 |         let bundle = Bundle.module
   |                             `- error: type 'Bundle' has no member 'module'
17 |         let library = try device.makeDefaultLibrary(bundle: bundle)
18 |
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/VariableBlurImageView/VariableBlur.metal
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.