The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AlamofireImage, reference 4.4.0 (4cf73d), with Swift 6.3 for Linux on 14 Apr 2026 18:00:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Alamofire/AlamofireImage.git
Reference: 4.4.0
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
 * tag               4.4.0      -> FETCH_HEAD
HEAD is now at 4cf73d6 Update for 4.4.0 (#486)
Cloned https://github.com/Alamofire/AlamofireImage.git
Revision (git rev-parse @):
4cf73d601c482b7d77bae47de3ef1b8bcf328ec1
SUCCESS checkout https://github.com/Alamofire/AlamofireImage.git at 4.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Alamofire/AlamofireImage.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/Alamofire/Alamofire.git
[1/31530] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (5.40s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.11.2 (6.56s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.11.2
Building for debugging...
[0/4] Copying PrivacyInfo.xcprivacy
[1/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/44] Emitting module Alamofire
[6/49] Compiling Alamofire RetryPolicy.swift
[7/49] Compiling Alamofire ServerTrustEvaluation.swift
[8/49] Compiling Alamofire URLEncodedFormEncoder.swift
[9/49] Compiling Alamofire Validation.swift
[10/49] Compiling Alamofire resource_bundle_accessor.swift
[11/49] Compiling Alamofire WebSocketRequest.swift
[12/49] Compiling Alamofire DispatchQueue+Alamofire.swift
[13/49] Compiling Alamofire OperationQueue+Alamofire.swift
[14/49] Compiling Alamofire Result+Alamofire.swift
[15/49] Compiling Alamofire StringEncoding+Alamofire.swift
[16/49] Compiling Alamofire URLRequest+Alamofire.swift
[17/49] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[18/49] Compiling Alamofire AlamofireExtended.swift
[19/49] Compiling Alamofire AuthenticationInterceptor.swift
[20/49] Compiling Alamofire CachedResponseHandler.swift
[21/49] Compiling Alamofire Combine.swift
[22/49] Compiling Alamofire RequestTaskMap.swift
[23/49] Compiling Alamofire Response.swift
[24/49] Compiling Alamofire Session.swift
[25/49] Compiling Alamofire SessionDelegate.swift
[26/49] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[27/49] Compiling Alamofire UploadRequest.swift
[28/49] Compiling Alamofire Alamofire.swift
[29/49] Compiling Alamofire AFError.swift
[30/49] Compiling Alamofire DataRequest.swift
[31/49] Compiling Alamofire DataStreamRequest.swift
[32/49] Compiling Alamofire DownloadRequest.swift
[33/49] Compiling Alamofire HTTPHeaders.swift
[34/49] Compiling Alamofire OfflineRetrier.swift
[35/49] Compiling Alamofire RedirectHandler.swift
[36/49] Compiling Alamofire RequestCompression.swift
[37/49] Compiling Alamofire RequestInterceptor.swift
[38/49] Compiling Alamofire ResponseSerialization.swift
[39/49] Compiling Alamofire HTTPMethod.swift
[40/49] Compiling Alamofire Notifications.swift
[41/49] Compiling Alamofire ParameterEncoder.swift
[42/49] Compiling Alamofire ParameterEncoding.swift
[43/49] Compiling Alamofire Protected.swift
[44/49] Compiling Alamofire Request.swift
[45/49] Compiling Alamofire Concurrency.swift
[46/49] Compiling Alamofire EventMonitor.swift
[47/49] Compiling Alamofire MultipartFormData.swift
[48/49] Compiling Alamofire MultipartUpload.swift
[49/49] Compiling Alamofire NetworkReachabilityManager.swift
[51/59] Compiling AlamofireImage UIButton+AlamofireImage.swift
[52/60] 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' only applies to function types
 97 |     ///
 98 |     /// - returns: The new `DynamicImageFilter` instance.
 99 |     public init(_ identifier: String, filter: @escaping (Image) -> Image) {
    |                                               `- error: '@escaping' 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/ImageFilter.swift:122:32: error: missing argument label 'into:' in call
120 |     public var filter: (Image) -> Image {
121 |         { image in
122 |             self.filters.reduce(image) { $1.filter($0) }
    |                                `- error: missing argument label 'into:' in call
123 |         }
124 |     }
[53/60] Compiling AlamofireImage Request+AlamofireImage.swift
/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:121:57: error: cannot find type 'Image' in scope
119 |     }
120 |
121 |     open func serializeImage(from data: Data) throws -> Image {
    |                                                         `- error: cannot find type 'Image' in scope
122 |         guard !data.isEmpty else {
123 |             throw AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength)
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:37:12: warning: non-final class 'ImageResponseSerializer' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 35 | #endif
 36 |
 37 | open class ImageResponseSerializer: ResponseSerializer, Sendable {
    |            `- warning: non-final class 'ImageResponseSerializer' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 38 |     // MARK: Properties
 39 |
/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, Sendable {
    |            `- 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, Sendable {
    |            |- error: type 'ImageResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
    |            `- note: add stubs for conformance
 38 |     // MARK: Properties
 39 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Features/ResponseSerialization.swift:30:20: note: protocol requires nested type 'SerializedObject'
 28 | public protocol DataResponseSerializerProtocol<SerializedObject>: Sendable {
 29 |     /// The type of serialized object to be created.
 30 |     associatedtype SerializedObject: Sendable
    |                    `- note: protocol requires nested type 'SerializedObject'
 31 |
 32 |     /// Serialize the response `Data` into the provided type.
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:278:137: error: cannot find type 'Image' in scope
276 |                                  inflateResponseImage: Bool = true,
277 |                                  emptyResponseCodes: Set<Int> = ImageResponseSerializer.defaultEmptyResponseCodes,
278 |                                  emptyRequestMethods: Set<HTTPMethod> = ImageResponseSerializer.defaultEmptyRequestMethods) -> DataTask<Image> {
    |                                                                                                                                         `- error: cannot find type 'Image' in scope
279 |         serializingResponse(using: ImageResponseSerializer(imageScale: imageScale,
280 |                                                            inflateResponseImage: inflateResponseImage,
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:114:20: error: cannot find 'Image' in scope
112 |
113 |             print("AlamofireImage: Returning empty image from serializer!")
114 |             return Image()
    |                    `- error: cannot find 'Image' in scope
115 |         }
116 |
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:141:16: error: cannot find 'image' in scope
139 |         #endif
140 |
141 |         return image
    |                `- error: cannot find 'image' in scope
142 |     }
143 |
[54/60] Compiling AlamofireImage UIImage+AlamofireImage.swift
[55/60] 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:96:31: error: cannot find type 'Image' in scope
 94 |         }
 95 |
 96 |         func accessImage() -> Image {
    |                               `- error: cannot find type 'Image' in scope
 97 |             lastAccessDate = Date()
 98 |             return image
/host/spi-builder-workspace/Source/ImageCache.swift:170:28: error: cannot find type 'Image' in scope
168 |     /// - parameter request:    The request used to generate the image's unique identifier.
169 |     /// - parameter identifier: The additional identifier to append to the image's unique identifier.
170 |     open func add(_ image: Image, for request: URLRequest, withIdentifier identifier: String? = nil) {
    |                            `- error: cannot find type 'Image' in scope
171 |         let requestIdentifier = imageCacheKey(for: request, withIdentifier: identifier)
172 |         add(image, withIdentifier: requestIdentifier)
/host/spi-builder-workspace/Source/ImageCache.swift:179:28: error: cannot find type 'Image' in scope
177 |     /// - parameter image:      The image to add to the cache.
178 |     /// - parameter identifier: The identifier to use to uniquely identify the image.
179 |     open func add(_ image: Image, withIdentifier identifier: String) {
    |                            `- error: cannot find type 'Image' in scope
180 |         synchronizationQueue.async(flags: [.barrier]) {
181 |             let cachedImage = CachedImage(image, identifier: identifier)
/host/spi-builder-workspace/Source/ImageCache.swift:278:25: error: Objective-C interoperability is disabled
276 |     ///
277 |     /// - returns: `true` if images were removed from the cache, `false` otherwise.
278 |     @discardableResult @objc
    |                         `- error: Objective-C interoperability is disabled
279 |     open func removeAllImages() -> Bool {
280 |         var removed = false
/host/spi-builder-workspace/Source/ImageCache.swift:302:91: error: cannot find type 'Image' in scope
300 |     ///
301 |     /// - returns: The image if it is stored in the cache, `nil` otherwise.
302 |     open func image(for request: URLRequest, withIdentifier identifier: String? = nil) -> Image? {
    |                                                                                           `- error: cannot find type 'Image' in scope
303 |         let requestIdentifier = imageCacheKey(for: request, withIdentifier: identifier)
304 |         return image(withIdentifier: requestIdentifier)
/host/spi-builder-workspace/Source/ImageCache.swift:312:59: error: cannot find type 'Image' in scope
310 |     ///
311 |     /// - returns: The image if it is stored in the cache, `nil` otherwise.
312 |     open func image(withIdentifier identifier: String) -> Image? {
    |                                                           `- error: cannot find type 'Image' in scope
313 |         var image: Image?
314 |
/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 |                 return UInt64(bytesPerRow) * UInt64(size.height)
 93 |             }()
/host/spi-builder-workspace/Source/ImageCache.swift:92:53: error: cannot find 'size' in scope
 90 |                 let bytesPerPixel: CGFloat = 4.0
 91 |                 let bytesPerRow = size.width * bytesPerPixel
 92 |                 return UInt64(bytesPerRow) * UInt64(size.height)
    |                                                     `- error: cannot find 'size' in scope
 93 |             }()
 94 |         }
/host/spi-builder-workspace/Source/ImageCache.swift:145:87: error: cannot find 'arc4random' in scope
143 |
144 |         synchronizationQueue = {
145 |             let name = String(format: "org.alamofire.autopurgingimagecache-%08x%08x", arc4random(), arc4random())
    |                                                                                       `- error: cannot find 'arc4random' in scope
146 |             return DispatchQueue(label: name, attributes: .concurrent)
147 |         }()
/host/spi-builder-workspace/Source/ImageCache.swift:145:101: error: cannot find 'arc4random' in scope
143 |
144 |         synchronizationQueue = {
145 |             let name = String(format: "org.alamofire.autopurgingimagecache-%08x%08x", arc4random(), arc4random())
    |                                                                                                     `- error: cannot find 'arc4random' in scope
146 |             return DispatchQueue(label: name, attributes: .concurrent)
147 |         }()
/host/spi-builder-workspace/Source/ImageCache.swift:313:20: error: cannot find type 'Image' in scope
311 |     /// - returns: The image if it is stored in the cache, `nil` otherwise.
312 |     open func image(withIdentifier identifier: String) -> Image? {
313 |         var image: Image?
    |                    `- error: cannot find type 'Image' in scope
314 |
315 |         synchronizationQueue.sync(flags: [.barrier]) {
[56/60] 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 |     }()
[57/60] Compiling AlamofireImage UIImageView+AlamofireImage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/60] Compiling AlamofireImage AFIError.swift
[59/60] Compiling AlamofireImage Image.swift
[60/60] 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:96:31: error: cannot find type 'Image' in scope
 94 |         }
 95 |
 96 |         func accessImage() -> Image {
    |                               `- error: cannot find type 'Image' in scope
 97 |             lastAccessDate = Date()
 98 |             return image
/host/spi-builder-workspace/Source/ImageCache.swift:170:28: error: cannot find type 'Image' in scope
168 |     /// - parameter request:    The request used to generate the image's unique identifier.
169 |     /// - parameter identifier: The additional identifier to append to the image's unique identifier.
170 |     open func add(_ image: Image, for request: URLRequest, withIdentifier identifier: String? = nil) {
    |                            `- error: cannot find type 'Image' in scope
171 |         let requestIdentifier = imageCacheKey(for: request, withIdentifier: identifier)
172 |         add(image, withIdentifier: requestIdentifier)
/host/spi-builder-workspace/Source/ImageCache.swift:179:28: error: cannot find type 'Image' in scope
177 |     /// - parameter image:      The image to add to the cache.
178 |     /// - parameter identifier: The identifier to use to uniquely identify the image.
179 |     open func add(_ image: Image, withIdentifier identifier: String) {
    |                            `- error: cannot find type 'Image' in scope
180 |         synchronizationQueue.async(flags: [.barrier]) {
181 |             let cachedImage = CachedImage(image, identifier: identifier)
/host/spi-builder-workspace/Source/ImageCache.swift:278:25: error: Objective-C interoperability is disabled
276 |     ///
277 |     /// - returns: `true` if images were removed from the cache, `false` otherwise.
278 |     @discardableResult @objc
    |                         `- error: Objective-C interoperability is disabled
279 |     open func removeAllImages() -> Bool {
280 |         var removed = false
/host/spi-builder-workspace/Source/ImageCache.swift:302:91: error: cannot find type 'Image' in scope
300 |     ///
301 |     /// - returns: The image if it is stored in the cache, `nil` otherwise.
302 |     open func image(for request: URLRequest, withIdentifier identifier: String? = nil) -> Image? {
    |                                                                                           `- error: cannot find type 'Image' in scope
303 |         let requestIdentifier = imageCacheKey(for: request, withIdentifier: identifier)
304 |         return image(withIdentifier: requestIdentifier)
/host/spi-builder-workspace/Source/ImageCache.swift:312:59: error: cannot find type 'Image' in scope
310 |     ///
311 |     /// - returns: The image if it is stored in the cache, `nil` otherwise.
312 |     open func image(withIdentifier identifier: String) -> Image? {
    |                                                           `- error: cannot find type 'Image' in scope
313 |         var image: Image?
314 |
/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/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' only applies to function types
 97 |     ///
 98 |     /// - returns: The new `DynamicImageFilter` instance.
 99 |     public init(_ identifier: String, filter: @escaping (Image) -> Image) {
    |                                               `- error: '@escaping' 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: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:121:57: error: cannot find type 'Image' in scope
119 |     }
120 |
121 |     open func serializeImage(from data: Data) throws -> Image {
    |                                                         `- error: cannot find type 'Image' in scope
122 |         guard !data.isEmpty else {
123 |             throw AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength)
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:37:12: warning: non-final class 'ImageResponseSerializer' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 35 | #endif
 36 |
 37 | open class ImageResponseSerializer: ResponseSerializer, Sendable {
    |            `- warning: non-final class 'ImageResponseSerializer' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 38 |     // MARK: Properties
 39 |
/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, Sendable {
    |            `- 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, Sendable {
    |            |- error: type 'ImageResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
    |            `- note: add stubs for conformance
 38 |     // MARK: Properties
 39 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Features/ResponseSerialization.swift:30:20: note: protocol requires nested type 'SerializedObject'
 28 | public protocol DataResponseSerializerProtocol<SerializedObject>: Sendable {
 29 |     /// The type of serialized object to be created.
 30 |     associatedtype SerializedObject: Sendable
    |                    `- note: protocol requires nested type 'SerializedObject'
 31 |
 32 |     /// Serialize the response `Data` into the provided type.
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:278:137: error: cannot find type 'Image' in scope
276 |                                  inflateResponseImage: Bool = true,
277 |                                  emptyResponseCodes: Set<Int> = ImageResponseSerializer.defaultEmptyResponseCodes,
278 |                                  emptyRequestMethods: Set<HTTPMethod> = ImageResponseSerializer.defaultEmptyRequestMethods) -> DataTask<Image> {
    |                                                                                                                                         `- error: cannot find type 'Image' in scope
279 |         serializingResponse(using: ImageResponseSerializer(imageScale: imageScale,
280 |                                                            inflateResponseImage: inflateResponseImage,
BUILD FAILURE 6.3 linux