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 AlamofireImage 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/Alamofire/AlamofireImage.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Alamofire/AlamofireImage
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 25da70a Update CHANGELOG.md
Cloned https://github.com/Alamofire/AlamofireImage.git
Revision (git rev-parse @):
25da70a7b8f2f1b8c678be123fda5d9a98fac638
SUCCESS checkout https://github.com/Alamofire/AlamofireImage.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Alamofire/AlamofireImage.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/38] Emitting module Alamofire
[5/41] Compiling Alamofire ParameterEncoder.swift
[6/41] Compiling Alamofire ParameterEncoding.swift
[7/41] Compiling Alamofire Protected.swift
[8/41] Compiling Alamofire RedirectHandler.swift
[9/41] Compiling Alamofire URLRequest+Alamofire.swift
[10/41] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[11/41] Compiling Alamofire Validation.swift
[12/41] Compiling Alamofire Response.swift
[13/41] Compiling Alamofire ResponseSerialization.swift
[14/41] Compiling Alamofire Result+Alamofire.swift
[15/41] Compiling Alamofire RetryPolicy.swift
[16/41] Compiling Alamofire StringEncoding+Alamofire.swift
[17/41] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[18/41] Compiling Alamofire URLEncodedFormEncoder.swift
[19/41] Compiling Alamofire ServerTrustEvaluation.swift
[20/41] Compiling Alamofire Session.swift
[21/41] Compiling Alamofire SessionDelegate.swift
[22/41] Compiling Alamofire AFError.swift
[23/41] Compiling Alamofire Alamofire.swift
[24/41] Compiling Alamofire AlamofireExtended.swift
[25/41] Compiling Alamofire AuthenticationInterceptor.swift
[26/41] Compiling Alamofire MultipartUpload.swift
[27/41] Compiling Alamofire NetworkReachabilityManager.swift
[28/41] Compiling Alamofire Notifications.swift
[29/41] Compiling Alamofire OperationQueue+Alamofire.swift
[30/41] Compiling Alamofire CachedResponseHandler.swift
[31/41] Compiling Alamofire Combine.swift
[32/41] Compiling Alamofire Concurrency.swift
[33/41] Compiling Alamofire DispatchQueue+Alamofire.swift
[34/41] Compiling Alamofire Request.swift
[35/41] Compiling Alamofire RequestCompression.swift
[36/41] Compiling Alamofire RequestInterceptor.swift
[37/41] Compiling Alamofire RequestTaskMap.swift
[38/41] Compiling Alamofire EventMonitor.swift
[39/41] Compiling Alamofire HTTPHeaders.swift
[40/41] Compiling Alamofire HTTPMethod.swift
[41/41] Compiling Alamofire MultipartFormData.swift
[42/51] Compiling AlamofireImage UIImageView+AlamofireImage.swift
[43/51] Compiling AlamofireImage UIImage+AlamofireImage.swift
/Users/admin/builder/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:393:16: warning: static property 'isInflated' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
391 |
392 | private enum AssociatedKeys {
393 |     static var isInflated = true
    |                |- warning: static property 'isInflated' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isInflated' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'isInflated' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 | }
395 |
[44/51] Compiling AlamofireImage UIButton+AlamofireImage.swift
[45/51] Compiling AlamofireImage Request+AlamofireImage.swift
/Users/admin/builder/spi-builder-workspace/Source/Request+AlamofireImage.swift:47:37: warning: static property 'acceptableImageContentTypes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 45 |     public let emptyRequestMethods: Set<HTTPMethod>
 46 |
 47 |     public internal(set) static var acceptableImageContentTypes: Set<String> = {
    |                                     |- warning: static property 'acceptableImageContentTypes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                     |- note: convert 'acceptableImageContentTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                                     |- note: annotate 'acceptableImageContentTypes' with '@MainActor' if property should only be accessed from the main actor
    |                                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |         // Universally supported image types.
 49 |         var contentTypes: Set<String> = [
[46/51] Compiling AlamofireImage ImageFilter.swift
[47/51] Compiling AlamofireImage AFIError.swift
[48/51] Compiling AlamofireImage Image.swift
[49/51] Emitting module AlamofireImage
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:134:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
 63 | /// cached image representation. Additional advanced features include supporting multiple image filters and completion
 64 | /// handlers for a single request.
 65 | open class ImageDownloader {
    |            `- note: class 'ImageDownloader' does not conform to the 'Sendable' protocol
 66 |     /// The completion handler closure used when an image download completes.
 67 |     public typealias CompletionHandler = (AFIDataResponse<Image>) -> Void
    :
132 |
133 |     /// The default instance of `ImageDownloader` initialized with default values.
134 |     public static let `default` = ImageDownloader()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Creates a default `URLSessionConfiguration` with common usage parameter values.
/Users/admin/builder/spi-builder-workspace/Source/Request+AlamofireImage.swift:47:37: warning: static property 'acceptableImageContentTypes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 45 |     public let emptyRequestMethods: Set<HTTPMethod>
 46 |
 47 |     public internal(set) static var acceptableImageContentTypes: Set<String> = {
    |                                     |- warning: static property 'acceptableImageContentTypes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                     |- note: convert 'acceptableImageContentTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                                     |- note: annotate 'acceptableImageContentTypes' with '@MainActor' if property should only be accessed from the main actor
    |                                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |         // Universally supported image types.
 49 |         var contentTypes: Set<String> = [
/Users/admin/builder/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:393:16: warning: static property 'isInflated' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
391 |
392 | private enum AssociatedKeys {
393 |     static var isInflated = true
    |                |- warning: static property 'isInflated' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isInflated' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'isInflated' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 | }
395 |
error: compile command failed due to signal 6 (use -v to see invocation)
[50/51] Compiling AlamofireImage ImageCache.swift
/Users/admin/builder/spi-builder-workspace/Source/ImageCache.swift:183:43: warning: capture of 'image' with non-sendable type 'Image' (aka 'NSImage') in a `@Sendable` closure; this is an error in the Swift 6 language mode
181 |     open func add(_ image: Image, withIdentifier identifier: String) {
182 |         synchronizationQueue.async(flags: [.barrier]) {
183 |             let cachedImage = CachedImage(image, identifier: identifier)
    |                                           `- warning: capture of 'image' with non-sendable type 'Image' (aka 'NSImage') in a `@Sendable` closure; this is an error in the Swift 6 language mode
184 |
185 |             if let previousCachedImage = self.cachedImages[identifier] {
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
  1 | open class NSImage : NSObject {
    |            `- note: class 'NSImage' does not conform to the 'Sendable' protocol
  2 |     public /*not inherited*/ init?(named name: NSImage.Name)
  3 |     @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Source/ImageCache.swift:185:42: warning: capture of 'self' with non-sendable type 'AutoPurgingImageCache' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 69 | /// purged until the preferred memory usage after purge is met. Each time an image is accessed through the cache, the
 70 | /// internal access date of the image is updated.
 71 | open class AutoPurgingImageCache: ImageRequestCache {
    |            `- note: class 'AutoPurgingImageCache' does not conform to the 'Sendable' protocol
 72 |     class CachedImage {
 73 |         let image: Image
    :
183 |             let cachedImage = CachedImage(image, identifier: identifier)
184 |
185 |             if let previousCachedImage = self.cachedImages[identifier] {
    |                                          `- warning: capture of 'self' with non-sendable type 'AutoPurgingImageCache' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |                 self.currentMemoryUsage -= previousCachedImage.totalBytes
187 |             }
/Users/admin/builder/spi-builder-workspace/Source/ImageCache.swift:194:16: warning: capture of 'self' with non-sendable type 'AutoPurgingImageCache' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 69 | /// purged until the preferred memory usage after purge is met. Each time an image is accessed through the cache, the
 70 | /// internal access date of the image is updated.
 71 | open class AutoPurgingImageCache: ImageRequestCache {
    |            `- note: class 'AutoPurgingImageCache' does not conform to the 'Sendable' protocol
 72 |     class CachedImage {
 73 |         let image: Image
    :
192 |
193 |         synchronizationQueue.async(flags: [.barrier]) {
194 |             if self.currentMemoryUsage > self.memoryCapacity {
    |                `- warning: capture of 'self' with non-sendable type 'AutoPurgingImageCache' in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 |                 let bytesToPurge = self.currentMemoryUsage - self.preferredMemoryUsageAfterPurge
196 |
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:134:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
 63 | /// cached image representation. Additional advanced features include supporting multiple image filters and completion
 64 | /// handlers for a single request.
 65 | open class ImageDownloader {
    |            `- note: class 'ImageDownloader' does not conform to the 'Sendable' protocol
 66 |     /// The completion handler closure used when an image download completes.
 67 |     public typealias CompletionHandler = (AFIDataResponse<Image>) -> Void
    :
132 |
133 |     /// The default instance of `ImageDownloader` initialized with default values.
134 |     public static let `default` = ImageDownloader()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ImageDownloader' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 |     /// Creates a default `URLSessionConfiguration` with common usage parameter values.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:341:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// An order-preserving and case-insensitive representation of HTTP headers.
 28 | public struct HTTPHeaders {
    |               `- note: consider making struct 'HTTPHeaders' conform to the 'Sendable' protocol
 29 |     private var headers: [HTTPHeader] = []
 30 |
    :
339 |     /// The default set of `HTTPHeaders` used by Alamofire. Includes `Accept-Encoding`, `Accept-Language`, and
340 |     /// `User-Agent`.
341 |     public static let `default`: HTTPHeaders = [.defaultAcceptEncoding,
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 |                                                 .defaultAcceptLanguage,
343 |                                                 .defaultUserAgent]
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:311:76: warning: capture of 'urlRequest' with non-sendable type 'any URLRequestConvertible' in a `@Sendable` closure; this is an error in the Swift 6 language mode
309 |                     if let image = cachedImage {
310 |                         DispatchQueue.main.async {
311 |                             let response = AFIDataResponse<Image>(request: urlRequest.urlRequest,
    |                                                                            `- warning: capture of 'urlRequest' with non-sendable type 'any URLRequestConvertible' in a `@Sendable` closure; this is an error in the Swift 6 language mode
312 |                                                                   response: nil,
313 |                                                                   data: nil,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:69:17: note: protocol 'URLRequestConvertible' does not conform to the 'Sendable' protocol
 67 |
 68 | /// Types adopting the `URLRequestConvertible` protocol can be used to safely construct `URLRequest`s.
 69 | public protocol URLRequestConvertible {
    |                 `- note: protocol 'URLRequestConvertible' does not conform to the 'Sendable' protocol
 70 |     /// Returns a `URLRequest` or throws if an `Error` was encountered.
 71 |     ///
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Alamofire'
 23 | //
 24 |
 25 | import Alamofire
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Alamofire'
 26 | import Foundation
 27 |
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:316:84: warning: capture of 'image' with non-sendable type 'Image' (aka 'NSImage') in a `@Sendable` closure; this is an error in the Swift 6 language mode
314 |                                                                   metrics: nil,
315 |                                                                   serializationDuration: 0.0,
316 |                                                                   result: .success(image))
    |                                                                                    `- warning: capture of 'image' with non-sendable type 'Image' (aka 'NSImage') in a `@Sendable` closure; this is an error in the Swift 6 language mode
317 |
318 |                             completion?(response)
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
  1 | open class NSImage : NSObject {
    |            `- note: class 'NSImage' does not conform to the 'Sendable' protocol
  2 |     public /*not inherited*/ init?(named name: NSImage.Name)
  3 |     @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:318:29: warning: capture of 'completion' with non-sendable type 'ImageDownloader.CompletionHandler?' (aka 'Optional<(DataResponse<NSImage, AFIError>) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
316 |                                                                   result: .success(image))
317 |
318 |                             completion?(response)
    |                             |- warning: capture of 'completion' with non-sendable type 'ImageDownloader.CompletionHandler?' (aka 'Optional<(DataResponse<NSImage, AFIError>) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
319 |                         }
320 |
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:387:93: warning: capture of 'response' with non-sendable type 'DataResponse<Image, AFError>' (aka 'DataResponse<NSImage, AFError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
385 |
386 |                                          DispatchQueue.main.async {
387 |                                              let response = AFIDataResponse<Image>(request: response.request,
    |                                                                                             `- warning: capture of 'response' with non-sendable type 'DataResponse<Image, AFError>' (aka 'DataResponse<NSImage, AFError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
388 |                                                                                    response: response.response,
389 |                                                                                    data: response.data,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:33:15: note: generic struct 'DataResponse' does not conform to the 'Sendable' protocol
 31 |
 32 | /// Type used to store all values associated with a serialized response of a `DataRequest` or `UploadRequest`.
 33 | public struct DataResponse<Success, Failure: Error> {
    |               `- note: generic struct 'DataResponse' does not conform to the 'Sendable' protocol
 34 |     /// The URL request sent to the server.
 35 |     public let request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:392:101: warning: capture of 'filteredImage' with non-sendable type 'Image' (aka 'NSImage') in a `@Sendable` closure; this is an error in the Swift 6 language mode
390 |                                                                                    metrics: response.metrics,
391 |                                                                                    serializationDuration: response.serializationDuration,
392 |                                                                                    result: .success(filteredImage))
    |                                                                                                     `- warning: capture of 'filteredImage' with non-sendable type 'Image' (aka 'NSImage') in a `@Sendable` closure; this is an error in the Swift 6 language mode
393 |
394 |                                              completion?(response)
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
  1 | open class NSImage : NSObject {
    |            `- note: class 'NSImage' does not conform to the 'Sendable' protocol
  2 |     public /*not inherited*/ init?(named name: NSImage.Name)
  3 |     @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:394:46: warning: capture of 'completion' with non-sendable type 'ImageDownloader.CompletionHandler?' (aka 'Optional<(DataResponse<NSImage, AFIError>) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
392 |                                                                                    result: .success(filteredImage))
393 |
394 |                                              completion?(response)
    |                                              |- warning: capture of 'completion' with non-sendable type 'ImageDownloader.CompletionHandler?' (aka 'Optional<(DataResponse<NSImage, AFIError>) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
395 |                                          }
396 |                                      }
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:392:101: warning: reference to captured var 'filteredImage' in concurrently-executing code; this is an error in the Swift 6 language mode
390 |                                                                                    metrics: response.metrics,
391 |                                                                                    serializationDuration: response.serializationDuration,
392 |                                                                                    result: .success(filteredImage))
    |                                                                                                     `- warning: reference to captured var 'filteredImage' in concurrently-executing code; this is an error in the Swift 6 language mode
393 |
394 |                                              completion?(response)
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:399:69: warning: capture of 'completion' with non-sendable type 'ImageDownloader.CompletionHandler?' (aka 'Optional<(DataResponse<NSImage, AFIError>) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
397 |                                  case .failure:
398 |                                      for (_, _, completion) in responseHandler.operations {
399 |                                          DispatchQueue.main.async { completion?(response.mapError { AFIError.alamofireError($0) }) }
    |                                                                     |- warning: capture of 'completion' with non-sendable type 'ImageDownloader.CompletionHandler?' (aka 'Optional<(DataResponse<NSImage, AFIError>) -> ()>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                                                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
400 |                                      }
401 |                                  }
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:399:81: warning: capture of 'response' with non-sendable type 'DataResponse<Image, AFError>' (aka 'DataResponse<NSImage, AFError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
397 |                                  case .failure:
398 |                                      for (_, _, completion) in responseHandler.operations {
399 |                                          DispatchQueue.main.async { completion?(response.mapError { AFIError.alamofireError($0) }) }
    |                                                                                 `- warning: capture of 'response' with non-sendable type 'DataResponse<Image, AFError>' (aka 'DataResponse<NSImage, AFError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
400 |                                      }
401 |                                  }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:33:15: note: generic struct 'DataResponse' does not conform to the 'Sendable' protocol
 31 |
 32 | /// Type used to store all values associated with a serialized response of a `DataRequest` or `UploadRequest`.
 33 | public struct DataResponse<Success, Failure: Error> {
    |               `- note: generic struct 'DataResponse' does not conform to the 'Sendable' protocol
 34 |     /// The URL request sent to the server.
 35 |     public let request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:488:44: warning: capture of 'operation' with non-sendable type '(receiptID: String, filter: (any ImageFilter)?, completion: ImageDownloader.CompletionHandler?)' (aka '(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<(DataResponse<NSImage, AFIError>) -> ()>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |                 }()
487 |
488 |                 DispatchQueue.main.async { operation.completion?(response) }
    |                                            `- warning: capture of 'operation' with non-sendable type '(receiptID: String, filter: (any ImageFilter)?, completion: ImageDownloader.CompletionHandler?)' (aka '(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<(DataResponse<NSImage, AFIError>) -> ()>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |             }
490 |
/Users/admin/builder/spi-builder-workspace/Source/ImageFilter.swift:36:17: note: protocol 'ImageFilter' does not conform to the 'Sendable' protocol
 34 |
 35 | /// The `ImageFilter` protocol defines properties for filtering an image as well as identification of the filter.
 36 | public protocol ImageFilter {
    |                 `- note: protocol 'ImageFilter' does not conform to the 'Sendable' protocol
 37 |     /// A closure used to create an alternative representation of the given image.
 38 |     var filter: (Image) -> Image { get }
/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:488:44: warning: capture of 'operation' with non-sendable type '(receiptID: String, filter: (any ImageFilter)?, completion: ImageDownloader.CompletionHandler?)' (aka '(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<(DataResponse<NSImage, AFIError>) -> ()>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |                 }()
487 |
488 |                 DispatchQueue.main.async { operation.completion?(response) }
    |                                            |- warning: capture of 'operation' with non-sendable type '(receiptID: String, filter: (any ImageFilter)?, completion: ImageDownloader.CompletionHandler?)' (aka '(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<(DataResponse<NSImage, AFIError>) -> ()>)') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
489 |             }
490 |
SIL verification failed: Two variables with different type but same scope!: lhs == rhs || (lhs.isAddress() && lhs.getObjectType() == rhs) || (DebugVarTy.isAddress() && lhs == rhs.getObjectType())
Verifying instruction:
->   %4 = alloc_stack [lexical] [var_decl] $(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), let, name "$0", argno 1 // users: %42, %41, %32, %31, %29, %14, %11, %9
     %9 = tuple_element_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), 0 // user: %10
     %11 = tuple_element_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), 1 // user: %12
     %14 = tuple_element_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), 2 // user: %25
     %29 = tuple_element_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), 0 // user: %30
     %31 = tuple_element_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), 1
     %32 = tuple_element_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), 2 // user: %33
     destroy_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>) // id: %41
     dealloc_stack %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>) // id: %42
In function:
// closure #1 in closure #1 in ImageDownloader.cancelRequest(with:)
// Isolation: nonisolated
sil private [ossa] @$s14AlamofireImage0B10DownloaderC13cancelRequest4withyAA0E7ReceiptC_tFyyXEfU_SbSS9receiptID_AA0B6Filter_pSg6filtery0A012DataResponseVySo7NSImageCAA8AFIErrorOGcSg10completiont_tXEfU_ : $@convention(thin) @substituted <τ_0_0> (@in_guaranteed τ_0_0, @guaranteed RequestReceipt) -> (Bool, @error any Error) for <(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<(DataResponse<NSImage, AFIError>) -> ()>)> {
// %0 "$0"                                        // user: %3
// %1 "requestReceipt"                            // users: %34, %27
bb0(%0 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @out τ_0_1 for <DataResponse<NSImage, AFIError>, ()>>), %1 : @closureCapture @guaranteed $RequestReceipt):
  %2 = alloc_stack $(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @out τ_0_1 for <DataResponse<NSImage, AFIError>, ()>>), let, name "$0" // users: %43, %7, %6, %5, %3
  copy_addr %0 to [init] %2 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @out τ_0_1 for <DataResponse<NSImage, AFIError>, ()>>) // id: %3
  %4 = alloc_stack [lexical] [var_decl] $(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), let, name "$0", argno 1 // users: %42, %41, %32, %31, %29, %14, %11, %9
  %5 = tuple_element_addr %2 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @out τ_0_1 for <DataResponse<NSImage, AFIError>, ()>>), 0 // user: %8
  %6 = tuple_element_addr %2 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @out τ_0_1 for <DataResponse<NSImage, AFIError>, ()>>), 1 // user: %12
  %7 = tuple_element_addr %2 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @out τ_0_1 for <DataResponse<NSImage, AFIError>, ()>>), 2 // user: %13
  %8 = load [take] %5 : $*String                  // user: %10
  %9 = tuple_element_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), 0 // user: %10
  store %8 to [init] %9 : $*String                // id: %10
  %11 = tuple_element_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), 1 // user: %12
  copy_addr [take] %6 to [init] %11 : $*Optional<any ImageFilter> // id: %12
  %13 = load [take] %7 : $*Optional<@callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @out τ_0_1 for <DataResponse<NSImage, AFIError>, ()>> // user: %15
  %14 = tuple_element_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), 2 // user: %25
  switch_enum %13 : $Optional<@callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @out τ_0_1 for <DataResponse<NSImage, AFIError>, ()>>, case #Optional.some!enumelt: bb1, case #Optional.none!enumelt: bb2 // id: %15
// %16                                            // user: %17
bb1(%16 : @owned $@callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @out τ_0_1 for <DataResponse<NSImage, AFIError>, ()>): // Preds: bb0
  %17 = convert_function %16 : $@callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @out τ_0_1 for <DataResponse<NSImage, AFIError>, ()> to $@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> @out () // user: %19
  // function_ref thunk for @escaping @callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> (@out ())
  %18 = function_ref @$s9Alamofire12DataResponseVySo7NSImageC0A5Image8AFIErrorOGytIegnr_AIIegn_TR : $@convention(thin) (@in_guaranteed DataResponse<NSImage, AFIError>, @guaranteed @callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> @out ()) -> () // user: %19
  %19 = partial_apply [callee_guaranteed] %18(%17) : $@convention(thin) (@in_guaranteed DataResponse<NSImage, AFIError>, @guaranteed @callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> @out ()) -> () // user: %20
  %20 = enum $Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>, #Optional.some!enumelt, %19 : $@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> () // user: %21
  br bb3(%20 : $Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>) // id: %21
bb2:                                              // Preds: bb0
  %22 = enum $Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>, #Optional.none!enumelt // user: %23
  br bb3(%22 : $Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>) // id: %23
// %24                                            // user: %25
bb3(%24 : @owned $Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>): // Preds: bb2 bb1
  store %24 to [init] %14 : $*Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()> // id: %25
  debug_value undef : $any Error, var, name "$error", argno 2 // id: %26
  debug_value %1 : $RequestReceipt, let, name "requestReceipt", argno 3 // id: %27
  %28 = metatype $@thin String.Type               // user: %37
  %29 = tuple_element_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), 0 // user: %30
  %30 = load_borrow %29 : $*String                // users: %40, %37
  %31 = tuple_element_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), 1
  %32 = tuple_element_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>), 2 // user: %33
  %33 = load_borrow %32 : $*Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()> // user: %39
  %34 = ref_element_addr %1 : $RequestReceipt, #RequestReceipt.receiptID // user: %35
  %35 = load [copy] %34 : $*String                // users: %38, %37
  // function_ref static String.== infix(_:_:)
  %36 = function_ref @$sSS2eeoiySbSS_SStFZ : $@convention(method) (@guaranteed String, @guaranteed String, @thin String.Type) -> Bool // user: %37
  %37 = apply %36(%30, %35, %28) : $@convention(method) (@guaranteed String, @guaranteed String, @thin String.Type) -> Bool // user: %44
  destroy_value %35 : $String                     // id: %38
  end_borrow %33 : $Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()> // id: %39
  end_borrow %30 : $String                        // id: %40
  destroy_addr %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>) // id: %41
  dealloc_stack %4 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed (@in_guaranteed DataResponse<NSImage, AFIError>) -> ()>) // id: %42
  dealloc_stack %2 : $*(receiptID: String, filter: Optional<any ImageFilter>, completion: Optional<@callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @out τ_0_1 for <DataResponse<NSImage, AFIError>, ()>>) // id: %43
  return %37 : $Bool                              // id: %44
} // end sil function '$s14AlamofireImage0B10DownloaderC13cancelRequest4withyAA0E7ReceiptC_tFyyXEfU_SbSS9receiptID_AA0B6Filter_pSg6filtery0A012DataResponseVySo7NSImageCAA8AFIErrorOGcSg10completiont_tXEfU_'
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Source/AFIError.swift /Users/admin/builder/spi-builder-workspace/Source/Image.swift /Users/admin/builder/spi-builder-workspace/Source/ImageCache.swift -primary-file /Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift /Users/admin/builder/spi-builder-workspace/Source/ImageFilter.swift /Users/admin/builder/spi-builder-workspace/Source/Request+AlamofireImage.swift /Users/admin/builder/spi-builder-workspace/Source/UIButton+AlamofireImage.swift /Users/admin/builder/spi-builder-workspace/Source/UIImage+AlamofireImage.swift /Users/admin/builder/spi-builder-workspace/Source/UIImageView+AlamofireImage.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/AlamofireImage.build/ImageDownloader.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/AlamofireImage.build/ImageDownloader.swiftdeps -target arm64-apple-macosx10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -isysroot -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -Xcc -F -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -fPIC -Xcc -g -module-name AlamofireImage -package-name spi_builder_workspace -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 14.4 -target-sdk-name macosx14.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/AlamofireImage.build/ImageDownloader.swift.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/index/store -index-system-modules
1.	Apple Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2.	Compiling with effective version 5.10
3.	While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift")
4.	While silgen emitFunction SIL function "@$s14AlamofireImage0B10DownloaderC13cancelRequest4withyAA0E7ReceiptC_tF".
 for 'cancelRequest(with:)' (at /Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:466:10)
