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 SABlurImageViews 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/marty-suzuki/SABlurImageView.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/marty-suzuki/SABlurImageView
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2be6df4 Remove .swift-version
Cloned https://github.com/marty-suzuki/SABlurImageView.git
Revision (git rev-parse @):
2be6df42331215be16197b8e873de085fc3ffc8a
SUCCESS checkout https://github.com/marty-suzuki/SABlurImageView.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/marty-suzuki/SABlurImageView.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/7] Compiling SABlurImageView Gap.swift
[4/7] Compiling SABlurImageView UIImage+BlurEffect.swift
[5/7] Compiling SABlurImageView CATransition+Closure.swift
[6/7] Emitting module SABlurImageView
/Users/admin/builder/spi-builder-workspace/Sources/SABlurImageView/SABlurImageView.swift:165:15: warning: main actor-isolated instance method 'animationDidStop(_:finished:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
162 | }
163 |
164 | extension SABlurImageView: CAAnimationDelegate {
    |                            `- note: add '@preconcurrency' to the 'CAAnimationDelegate' conformance to defer isolation checking to run time
165 |     open func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
    |               |- warning: main actor-isolated instance method 'animationDidStop(_:finished:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'animationDidStop(_:finished:)' to make this instance method not isolated to the actor
166 |         guard let _ = anim as? CAAnimationGroup else { return }
167 |         _layer.removeAnimation(forKey: Const.fadeAnimationKey)
QuartzCore.CAAnimationDelegate:5:19: note: 'animationDidStop(_:finished:)' declared here
3 |     optional func animationDidStart(_ anim: CAAnimation)
4 |     @available(macOS 10.5, *)
5 |     optional func animationDidStop(_ anim: CAAnimation, finished flag: Bool)
  |                   `- note: 'animationDidStop(_:finished:)' declared here
6 | }
[7/7] Compiling SABlurImageView SABlurImageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SABlurImageView/SABlurImageView.swift:165:15: warning: main actor-isolated instance method 'animationDidStop(_:finished:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
162 | }
163 |
164 | extension SABlurImageView: CAAnimationDelegate {
    |                            `- note: add '@preconcurrency' to the 'CAAnimationDelegate' conformance to defer isolation checking to run time
165 |     open func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
    |               |- warning: main actor-isolated instance method 'animationDidStop(_:finished:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'animationDidStop(_:finished:)' to make this instance method not isolated to the actor
166 |         guard let _ = anim as? CAAnimationGroup else { return }
167 |         _layer.removeAnimation(forKey: Const.fadeAnimationKey)
QuartzCore.CAAnimationDelegate:5:19: note: 'animationDidStop(_:finished:)' declared here
3 |     optional func animationDidStart(_ anim: CAAnimation)
4 |     @available(macOS 10.5, *)
5 |     optional func animationDidStop(_ anim: CAAnimation, finished flag: Bool)
  |                   `- note: 'animationDidStop(_:finished:)' declared here
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SABlurImageView/SABlurImageView.swift:45:9: warning: call to main actor-isolated instance method 'clearMemory()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 43 |
 44 |     deinit {
 45 |         clearMemory()
    |         `- warning: call to main actor-isolated instance method 'clearMemory()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 46 |     }
 47 |
    :
 76 |     }
 77 |
 78 |     @objc open func clearMemory() {
    |                     `- note: calls to instance method 'clearMemory()' from outside of its actor context are implicitly asynchronous
 79 |         cgImages.removeAll(keepingCapacity: false)
 80 |         nextBlurLayer?.removeFromSuperlayer()
/Users/admin/builder/spi-builder-workspace/Sources/SABlurImageView/SABlurImageView.swift:145:55: error: 'nil' is not compatible with closure result type 'CAAnimation'
143 |         let group = CAAnimationGroup()
144 |         group.animations = cgImages.enumerated().compactMap {
145 |             guard $0.offset < count - 1 else { return nil }
    |                                                       `- error: 'nil' is not compatible with closure result type 'CAAnimation'
146 |             let anim = CABasicAnimation(keyPath: Const.contentsAnimationKey)
147 |             anim.fromValue = $0.element
/Users/admin/builder/spi-builder-workspace/Sources/SABlurImageView/SABlurImageView.swift:158:27: error: type 'String' has no member 'forwards'
156 |         group.delegate = self
157 |         group.isRemovedOnCompletion = false
158 |         group.fillMode = .forwards
    |                           `- error: type 'String' has no member 'forwards'
159 |         _layer.add(group, forKey: Const.fadeAnimationKey)
160 |         cgImages = cgImages.reversed()
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.