Build Information
Failed to build CodableAlamofire, reference master (a4313a
), with Swift 6.0 for Linux on 27 Nov 2024 07:45:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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.0
Building package at path: $PWD
https://github.com/Otbivnoe/CodableAlamofire.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Alamofire/Alamofire
[1/30017] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire from cache (3.86s)
Computing version for https://github.com/Alamofire/Alamofire
Computed https://github.com/Alamofire/Alamofire at 5.10.2 (0.65s)
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 URLRequest+Alamofire.swift
[17/48] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[18/48] Compiling Alamofire AlamofireExtended.swift
[19/48] Compiling Alamofire AuthenticationInterceptor.swift
[20/48] Compiling Alamofire CachedResponseHandler.swift
[21/48] Compiling Alamofire Combine.swift
[22/48] Compiling Alamofire Concurrency.swift
[23/48] Compiling Alamofire EventMonitor.swift
[24/48] Compiling Alamofire MultipartFormData.swift
[25/48] Compiling Alamofire MultipartUpload.swift
[26/48] Compiling Alamofire RequestTaskMap.swift
[27/48] Compiling Alamofire Response.swift
[28/48] Compiling Alamofire Session.swift
[29/48] Compiling Alamofire SessionDelegate.swift
[30/48] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[31/48] Compiling Alamofire UploadRequest.swift
[32/48] Compiling Alamofire RetryPolicy.swift
[33/48] Compiling Alamofire ServerTrustEvaluation.swift
[34/48] Compiling Alamofire URLEncodedFormEncoder.swift
[35/48] Compiling Alamofire Validation.swift
[36/48] Compiling Alamofire resource_bundle_accessor.swift
[37/48] Compiling Alamofire HTTPMethod.swift
[38/48] Compiling Alamofire Notifications.swift
[39/48] Compiling Alamofire ParameterEncoder.swift
[40/48] Compiling Alamofire ParameterEncoding.swift
[41/48] Compiling Alamofire Protected.swift
[42/48] Compiling Alamofire Request.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] 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 | }
[52/53] Emitting module CodableAlamofire
/host/spi-builder-workspace/Sources/CodableAlamofire/DataKeyPathSerializer.swift:11:22: warning: type 'SerializedObject' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | import Alamofire
10 |
11 | internal final class DataKeyPathSerializer<SerializedObject: Decodable>: DataResponseSerializerProtocol {
| `- warning: type 'SerializedObject' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |
13 | private let keyPath: String?
[53/53] Compiling CodableAlamofire DataKeyPathSerializer.swift
/host/spi-builder-workspace/Sources/CodableAlamofire/DataKeyPathSerializer.swift:11:22: warning: type 'SerializedObject' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 | import Alamofire
10 |
11 | internal final class DataKeyPathSerializer<SerializedObject: Decodable>: DataResponseSerializerProtocol {
| `- warning: type 'SerializedObject' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
12 |
13 | private let keyPath: String?
/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))
BUILD FAILURE 6.0 linux