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 Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Alamofire/AlamofireImage.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/Alamofire/Alamofire.git
[1/28780] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.58s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.8.0 (0.50s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.8.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/37] Emitting module Alamofire
[5/41] Compiling Alamofire OperationQueue+Alamofire.swift
[6/41] Compiling Alamofire ParameterEncoder.swift
[7/41] Compiling Alamofire ParameterEncoding.swift
[8/41] Compiling Alamofire Protected.swift
[9/41] Compiling Alamofire RedirectHandler.swift
[10/41] Compiling Alamofire Session.swift
[11/41] Compiling Alamofire SessionDelegate.swift
[12/41] Compiling Alamofire StringEncoding+Alamofire.swift
[13/41] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[14/41] Compiling Alamofire Request.swift
[15/41] Compiling Alamofire RequestCompression.swift
[16/41] Compiling Alamofire RequestInterceptor.swift
[17/41] Compiling Alamofire RequestTaskMap.swift
[18/41] Compiling Alamofire Response.swift
[19/41] Compiling Alamofire ResponseSerialization.swift
[20/41] Compiling Alamofire Result+Alamofire.swift
[21/41] Compiling Alamofire RetryPolicy.swift
[22/41] Compiling Alamofire ServerTrustEvaluation.swift
[23/41] Compiling Alamofire URLEncodedFormEncoder.swift
[24/41] Compiling Alamofire URLRequest+Alamofire.swift
[25/41] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[26/41] Compiling Alamofire Validation.swift
[27/41] Compiling Alamofire HTTPMethod.swift
[28/41] Compiling Alamofire MultipartFormData.swift
[29/41] Compiling Alamofire MultipartUpload.swift
[30/41] Compiling Alamofire NetworkReachabilityManager.swift
[31/41] Compiling Alamofire Notifications.swift
[32/41] Compiling Alamofire Combine.swift
[33/41] Compiling Alamofire Concurrency.swift
[34/41] Compiling Alamofire DispatchQueue+Alamofire.swift
[35/41] Compiling Alamofire EventMonitor.swift
[36/41] Compiling Alamofire HTTPHeaders.swift
[37/41] Compiling Alamofire AFError.swift
[38/41] Compiling Alamofire Alamofire.swift
[39/41] Compiling Alamofire AlamofireExtended.swift
[40/41] Compiling Alamofire AuthenticationInterceptor.swift
[41/41] Compiling Alamofire CachedResponseHandler.swift
[43/51] Compiling AlamofireImage UIImage+AlamofireImage.swift
/host/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/52] Compiling AlamofireImage UIImageView+AlamofireImage.swift
[45/52] Compiling AlamofireImage AFIError.swift
[46/52] Compiling AlamofireImage Image.swift
[47/52] Compiling AlamofireImage ImageDownloader.swift
/host/spi-builder-workspace/Source/ImageDownloader.swift:67:59: error: cannot find type 'Image' in scope
 65 | open class ImageDownloader {
 66 |     /// The completion handler closure used when an image download completes.
 67 |     public typealias CompletionHandler = (AFIDataResponse<Image>) -> Void
    |                                                           `- error: cannot find type 'Image' in scope
 68 |
 69 |     /// The progress handler closure called periodically during an image download.
/host/spi-builder-workspace/Source/ImageCache.swift:56:23: error: cannot find type 'Image' in scope
 54 | public protocol ImageRequestCache: ImageCache {
 55 |     /// Adds the image to the cache using an identifier created from the request and identifier.
 56 |     func add(_ image: Image, for request: URLRequest, withIdentifier identifier: String?)
    |                       `- error: cannot find type 'Image' in scope
 57 |
 58 |     /// Removes the image from the cache using an identifier created from the request and identifier.
/host/spi-builder-workspace/Source/ImageCache.swift:62:80: error: cannot find type 'Image' in scope
 60 |
 61 |     /// Returns the image from the cache associated with an identifier created from the request and identifier.
 62 |     func image(for request: URLRequest, withIdentifier identifier: String?) -> Image?
    |                                                                                `- error: cannot find type 'Image' in scope
 63 | }
 64 |
/host/spi-builder-workspace/Source/ImageCache.swift:39:23: error: cannot find type 'Image' in scope
 37 | public protocol ImageCache {
 38 |     /// Adds the image to the cache with the given identifier.
 39 |     func add(_ image: Image, withIdentifier identifier: String)
    |                       `- error: cannot find type 'Image' in scope
 40 |
 41 |     /// Removes the image from the cache matching the given identifier.
/host/spi-builder-workspace/Source/ImageCache.swift:49:54: error: cannot find type 'Image' in scope
 47 |
 48 |     /// Returns the image in the cache associated with the given identifier.
 49 |     func image(withIdentifier identifier: String) -> Image?
    |                                                      `- error: cannot find type 'Image' in scope
 50 | }
 51 |
/host/spi-builder-workspace/Source/ImageDownloader.swift:122:98: error: cannot find 'arc4random' in scope
120 |
121 |     private let synchronizationQueue: DispatchQueue = {
122 |         let name = String(format: "org.alamofire.imagedownloader.synchronizationqueue-%08x%08x", arc4random(), arc4random())
    |                                                                                                  `- error: cannot find 'arc4random' in scope
123 |         return DispatchQueue(label: name)
124 |     }()
/host/spi-builder-workspace/Source/ImageDownloader.swift:122:112: error: cannot find 'arc4random' in scope
120 |
121 |     private let synchronizationQueue: DispatchQueue = {
122 |         let name = String(format: "org.alamofire.imagedownloader.synchronizationqueue-%08x%08x", arc4random(), arc4random())
    |                                                                                                                `- error: cannot find 'arc4random' in scope
123 |         return DispatchQueue(label: name)
124 |     }()
/host/spi-builder-workspace/Source/ImageDownloader.swift:127:91: error: cannot find 'arc4random' in scope
125 |
126 |     private let responseQueue: DispatchQueue = {
127 |         let name = String(format: "org.alamofire.imagedownloader.responsequeue-%08x%08x", arc4random(), arc4random())
    |                                                                                           `- error: cannot find 'arc4random' in scope
128 |         return DispatchQueue(label: name, attributes: .concurrent)
129 |     }()
/host/spi-builder-workspace/Source/ImageDownloader.swift:127:105: error: cannot find 'arc4random' in scope
125 |
126 |     private let responseQueue: DispatchQueue = {
127 |         let name = String(format: "org.alamofire.imagedownloader.responsequeue-%08x%08x", arc4random(), arc4random())
    |                                                                                                         `- error: cannot find 'arc4random' in scope
128 |         return DispatchQueue(label: name, attributes: .concurrent)
129 |     }()
/host/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.
/host/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]
[48/52] Compiling AlamofireImage ImageCache.swift
/host/spi-builder-workspace/Source/ImageCache.swift:39:23: error: cannot find type 'Image' in scope
 37 | public protocol ImageCache {
 38 |     /// Adds the image to the cache with the given identifier.
 39 |     func add(_ image: Image, withIdentifier identifier: String)
    |                       `- error: cannot find type 'Image' in scope
 40 |
 41 |     /// Removes the image from the cache matching the given identifier.
/host/spi-builder-workspace/Source/ImageCache.swift:49:54: error: cannot find type 'Image' in scope
 47 |
 48 |     /// Returns the image in the cache associated with the given identifier.
 49 |     func image(withIdentifier identifier: String) -> Image?
    |                                                      `- error: cannot find type 'Image' in scope
 50 | }
 51 |
/host/spi-builder-workspace/Source/ImageCache.swift:56:23: error: cannot find type 'Image' in scope
 54 | public protocol ImageRequestCache: ImageCache {
 55 |     /// Adds the image to the cache using an identifier created from the request and identifier.
 56 |     func add(_ image: Image, for request: URLRequest, withIdentifier identifier: String?)
    |                       `- error: cannot find type 'Image' in scope
 57 |
 58 |     /// Removes the image from the cache using an identifier created from the request and identifier.
/host/spi-builder-workspace/Source/ImageCache.swift:62:80: error: cannot find type 'Image' in scope
 60 |
 61 |     /// Returns the image from the cache associated with an identifier created from the request and identifier.
 62 |     func image(for request: URLRequest, withIdentifier identifier: String?) -> Image?
    |                                                                                `- error: cannot find type 'Image' in scope
 63 | }
 64 |
/host/spi-builder-workspace/Source/ImageCache.swift:73:20: error: cannot find type 'Image' in scope
 71 | open class AutoPurgingImageCache: ImageRequestCache {
 72 |     class CachedImage {
 73 |         let image: Image
    |                    `- error: cannot find type 'Image' in scope
 74 |         let identifier: String
 75 |         let totalBytes: UInt64
/host/spi-builder-workspace/Source/ImageCache.swift:78:23: error: cannot find type 'Image' in scope
 76 |         var lastAccessDate: Date
 77 |
 78 |         init(_ image: Image, identifier: String) {
    |                       `- error: cannot find type 'Image' in scope
 79 |             self.image = image
 80 |             self.identifier = identifier
/host/spi-builder-workspace/Source/ImageCache.swift:98:31: error: cannot find type 'Image' in scope
 96 |         }
 97 |
 98 |         func accessImage() -> Image {
    |                               `- error: cannot find type 'Image' in scope
 99 |             lastAccessDate = Date()
100 |             return image
/host/spi-builder-workspace/Source/ImageCache.swift:172:28: error: cannot find type 'Image' in scope
170 |     /// - parameter request:    The request used to generate the image's unique identifier.
171 |     /// - parameter identifier: The additional identifier to append to the image's unique identifier.
172 |     open func add(_ image: Image, for request: URLRequest, withIdentifier identifier: String? = nil) {
    |                            `- error: cannot find type 'Image' in scope
173 |         let requestIdentifier = imageCacheKey(for: request, withIdentifier: identifier)
174 |         add(image, withIdentifier: requestIdentifier)
/host/spi-builder-workspace/Source/ImageCache.swift:181:28: error: cannot find type 'Image' in scope
179 |     /// - parameter image:      The image to add to the cache.
180 |     /// - parameter identifier: The identifier to use to uniquely identify the image.
181 |     open func add(_ image: Image, withIdentifier identifier: String) {
    |                            `- error: cannot find type 'Image' in scope
182 |         synchronizationQueue.async(flags: [.barrier]) {
183 |             let cachedImage = CachedImage(image, identifier: identifier)
/host/spi-builder-workspace/Source/ImageCache.swift:280:25: error: Objective-C interoperability is disabled
278 |     ///
279 |     /// - returns: `true` if images were removed from the cache, `false` otherwise.
280 |     @discardableResult @objc
    |                         `- error: Objective-C interoperability is disabled
281 |     open func removeAllImages() -> Bool {
282 |         var removed = false
/host/spi-builder-workspace/Source/ImageCache.swift:304:91: error: cannot find type 'Image' in scope
302 |     ///
303 |     /// - returns: The image if it is stored in the cache, `nil` otherwise.
304 |     open func image(for request: URLRequest, withIdentifier identifier: String? = nil) -> Image? {
    |                                                                                           `- error: cannot find type 'Image' in scope
305 |         let requestIdentifier = imageCacheKey(for: request, withIdentifier: identifier)
306 |         return image(withIdentifier: requestIdentifier)
/host/spi-builder-workspace/Source/ImageCache.swift:314:59: error: cannot find type 'Image' in scope
312 |     ///
313 |     /// - returns: The image if it is stored in the cache, `nil` otherwise.
314 |     open func image(withIdentifier identifier: String) -> Image? {
    |                                                           `- error: cannot find type 'Image' in scope
315 |         var image: Image?
316 |
/host/spi-builder-workspace/Source/ImageCache.swift:91:35: error: cannot find 'size' in scope
 89 |
 90 |                 let bytesPerPixel: CGFloat = 4.0
 91 |                 let bytesPerRow = size.width * bytesPerPixel
    |                                   `- error: cannot find 'size' in scope
 92 |                 let totalBytes = UInt64(bytesPerRow) * UInt64(size.height)
 93 |
/host/spi-builder-workspace/Source/ImageCache.swift:92:63: error: cannot find 'size' in scope
 90 |                 let bytesPerPixel: CGFloat = 4.0
 91 |                 let bytesPerRow = size.width * bytesPerPixel
 92 |                 let totalBytes = UInt64(bytesPerRow) * UInt64(size.height)
    |                                                               `- error: cannot find 'size' in scope
 93 |
 94 |                 return totalBytes
/host/spi-builder-workspace/Source/ImageCache.swift:147:87: error: cannot find 'arc4random' in scope
145 |
146 |         synchronizationQueue = {
147 |             let name = String(format: "org.alamofire.autopurgingimagecache-%08x%08x", arc4random(), arc4random())
    |                                                                                       `- error: cannot find 'arc4random' in scope
148 |             return DispatchQueue(label: name, attributes: .concurrent)
149 |         }()
/host/spi-builder-workspace/Source/ImageCache.swift:147:101: error: cannot find 'arc4random' in scope
145 |
146 |         synchronizationQueue = {
147 |             let name = String(format: "org.alamofire.autopurgingimagecache-%08x%08x", arc4random(), arc4random())
    |                                                                                                     `- error: cannot find 'arc4random' in scope
148 |             return DispatchQueue(label: name, attributes: .concurrent)
149 |         }()
/host/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 |
/host/spi-builder-workspace/Source/ImageCache.swift:315:20: error: cannot find type 'Image' in scope
313 |     /// - returns: The image if it is stored in the cache, `nil` otherwise.
314 |     open func image(withIdentifier identifier: String) -> Image? {
315 |         var image: Image?
    |                    `- error: cannot find type 'Image' in scope
316 |
317 |         synchronizationQueue.sync(flags: [.barrier]) {
[49/52] Compiling AlamofireImage UIButton+AlamofireImage.swift
[50/52] Compiling AlamofireImage ImageFilter.swift
/host/spi-builder-workspace/Source/ImageFilter.swift:38:18: error: cannot find type 'Image' in scope
 36 | public protocol ImageFilter {
 37 |     /// A closure used to create an alternative representation of the given image.
 38 |     var filter: (Image) -> Image { get }
    |                  `- error: cannot find type 'Image' in scope
 39 |
 40 |     /// The string used to uniquely identify the filter operation.
/host/spi-builder-workspace/Source/ImageFilter.swift:38:28: error: cannot find type 'Image' in scope
 36 | public protocol ImageFilter {
 37 |     /// A closure used to create an alternative representation of the given image.
 38 |     var filter: (Image) -> Image { get }
    |                            `- error: cannot find type 'Image' in scope
 39 |
 40 |     /// The string used to uniquely identify the filter operation.
/host/spi-builder-workspace/Source/ImageFilter.swift:91:25: error: cannot find type 'Image' in scope
 89 |
 90 |     /// A closure used to create an alternative representation of the given image.
 91 |     public let filter: (Image) -> Image
    |                         `- error: cannot find type 'Image' in scope
 92 |
 93 |     /// Initializes the `DynamicImageFilter` instance with the specified identifier and filter closure.
/host/spi-builder-workspace/Source/ImageFilter.swift:91:35: error: cannot find type 'Image' in scope
 89 |
 90 |     /// A closure used to create an alternative representation of the given image.
 91 |     public let filter: (Image) -> Image
    |                                   `- error: cannot find type 'Image' in scope
 92 |
 93 |     /// Initializes the `DynamicImageFilter` instance with the specified identifier and filter closure.
/host/spi-builder-workspace/Source/ImageFilter.swift:99:58: error: cannot find type 'Image' in scope
 97 |     ///
 98 |     /// - returns: The new `DynamicImageFilter` instance.
 99 |     public init(_ identifier: String, filter: @escaping (Image) -> Image) {
    |                                                          `- error: cannot find type 'Image' in scope
100 |         self.identifier = identifier
101 |         self.filter = filter
/host/spi-builder-workspace/Source/ImageFilter.swift:99:68: error: cannot find type 'Image' in scope
 97 |     ///
 98 |     /// - returns: The new `DynamicImageFilter` instance.
 99 |     public init(_ identifier: String, filter: @escaping (Image) -> Image) {
    |                                                                    `- error: cannot find type 'Image' in scope
100 |         self.identifier = identifier
101 |         self.filter = filter
/host/spi-builder-workspace/Source/ImageFilter.swift:99:47: error: @escaping attribute only applies to function types
 97 |     ///
 98 |     /// - returns: The new `DynamicImageFilter` instance.
 99 |     public init(_ identifier: String, filter: @escaping (Image) -> Image) {
    |                                               `- error: @escaping attribute only applies to function types
100 |         self.identifier = identifier
101 |         self.filter = filter
/host/spi-builder-workspace/Source/ImageFilter.swift:120:25: error: cannot find type 'Image' in scope
118 |
119 |     /// The filter closure for any `CompositeImageFilter` type.
120 |     public var filter: (Image) -> Image {
    |                         `- error: cannot find type 'Image' in scope
121 |         { image in
122 |             self.filters.reduce(image) { $1.filter($0) }
/host/spi-builder-workspace/Source/ImageFilter.swift:120:35: error: cannot find type 'Image' in scope
118 |
119 |     /// The filter closure for any `CompositeImageFilter` type.
120 |     public var filter: (Image) -> Image {
    |                                   `- error: cannot find type 'Image' in scope
121 |         { image in
122 |             self.filters.reduce(image) { $1.filter($0) }
[51/52] Compiling AlamofireImage Request+AlamofireImage.swift
/host/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> = [
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:105:113: error: cannot find type 'Image' in scope
103 |     // MARK: Serialization
104 |
105 |     open func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> Image {
    |                                                                                                                 `- error: cannot find type 'Image' in scope
106 |         guard error == nil else { throw error! }
107 |
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:123:57: error: cannot find type 'Image' in scope
121 |     }
122 |
123 |     open func serializeImage(from data: Data) throws -> Image {
    |                                                         `- error: cannot find type 'Image' in scope
124 |         guard !data.isEmpty else {
125 |             throw AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength)
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:37:12: error: type 'ImageResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
 35 | #endif
 36 |
 37 | open class ImageResponseSerializer: ResponseSerializer {
    |            `- error: type 'ImageResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
 38 |     // MARK: Properties
 39 |
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:37:12: error: type 'ImageResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
 35 | #endif
 36 |
 37 | open class ImageResponseSerializer: ResponseSerializer {
    |            `- error: type 'ImageResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
 38 |     // MARK: Properties
 39 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: protocol requires nested type 'SerializedObject'; add nested type 'SerializedObject' for conformance
  30 | public protocol DataResponseSerializerProtocol {
  31 |     /// The type of serialized object to be created.
  32 |     associatedtype SerializedObject
     |                    `- note: protocol requires nested type 'SerializedObject'; add nested type 'SerializedObject' for conformance
  33 |
  34 |     /// Serialize the response `Data` into the provided type..
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:280:137: error: cannot find type 'Image' in scope
278 |                                  inflateResponseImage: Bool = true,
279 |                                  emptyResponseCodes: Set<Int> = ImageResponseSerializer.defaultEmptyResponseCodes,
280 |                                  emptyRequestMethods: Set<HTTPMethod> = ImageResponseSerializer.defaultEmptyRequestMethods) -> DataTask<Image> {
    |                                                                                                                                         `- error: cannot find type 'Image' in scope
281 |         serializingResponse(using: ImageResponseSerializer(imageScale: imageScale,
282 |                                                            inflateResponseImage: inflateResponseImage,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/52] Emitting module AlamofireImage
/host/spi-builder-workspace/Source/ImageCache.swift:39:23: error: cannot find type 'Image' in scope
 37 | public protocol ImageCache {
 38 |     /// Adds the image to the cache with the given identifier.
 39 |     func add(_ image: Image, withIdentifier identifier: String)
    |                       `- error: cannot find type 'Image' in scope
 40 |
 41 |     /// Removes the image from the cache matching the given identifier.
/host/spi-builder-workspace/Source/ImageCache.swift:49:54: error: cannot find type 'Image' in scope
 47 |
 48 |     /// Returns the image in the cache associated with the given identifier.
 49 |     func image(withIdentifier identifier: String) -> Image?
    |                                                      `- error: cannot find type 'Image' in scope
 50 | }
 51 |
/host/spi-builder-workspace/Source/ImageCache.swift:56:23: error: cannot find type 'Image' in scope
 54 | public protocol ImageRequestCache: ImageCache {
 55 |     /// Adds the image to the cache using an identifier created from the request and identifier.
 56 |     func add(_ image: Image, for request: URLRequest, withIdentifier identifier: String?)
    |                       `- error: cannot find type 'Image' in scope
 57 |
 58 |     /// Removes the image from the cache using an identifier created from the request and identifier.
/host/spi-builder-workspace/Source/ImageCache.swift:62:80: error: cannot find type 'Image' in scope
 60 |
 61 |     /// Returns the image from the cache associated with an identifier created from the request and identifier.
 62 |     func image(for request: URLRequest, withIdentifier identifier: String?) -> Image?
    |                                                                                `- error: cannot find type 'Image' in scope
 63 | }
 64 |
/host/spi-builder-workspace/Source/ImageCache.swift:73:20: error: cannot find type 'Image' in scope
 71 | open class AutoPurgingImageCache: ImageRequestCache {
 72 |     class CachedImage {
 73 |         let image: Image
    |                    `- error: cannot find type 'Image' in scope
 74 |         let identifier: String
 75 |         let totalBytes: UInt64
/host/spi-builder-workspace/Source/ImageCache.swift:78:23: error: cannot find type 'Image' in scope
 76 |         var lastAccessDate: Date
 77 |
 78 |         init(_ image: Image, identifier: String) {
    |                       `- error: cannot find type 'Image' in scope
 79 |             self.image = image
 80 |             self.identifier = identifier
/host/spi-builder-workspace/Source/ImageCache.swift:98:31: error: cannot find type 'Image' in scope
 96 |         }
 97 |
 98 |         func accessImage() -> Image {
    |                               `- error: cannot find type 'Image' in scope
 99 |             lastAccessDate = Date()
100 |             return image
/host/spi-builder-workspace/Source/ImageCache.swift:172:28: error: cannot find type 'Image' in scope
170 |     /// - parameter request:    The request used to generate the image's unique identifier.
171 |     /// - parameter identifier: The additional identifier to append to the image's unique identifier.
172 |     open func add(_ image: Image, for request: URLRequest, withIdentifier identifier: String? = nil) {
    |                            `- error: cannot find type 'Image' in scope
173 |         let requestIdentifier = imageCacheKey(for: request, withIdentifier: identifier)
174 |         add(image, withIdentifier: requestIdentifier)
/host/spi-builder-workspace/Source/ImageCache.swift:181:28: error: cannot find type 'Image' in scope
179 |     /// - parameter image:      The image to add to the cache.
180 |     /// - parameter identifier: The identifier to use to uniquely identify the image.
181 |     open func add(_ image: Image, withIdentifier identifier: String) {
    |                            `- error: cannot find type 'Image' in scope
182 |         synchronizationQueue.async(flags: [.barrier]) {
183 |             let cachedImage = CachedImage(image, identifier: identifier)
/host/spi-builder-workspace/Source/ImageCache.swift:280:25: error: Objective-C interoperability is disabled
278 |     ///
279 |     /// - returns: `true` if images were removed from the cache, `false` otherwise.
280 |     @discardableResult @objc
    |                         `- error: Objective-C interoperability is disabled
281 |     open func removeAllImages() -> Bool {
282 |         var removed = false
/host/spi-builder-workspace/Source/ImageCache.swift:304:91: error: cannot find type 'Image' in scope
302 |     ///
303 |     /// - returns: The image if it is stored in the cache, `nil` otherwise.
304 |     open func image(for request: URLRequest, withIdentifier identifier: String? = nil) -> Image? {
    |                                                                                           `- error: cannot find type 'Image' in scope
305 |         let requestIdentifier = imageCacheKey(for: request, withIdentifier: identifier)
306 |         return image(withIdentifier: requestIdentifier)
/host/spi-builder-workspace/Source/ImageCache.swift:314:59: error: cannot find type 'Image' in scope
312 |     ///
313 |     /// - returns: The image if it is stored in the cache, `nil` otherwise.
314 |     open func image(withIdentifier identifier: String) -> Image? {
    |                                                           `- error: cannot find type 'Image' in scope
315 |         var image: Image?
316 |
/host/spi-builder-workspace/Source/ImageDownloader.swift:67:59: error: cannot find type 'Image' in scope
 65 | open class ImageDownloader {
 66 |     /// The completion handler closure used when an image download completes.
 67 |     public typealias CompletionHandler = (AFIDataResponse<Image>) -> Void
    |                                                           `- error: cannot find type 'Image' in scope
 68 |
 69 |     /// The progress handler closure called periodically during an image download.
/host/spi-builder-workspace/Source/ImageDownloader.swift:122:98: error: cannot find 'arc4random' in scope
120 |
121 |     private let synchronizationQueue: DispatchQueue = {
122 |         let name = String(format: "org.alamofire.imagedownloader.synchronizationqueue-%08x%08x", arc4random(), arc4random())
    |                                                                                                  `- error: cannot find 'arc4random' in scope
123 |         return DispatchQueue(label: name)
124 |     }()
/host/spi-builder-workspace/Source/ImageDownloader.swift:122:112: error: cannot find 'arc4random' in scope
120 |
121 |     private let synchronizationQueue: DispatchQueue = {
122 |         let name = String(format: "org.alamofire.imagedownloader.synchronizationqueue-%08x%08x", arc4random(), arc4random())
    |                                                                                                                `- error: cannot find 'arc4random' in scope
123 |         return DispatchQueue(label: name)
124 |     }()
/host/spi-builder-workspace/Source/ImageDownloader.swift:127:91: error: cannot find 'arc4random' in scope
125 |
126 |     private let responseQueue: DispatchQueue = {
127 |         let name = String(format: "org.alamofire.imagedownloader.responsequeue-%08x%08x", arc4random(), arc4random())
    |                                                                                           `- error: cannot find 'arc4random' in scope
128 |         return DispatchQueue(label: name, attributes: .concurrent)
129 |     }()
/host/spi-builder-workspace/Source/ImageDownloader.swift:127:105: error: cannot find 'arc4random' in scope
125 |
126 |     private let responseQueue: DispatchQueue = {
127 |         let name = String(format: "org.alamofire.imagedownloader.responsequeue-%08x%08x", arc4random(), arc4random())
    |                                                                                                         `- error: cannot find 'arc4random' in scope
128 |         return DispatchQueue(label: name, attributes: .concurrent)
129 |     }()
/host/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.
/host/spi-builder-workspace/Source/ImageFilter.swift:38:18: error: cannot find type 'Image' in scope
 36 | public protocol ImageFilter {
 37 |     /// A closure used to create an alternative representation of the given image.
 38 |     var filter: (Image) -> Image { get }
    |                  `- error: cannot find type 'Image' in scope
 39 |
 40 |     /// The string used to uniquely identify the filter operation.
/host/spi-builder-workspace/Source/ImageFilter.swift:38:28: error: cannot find type 'Image' in scope
 36 | public protocol ImageFilter {
 37 |     /// A closure used to create an alternative representation of the given image.
 38 |     var filter: (Image) -> Image { get }
    |                            `- error: cannot find type 'Image' in scope
 39 |
 40 |     /// The string used to uniquely identify the filter operation.
/host/spi-builder-workspace/Source/ImageFilter.swift:91:25: error: cannot find type 'Image' in scope
 89 |
 90 |     /// A closure used to create an alternative representation of the given image.
 91 |     public let filter: (Image) -> Image
    |                         `- error: cannot find type 'Image' in scope
 92 |
 93 |     /// Initializes the `DynamicImageFilter` instance with the specified identifier and filter closure.
/host/spi-builder-workspace/Source/ImageFilter.swift:91:35: error: cannot find type 'Image' in scope
 89 |
 90 |     /// A closure used to create an alternative representation of the given image.
 91 |     public let filter: (Image) -> Image
    |                                   `- error: cannot find type 'Image' in scope
 92 |
 93 |     /// Initializes the `DynamicImageFilter` instance with the specified identifier and filter closure.
/host/spi-builder-workspace/Source/ImageFilter.swift:99:58: error: cannot find type 'Image' in scope
 97 |     ///
 98 |     /// - returns: The new `DynamicImageFilter` instance.
 99 |     public init(_ identifier: String, filter: @escaping (Image) -> Image) {
    |                                                          `- error: cannot find type 'Image' in scope
100 |         self.identifier = identifier
101 |         self.filter = filter
/host/spi-builder-workspace/Source/ImageFilter.swift:99:68: error: cannot find type 'Image' in scope
 97 |     ///
 98 |     /// - returns: The new `DynamicImageFilter` instance.
 99 |     public init(_ identifier: String, filter: @escaping (Image) -> Image) {
    |                                                                    `- error: cannot find type 'Image' in scope
100 |         self.identifier = identifier
101 |         self.filter = filter
/host/spi-builder-workspace/Source/ImageFilter.swift:99:47: error: @escaping attribute only applies to function types
 97 |     ///
 98 |     /// - returns: The new `DynamicImageFilter` instance.
 99 |     public init(_ identifier: String, filter: @escaping (Image) -> Image) {
    |                                               `- error: @escaping attribute only applies to function types
100 |         self.identifier = identifier
101 |         self.filter = filter
/host/spi-builder-workspace/Source/ImageFilter.swift:120:25: error: cannot find type 'Image' in scope
118 |
119 |     /// The filter closure for any `CompositeImageFilter` type.
120 |     public var filter: (Image) -> Image {
    |                         `- error: cannot find type 'Image' in scope
121 |         { image in
122 |             self.filters.reduce(image) { $1.filter($0) }
/host/spi-builder-workspace/Source/ImageFilter.swift:120:35: error: cannot find type 'Image' in scope
118 |
119 |     /// The filter closure for any `CompositeImageFilter` type.
120 |     public var filter: (Image) -> Image {
    |                                   `- error: cannot find type 'Image' in scope
121 |         { image in
122 |             self.filters.reduce(image) { $1.filter($0) }
/host/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> = [
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:105:113: error: cannot find type 'Image' in scope
103 |     // MARK: Serialization
104 |
105 |     open func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> Image {
    |                                                                                                                 `- error: cannot find type 'Image' in scope
106 |         guard error == nil else { throw error! }
107 |
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:123:57: error: cannot find type 'Image' in scope
121 |     }
122 |
123 |     open func serializeImage(from data: Data) throws -> Image {
    |                                                         `- error: cannot find type 'Image' in scope
124 |         guard !data.isEmpty else {
125 |             throw AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength)
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:37:12: error: type 'ImageResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
 35 | #endif
 36 |
 37 | open class ImageResponseSerializer: ResponseSerializer {
    |            `- error: type 'ImageResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
 38 |     // MARK: Properties
 39 |
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:37:12: error: type 'ImageResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
 35 | #endif
 36 |
 37 | open class ImageResponseSerializer: ResponseSerializer {
    |            `- error: type 'ImageResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
 38 |     // MARK: Properties
 39 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: protocol requires nested type 'SerializedObject'; add nested type 'SerializedObject' for conformance
  30 | public protocol DataResponseSerializerProtocol {
  31 |     /// The type of serialized object to be created.
  32 |     associatedtype SerializedObject
     |                    `- note: protocol requires nested type 'SerializedObject'; add nested type 'SerializedObject' for conformance
  33 |
  34 |     /// Serialize the response `Data` into the provided type..
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:280:137: error: cannot find type 'Image' in scope
278 |                                  inflateResponseImage: Bool = true,
279 |                                  emptyResponseCodes: Set<Int> = ImageResponseSerializer.defaultEmptyResponseCodes,
280 |                                  emptyRequestMethods: Set<HTTPMethod> = ImageResponseSerializer.defaultEmptyRequestMethods) -> DataTask<Image> {
    |                                                                                                                                         `- error: cannot find type 'Image' in scope
281 |         serializingResponse(using: ImageResponseSerializer(imageScale: imageScale,
282 |                                                            inflateResponseImage: inflateResponseImage,
/host/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 |
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.