The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AlamofireImage with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Alamofire/AlamofireImage.git
Reference: 4.3.0
Cloned https://github.com/Alamofire/AlamofireImage.git into spi-builder-workspace
SUCCESS checkout https://github.com/Alamofire/AlamofireImage.git at 4.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/Alamofire/Alamofire.git
[1/27268] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git (2.50s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.8.0 (0.29s)
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...
[1/34] Emitting module Alamofire
[2/38] Compiling Alamofire OperationQueue+Alamofire.swift
[3/38] Compiling Alamofire ParameterEncoder.swift
[4/38] Compiling Alamofire ParameterEncoding.swift
[5/38] Compiling Alamofire Protected.swift
[6/38] Compiling Alamofire RedirectHandler.swift
[7/38] Compiling Alamofire HTTPMethod.swift
[8/38] Compiling Alamofire MultipartFormData.swift
[9/38] Compiling Alamofire MultipartUpload.swift
[10/38] Compiling Alamofire NetworkReachabilityManager.swift
[11/38] Compiling Alamofire Notifications.swift
[12/38] Compiling Alamofire AFError.swift
[13/38] Compiling Alamofire Alamofire.swift
[14/38] Compiling Alamofire AlamofireExtended.swift
[15/38] Compiling Alamofire AuthenticationInterceptor.swift
[16/38] Compiling Alamofire CachedResponseHandler.swift
[17/38] Compiling Alamofire Combine.swift
[18/38] Compiling Alamofire Concurrency.swift
[19/38] Compiling Alamofire DispatchQueue+Alamofire.swift
[20/38] Compiling Alamofire EventMonitor.swift
[21/38] Compiling Alamofire HTTPHeaders.swift
[22/38] Compiling Alamofire URLEncodedFormEncoder.swift
[23/38] Compiling Alamofire URLRequest+Alamofire.swift
[24/38] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[25/38] Compiling Alamofire Validation.swift
[26/38] Compiling Alamofire Session.swift
[27/38] Compiling Alamofire SessionDelegate.swift
[28/38] Compiling Alamofire StringEncoding+Alamofire.swift
[29/38] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[30/38] Compiling Alamofire ResponseSerialization.swift
[31/38] Compiling Alamofire Result+Alamofire.swift
[32/38] Compiling Alamofire RetryPolicy.swift
[33/38] Compiling Alamofire ServerTrustEvaluation.swift
[34/38] Compiling Alamofire Request.swift
[35/38] Compiling Alamofire RequestCompression.swift
[36/38] Compiling Alamofire RequestInterceptor.swift
[37/38] Compiling Alamofire RequestTaskMap.swift
[38/38] Compiling Alamofire Response.swift
[41/49] Compiling AlamofireImage UIButton+AlamofireImage.swift
/host/spi-builder-workspace/Source/UIButton+AlamofireImage.swift:28:48: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^
/host/spi-builder-workspace/Source/UIButton+AlamofireImage.swift:28:48: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               iOS
/host/spi-builder-workspace/Source/UIButton+AlamofireImage.swift:28:48: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               Windows
[42/50] Compiling AlamofireImage UIImage+AlamofireImage.swift
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:25:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:25:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:25:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:344:48: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:344:48: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               iOS
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:344:48: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               Windows
[43/50] Compiling AlamofireImage ImageFilter.swift
/host/spi-builder-workspace/Source/ImageFilter.swift:27:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/ImageFilter.swift:27:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/ImageFilter.swift:27:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/ImageFilter.swift:153:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/ImageFilter.swift:153:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/ImageFilter.swift:153:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/ImageFilter.swift:287:48: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^
/host/spi-builder-workspace/Source/ImageFilter.swift:287:48: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               iOS
/host/spi-builder-workspace/Source/ImageFilter.swift:287:48: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               Windows
/host/spi-builder-workspace/Source/ImageFilter.swift:38:18: error: cannot find type 'Image' in scope
    var filter: (Image) -> Image { get }
                 ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:38:28: error: cannot find type 'Image' in scope
    var filter: (Image) -> Image { get }
                           ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:91:25: error: cannot find type 'Image' in scope
    public let filter: (Image) -> Image
                        ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:91:35: error: cannot find type 'Image' in scope
    public let filter: (Image) -> Image
                                  ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:99:58: error: cannot find type 'Image' in scope
    public init(_ identifier: String, filter: @escaping (Image) -> Image) {
                                                         ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:99:68: error: cannot find type 'Image' in scope
    public init(_ identifier: String, filter: @escaping (Image) -> Image) {
                                                                   ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:120:25: error: cannot find type 'Image' in scope
    public var filter: (Image) -> Image {
                        ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:120:35: error: cannot find type 'Image' in scope
    public var filter: (Image) -> Image {
                                  ^~~~~
[44/50] Compiling AlamofireImage UIImageView+AlamofireImage.swift
/host/spi-builder-workspace/Source/UIImageView+AlamofireImage.swift:28:48: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^
/host/spi-builder-workspace/Source/UIImageView+AlamofireImage.swift:28:48: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               iOS
/host/spi-builder-workspace/Source/UIImageView+AlamofireImage.swift:28:48: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               Windows
[45/50] Compiling AlamofireImage Request+AlamofireImage.swift
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:28:48: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:28:48: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               iOS
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:28:48: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               Windows
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:66:57: warning: unknown operating system for build configuration 'os'
        #if os(macOS) || os(iOS) || (swift(>=5.9) && os(visionOS)) // No WebP support on tvOS or watchOS.
                                                        ^
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:66:57: note: did you mean 'iOS'?
        #if os(macOS) || os(iOS) || (swift(>=5.9) && os(visionOS)) // No WebP support on tvOS or watchOS.
                                                        ^~~~~~~~
                                                        iOS
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:66:57: note: did you mean 'Windows'?
        #if os(macOS) || os(iOS) || (swift(>=5.9) && os(visionOS)) // No WebP support on tvOS or watchOS.
                                                        ^~~~~~~~
                                                        Windows
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:128:71: warning: unknown operating system for build configuration 'os'
        #if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                                      ^
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:128:71: note: did you mean 'iOS'?
        #if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                                      ^~~~~~~~
                                                                      iOS
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:128:71: note: did you mean 'Windows'?
        #if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                                      ^~~~~~~~
                                                                      Windows
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:179:36: warning: unknown operating system for build configuration 'os'
        #elseif swift(>=5.9) && os(visionOS)
                                   ^
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:179:36: note: did you mean 'iOS'?
        #elseif swift(>=5.9) && os(visionOS)
                                   ^~~~~~~~
                                   iOS
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:179:36: note: did you mean 'Windows'?
        #elseif swift(>=5.9) && os(visionOS)
                                   ^~~~~~~~
                                   Windows
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:191:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:191:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:191:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:105:113: error: cannot find type 'Image' in scope
    open func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> Image {
                                                                                                                ^~~~~
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:123:57: error: cannot find type 'Image' in scope
    open func serializeImage(from data: Data) throws -> Image {
                                                        ^~~~~
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:37:12: error: type 'ImageResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
open class ImageResponseSerializer: ResponseSerializer {
           ^
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:37:12: error: type 'ImageResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
open class ImageResponseSerializer: ResponseSerializer {
           ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: protocol requires nested type 'SerializedObject'; do you want to add it?
    associatedtype SerializedObject
                   ^
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:280:137: error: cannot find type 'Image' in scope
                                 emptyRequestMethods: Set<HTTPMethod> = ImageResponseSerializer.defaultEmptyRequestMethods) -> DataTask<Image> {
                                                                                                                                        ^~~~~
[46/50] Compiling AlamofireImage ImageDownloader.swift
/host/spi-builder-workspace/Source/ImageDownloader.swift:28:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/ImageDownloader.swift:28:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/ImageDownloader.swift:28:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/ImageDownloader.swift:67:59: error: cannot find type 'Image' in scope
    public typealias CompletionHandler = (AFIDataResponse<Image>) -> Void
                                                          ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:56:23: error: cannot find type 'Image' in scope
    func add(_ image: Image, for request: URLRequest, withIdentifier identifier: String?)
                      ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:62:80: error: cannot find type 'Image' in scope
    func image(for request: URLRequest, withIdentifier identifier: String?) -> Image?
                                                                               ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:39:23: error: cannot find type 'Image' in scope
    func add(_ image: Image, withIdentifier identifier: String)
                      ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:49:54: error: cannot find type 'Image' in scope
    func image(withIdentifier identifier: String) -> Image?
                                                     ^~~~~
/host/spi-builder-workspace/Source/ImageDownloader.swift:122:98: error: cannot find 'arc4random' in scope
        let name = String(format: "org.alamofire.imagedownloader.synchronizationqueue-%08x%08x", arc4random(), arc4random())
                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/Source/ImageDownloader.swift:122:112: error: cannot find 'arc4random' in scope
        let name = String(format: "org.alamofire.imagedownloader.synchronizationqueue-%08x%08x", arc4random(), arc4random())
                                                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/Source/ImageDownloader.swift:127:91: error: cannot find 'arc4random' in scope
        let name = String(format: "org.alamofire.imagedownloader.responsequeue-%08x%08x", arc4random(), arc4random())
                                                                                          ^~~~~~~~~~
/host/spi-builder-workspace/Source/ImageDownloader.swift:127:105: error: cannot find 'arc4random' in scope
        let name = String(format: "org.alamofire.imagedownloader.responsequeue-%08x%08x", arc4random(), arc4random())
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Source/ImageDownloader.swift:311:60: error: cannot find type 'Image' in scope
                            let response = AFIDataResponse<Image>(request: urlRequest.urlRequest,
                                                           ^~~~~
/host/spi-builder-workspace/Source/ImageDownloader.swift:387:77: error: cannot find type 'Image' in scope
                                             let response = AFIDataResponse<Image>(request: response.request,
                                                                            ^~~~~
/host/spi-builder-workspace/Source/ImageDownloader.swift:476:47: error: cannot find type 'Image' in scope
                let response: AFIDataResponse<Image> = {
                                              ^~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)[47/50] Compiling AlamofireImage ImageCache.swift
/host/spi-builder-workspace/Source/ImageCache.swift:28:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/ImageCache.swift:28:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/ImageCache.swift:28:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/ImageCache.swift:84:79: warning: unknown operating system for build configuration 'os'
                #if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                                              ^
/host/spi-builder-workspace/Source/ImageCache.swift:84:79: note: did you mean 'iOS'?
                #if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                                              ^~~~~~~~
                                                                              iOS
/host/spi-builder-workspace/Source/ImageCache.swift:84:79: note: did you mean 'Windows'?
                #if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                                              ^~~~~~~~
                                                                              Windows
/host/spi-builder-workspace/Source/ImageCache.swift:151:56: warning: unknown operating system for build configuration 'os'
        #if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                                       ^
/host/spi-builder-workspace/Source/ImageCache.swift:151:56: note: did you mean 'iOS'?
        #if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                                       ^~~~~~~~
                                                       iOS
/host/spi-builder-workspace/Source/ImageCache.swift:151:56: note: did you mean 'Windows'?
        #if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                                       ^~~~~~~~
                                                       Windows
/host/spi-builder-workspace/Source/ImageCache.swift:39:23: error: cannot find type 'Image' in scope
    func add(_ image: Image, withIdentifier identifier: String)
                      ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:49:54: error: cannot find type 'Image' in scope
    func image(withIdentifier identifier: String) -> Image?
                                                     ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:56:23: error: cannot find type 'Image' in scope
    func add(_ image: Image, for request: URLRequest, withIdentifier identifier: String?)
                      ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:62:80: error: cannot find type 'Image' in scope
    func image(for request: URLRequest, withIdentifier identifier: String?) -> Image?
                                                                               ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:73:20: error: cannot find type 'Image' in scope
        let image: Image
                   ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:78:23: error: cannot find type 'Image' in scope
        init(_ image: Image, identifier: String) {
                      ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:98:31: error: cannot find type 'Image' in scope
        func accessImage() -> Image {
                              ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:172:28: error: cannot find type 'Image' in scope
    open func add(_ image: Image, for request: URLRequest, withIdentifier identifier: String? = nil) {
                           ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:181:28: error: cannot find type 'Image' in scope
    open func add(_ image: Image, withIdentifier identifier: String) {
                           ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:280:25: error: Objective-C interoperability is disabled
    @discardableResult @objc
                       ~^~~~
                       
/host/spi-builder-workspace/Source/ImageCache.swift:304:91: error: cannot find type 'Image' in scope
    open func image(for request: URLRequest, withIdentifier identifier: String? = nil) -> Image? {
                                                                                          ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:314:59: error: cannot find type 'Image' in scope
    open func image(withIdentifier identifier: String) -> Image? {
                                                          ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:91:35: error: cannot find 'size' in scope
                let bytesPerRow = size.width * bytesPerPixel
                                  ^~~~
/host/spi-builder-workspace/Source/ImageCache.swift:92:63: error: cannot find 'size' in scope
                let totalBytes = UInt64(bytesPerRow) * UInt64(size.height)
                                                              ^~~~
/host/spi-builder-workspace/Source/ImageCache.swift:147:87: error: cannot find 'arc4random' in scope
            let name = String(format: "org.alamofire.autopurgingimagecache-%08x%08x", arc4random(), arc4random())
                                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:147:101: error: cannot find 'arc4random' in scope
            let name = String(format: "org.alamofire.autopurgingimagecache-%08x%08x", arc4random(), arc4random())
                                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:315:20: error: cannot find type 'Image' in scope
        var image: Image?
                   ^~~~~
[48/50] Emitting module AlamofireImage
/host/spi-builder-workspace/Source/Image.swift:27:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/Image.swift:27:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/Image.swift:27:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/ImageCache.swift:28:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/ImageCache.swift:28:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/ImageCache.swift:28:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/ImageDownloader.swift:28:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/ImageDownloader.swift:28:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/ImageDownloader.swift:28:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/ImageFilter.swift:27:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/ImageFilter.swift:27:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/ImageFilter.swift:27:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/ImageFilter.swift:153:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/ImageFilter.swift:153:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/ImageFilter.swift:153:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/ImageFilter.swift:287:48: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^
/host/spi-builder-workspace/Source/ImageFilter.swift:287:48: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               iOS
/host/spi-builder-workspace/Source/ImageFilter.swift:287:48: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               Windows
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:28:48: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:28:48: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               iOS
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:28:48: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               Windows
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:66:57: warning: unknown operating system for build configuration 'os'
        #if os(macOS) || os(iOS) || (swift(>=5.9) && os(visionOS)) // No WebP support on tvOS or watchOS.
                                                        ^
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:66:57: note: did you mean 'iOS'?
        #if os(macOS) || os(iOS) || (swift(>=5.9) && os(visionOS)) // No WebP support on tvOS or watchOS.
                                                        ^~~~~~~~
                                                        iOS
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:66:57: note: did you mean 'Windows'?
        #if os(macOS) || os(iOS) || (swift(>=5.9) && os(visionOS)) // No WebP support on tvOS or watchOS.
                                                        ^~~~~~~~
                                                        Windows
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:191:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:191:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:191:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/UIButton+AlamofireImage.swift:28:48: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^
/host/spi-builder-workspace/Source/UIButton+AlamofireImage.swift:28:48: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               iOS
/host/spi-builder-workspace/Source/UIButton+AlamofireImage.swift:28:48: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               Windows
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:25:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:25:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:25:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:344:48: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:344:48: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               iOS
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:344:48: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               Windows
/host/spi-builder-workspace/Source/UIImageView+AlamofireImage.swift:28:48: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^
/host/spi-builder-workspace/Source/UIImageView+AlamofireImage.swift:28:48: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               iOS
/host/spi-builder-workspace/Source/UIImageView+AlamofireImage.swift:28:48: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || (swift(>=5.9) && os(visionOS))
                                               ^~~~~~~~
                                               Windows
/host/spi-builder-workspace/Source/ImageCache.swift:39:23: error: cannot find type 'Image' in scope
    func add(_ image: Image, withIdentifier identifier: String)
                      ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:49:54: error: cannot find type 'Image' in scope
    func image(withIdentifier identifier: String) -> Image?
                                                     ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:56:23: error: cannot find type 'Image' in scope
    func add(_ image: Image, for request: URLRequest, withIdentifier identifier: String?)
                      ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:62:80: error: cannot find type 'Image' in scope
    func image(for request: URLRequest, withIdentifier identifier: String?) -> Image?
                                                                               ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:73:20: error: cannot find type 'Image' in scope
        let image: Image
                   ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:78:23: error: cannot find type 'Image' in scope
        init(_ image: Image, identifier: String) {
                      ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:98:31: error: cannot find type 'Image' in scope
        func accessImage() -> Image {
                              ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:172:28: error: cannot find type 'Image' in scope
    open func add(_ image: Image, for request: URLRequest, withIdentifier identifier: String? = nil) {
                           ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:181:28: error: cannot find type 'Image' in scope
    open func add(_ image: Image, withIdentifier identifier: String) {
                           ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:280:25: error: Objective-C interoperability is disabled
    @discardableResult @objc
                       ~^~~~
                       
/host/spi-builder-workspace/Source/ImageCache.swift:304:91: error: cannot find type 'Image' in scope
    open func image(for request: URLRequest, withIdentifier identifier: String? = nil) -> Image? {
                                                                                          ^~~~~
/host/spi-builder-workspace/Source/ImageCache.swift:314:59: error: cannot find type 'Image' in scope
    open func image(withIdentifier identifier: String) -> Image? {
                                                          ^~~~~
/host/spi-builder-workspace/Source/ImageDownloader.swift:67:59: error: cannot find type 'Image' in scope
    public typealias CompletionHandler = (AFIDataResponse<Image>) -> Void
                                                          ^~~~~
/host/spi-builder-workspace/Source/ImageDownloader.swift:122:98: error: cannot find 'arc4random' in scope
        let name = String(format: "org.alamofire.imagedownloader.synchronizationqueue-%08x%08x", arc4random(), arc4random())
                                                                                                 ^~~~~~~~~~
/host/spi-builder-workspace/Source/ImageDownloader.swift:122:112: error: cannot find 'arc4random' in scope
        let name = String(format: "org.alamofire.imagedownloader.synchronizationqueue-%08x%08x", arc4random(), arc4random())
                                                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/Source/ImageDownloader.swift:127:91: error: cannot find 'arc4random' in scope
        let name = String(format: "org.alamofire.imagedownloader.responsequeue-%08x%08x", arc4random(), arc4random())
                                                                                          ^~~~~~~~~~
/host/spi-builder-workspace/Source/ImageDownloader.swift:127:105: error: cannot find 'arc4random' in scope
        let name = String(format: "org.alamofire.imagedownloader.responsequeue-%08x%08x", arc4random(), arc4random())
                                                                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:38:18: error: cannot find type 'Image' in scope
    var filter: (Image) -> Image { get }
                 ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:38:28: error: cannot find type 'Image' in scope
    var filter: (Image) -> Image { get }
                           ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:91:25: error: cannot find type 'Image' in scope
    public let filter: (Image) -> Image
                        ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:91:35: error: cannot find type 'Image' in scope
    public let filter: (Image) -> Image
                                  ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:99:58: error: cannot find type 'Image' in scope
    public init(_ identifier: String, filter: @escaping (Image) -> Image) {
                                                         ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:99:68: error: cannot find type 'Image' in scope
    public init(_ identifier: String, filter: @escaping (Image) -> Image) {
                                                                   ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:120:25: error: cannot find type 'Image' in scope
    public var filter: (Image) -> Image {
                        ^~~~~
/host/spi-builder-workspace/Source/ImageFilter.swift:120:35: error: cannot find type 'Image' in scope
    public var filter: (Image) -> Image {
                                  ^~~~~
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:105:113: error: cannot find type 'Image' in scope
    open func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> Image {
                                                                                                                ^~~~~
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:123:57: error: cannot find type 'Image' in scope
    open func serializeImage(from data: Data) throws -> Image {
                                                        ^~~~~
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:37:12: error: type 'ImageResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
open class ImageResponseSerializer: ResponseSerializer {
           ^
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:37:12: error: type 'ImageResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
open class ImageResponseSerializer: ResponseSerializer {
           ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: protocol requires nested type 'SerializedObject'; do you want to add it?
    associatedtype SerializedObject
                   ^
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:280:137: error: cannot find type 'Image' in scope
                                 emptyRequestMethods: Set<HTTPMethod> = ImageResponseSerializer.defaultEmptyRequestMethods) -> DataTask<Image> {
                                                                                                                                        ^~~~~
[49/50] Compiling AlamofireImage AFIError.swift
/host/spi-builder-workspace/Source/Image.swift:27:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/Image.swift:27:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/Image.swift:27:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
[50/50] Compiling AlamofireImage Image.swift
/host/spi-builder-workspace/Source/Image.swift:27:63: warning: unknown operating system for build configuration 'os'
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^
/host/spi-builder-workspace/Source/Image.swift:27:63: note: did you mean 'iOS'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              iOS
/host/spi-builder-workspace/Source/Image.swift:27:63: note: did you mean 'Windows'?
#if os(iOS) || os(tvOS) || os(watchOS) || (swift(>=5.9) && os(visionOS))
                                                              ^~~~~~~~
                                                              Windows
BUILD FAILURE 5.7 linux

Build Machine: Linux 1