Build Information
Successful build of Kingfisher, reference 8.3.3 (010a06
), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 19:37:04 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onevcat/Kingfisher.git
Reference: 8.3.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/onevcat/Kingfisher
* tag 8.3.3 -> FETCH_HEAD
HEAD is now at 010a06c Bump version to 8.3.3
Cloned https://github.com/onevcat/Kingfisher.git
Revision (git rev-parse @):
010a06c4387cea2d13606222b6c08e0454e6dd2d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/onevcat/Kingfisher.git at 8.3.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/onevcat/Kingfisher.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/65] Emitting module Kingfisher
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:80:38: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
80 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | self.removeExpired()
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:79:109: warning: capture of non-sendable type 'T.Type' in an isolated closure
77 | storage.countLimit = config.countLimit
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
80 | guard let self = self else { return }
81 | self.removeExpired()
[5/71] Compiling Kingfisher Runtime.swift
[6/71] Compiling Kingfisher SizeExtensions.swift
[7/71] Compiling Kingfisher String+SHA256.swift
[8/71] Compiling Kingfisher AnimatedImageView.swift
[9/71] Compiling Kingfisher Indicator.swift
[10/71] Compiling Kingfisher resource_bundle_accessor.swift
[11/71] Compiling Kingfisher ImagePrefetcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:110:55: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | case .success(let value):
109 | CallbackQueueMain.currentOrAsync {
110 | if let fadeDuration = context.fadeTransitionDuration(cacheType: value.cacheType) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 | self.animating = true
112 | let animation = Animation.linear(duration: fadeDuration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:125:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |
124 | CallbackQueueMain.async {
125 | context.onSuccessDelegate.call(value)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
126 | }
127 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:129:48: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 | case .failure(let error):
128 | CallbackQueueMain.currentOrAsync {
129 | if let image = context.options.onFailureImage {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 | self.loadedImage = image
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:136:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | CallbackQueueMain.async {
136 | context.onFailureDelegate.call(error)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | }
138 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
[12/71] Compiling Kingfisher RedirectHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:110:55: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | case .success(let value):
109 | CallbackQueueMain.currentOrAsync {
110 | if let fadeDuration = context.fadeTransitionDuration(cacheType: value.cacheType) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 | self.animating = true
112 | let animation = Animation.linear(duration: fadeDuration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:125:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |
124 | CallbackQueueMain.async {
125 | context.onSuccessDelegate.call(value)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
126 | }
127 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:129:48: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 | case .failure(let error):
128 | CallbackQueueMain.currentOrAsync {
129 | if let image = context.options.onFailureImage {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 | self.loadedImage = image
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:136:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | CallbackQueueMain.async {
136 | context.onFailureDelegate.call(error)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | }
138 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
[13/71] Compiling Kingfisher RequestModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:110:55: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | case .success(let value):
109 | CallbackQueueMain.currentOrAsync {
110 | if let fadeDuration = context.fadeTransitionDuration(cacheType: value.cacheType) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 | self.animating = true
112 | let animation = Animation.linear(duration: fadeDuration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:125:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |
124 | CallbackQueueMain.async {
125 | context.onSuccessDelegate.call(value)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
126 | }
127 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:129:48: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 | case .failure(let error):
128 | CallbackQueueMain.currentOrAsync {
129 | if let image = context.options.onFailureImage {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 | self.loadedImage = image
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:136:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | CallbackQueueMain.async {
136 | context.onFailureDelegate.call(error)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | }
138 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
[14/71] Compiling Kingfisher RetryStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:110:55: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | case .success(let value):
109 | CallbackQueueMain.currentOrAsync {
110 | if let fadeDuration = context.fadeTransitionDuration(cacheType: value.cacheType) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 | self.animating = true
112 | let animation = Animation.linear(duration: fadeDuration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:125:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |
124 | CallbackQueueMain.async {
125 | context.onSuccessDelegate.call(value)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
126 | }
127 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:129:48: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 | case .failure(let error):
128 | CallbackQueueMain.currentOrAsync {
129 | if let image = context.options.onFailureImage {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 | self.loadedImage = image
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:136:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | CallbackQueueMain.async {
136 | context.onFailureDelegate.call(error)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | }
138 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
[15/71] Compiling Kingfisher SessionDataTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:110:55: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | case .success(let value):
109 | CallbackQueueMain.currentOrAsync {
110 | if let fadeDuration = context.fadeTransitionDuration(cacheType: value.cacheType) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 | self.animating = true
112 | let animation = Animation.linear(duration: fadeDuration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:125:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |
124 | CallbackQueueMain.async {
125 | context.onSuccessDelegate.call(value)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
126 | }
127 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:129:48: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 | case .failure(let error):
128 | CallbackQueueMain.currentOrAsync {
129 | if let image = context.options.onFailureImage {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 | self.loadedImage = image
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:136:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | CallbackQueueMain.async {
136 | context.onFailureDelegate.call(error)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | }
138 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
[16/71] Compiling Kingfisher SessionDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:110:55: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | case .success(let value):
109 | CallbackQueueMain.currentOrAsync {
110 | if let fadeDuration = context.fadeTransitionDuration(cacheType: value.cacheType) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 | self.animating = true
112 | let animation = Animation.linear(duration: fadeDuration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:125:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |
124 | CallbackQueueMain.async {
125 | context.onSuccessDelegate.call(value)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
126 | }
127 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:129:48: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 | case .failure(let error):
128 | CallbackQueueMain.currentOrAsync {
129 | if let image = context.options.onFailureImage {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 | self.loadedImage = image
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:136:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | CallbackQueueMain.async {
136 | context.onFailureDelegate.call(error)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | }
138 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
[17/71] Compiling Kingfisher ImageBinder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:110:55: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | case .success(let value):
109 | CallbackQueueMain.currentOrAsync {
110 | if let fadeDuration = context.fadeTransitionDuration(cacheType: value.cacheType) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 | self.animating = true
112 | let animation = Animation.linear(duration: fadeDuration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:125:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |
124 | CallbackQueueMain.async {
125 | context.onSuccessDelegate.call(value)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
126 | }
127 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:129:48: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 | case .failure(let error):
128 | CallbackQueueMain.currentOrAsync {
129 | if let image = context.options.onFailureImage {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 | self.loadedImage = image
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:136:33: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | CallbackQueueMain.async {
136 | context.onFailureDelegate.call(error)
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | }
138 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/ImageBinder.swift:68:53: warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func start<HoldingView: KFImageHoldingView>(context: Context<HoldingView>) {
| `- warning: capture of non-sendable type 'HoldingView.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | guard let source = context.source else {
70 | CallbackQueueMain.currentOrAsync {
[18/71] Compiling Kingfisher ImageContext.swift
[19/71] Compiling Kingfisher KFAnimatedImage.swift
[20/71] Compiling Kingfisher KFImage.swift
[21/71] Compiling Kingfisher KFImageOptions.swift
[22/71] Compiling Kingfisher KFImageProtocol.swift
[23/71] Compiling Kingfisher KFImageRenderer.swift
[24/71] Compiling Kingfisher ImageDataProvider.swift
[25/71] Compiling Kingfisher LivePhotoSource.swift
[26/71] Compiling Kingfisher PHPickerResultImageDataProvider.swift
[27/71] Compiling Kingfisher Resource.swift
[28/71] Compiling Kingfisher Source.swift
[29/71] Compiling Kingfisher KF.swift
[30/71] Compiling Kingfisher KFOptionsSetter.swift
[31/71] Compiling Kingfisher Box.swift
[32/71] Compiling Kingfisher CallbackQueue.swift
[33/71] Compiling Kingfisher Delegate.swift
[34/71] Compiling Kingfisher DisplayLink.swift
[35/71] Compiling Kingfisher ExtensionHelpers.swift
[36/71] Compiling Kingfisher Result.swift
[37/71] Compiling Kingfisher HasImageComponent+Kingfisher.swift
[38/71] Compiling Kingfisher ImageView+Kingfisher.swift
[39/71] Compiling Kingfisher NSButton+Kingfisher.swift
[40/71] Compiling Kingfisher NSTextAttachment+Kingfisher.swift
[41/71] Compiling Kingfisher PHLivePhotoView+Kingfisher.swift
[42/71] Compiling Kingfisher UIButton+Kingfisher.swift
[43/71] Compiling Kingfisher AVAssetImageDataProvider.swift
[44/71] Compiling Kingfisher Kingfisher.swift
[45/71] Compiling Kingfisher KingfisherError.swift
[46/71] Compiling Kingfisher KingfisherManager+LivePhoto.swift
[47/71] Compiling Kingfisher KingfisherManager.swift
[48/71] Compiling Kingfisher KingfisherOptionsInfo.swift
[49/71] Compiling Kingfisher Filter.swift
[50/71] Compiling Kingfisher GIFAnimatedImage.swift
[51/71] Compiling Kingfisher Placeholder.swift
[52/71] Compiling Kingfisher AuthenticationChallengeResponsable.swift
[53/71] Compiling Kingfisher ImageDataProcessor.swift
[54/71] Compiling Kingfisher ImageDownloader+LivePhoto.swift
[55/71] Compiling Kingfisher ImageDownloader.swift
[56/71] Compiling Kingfisher ImageDownloaderDelegate.swift
[57/71] Compiling Kingfisher ImageModifier.swift
[58/71] Compiling Kingfisher CacheSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:105:40: warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
105 | let allFiles = try self.config.fileManager.contentsOfDirectory(atPath: self.directoryURL.path)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:108:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
108 | self.maybeCached = maybeCached
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
109 | }
110 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:114:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
112 | // Just disable the functionality if we fail to initialize it properly. This will just revert to
113 | // the behavior which is to check file existence on disk directly.
114 | self.maybeCached = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:213:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
211 |
212 | maybeCachedCheckingQueue.async {
213 | self.maybeCached?.insert(fileURL.lastPathComponent)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
214 | }
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:148:21: warning: capture of non-sendable type 'T.Type' in an isolated closure
146 | /// - forcedExtension: The file extension, if exists.
147 | /// - Throws: An error during converting the value to a data format or during writing it to disk.
148 | public func store(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
149 | value: T,
150 | forKey key: String,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:282:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
280 | let obj = try T.fromData(data)
281 | metaChangingQueue.async {
282 | meta.extendExpiration(with: self.config.fileManager, extendingExpiration: extendingExpiration)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
283 | }
284 | return obj
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:238:14: warning: capture of non-sendable type 'T.Type' in an isolated closure
236 | }
237 |
238 | func value(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
239 | forKey key: String,
240 | referenceDate: Date,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:80:38: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
80 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | self.removeExpired()
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:79:109: warning: capture of non-sendable type 'T.Type' in an isolated closure
77 | storage.countLimit = config.countLimit
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
80 | guard let self = self else { return }
81 | self.removeExpired()
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:96:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
96 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
97 | self.removeExpired()
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:95:105: warning: capture of non-sendable type 'T.Type' in an isolated closure
93 | storage.countLimit = config.countLimit
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
96 | guard let self = self else { return }
97 | self.removeExpired()
[59/71] Compiling Kingfisher DiskStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:105:40: warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
105 | let allFiles = try self.config.fileManager.contentsOfDirectory(atPath: self.directoryURL.path)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:108:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
108 | self.maybeCached = maybeCached
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
109 | }
110 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:114:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
112 | // Just disable the functionality if we fail to initialize it properly. This will just revert to
113 | // the behavior which is to check file existence on disk directly.
114 | self.maybeCached = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:213:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
211 |
212 | maybeCachedCheckingQueue.async {
213 | self.maybeCached?.insert(fileURL.lastPathComponent)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
214 | }
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:148:21: warning: capture of non-sendable type 'T.Type' in an isolated closure
146 | /// - forcedExtension: The file extension, if exists.
147 | /// - Throws: An error during converting the value to a data format or during writing it to disk.
148 | public func store(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
149 | value: T,
150 | forKey key: String,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:282:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
280 | let obj = try T.fromData(data)
281 | metaChangingQueue.async {
282 | meta.extendExpiration(with: self.config.fileManager, extendingExpiration: extendingExpiration)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
283 | }
284 | return obj
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:238:14: warning: capture of non-sendable type 'T.Type' in an isolated closure
236 | }
237 |
238 | func value(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
239 | forKey key: String,
240 | referenceDate: Date,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:80:38: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
80 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | self.removeExpired()
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:79:109: warning: capture of non-sendable type 'T.Type' in an isolated closure
77 | storage.countLimit = config.countLimit
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
80 | guard let self = self else { return }
81 | self.removeExpired()
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:96:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
96 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
97 | self.removeExpired()
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:95:105: warning: capture of non-sendable type 'T.Type' in an isolated closure
93 | storage.countLimit = config.countLimit
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
96 | guard let self = self else { return }
97 | self.removeExpired()
[60/71] Compiling Kingfisher FormatIndicatedCacheSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:105:40: warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
105 | let allFiles = try self.config.fileManager.contentsOfDirectory(atPath: self.directoryURL.path)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:108:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
108 | self.maybeCached = maybeCached
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
109 | }
110 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:114:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
112 | // Just disable the functionality if we fail to initialize it properly. This will just revert to
113 | // the behavior which is to check file existence on disk directly.
114 | self.maybeCached = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:213:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
211 |
212 | maybeCachedCheckingQueue.async {
213 | self.maybeCached?.insert(fileURL.lastPathComponent)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
214 | }
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:148:21: warning: capture of non-sendable type 'T.Type' in an isolated closure
146 | /// - forcedExtension: The file extension, if exists.
147 | /// - Throws: An error during converting the value to a data format or during writing it to disk.
148 | public func store(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
149 | value: T,
150 | forKey key: String,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:282:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
280 | let obj = try T.fromData(data)
281 | metaChangingQueue.async {
282 | meta.extendExpiration(with: self.config.fileManager, extendingExpiration: extendingExpiration)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
283 | }
284 | return obj
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:238:14: warning: capture of non-sendable type 'T.Type' in an isolated closure
236 | }
237 |
238 | func value(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
239 | forKey key: String,
240 | referenceDate: Date,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:80:38: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
80 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | self.removeExpired()
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:79:109: warning: capture of non-sendable type 'T.Type' in an isolated closure
77 | storage.countLimit = config.countLimit
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
80 | guard let self = self else { return }
81 | self.removeExpired()
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:96:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
96 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
97 | self.removeExpired()
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:95:105: warning: capture of non-sendable type 'T.Type' in an isolated closure
93 | storage.countLimit = config.countLimit
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
96 | guard let self = self else { return }
97 | self.removeExpired()
[61/71] Compiling Kingfisher ImageCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:105:40: warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
105 | let allFiles = try self.config.fileManager.contentsOfDirectory(atPath: self.directoryURL.path)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:108:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
108 | self.maybeCached = maybeCached
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
109 | }
110 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:114:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
112 | // Just disable the functionality if we fail to initialize it properly. This will just revert to
113 | // the behavior which is to check file existence on disk directly.
114 | self.maybeCached = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:213:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
211 |
212 | maybeCachedCheckingQueue.async {
213 | self.maybeCached?.insert(fileURL.lastPathComponent)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
214 | }
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:148:21: warning: capture of non-sendable type 'T.Type' in an isolated closure
146 | /// - forcedExtension: The file extension, if exists.
147 | /// - Throws: An error during converting the value to a data format or during writing it to disk.
148 | public func store(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
149 | value: T,
150 | forKey key: String,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:282:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
280 | let obj = try T.fromData(data)
281 | metaChangingQueue.async {
282 | meta.extendExpiration(with: self.config.fileManager, extendingExpiration: extendingExpiration)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
283 | }
284 | return obj
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:238:14: warning: capture of non-sendable type 'T.Type' in an isolated closure
236 | }
237 |
238 | func value(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
239 | forKey key: String,
240 | referenceDate: Date,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:80:38: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
80 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | self.removeExpired()
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:79:109: warning: capture of non-sendable type 'T.Type' in an isolated closure
77 | storage.countLimit = config.countLimit
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
80 | guard let self = self else { return }
81 | self.removeExpired()
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:96:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
96 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
97 | self.removeExpired()
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:95:105: warning: capture of non-sendable type 'T.Type' in an isolated closure
93 | storage.countLimit = config.countLimit
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
96 | guard let self = self else { return }
97 | self.removeExpired()
[62/71] Compiling Kingfisher MemoryStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:105:40: warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
105 | let allFiles = try self.config.fileManager.contentsOfDirectory(atPath: self.directoryURL.path)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:108:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
108 | self.maybeCached = maybeCached
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
109 | }
110 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:114:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
112 | // Just disable the functionality if we fail to initialize it properly. This will just revert to
113 | // the behavior which is to check file existence on disk directly.
114 | self.maybeCached = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:213:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
211 |
212 | maybeCachedCheckingQueue.async {
213 | self.maybeCached?.insert(fileURL.lastPathComponent)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
214 | }
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:148:21: warning: capture of non-sendable type 'T.Type' in an isolated closure
146 | /// - forcedExtension: The file extension, if exists.
147 | /// - Throws: An error during converting the value to a data format or during writing it to disk.
148 | public func store(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
149 | value: T,
150 | forKey key: String,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:282:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
280 | let obj = try T.fromData(data)
281 | metaChangingQueue.async {
282 | meta.extendExpiration(with: self.config.fileManager, extendingExpiration: extendingExpiration)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
283 | }
284 | return obj
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:238:14: warning: capture of non-sendable type 'T.Type' in an isolated closure
236 | }
237 |
238 | func value(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
239 | forKey key: String,
240 | referenceDate: Date,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:80:38: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
80 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | self.removeExpired()
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:79:109: warning: capture of non-sendable type 'T.Type' in an isolated closure
77 | storage.countLimit = config.countLimit
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
80 | guard let self = self else { return }
81 | self.removeExpired()
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:96:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
96 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
97 | self.removeExpired()
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:95:105: warning: capture of non-sendable type 'T.Type' in an isolated closure
93 | storage.countLimit = config.countLimit
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
96 | guard let self = self else { return }
97 | self.removeExpired()
[63/71] Compiling Kingfisher Storage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:105:40: warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
105 | let allFiles = try self.config.fileManager.contentsOfDirectory(atPath: self.directoryURL.path)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:108:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
108 | self.maybeCached = maybeCached
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
109 | }
110 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:114:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
112 | // Just disable the functionality if we fail to initialize it properly. This will just revert to
113 | // the behavior which is to check file existence on disk directly.
114 | self.maybeCached = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:213:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
211 |
212 | maybeCachedCheckingQueue.async {
213 | self.maybeCached?.insert(fileURL.lastPathComponent)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
214 | }
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:148:21: warning: capture of non-sendable type 'T.Type' in an isolated closure
146 | /// - forcedExtension: The file extension, if exists.
147 | /// - Throws: An error during converting the value to a data format or during writing it to disk.
148 | public func store(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
149 | value: T,
150 | forKey key: String,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:282:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
280 | let obj = try T.fromData(data)
281 | metaChangingQueue.async {
282 | meta.extendExpiration(with: self.config.fileManager, extendingExpiration: extendingExpiration)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
283 | }
284 | return obj
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:238:14: warning: capture of non-sendable type 'T.Type' in an isolated closure
236 | }
237 |
238 | func value(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
239 | forKey key: String,
240 | referenceDate: Date,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:80:38: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
80 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | self.removeExpired()
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:79:109: warning: capture of non-sendable type 'T.Type' in an isolated closure
77 | storage.countLimit = config.countLimit
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
80 | guard let self = self else { return }
81 | self.removeExpired()
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:96:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
96 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
97 | self.removeExpired()
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:95:105: warning: capture of non-sendable type 'T.Type' in an isolated closure
93 | storage.countLimit = config.countLimit
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
96 | guard let self = self else { return }
97 | self.removeExpired()
[64/71] Compiling Kingfisher CPListItem+Kingfisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:105:40: warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
105 | let allFiles = try self.config.fileManager.contentsOfDirectory(atPath: self.directoryURL.path)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:108:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
106 | let maybeCached = Set(allFiles)
107 | self.maybeCachedCheckingQueue.async {
108 | self.maybeCached = maybeCached
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
109 | }
110 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:114:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
112 | // Just disable the functionality if we fail to initialize it properly. This will just revert to
113 | // the behavior which is to check file existence on disk directly.
114 | self.maybeCached = nil
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:102:22: warning: capture of non-sendable type 'T.Type' in an isolated closure
100 | }
101 |
102 | private func setupCacheChecking() {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
103 | DispatchQueue.global(qos: .default).async {
104 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:213:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
211 |
212 | maybeCachedCheckingQueue.async {
213 | self.maybeCached?.insert(fileURL.lastPathComponent)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
214 | }
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:148:21: warning: capture of non-sendable type 'T.Type' in an isolated closure
146 | /// - forcedExtension: The file extension, if exists.
147 | /// - Throws: An error during converting the value to a data format or during writing it to disk.
148 | public func store(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
149 | value: T,
150 | forKey key: String,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:282:49: warning: capture of non-sendable type 'T.Type' in an isolated closure
280 | let obj = try T.fromData(data)
281 | metaChangingQueue.async {
282 | meta.extendExpiration(with: self.config.fileManager, extendingExpiration: extendingExpiration)
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
283 | }
284 | return obj
/Users/admin/builder/spi-builder-workspace/Sources/Cache/DiskStorage.swift:238:14: warning: capture of non-sendable type 'T.Type' in an isolated closure
236 | }
237 |
238 | func value(
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
239 | forKey key: String,
240 | referenceDate: Date,
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:80:38: warning: capture of non-sendable type 'T.Type' in an isolated closure
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
80 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
81 | self.removeExpired()
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:79:109: warning: capture of non-sendable type 'T.Type' in an isolated closure
77 | storage.countLimit = config.countLimit
78 | cleanTimer?.invalidate()
79 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
80 | guard let self = self else { return }
81 | self.removeExpired()
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:96:34: warning: capture of non-sendable type 'T.Type' in an isolated closure
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
96 | guard let self = self else { return }
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
97 | self.removeExpired()
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/Cache/MemoryStorage.swift:95:105: warning: capture of non-sendable type 'T.Type' in an isolated closure
93 | storage.countLimit = config.countLimit
94 |
95 | cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
96 | guard let self = self else { return }
97 | self.removeExpired()
[65/71] Compiling Kingfisher GraphicsContext.swift
[66/71] Compiling Kingfisher Image.swift
[67/71] Compiling Kingfisher ImageDrawing.swift
[68/71] Compiling Kingfisher ImageFormat.swift
[69/71] Compiling Kingfisher ImageProcessor.swift
[70/71] Compiling Kingfisher ImageProgressive.swift
[71/71] Compiling Kingfisher ImageTransition.swift
Build complete! (11.58s)
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/Info.plist
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Kingfisher",
"name" : "Kingfisher",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Kingfisher",
"targets" : [
"Kingfisher"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Kingfisher",
"module_type" : "SwiftTarget",
"name" : "Kingfisher",
"path" : "Sources",
"product_memberships" : [
"Kingfisher"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Cache/CacheSerializer.swift",
"Cache/DiskStorage.swift",
"Cache/FormatIndicatedCacheSerializer.swift",
"Cache/ImageCache.swift",
"Cache/MemoryStorage.swift",
"Cache/Storage.swift",
"Extensions/CPListItem+Kingfisher.swift",
"Extensions/HasImageComponent+Kingfisher.swift",
"Extensions/ImageView+Kingfisher.swift",
"Extensions/NSButton+Kingfisher.swift",
"Extensions/NSTextAttachment+Kingfisher.swift",
"Extensions/PHLivePhotoView+Kingfisher.swift",
"Extensions/UIButton+Kingfisher.swift",
"General/ImageSource/AVAssetImageDataProvider.swift",
"General/ImageSource/ImageDataProvider.swift",
"General/ImageSource/LivePhotoSource.swift",
"General/ImageSource/PHPickerResultImageDataProvider.swift",
"General/ImageSource/Resource.swift",
"General/ImageSource/Source.swift",
"General/KF.swift",
"General/KFOptionsSetter.swift",
"General/Kingfisher.swift",
"General/KingfisherError.swift",
"General/KingfisherManager+LivePhoto.swift",
"General/KingfisherManager.swift",
"General/KingfisherOptionsInfo.swift",
"Image/Filter.swift",
"Image/GIFAnimatedImage.swift",
"Image/GraphicsContext.swift",
"Image/Image.swift",
"Image/ImageDrawing.swift",
"Image/ImageFormat.swift",
"Image/ImageProcessor.swift",
"Image/ImageProgressive.swift",
"Image/ImageTransition.swift",
"Image/Placeholder.swift",
"Networking/AuthenticationChallengeResponsable.swift",
"Networking/ImageDataProcessor.swift",
"Networking/ImageDownloader+LivePhoto.swift",
"Networking/ImageDownloader.swift",
"Networking/ImageDownloaderDelegate.swift",
"Networking/ImageModifier.swift",
"Networking/ImagePrefetcher.swift",
"Networking/RedirectHandler.swift",
"Networking/RequestModifier.swift",
"Networking/RetryStrategy.swift",
"Networking/SessionDataTask.swift",
"Networking/SessionDelegate.swift",
"SwiftUI/ImageBinder.swift",
"SwiftUI/ImageContext.swift",
"SwiftUI/KFAnimatedImage.swift",
"SwiftUI/KFImage.swift",
"SwiftUI/KFImageOptions.swift",
"SwiftUI/KFImageProtocol.swift",
"SwiftUI/KFImageRenderer.swift",
"Utility/Box.swift",
"Utility/CallbackQueue.swift",
"Utility/Delegate.swift",
"Utility/DisplayLink.swift",
"Utility/ExtensionHelpers.swift",
"Utility/Result.swift",
"Utility/Runtime.swift",
"Utility/SizeExtensions.swift",
"Utility/String+SHA256.swift",
"Views/AnimatedImageView.swift",
"Views/Indicator.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.