Build Information
Failed to build AlamofireNetworkActivityLogger, reference 3.4.0 (8db9d4), with Swift 6.3 for Android on 12 Apr 2026 21:29:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/konkab/AlamofireNetworkActivityLogger.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/Alamofire/Alamofire.git
[1/31497] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.76s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.11.2 (3.94s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.11.2
Building for debugging...
[0/4] Copying PrivacyInfo.xcprivacy
[1/4] Write sources
[3/4] Write swift-version--4F562202D5529B1.txt
[5/44] Compiling Alamofire WebSocketRequest.swift
[6/44] Compiling Alamofire DispatchQueue+Alamofire.swift
[7/44] Compiling Alamofire OperationQueue+Alamofire.swift
[8/44] Compiling Alamofire Result+Alamofire.swift
[9/44] Compiling Alamofire StringEncoding+Alamofire.swift
[10/44] Compiling Alamofire URLRequest+Alamofire.swift
[11/49] Emitting module Alamofire
[12/49] Compiling Alamofire HTTPMethod.swift
[13/49] Compiling Alamofire Notifications.swift
[14/49] Compiling Alamofire ParameterEncoder.swift
[15/49] Compiling Alamofire ParameterEncoding.swift
[16/49] Compiling Alamofire Protected.swift
[17/49] Compiling Alamofire Request.swift
[18/49] Compiling Alamofire OfflineRetrier.swift
[19/49] Compiling Alamofire RedirectHandler.swift
[20/49] Compiling Alamofire RequestCompression.swift
[21/49] Compiling Alamofire RequestInterceptor.swift
[22/49] Compiling Alamofire ResponseSerialization.swift
[23/49] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[24/49] Compiling Alamofire AlamofireExtended.swift
[25/49] Compiling Alamofire AuthenticationInterceptor.swift
[26/49] Compiling Alamofire CachedResponseHandler.swift
[27/49] Compiling Alamofire Combine.swift
[28/49] Compiling Alamofire RequestTaskMap.swift
[29/49] Compiling Alamofire Response.swift
[30/49] Compiling Alamofire Session.swift
[31/49] Compiling Alamofire SessionDelegate.swift
[32/49] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[33/49] Compiling Alamofire UploadRequest.swift
[34/49] Compiling Alamofire Alamofire.swift
[35/49] Compiling Alamofire AFError.swift
[36/49] Compiling Alamofire DataRequest.swift
[37/49] Compiling Alamofire DataStreamRequest.swift
[38/49] Compiling Alamofire DownloadRequest.swift
[39/49] Compiling Alamofire HTTPHeaders.swift
[40/49] Compiling Alamofire Concurrency.swift
[41/49] Compiling Alamofire EventMonitor.swift
[42/49] Compiling Alamofire MultipartFormData.swift
[43/49] Compiling Alamofire MultipartUpload.swift
[44/49] Compiling Alamofire NetworkReachabilityManager.swift
[45/49] Compiling Alamofire RetryPolicy.swift
[46/49] Compiling Alamofire ServerTrustEvaluation.swift
[47/49] Compiling Alamofire URLEncodedFormEncoder.swift
[48/49] Compiling Alamofire Validation.swift
[49/49] Compiling Alamofire resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/52] 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,
[52/52] 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.3 android