Build Information
Failed to build CodableAlamofire, reference 1.2.1 (a4313a
), with Swift 6.1 for Linux on 25 Apr 2025 16:32:21 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path: $PWD
https://github.com/Otbivnoe/CodableAlamofire.git
https://github.com/Otbivnoe/CodableAlamofire.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire"
}
],
"manifest_display_name" : "CodableAlamofire",
"name" : "CodableAlamofire",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
},
{
"name" : "macos",
"version" : "10.12"
}
],
"products" : [
{
"name" : "CodableAlamofire",
"targets" : [
"CodableAlamofire"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"5"
],
"targets" : [
{
"c99name" : "CodableAlamofireTests",
"module_type" : "SwiftTarget",
"name" : "CodableAlamofireTests",
"path" : "Tests/CodableAlamofireTests",
"sources" : [
"MainTests.swift"
],
"target_dependencies" : [
"CodableAlamofire"
],
"type" : "test"
},
{
"c99name" : "CodableAlamofire",
"module_type" : "SwiftTarget",
"name" : "CodableAlamofire",
"path" : "Sources/CodableAlamofire",
"product_dependencies" : [
"Alamofire"
],
"product_memberships" : [
"CodableAlamofire"
],
"sources" : [
"AlamofireDecodableError.swift",
"DataKeyPathSerializer.swift",
"DataRequest+Decodable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Alamofire/Alamofire
[1/30137] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire from cache (3.04s)
Computing version for https://github.com/Alamofire/Alamofire
Computed https://github.com/Alamofire/Alamofire at 5.10.2 (3.57s)
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
[0/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/43] Emitting module Alamofire
[6/48] Compiling Alamofire WebSocketRequest.swift
[7/48] Compiling Alamofire DispatchQueue+Alamofire.swift
[8/48] Compiling Alamofire OperationQueue+Alamofire.swift
[9/48] Compiling Alamofire Result+Alamofire.swift
[10/48] Compiling Alamofire StringEncoding+Alamofire.swift
[11/48] Compiling Alamofire NetworkReachabilityManager.swift
[12/48] Compiling Alamofire RedirectHandler.swift
[13/48] Compiling Alamofire RequestCompression.swift
[14/48] Compiling Alamofire RequestInterceptor.swift
[15/48] Compiling Alamofire ResponseSerialization.swift
[16/48] Compiling Alamofire RetryPolicy.swift
[17/48] Compiling Alamofire ServerTrustEvaluation.swift
[18/48] Compiling Alamofire URLEncodedFormEncoder.swift
[19/48] Compiling Alamofire Validation.swift
[20/48] Compiling Alamofire resource_bundle_accessor.swift
[21/48] Compiling Alamofire HTTPMethod.swift
[22/48] Compiling Alamofire Notifications.swift
[23/48] Compiling Alamofire ParameterEncoder.swift
[24/48] Compiling Alamofire ParameterEncoding.swift
[25/48] Compiling Alamofire Protected.swift
[26/48] Compiling Alamofire Request.swift
[27/48] Compiling Alamofire RequestTaskMap.swift
[28/48] Compiling Alamofire Response.swift
[29/48] Compiling Alamofire Session.swift
[30/48] Compiling Alamofire SessionDelegate.swift
[31/48] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[32/48] Compiling Alamofire UploadRequest.swift
[33/48] Compiling Alamofire Combine.swift
[34/48] Compiling Alamofire Concurrency.swift
[35/48] Compiling Alamofire EventMonitor.swift
[36/48] Compiling Alamofire MultipartFormData.swift
[37/48] Compiling Alamofire MultipartUpload.swift
[38/48] Compiling Alamofire URLRequest+Alamofire.swift
[39/48] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[40/48] Compiling Alamofire AlamofireExtended.swift
[41/48] Compiling Alamofire AuthenticationInterceptor.swift
[42/48] Compiling Alamofire CachedResponseHandler.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 DataRequest+Decodable.swift
/host/spi-builder-workspace/Sources/CodableAlamofire/DataRequest+Decodable.swift:30:44: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
25 | keyPath: String? = nil,
26 | decoder: JSONDecoder = JSONDecoder(),
27 | completionHandler: @escaping (AFDataResponse<T>) -> Void) -> Self {
| `- note: parameter 'completionHandler' is implicitly non-sendable
28 | return response(queue: queue,
29 | responseSerializer: DataKeyPathSerializer<T>(keyPath: keyPath, decoder: decoder),
30 | completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
31 | }
32 | }
[51/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.
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.
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))
[52/53] Compiling CodableAlamofire AlamofireDecodableError.swift
[53/53] Emitting module CodableAlamofire
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/40] Compiling Alamofire URLRequest+Alamofire.swift
[3/40] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[4/40] Compiling Alamofire AlamofireExtended.swift
[5/40] Compiling Alamofire AuthenticationInterceptor.swift
[6/40] Compiling Alamofire CachedResponseHandler.swift
[7/45] Emitting module Alamofire
[8/45] Compiling Alamofire NetworkReachabilityManager.swift
[9/45] Compiling Alamofire RedirectHandler.swift
[10/45] Compiling Alamofire RequestCompression.swift
[11/45] Compiling Alamofire RequestInterceptor.swift
[12/45] Compiling Alamofire ResponseSerialization.swift
[13/45] Compiling Alamofire HTTPMethod.swift
[14/45] Compiling Alamofire Notifications.swift
[15/45] Compiling Alamofire ParameterEncoder.swift
[16/45] Compiling Alamofire ParameterEncoding.swift
[17/45] Compiling Alamofire Protected.swift
[18/45] Compiling Alamofire Request.swift
[19/45] Compiling Alamofire RequestTaskMap.swift
[20/45] Compiling Alamofire Response.swift
[21/45] Compiling Alamofire Session.swift
[22/45] Compiling Alamofire SessionDelegate.swift
[23/45] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[24/45] Compiling Alamofire UploadRequest.swift
[25/45] Compiling Alamofire Combine.swift
[26/45] Compiling Alamofire Concurrency.swift
[27/45] Compiling Alamofire EventMonitor.swift
[28/45] Compiling Alamofire MultipartFormData.swift
[29/45] Compiling Alamofire MultipartUpload.swift
[30/45] Compiling Alamofire WebSocketRequest.swift
[31/45] Compiling Alamofire DispatchQueue+Alamofire.swift
[32/45] Compiling Alamofire OperationQueue+Alamofire.swift
[33/45] Compiling Alamofire Result+Alamofire.swift
[34/45] Compiling Alamofire StringEncoding+Alamofire.swift
[35/45] Compiling Alamofire RetryPolicy.swift
[36/45] Compiling Alamofire ServerTrustEvaluation.swift
[37/45] Compiling Alamofire URLEncodedFormEncoder.swift
[38/45] Compiling Alamofire Validation.swift
[39/45] Compiling Alamofire resource_bundle_accessor.swift
[40/45] Compiling Alamofire Alamofire.swift
[41/45] Compiling Alamofire AFError.swift
[42/45] Compiling Alamofire DataRequest.swift
[43/45] Compiling Alamofire DataStreamRequest.swift
[44/45] Compiling Alamofire DownloadRequest.swift
[45/45] Compiling Alamofire HTTPHeaders.swift
[47/50] Compiling CodableAlamofire DataRequest+Decodable.swift
[48/50] 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.
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.
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))
[49/50] Compiling CodableAlamofire AlamofireDecodableError.swift
[50/50] Emitting module CodableAlamofire
BUILD FAILURE 6.1 linux