Build Information
Failed to build SABlurImageViews, reference master (2be6df
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 04:59:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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
========================================
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": "sablurimageview",
"name": "SABlurImageViews",
"url": "https://github.com/marty-suzuki/SABlurImageView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SABlurImageView",
"dependencies": [
]
}
]
}
Fetching https://github.com/marty-suzuki/SABlurImageView.git
[1/579] Fetching sablurimageview
Fetched https://github.com/marty-suzuki/SABlurImageView.git from cache (1.28s)
Creating working copy for https://github.com/marty-suzuki/SABlurImageView.git
Working copy of https://github.com/marty-suzuki/SABlurImageView.git resolved at master (2be6df4)
warning: '.resolve-product-dependencies': dependency 'sablurimageview' 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/marty-suzuki/SABlurImageView.git
https://github.com/marty-suzuki/SABlurImageView.git
{
"dependencies" : [
],
"manifest_display_name" : "SABlurImageViews",
"name" : "SABlurImageViews",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SABlurImageView",
"targets" : [
"SABlurImageView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SABlurImageView",
"module_type" : "SwiftTarget",
"name" : "SABlurImageView",
"path" : "Sources/SABlurImageView",
"product_memberships" : [
"SABlurImageView"
],
"sources" : [
"CATransition+Closure.swift",
"Gap.swift",
"SABlurImageView.swift",
"UIImage+BlurEffect.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
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/7] Compiling SABlurImageView Gap.swift
[4/7] Compiling SABlurImageView CATransition+Closure.swift
[5/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 requirement from protocol 'CAAnimationDelegate'; 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 requirement from protocol 'CAAnimationDelegate'; 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)
[6/7] Compiling SABlurImageView UIImage+BlurEffect.swift
[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 requirement from protocol 'CAAnimationDelegate'; 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 requirement from protocol 'CAAnimationDelegate'; 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)
/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
| `- note: main actor isolation inferred from inheritance from class 'NSImageView'
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()
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling SABlurImageView UIImage+BlurEffect.swift
[3/6] Compiling SABlurImageView Gap.swift
[4/6] Compiling SABlurImageView CATransition+Closure.swift
[5/6] Emitting module SABlurImageView
[6/6] Compiling SABlurImageView SABlurImageView.swift
/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.1 macosSpm