Build Information
Failed to build AlamofireNetworkActivityLogger, reference main (82ca3f), with Swift 6.2 for Linux on 10 Apr 2026 00:52:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aporat/AlamofireNetworkActivityLogger.git
Reference: main
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/aporat/AlamofireNetworkActivityLogger
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 82ca3f8 Simplify prettyPrint function in AlamofireLogger
Cloned https://github.com/aporat/AlamofireNetworkActivityLogger.git
Revision (git rev-parse @):
82ca3f8410928b9481b6c91b760190032aada544
SUCCESS checkout https://github.com/aporat/AlamofireNetworkActivityLogger.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/aporat/AlamofireNetworkActivityLogger.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/Alamofire/Alamofire.git
[1/31483] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.87s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.11.2 (4.60s)
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/5] Write sources
[0/5] Copying PrivacyInfo.xcprivacy
[1/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/45] Emitting module Alamofire
[7/50] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[8/50] Compiling Alamofire AlamofireExtended.swift
[9/50] Compiling Alamofire AuthenticationInterceptor.swift
[10/50] Compiling Alamofire CachedResponseHandler.swift
[11/50] Compiling Alamofire Combine.swift
[12/50] Compiling Alamofire OfflineRetrier.swift
[13/50] Compiling Alamofire RedirectHandler.swift
[14/50] Compiling Alamofire RequestCompression.swift
[15/50] Compiling Alamofire RequestInterceptor.swift
[16/50] Compiling Alamofire ResponseSerialization.swift
[17/50] Compiling Alamofire WebSocketRequest.swift
[18/50] Compiling Alamofire DispatchQueue+Alamofire.swift
[19/50] Compiling Alamofire OperationQueue+Alamofire.swift
[20/50] Compiling Alamofire Result+Alamofire.swift
[21/50] Compiling Alamofire StringEncoding+Alamofire.swift
[22/50] Compiling Alamofire URLRequest+Alamofire.swift
[23/50] Compiling Alamofire RetryPolicy.swift
[24/50] Compiling Alamofire ServerTrustEvaluation.swift
[25/50] Compiling Alamofire URLEncodedFormEncoder.swift
[26/50] Compiling Alamofire Validation.swift
[27/50] Compiling Alamofire resource_bundle_accessor.swift
[28/50] Compiling Alamofire RequestTaskMap.swift
[29/50] Compiling Alamofire Response.swift
[30/50] Compiling Alamofire Session.swift
[31/50] Compiling Alamofire SessionDelegate.swift
[32/50] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[33/50] Compiling Alamofire UploadRequest.swift
[34/50] Compiling Alamofire HTTPMethod.swift
[35/50] Compiling Alamofire Notifications.swift
[36/50] Compiling Alamofire ParameterEncoder.swift
[37/50] Compiling Alamofire ParameterEncoding.swift
[38/50] Compiling Alamofire Protected.swift
[39/50] Compiling Alamofire Request.swift
[40/50] Compiling Alamofire Concurrency.swift
[41/50] Compiling Alamofire EventMonitor.swift
[42/50] Compiling Alamofire MultipartFormData.swift
[43/50] Compiling Alamofire MultipartUpload.swift
[44/50] Compiling Alamofire NetworkReachabilityManager.swift
[45/50] Compiling Alamofire Alamofire.swift
[46/50] Compiling Alamofire AFError.swift
[47/50] Compiling Alamofire DataRequest.swift
[48/50] Compiling Alamofire DataStreamRequest.swift
[49/50] Compiling Alamofire DownloadRequest.swift
[50/50] Compiling Alamofire HTTPHeaders.swift
[52/54] Emitting module AlamofireNetworkActivityLogger
[53/54] Compiling AlamofireNetworkActivityLogger resource_bundle_accessor.swift
[54/54] Compiling AlamofireNetworkActivityLogger AlamofireLogger.swift
/host/spi-builder-workspace/Sources/AlamofireLogger.swift:69:66: error: value of type 'NotificationCenter' has no member 'notifications'
67 |
68 | observationTask = Task { [weak self] in
69 | for await notification in NotificationCenter.default.notifications(named: Request.didFinishNotification) {
| `- error: value of type 'NotificationCenter' has no member 'notifications'
70 | guard let snap = self?.snapshot(from: notification) else { continue }
71 | await self?.handle(snap)
BUILD FAILURE 6.2 linux