Build Information
Failed to build CodableAlamofire, reference master (a4313a
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 07:31:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: 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/Otbivnoe/CodableAlamofire
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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-4606859-1":/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 (4.17s)
Computing version for https://github.com/Alamofire/Alamofire
Computed https://github.com/Alamofire/Alamofire at 5.10.2 (4.88s)
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] Compiling Alamofire URLRequest+Alamofire.swift
[6/43] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[7/43] Compiling Alamofire AlamofireExtended.swift
[8/43] Compiling Alamofire AuthenticationInterceptor.swift
[9/43] Compiling Alamofire CachedResponseHandler.swift
[10/43] Compiling Alamofire WebSocketRequest.swift
[11/43] Compiling Alamofire DispatchQueue+Alamofire.swift
[12/43] Compiling Alamofire OperationQueue+Alamofire.swift
[13/43] Compiling Alamofire Result+Alamofire.swift
[14/43] Compiling Alamofire StringEncoding+Alamofire.swift
[15/48] Compiling Alamofire NetworkReachabilityManager.swift
[16/48] Compiling Alamofire RedirectHandler.swift
[17/48] Compiling Alamofire RequestCompression.swift
[18/48] Compiling Alamofire RequestInterceptor.swift
[19/48] Compiling Alamofire ResponseSerialization.swift
[20/48] Compiling Alamofire Combine.swift
[21/48] Compiling Alamofire Concurrency.swift
[22/48] Compiling Alamofire EventMonitor.swift
[23/48] Compiling Alamofire MultipartFormData.swift
[24/48] Compiling Alamofire MultipartUpload.swift
[25/48] Compiling Alamofire HTTPMethod.swift
[26/48] Compiling Alamofire Notifications.swift
[27/48] Compiling Alamofire ParameterEncoder.swift
[28/48] Compiling Alamofire ParameterEncoding.swift
[29/48] Compiling Alamofire Protected.swift
[30/48] Compiling Alamofire Request.swift
[31/48] Compiling Alamofire RequestTaskMap.swift
[32/48] Compiling Alamofire Response.swift
[33/48] Compiling Alamofire Session.swift
[34/48] Compiling Alamofire SessionDelegate.swift
[35/48] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[36/48] Compiling Alamofire UploadRequest.swift
[37/48] Compiling Alamofire Alamofire.swift
[38/48] Compiling Alamofire AFError.swift
[39/48] Compiling Alamofire DataRequest.swift
[40/48] Compiling Alamofire DataStreamRequest.swift
[41/48] Compiling Alamofire DownloadRequest.swift
[42/48] Compiling Alamofire HTTPHeaders.swift
[43/48] Emitting module Alamofire
[44/48] Compiling Alamofire RetryPolicy.swift
[45/48] Compiling Alamofire ServerTrustEvaluation.swift
[46/48] Compiling Alamofire URLEncodedFormEncoder.swift
[47/48] Compiling Alamofire Validation.swift
[48/48] Compiling Alamofire resource_bundle_accessor.swift
[50/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>
[51/53] Compiling CodableAlamofire DataRequest+Decodable.swift
[52/53] Emitting module CodableAlamofire
[53/53] Compiling CodableAlamofire AlamofireDecodableError.swift
BUILD FAILURE 6.2 linux