The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build CodableAlamofire, reference 1.2.1 (a4313a), with Swift 6.2 (beta) for Linux on 18 Jun 2025 07:31:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Otbivnoe/CodableAlamofire.git
Reference: 1.2.1
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/Otbivnoe/CodableAlamofire
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at a4313aa Merge pull request #16 from Otbivnoe/update-alamofire-v5.1
Submodule path 'Carthage/Checkouts/Alamofire': checked out 'fca036f7aeca07124067cb6e0c12b0ad6359e3d4'
Submodule 'Carthage/Checkouts/Alamofire' (https://github.com/Alamofire/Alamofire.git) registered for path 'Carthage/Checkouts/Alamofire'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Alamofire'...
Cloned https://github.com/Otbivnoe/CodableAlamofire.git
Revision (git rev-parse @):
a4313aa4bc09c09703f7ba71ab1300059abbde24
SUCCESS checkout https://github.com/Otbivnoe/CodableAlamofire.git at 1.2.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Otbivnoe/CodableAlamofire.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Alamofire/Alamofire
[1/30141] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire from cache (3.58s)
Computing version for https://github.com/Alamofire/Alamofire
Computed https://github.com/Alamofire/Alamofire at 5.10.2 (4.39s)
Creating working copy for https://github.com/Alamofire/Alamofire
Working copy of https://github.com/Alamofire/Alamofire resolved at 5.10.2
Building for debugging...
[0/4] Write sources
[1/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/43] Emitting module Alamofire
[6/48] Compiling Alamofire RequestTaskMap.swift
[7/48] Compiling Alamofire Response.swift
[8/48] Compiling Alamofire Session.swift
[9/48] Compiling Alamofire SessionDelegate.swift
[10/48] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[11/48] Compiling Alamofire UploadRequest.swift
[12/48] Compiling Alamofire RetryPolicy.swift
[13/48] Compiling Alamofire ServerTrustEvaluation.swift
[14/48] Compiling Alamofire URLEncodedFormEncoder.swift
[15/48] Compiling Alamofire Validation.swift
[16/48] Compiling Alamofire resource_bundle_accessor.swift
[17/48] Compiling Alamofire URLRequest+Alamofire.swift
[18/48] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[19/48] Compiling Alamofire AlamofireExtended.swift
[20/48] Compiling Alamofire AuthenticationInterceptor.swift
[21/48] Compiling Alamofire CachedResponseHandler.swift
[22/48] Compiling Alamofire HTTPMethod.swift
[23/48] Compiling Alamofire Notifications.swift
[24/48] Compiling Alamofire ParameterEncoder.swift
[25/48] Compiling Alamofire ParameterEncoding.swift
[26/48] Compiling Alamofire Protected.swift
[27/48] Compiling Alamofire Request.swift
[28/48] Compiling Alamofire Combine.swift
[29/48] Compiling Alamofire Concurrency.swift
[30/48] Compiling Alamofire EventMonitor.swift
[31/48] Compiling Alamofire MultipartFormData.swift
[32/48] Compiling Alamofire MultipartUpload.swift
[33/48] Compiling Alamofire WebSocketRequest.swift
[34/48] Compiling Alamofire DispatchQueue+Alamofire.swift
[35/48] Compiling Alamofire OperationQueue+Alamofire.swift
[36/48] Compiling Alamofire Result+Alamofire.swift
[37/48] Compiling Alamofire StringEncoding+Alamofire.swift
[38/48] Compiling Alamofire NetworkReachabilityManager.swift
[39/48] Compiling Alamofire RedirectHandler.swift
[40/48] Compiling Alamofire RequestCompression.swift
[41/48] Compiling Alamofire RequestInterceptor.swift
[42/48] Compiling Alamofire ResponseSerialization.swift
[43/48] Compiling Alamofire Alamofire.swift
[44/48] Compiling Alamofire AFError.swift
[45/48] Compiling Alamofire DataRequest.swift
[46/48] Compiling Alamofire DataStreamRequest.swift
[47/48] Compiling Alamofire DownloadRequest.swift
[48/48] Compiling Alamofire HTTPHeaders.swift
[50/53] Compiling CodableAlamofire AlamofireDecodableError.swift
[51/53] Emitting module CodableAlamofire
[52/53] Compiling CodableAlamofire DataRequest+Decodable.swift
[53/53] Compiling CodableAlamofire DataKeyPathSerializer.swift
/host/spi-builder-workspace/Sources/CodableAlamofire/DataKeyPathSerializer.swift:31:28: warning: 'JSONResponseSerializer' is deprecated: JSONResponseSerializer deprecated and will be removed in Alamofire 6. Use DecodableResponseSerializer instead. [#DeprecatedDeclaration]
29 |             }
30 |
31 |             let json = try JSONResponseSerializer().serialize(request: nil, response: response, data: data, error: nil)
   |                            `- warning: 'JSONResponseSerializer' is deprecated: JSONResponseSerializer deprecated and will be removed in Alamofire 6. Use DecodableResponseSerializer instead. [#DeprecatedDeclaration]
32 |             if let nestedJson = (json as AnyObject).value(forKeyPath: keyPath) {
33 |                 guard JSONSerialization.isValidJSONObject(nestedJson) else {
/host/spi-builder-workspace/Sources/CodableAlamofire/DataKeyPathSerializer.swift:32:53: error: value of type 'AnyObject' has no member 'value'
30 |
31 |             let json = try JSONResponseSerializer().serialize(request: nil, response: response, data: data, error: nil)
32 |             if let nestedJson = (json as AnyObject).value(forKeyPath: keyPath) {
   |                                                     `- error: value of type 'AnyObject' has no member 'value'
33 |                 guard JSONSerialization.isValidJSONObject(nestedJson) else {
34 |                     throw AFError.responseSerializationFailed(reason: .decodingFailed(error: AlamofireDecodableError.invalidJSON))
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.2 linux