Build Information
Failed to build AlamofireImage, reference master (4cf73d), with Swift 6.1 for Linux on 14 Apr 2026 18:00:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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 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 master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/Alamofire/AlamofireImage.git
https://github.com/Alamofire/AlamofireImage.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Fetching https://github.com/Alamofire/Alamofire.git
[1/31530] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (24.83s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.11.2 (26.86s)
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] Write sources
[2/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/44] Compiling Alamofire RequestTaskMap.swift
[6/44] Compiling Alamofire Response.swift
[7/44] Compiling Alamofire Session.swift
[8/44] Compiling Alamofire SessionDelegate.swift
[9/44] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[10/44] Compiling Alamofire UploadRequest.swift
[11/49] Compiling Alamofire OfflineRetrier.swift
[12/49] Compiling Alamofire RedirectHandler.swift
[13/49] Compiling Alamofire RequestCompression.swift
[14/49] Compiling Alamofire RequestInterceptor.swift
[15/49] Compiling Alamofire ResponseSerialization.swift
[16/49] Compiling Alamofire WebSocketRequest.swift
[17/49] Compiling Alamofire DispatchQueue+Alamofire.swift
[18/49] Compiling Alamofire OperationQueue+Alamofire.swift
[19/49] Compiling Alamofire Result+Alamofire.swift
[20/49] Compiling Alamofire StringEncoding+Alamofire.swift
[21/49] Compiling Alamofire URLRequest+Alamofire.swift
[22/49] Compiling Alamofire HTTPMethod.swift
[23/49] Compiling Alamofire Notifications.swift
[24/49] Compiling Alamofire ParameterEncoder.swift
[25/49] Compiling Alamofire ParameterEncoding.swift
[26/49] Compiling Alamofire Protected.swift
[27/49] Compiling Alamofire Request.swift
[28/49] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[29/49] Compiling Alamofire AlamofireExtended.swift
[30/49] Compiling Alamofire AuthenticationInterceptor.swift
[31/49] Compiling Alamofire CachedResponseHandler.swift
[32/49] Compiling Alamofire Combine.swift
[33/49] Compiling Alamofire Concurrency.swift
[34/49] Compiling Alamofire EventMonitor.swift
[35/49] Compiling Alamofire MultipartFormData.swift
[36/49] Compiling Alamofire MultipartUpload.swift
[37/49] Compiling Alamofire NetworkReachabilityManager.swift
[38/49] Compiling Alamofire Alamofire.swift
[39/49] Compiling Alamofire AFError.swift
[40/49] Compiling Alamofire DataRequest.swift
[41/49] Compiling Alamofire DataStreamRequest.swift
[42/49] Compiling Alamofire DownloadRequest.swift
[43/49] Compiling Alamofire HTTPHeaders.swift
[44/49] Emitting module Alamofire
[45/49] Compiling Alamofire RetryPolicy.swift
[46/49] Compiling Alamofire ServerTrustEvaluation.swift
[47/49] Compiling Alamofire URLEncodedFormEncoder.swift
[48/49] Compiling Alamofire Validation.swift
[49/49] Compiling Alamofire resource_bundle_accessor.swift
[51/59] 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:192: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
:
190 |
191 | synchronizationQueue.async(flags: [.barrier]) {
192 | 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
193 | let bytesToPurge = self.currentMemoryUsage - self.preferredMemoryUsageAfterPurge
194 |
/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]) {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/60] Compiling AlamofireImage AFIError.swift
[53/60] Compiling AlamofireImage Image.swift
[54/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/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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:42:37: warning: static property 'acceptableImageContentTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | public static var deviceScreenScale: CGFloat { DataRequest.imageScale }
41 |
42 | public internal(set) static var acceptableImageContentTypes: Set<String> = {
| |- warning: static property 'acceptableImageContentTypes' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'acceptableImageContentTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | // Universally supported image types.
44 | var contentTypes: Set = [
/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 'Sendable'; use '@unchecked Sendable'; 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 'Sendable'; use '@unchecked Sendable'; 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/UIImage+AlamofireImage.swift:389:16: warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
387 |
388 | private enum AssociatedKeys {
389 | static var isInflated = true
| |- warning: static property 'isInflated' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'isInflated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 | }
391 |
[55/60] Compiling AlamofireImage UIImage+AlamofireImage.swift
/host/spi-builder-workspace/Source/UIImage+AlamofireImage.swift:389:16: warning: static property 'isInflated' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
387 |
388 | private enum AssociatedKeys {
389 | static var isInflated = true
| |- warning: static property 'isInflated' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'isInflated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 | }
391 |
[56/60] Compiling AlamofireImage UIButton+AlamofireImage.swift
[57/60] Compiling AlamofireImage Request+AlamofireImage.swift
/host/spi-builder-workspace/Source/Request+AlamofireImage.swift:42:37: warning: static property 'acceptableImageContentTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | public static var deviceScreenScale: CGFloat { DataRequest.imageScale }
41 |
42 | public internal(set) static var acceptableImageContentTypes: Set<String> = {
| |- warning: static property 'acceptableImageContentTypes' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'acceptableImageContentTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | // Universally supported image types.
44 | var contentTypes: Set = [
/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 'Sendable'; use '@unchecked Sendable'; 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 'Sendable'; use '@unchecked Sendable'; 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,
[58/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 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) }
[59/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 | }()
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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.
[60/60] Compiling AlamofireImage UIImageView+AlamofireImage.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/41] Compiling Alamofire WebSocketRequest.swift
[3/41] Compiling Alamofire DispatchQueue+Alamofire.swift
[4/41] Compiling Alamofire OperationQueue+Alamofire.swift
[5/41] Compiling Alamofire Result+Alamofire.swift
[6/41] Compiling Alamofire StringEncoding+Alamofire.swift
[7/41] Compiling Alamofire URLRequest+Alamofire.swift
[8/46] Compiling Alamofire OfflineRetrier.swift
[9/46] Compiling Alamofire RedirectHandler.swift
[10/46] Compiling Alamofire RequestCompression.swift
[11/46] Compiling Alamofire RequestInterceptor.swift
[12/46] Compiling Alamofire ResponseSerialization.swift
[13/46] Emitting module Alamofire
[14/46] Compiling Alamofire RetryPolicy.swift
[15/46] Compiling Alamofire ServerTrustEvaluation.swift
[16/46] Compiling Alamofire URLEncodedFormEncoder.swift
[17/46] Compiling Alamofire Validation.swift
[18/46] Compiling Alamofire resource_bundle_accessor.swift
[19/46] Compiling Alamofire RequestTaskMap.swift
[20/46] Compiling Alamofire Response.swift
[21/46] Compiling Alamofire Session.swift
[22/46] Compiling Alamofire SessionDelegate.swift
[23/46] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[24/46] Compiling Alamofire UploadRequest.swift
[25/46] Compiling Alamofire HTTPMethod.swift
[26/46] Compiling Alamofire Notifications.swift
[27/46] Compiling Alamofire ParameterEncoder.swift
[28/46] Compiling Alamofire ParameterEncoding.swift
[29/46] Compiling Alamofire Protected.swift
[30/46] Compiling Alamofire Request.swift
[31/46] Compiling Alamofire Concurrency.swift
[32/46] Compiling Alamofire EventMonitor.swift
[33/46] Compiling Alamofire MultipartFormData.swift
[34/46] Compiling Alamofire MultipartUpload.swift
[35/46] Compiling Alamofire NetworkReachabilityManager.swift
[36/46] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[37/46] Compiling Alamofire AlamofireExtended.swift
[38/46] Compiling Alamofire AuthenticationInterceptor.swift
[39/46] Compiling Alamofire CachedResponseHandler.swift
[40/46] Compiling Alamofire Combine.swift
[41/46] Compiling Alamofire Alamofire.swift
[42/46] Compiling Alamofire AFError.swift
[43/46] Compiling Alamofire DataRequest.swift
[44/46] Compiling Alamofire DataStreamRequest.swift
[45/46] Compiling Alamofire DownloadRequest.swift
[46/46] Compiling Alamofire HTTPHeaders.swift
[48/56] 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) }
[49/57] Compiling AlamofireImage UIImage+AlamofireImage.swift
[50/57] Compiling AlamofireImage UIButton+AlamofireImage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/57] 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 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: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 'Sendable'; use '@unchecked Sendable'; 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 'Sendable'; use '@unchecked Sendable'; 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,
[52/57] Compiling AlamofireImage AFIError.swift
[53/57] Compiling AlamofireImage Image.swift
[54/57] Compiling AlamofireImage UIImageView+AlamofireImage.swift
[55/57] 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 'Sendable'; use '@unchecked Sendable'; 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 'Sendable'; use '@unchecked Sendable'; 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,
[56/57] 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]) {
[57/57] 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 | }()
BUILD FAILURE 6.1 linux