5.	While silgen closureexpr SIL function "@$s14AlamofireImage0B10DownloaderC13cancelRequest4withyAA0E7ReceiptC_tFyyXEfU_".
 for expression at [/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:467:35 - line:495:9] RangeText="{
            let urlID = ImageDownloader.urlIdentifier(for: requestReceipt.request.convertible)
            guard let responseHandler = self.responseHandlers[urlID] else { return }
            let index = responseHandler.operations.firstIndex { $0.receiptID == requestReceipt.receiptID }
            if let index = index {
                let operation = responseHandler.operations.remove(at: index)
                let response: AFIDataResponse<Image> = {
                    let urlRequest = requestReceipt.request.request
                    let error = AFIError.requestCancelled
                    return DataResponse(request: urlRequest,
                                        response: nil,
                                        data: nil,
                                        metrics: nil,
                                        serializationDuration: 0.0,
                                        result: .failure(error))
                }()
                DispatchQueue.main.async { operation.completion?(response) }
            }
            if responseHandler.operations.isEmpty {
                requestReceipt.request.cancel()
                self.responseHandlers.removeValue(forKey: urlID)
            }
        "
6.	While silgen closureexpr SIL function "@$s14AlamofireImage0B10DownloaderC13cancelRequest4withyAA0E7ReceiptC_tFyyXEfU_SbSS9receiptID_AA0B6Filter_pSg6filtery0A012DataResponseVySo7NSImageCAA8AFIErrorOGcSg10completiont_tXEfU_".
 for expression at [/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:471:63 - line:471:106] RangeText="{ $0.receiptID == requestReceipt.receiptID "
