Build Information
Failed to build AlamofireNetworkActivityLogger, reference 3.4.0 (8db9d4), with Swift 6.2 for Linux on 19 Jun 2025 09:32:23 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/konkab/AlamofireNetworkActivityLogger.git
Reference: 3.4.0
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/konkab/AlamofireNetworkActivityLogger
* tag 3.4.0 -> FETCH_HEAD
HEAD is now at 8db9d4e Update to Alamofire 5.4
Submodule path 'Carthage/Checkouts/Alamofire': checked out '9e0328127dfb801cefe8ac53a13c0c90a7770448'
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/konkab/AlamofireNetworkActivityLogger.git
Revision (git rev-parse @):
8db9d4e27176905298e7215e3d800e349cdfa30b
SUCCESS checkout https://github.com/konkab/AlamofireNetworkActivityLogger.git at 3.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/konkab/AlamofireNetworkActivityLogger.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.git
[1/30141] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (5.32s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (6.14s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Building for debugging...
[0/4] Write sources
[0/4] Copying PrivacyInfo.xcprivacy
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/43] Compiling Alamofire Combine.swift
[6/43] Compiling Alamofire Concurrency.swift
[7/43] Compiling Alamofire EventMonitor.swift
[8/43] Compiling Alamofire MultipartFormData.swift
[9/43] Compiling Alamofire MultipartUpload.swift
[10/48] Compiling Alamofire HTTPMethod.swift
[11/48] Compiling Alamofire Notifications.swift
[12/48] Compiling Alamofire ParameterEncoder.swift
[13/48] Compiling Alamofire ParameterEncoding.swift
[14/48] Compiling Alamofire Protected.swift
[15/48] Compiling Alamofire Request.swift
[16/48] Compiling Alamofire WebSocketRequest.swift
[17/48] Compiling Alamofire DispatchQueue+Alamofire.swift
[18/48] Compiling Alamofire OperationQueue+Alamofire.swift
[19/48] Compiling Alamofire Result+Alamofire.swift
[20/48] Compiling Alamofire StringEncoding+Alamofire.swift
[21/48] Compiling Alamofire URLRequest+Alamofire.swift
[22/48] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[23/48] Compiling Alamofire AlamofireExtended.swift
[24/48] Compiling Alamofire AuthenticationInterceptor.swift
[25/48] Compiling Alamofire CachedResponseHandler.swift
[26/48] Compiling Alamofire NetworkReachabilityManager.swift
[27/48] Compiling Alamofire RedirectHandler.swift
[28/48] Compiling Alamofire RequestCompression.swift
[29/48] Compiling Alamofire RequestInterceptor.swift
[30/48] Compiling Alamofire ResponseSerialization.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] Emitting module Alamofire
[38/48] Compiling Alamofire Alamofire.swift
[39/48] Compiling Alamofire AFError.swift
[40/48] Compiling Alamofire DataRequest.swift
[41/48] Compiling Alamofire DataStreamRequest.swift
[42/48] Compiling Alamofire DownloadRequest.swift
[43/48] Compiling Alamofire HTTPHeaders.swift
[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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/51] Emitting module AlamofireNetworkActivityLogger
/host/spi-builder-workspace/Source/NetworkActivityLogger.swift:106:6: error: Objective-C interoperability is disabled
104 | // MARK: - Private - Notifications
105 |
106 | @objc private func requestDidStart(notification: Notification) {
| `- error: Objective-C interoperability is disabled
107 | queue.async {
108 | guard let dataRequest = notification.request as? DataRequest,
/host/spi-builder-workspace/Source/NetworkActivityLogger.swift:140:6: error: Objective-C interoperability is disabled
138 | }
139 |
140 | @objc private func requestDidFinish(notification: Notification) {
| `- error: Objective-C interoperability is disabled
141 | queue.async {
142 | guard let dataRequest = notification.request as? DataRequest,
[51/51] Compiling AlamofireNetworkActivityLogger NetworkActivityLogger.swift
/host/spi-builder-workspace/Source/NetworkActivityLogger.swift:106:6: error: Objective-C interoperability is disabled
104 | // MARK: - Private - Notifications
105 |
106 | @objc private func requestDidStart(notification: Notification) {
| `- error: Objective-C interoperability is disabled
107 | queue.async {
108 | guard let dataRequest = notification.request as? DataRequest,
/host/spi-builder-workspace/Source/NetworkActivityLogger.swift:140:6: error: Objective-C interoperability is disabled
138 | }
139 |
140 | @objc private func requestDidFinish(notification: Notification) {
| `- error: Objective-C interoperability is disabled
141 | queue.async {
142 | guard let dataRequest = notification.request as? DataRequest,
/host/spi-builder-workspace/Source/NetworkActivityLogger.swift:86:23: error: '#selector' can only be used with the Objective-C runtime
84 | notificationCenter.addObserver(
85 | self,
86 | selector: #selector(NetworkActivityLogger.requestDidStart(notification:)),
| `- error: '#selector' can only be used with the Objective-C runtime
87 | name: Request.didResumeNotification,
88 | object: nil
/host/spi-builder-workspace/Source/NetworkActivityLogger.swift:93:23: error: '#selector' can only be used with the Objective-C runtime
91 | notificationCenter.addObserver(
92 | self,
93 | selector: #selector(NetworkActivityLogger.requestDidFinish(notification:)),
| `- error: '#selector' can only be used with the Objective-C runtime
94 | name: Request.didFinishNotification,
95 | object: nil
/host/spi-builder-workspace/Source/NetworkActivityLogger.swift:108:37: warning: capture of 'notification' with non-Sendable type 'Notification' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
106 | @objc private func requestDidStart(notification: Notification) {
107 | queue.async {
108 | guard let dataRequest = notification.request as? DataRequest,
| `- warning: capture of 'notification' with non-Sendable type 'Notification' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
109 | let task = dataRequest.task,
110 | let request = task.originalRequest,
Foundation.Notification:1:15: note: struct 'Notification' does not conform to the 'Sendable' protocol
1 | public struct Notification : ReferenceConvertible, Equatable, Hashable {
| `- note: struct 'Notification' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSNotification
3 | public var name: Notification.Name
/host/spi-builder-workspace/Source/NetworkActivityLogger.swift:142:37: warning: capture of 'notification' with non-Sendable type 'Notification' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
140 | @objc private func requestDidFinish(notification: Notification) {
141 | queue.async {
142 | guard let dataRequest = notification.request as? DataRequest,
| `- warning: capture of 'notification' with non-Sendable type 'Notification' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
143 | let task = dataRequest.task,
144 | let metrics = dataRequest.metrics,
Foundation.Notification:1:15: note: struct 'Notification' does not conform to the 'Sendable' protocol
1 | public struct Notification : ReferenceConvertible, Equatable, Hashable {
| `- note: struct 'Notification' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSNotification
3 | public var name: Notification.Name
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
BUILD FAILURE 6.2 linux