Build Information
Failed to build AlamofireNetworkActivityLogger, reference master (8db9d4), with Swift 6.3 for Linux on 12 Apr 2026 21:30:39 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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/konkab/AlamofireNetworkActivityLogger.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/konkab/AlamofireNetworkActivityLogger
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: linux
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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/Alamofire/Alamofire.git
[1/31497] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.83s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.11.2 (4.24s)
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-24593BA9C3E375BF.txt
[5/44] Emitting module Alamofire
[6/49] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[7/49] Compiling Alamofire AlamofireExtended.swift
[8/49] Compiling Alamofire AuthenticationInterceptor.swift
[9/49] Compiling Alamofire CachedResponseHandler.swift
[10/49] Compiling Alamofire Combine.swift
[11/49] Compiling Alamofire OfflineRetrier.swift
[12/49] Compiling Alamofire RedirectHandler.swift
[13/49] Compiling Alamofire RequestCompression.swift
[14/49] Compiling Alamofire RequestInterceptor.swift
[15/49] Compiling Alamofire ResponseSerialization.swift
[16/49] Compiling Alamofire RetryPolicy.swift
[17/49] Compiling Alamofire ServerTrustEvaluation.swift
[18/49] Compiling Alamofire URLEncodedFormEncoder.swift
[19/49] Compiling Alamofire Validation.swift
[20/49] Compiling Alamofire resource_bundle_accessor.swift
[21/49] Compiling Alamofire HTTPMethod.swift
[22/49] Compiling Alamofire Notifications.swift
[23/49] Compiling Alamofire ParameterEncoder.swift
[24/49] Compiling Alamofire ParameterEncoding.swift
[25/49] Compiling Alamofire Protected.swift
[26/49] Compiling Alamofire Request.swift
[27/49] Compiling Alamofire RequestTaskMap.swift
[28/49] Compiling Alamofire Response.swift
[29/49] Compiling Alamofire Session.swift
[30/49] Compiling Alamofire SessionDelegate.swift
[31/49] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[32/49] Compiling Alamofire UploadRequest.swift
[33/49] Compiling Alamofire Concurrency.swift
[34/49] Compiling Alamofire EventMonitor.swift
[35/49] Compiling Alamofire MultipartFormData.swift
[36/49] Compiling Alamofire MultipartUpload.swift
[37/49] Compiling Alamofire NetworkReachabilityManager.swift
[38/49] Compiling Alamofire WebSocketRequest.swift
[39/49] Compiling Alamofire DispatchQueue+Alamofire.swift
[40/49] Compiling Alamofire OperationQueue+Alamofire.swift
[41/49] Compiling Alamofire Result+Alamofire.swift
[42/49] Compiling Alamofire StringEncoding+Alamofire.swift
[43/49] Compiling Alamofire URLRequest+Alamofire.swift
[44/49] Compiling Alamofire Alamofire.swift
[45/49] Compiling Alamofire AFError.swift
[46/49] Compiling Alamofire DataRequest.swift
[47/49] Compiling Alamofire DataStreamRequest.swift
[48/49] Compiling Alamofire DownloadRequest.swift
[49/49] Compiling Alamofire HTTPHeaders.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 linux