7.	While verifying SIL function "@$s14AlamofireImage0B10DownloaderC13cancelRequest4withyAA0E7ReceiptC_tFyyXEfU_SbSS9receiptID_AA0B6Filter_pSg6filtery0A012DataResponseVySo7NSImageCAA8AFIErrorOGcSg10completiont_tXEfU_".
 for expression at [/Users/admin/builder/spi-builder-workspace/Source/ImageDownloader.swift:471:63 - line:471:106] RangeText="{ $0.receiptID == requestReceipt.receiptID "
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x000000010803fbf0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x000000010803e3bc llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x0000000108040238 SignalHandler(int) + 304
3  libsystem_platform.dylib 0x0000000189b59a24 _sigtramp + 56
4  libsystem_pthread.dylib  0x0000000189b29cc0 pthread_kill + 288
5  libsystem_c.dylib        0x0000000189a35a40 abort + 180
6  swift-frontend           0x0000000103b227b8 swift::SILOptions::~SILOptions() + 0
7  swift-frontend           0x0000000103b40938 (anonymous namespace)::SILVerifier::visitSILInstruction(swift::SILInstruction*) + 5536
8  swift-frontend           0x0000000103b312b0 swift::SILVisitorBase<(anonymous namespace)::SILVerifier, void>::visitSILBasicBlock(swift::SILBasicBlock*) + 41856
9  swift-frontend           0x0000000103b26e30 (anonymous namespace)::SILVerifier::visitSILBasicBlock(swift::SILBasicBlock*) + 28
10 swift-frontend           0x0000000103b255c8 (anonymous namespace)::SILVerifier::visitSILFunction(swift::SILFunction*) + 10456
11 swift-frontend           0x0000000103b1ebb0 swift::SILFunction::verify(swift::CalleeCache*, bool, bool, bool) const + 204
12 swift-frontend           0x00000001031cbce0 swift::Lowering::SILGenModule::postEmitFunction(swift::SILDeclRef, swift::SILFunction*) + 312
13 swift-frontend           0x00000001031cb3f0 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) + 6364
14 swift-frontend           0x00000001031d3578 void llvm::function_ref<void ()>::callback_fn<swift::Lowering::SILGenModule::emitClosure(swift::AbstractClosureExpr*, swift::Lowering::FunctionTypeInfo const&)::$_4>(long) + 220
15 swift-frontend           0x0000000103aa0e10 swift::Lowering::TypeConverter::withClosureTypeInfo(swift::AbstractClosureExpr*, swift::Lowering::FunctionTypeInfo const&, llvm::function_ref<void ()>) + 160
16 swift-frontend           0x00000001031cd1a4 swift::Lowering::SILGenModule::emitClosure(swift::AbstractClosureExpr*, swift::Lowering::FunctionTypeInfo const&) + 152
17 swift-frontend           0x000000010324e344 (anonymous namespace)::RValueEmitter::emitClosureReference(swift::AbstractClosureExpr*, swift::Lowering::FunctionTypeInfo const&) + 64
18 swift-frontend           0x000000010324df88 (anonymous namespace)::RValueEmitter::visitAbstractClosureExpr(swift::AbstractClosureExpr*, swift::Lowering::SGFContext) + 588
19 swift-frontend           0x00000001032369b0 swift::Lowering::SILGenFunction::emitRValueAsSingleValue(swift::Expr*, swift::Lowering::SGFContext) + 56
20 swift-frontend           0x000000010321c7d4 swift::Lowering::SILGenFunction::emitConvertedRValue(swift::SILLocation, swift::Lowering::Conversion const&, swift::Lowering::SGFContext, llvm::function_ref<swift::Lowering::ManagedValue (swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::SGFContext)>) + 296
21 swift-frontend           0x000000010321cbe0 swift::Lowering::ConvertingInitialization::tryPeephole(swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::Conversion, llvm::function_ref<swift::Lowering::ManagedValue (swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::SGFContext)>) + 772
22 swift-frontend           0x000000010321c750 swift::Lowering::SILGenFunction::emitConvertedRValue(swift::SILLocation, swift::Lowering::Conversion const&, swift::Lowering::SGFContext, llvm::function_ref<swift::Lowering::ManagedValue (swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::SGFContext)>) + 164
23 swift-frontend           0x000000010321c8c8 swift::Lowering::SILGenFunction::emitConvertedRValue(swift::Expr*, swift::Lowering::Conversion const&, swift::Lowering::SGFContext) + 84
24 swift-frontend           0x000000010324761c (anonymous namespace)::RValueEmitter::visitFunctionConversionExpr(swift::FunctionConversionExpr*, swift::Lowering::SGFContext) + 1972
25 swift-frontend           0x00000001032369b0 swift::Lowering::SILGenFunction::emitRValueAsSingleValue(swift::Expr*, swift::Lowering::SGFContext) + 56
26 swift-frontend           0x000000010321c7d4 swift::Lowering::SILGenFunction::emitConvertedRValue(swift::SILLocation, swift::Lowering::Conversion const&, swift::Lowering::SGFContext, llvm::function_ref<swift::Lowering::ManagedValue (swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::SGFContext)>) + 296
27 swift-frontend           0x00000001031b2204 swift::Lowering::ArgumentSource::getConverted(swift::Lowering::SILGenFunction&, swift::Lowering::Conversion const&, swift::Lowering::SGFContext) && + 184
28 swift-frontend           0x00000001031e9f80 (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern, std::__1::optional<swift::AnyFunctionType::Param>) + 3864
29 swift-frontend           0x00000001031db0b0 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern, std::__1::optional<swift::AnyFunctionType::Param>) + 312
30 swift-frontend           0x00000001031e85b0 (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) + 192
31 swift-frontend           0x00000001031f3578 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, swift::ForeignInfo const&) && + 532
32 swift-frontend           0x00000001031f2f40 (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, swift::ForeignInfo const&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, std::__1::optional<swift::SILLocation>&) + 1040
33 swift-frontend           0x00000001031dea04 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 1800
34 swift-frontend           0x00000001031dd098 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2028
35 swift-frontend           0x0000000103234168 swift::Lowering::SILGenFunction::emitExprInto(swift::Expr*, swift::Lowering::Initialization*, std::__1::optional<swift::SILLocation>) + 156
36 swift-frontend           0x00000001032222dc swift::Lowering::SILGenFunction::emitPatternBinding(swift::PatternBindingDecl*, unsigned int, bool) + 1304
37 swift-frontend           0x00000001032283c4 swift::ASTVisitor<swift::Lowering::SILGenFunction, void, void, void, void, void, void>::visit(swift::Decl*) + 180
38 swift-frontend           0x00000001032ca294 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) + 4196
39 swift-frontend           0x00000001032c9224 swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) + 24
40 swift-frontend           0x0000000103259124 swift::Lowering::SILGenFunction::emitClosure(swift::AbstractClosureExpr*) + 420
41 swift-frontend           0x00000001031ca4a8 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) + 2452
42 swift-frontend           0x00000001031d3578 void llvm::function_ref<void ()>::callback_fn<swift::Lowering::SILGenModule::emitClosure(swift::AbstractClosureExpr*, swift::Lowering::FunctionTypeInfo const&)::$_4>(long) + 220
43 swift-frontend           0x0000000103aa0e10 swift::Lowering::TypeConverter::withClosureTypeInfo(swift::AbstractClosureExpr*, swift::Lowering::FunctionTypeInfo const&, llvm::function_ref<void ()>) + 160
44 swift-frontend           0x00000001031cd1a4 swift::Lowering::SILGenModule::emitClosure(swift::AbstractClosureExpr*, swift::Lowering::FunctionTypeInfo const&) + 152
45 swift-frontend           0x000000010324e344 (anonymous namespace)::RValueEmitter::emitClosureReference(swift::AbstractClosureExpr*, swift::Lowering::FunctionTypeInfo const&) + 64
46 swift-frontend           0x000000010324e1e4 (anonymous namespace)::RValueEmitter::visitAbstractClosureExpr(swift::AbstractClosureExpr*, swift::Lowering::SGFContext) + 1192
47 swift-frontend           0x00000001032369b0 swift::Lowering::SILGenFunction::emitRValueAsSingleValue(swift::Expr*, swift::Lowering::SGFContext) + 56
48 swift-frontend           0x000000010321c7d4 swift::Lowering::SILGenFunction::emitConvertedRValue(swift::SILLocation, swift::Lowering::Conversion const&, swift::Lowering::SGFContext, llvm::function_ref<swift::Lowering::ManagedValue (swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::SGFContext)>) + 296
49 swift-frontend           0x00000001031b2204 swift::Lowering::ArgumentSource::getConverted(swift::Lowering::SILGenFunction&, swift::Lowering::Conversion const&, swift::Lowering::SGFContext) && + 184
50 swift-frontend           0x00000001031ea098 (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern, std::__1::optional<swift::AnyFunctionType::Param>) + 4144
51 swift-frontend           0x00000001031db0b0 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern, std::__1::optional<swift::AnyFunctionType::Param>) + 312
52 swift-frontend           0x00000001031e85b0 (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) + 192
53 swift-frontend           0x00000001031f3578 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, swift::ForeignInfo const&) && + 532
54 swift-frontend           0x00000001031f2f40 (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, swift::ForeignInfo const&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, std::__1::optional<swift::SILLocation>&) + 1040
55 swift-frontend           0x00000001031dea04 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 1800
56 swift-frontend           0x00000001031dd098 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2028
57 swift-frontend           0x0000000103236f88 swift::Lowering::SILGenFunction::emitIgnoredExpr(swift::Expr*) + 912
58 swift-frontend           0x00000001032ca324 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) + 4340
59 swift-frontend           0x00000001032c9224 swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) + 24
60 swift-frontend           0x0000000103258ef0 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) + 432
61 swift-frontend           0x00000001031cb3c8 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) + 6324
62 swift-frontend           0x00000001031cc25c swift::Lowering::SILGenModule::emitOrDelayFunction(swift::SILDeclRef) + 252
63 swift-frontend           0x00000001031c9adc swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) + 196
64 swift-frontend           0x00000001032ddf3c (anonymous namespace)::SILGenType::visitFuncDecl(swift::FuncDecl*) + 28
65 swift-frontend           0x00000001032dae88 (anonymous namespace)::SILGenType::emitType() + 276
66 swift-frontend           0x00000001032dad68 swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) + 24
67 swift-frontend           0x00000001031ceb74 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const + 880
68 swift-frontend           0x00000001032c8c7c swift::SimpleRequest<swift::ASTLoweringRequest, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>> (swift::ASTLoweringDescriptor), (swift::RequestFlags)9>::evaluateRequest(swift::ASTLoweringRequest const&, swift::Evaluator&) + 148
69 swift-frontend           0x00000001031d4468 swift::ASTLoweringRequest::OutputType swift::Evaluator::getResultUncached<swift::ASTLoweringRequest, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()>(swift::ASTLoweringRequest const&, swift::ASTLoweringRequest::OutputType swift::evaluateOrFatal<swift::ASTLoweringRequest>(swift::Evaluator&, swift::ASTLoweringRequest)::'lambda'()) + 340
70 swift-frontend           0x00000001031cf478 swift::performASTLowering(swift::FileUnit&, swift::Lowering::TypeConverter&, swift::SILOptions const&, swift::IRGenOptions const*) + 96
71 swift-frontend           0x0000000102bb8f00 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 604
72 swift-frontend           0x0000000102bca248 withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) + 160
73 swift-frontend           0x0000000102bbb590 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 708
74 swift-frontend           0x0000000102bba4fc swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2388
75 swift-frontend           0x00000001029d43b0 swift::mainEntry(int, char const**) + 3096
76 dyld                     0x00000001897a90e0 start + 2360
Fetching https://github.com/Alamofire/Alamofire.git
[1/28780] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.69s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.8.0 (0.55s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.8.0
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.