The Swift Package Index logo.Swift Package Index

Build Information

Failed to build URLRequestOperation, reference 1.1.11 (cafea3), with Swift 6.4 for Linux on 18 Sep 2026 21:48:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/happn-app/URLRequestOperation.git
Reference: 1.1.11
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/happn-app/URLRequestOperation
 * tag               1.1.11     -> FETCH_HEAD
HEAD is now at cafea35 Merge pull request #7 from happn-app/remove_async_operation_result
Cloned https://github.com/happn-app/URLRequestOperation.git
Revision (git rev-parse @):
cafea350e06f73dfd82f20f926088fb62aed0eec
SUCCESS checkout https://github.com/happn-app/URLRequestOperation.git at 1.1.11
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/happn-app/URLRequestOperation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/happn-app/RetryingOperation.git
Fetching https://github.com/happn-app/SemiSingleton.git
[1/395] Fetching retryingoperation
[396/816] Fetching retryingoperation, semisingleton
[472/8912] Fetching retryingoperation, semisingleton, swift-log
Fetched https://github.com/happn-app/SemiSingleton.git (0.46s)
Fetched https://github.com/happn-app/RetryingOperation.git (0.46s)
[324/8096] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.57s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.0.5 (0.76s)
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
[1/178] Fetching recursivesyncdispatch
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git (0.43s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (0.62s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.8 (0.19s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.22s)
Creating working copy for https://github.com/happn-app/SemiSingleton.git
Working copy of https://github.com/happn-app/SemiSingleton.git resolved at 2.0.5
Creating working copy for https://github.com/happn-app/RecursiveSyncDispatch.git
Working copy of https://github.com/happn-app/RecursiveSyncDispatch.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/happn-app/RetryingOperation.git
Working copy of https://github.com/happn-app/RetryingOperation.git resolved at 1.1.8
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 215]
[Starting]
[57 / 99] Logging
[58 / 99] Logging
[59 / 99] Logging
[74 / 110] RetryingOperation
[76 / 110] SemiSingleton
[87 / 110] SemiSingleton-product
[89 / 110] SemiSingleton-product
[96 / 122] URLRequestOperation
[100 / 123] SemiSingleton
[102 / 123] URLRequestOperation
[107 / 123] Logging
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationSessionDelegate.swift:23:12: warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 |
23 | open class URLRequestOperationSessionDelegate : GenericURLSessionDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
   |            `- warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
24 |
25 | 	public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationSessionDelegate.swift:29:116: warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
23 | open class URLRequestOperationSessionDelegate : GenericURLSessionDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
24 |
25 | 	public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
   |                                                                                                                `- note: parameter 'completionHandler' is implicitly non-Sendable
26 | 		#if !os(Linux)
27 | 			taskDelegateForTask(dataTask)?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler)
28 | 		#else
29 | 			taskDelegateForTask(dataTask)?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler)
   |                                                                                                                    `- warning: passing non-Sendable parameter 'completionHandler' to function expecting a '@Sendable' closure
30 | 		#endif
31 | 	}
/host/spi-builder-workspace/Sources/URLRequestOperation/GenericURLSessionDelegate.swift:37:12: warning: non-final class 'GenericURLSessionDelegate' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
35 | The URLSessionDelegates and URLSessionTask are not retained by this class (weak
36 | references). */
37 | open class GenericURLSessionDelegate : NSObject, URLSessionDelegate {
   |            `- warning: non-final class 'GenericURLSessionDelegate' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
38 |
39 | 	public func setTaskDelegate(_ delegate: AnyObject & URLSessionTaskDelegate, forTask task: URLSessionTask) {
/host/spi-builder-workspace/Sources/URLRequestOperation/GenericURLSessionDelegate.swift:67:15: warning: stored property 'taskToDelegate' of 'Sendable'-conforming class 'GenericURLSessionDelegate' is mutable; this is an error in the Swift 6 language mode
65 | 		private var taskToDelegate = NSMapTable<URLSessionTask, URLSessionTaskDelegate>.weakToWeakObjects()
66 | 	#else
67 | 		private var taskToDelegate = LinuxWeakToWeakForGenericURLSessionDelegateMapTable()
   |               `- warning: stored property 'taskToDelegate' of 'Sendable'-conforming class 'GenericURLSessionDelegate' is mutable; this is an error in the Swift 6 language mode
68 | 	#endif
69 |
[109 / 123]
/host/spi-builder-workspace/Sources/URLRequestOperation/GenericURLSessionDelegate.swift:37:12: warning: non-final class 'GenericURLSessionDelegate' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
35 | The URLSessionDelegates and URLSessionTask are not retained by this class (weak
36 | references). */
37 | open class GenericURLSessionDelegate : NSObject, URLSessionDelegate {
   |            `- warning: non-final class 'GenericURLSessionDelegate' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
38 |
39 | 	public func setTaskDelegate(_ delegate: AnyObject & URLSessionTaskDelegate, forTask task: URLSessionTask) {
/host/spi-builder-workspace/Sources/URLRequestOperation/GenericURLSessionDelegate.swift:67:15: warning: stored property 'taskToDelegate' of 'Sendable'-conforming class 'GenericURLSessionDelegate' is mutable; this is an error in the Swift 6 language mode
65 | 		private var taskToDelegate = NSMapTable<URLSessionTask, URLSessionTaskDelegate>.weakToWeakObjects()
66 | 	#else
67 | 		private var taskToDelegate = LinuxWeakToWeakForGenericURLSessionDelegateMapTable()
   |               `- warning: stored property 'taskToDelegate' of 'Sendable'-conforming class 'GenericURLSessionDelegate' is mutable; this is an error in the Swift 6 language mode
68 | 	#endif
69 |
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperation.swift:108:12: warning: class 'URLRequestOperation' must restate inherited '@unchecked Sendable' conformance
 106 |      If the operation is told to be retried, when it is retried, we simply go
 107 |      back to step 2. (The URL is re-processed, etc.) */
 108 | open class URLRequestOperation : RetryingOperation, URLSessionDataDelegate, URLSessionDownloadDelegate {
     |            `- warning: class 'URLRequestOperation' must restate inherited '@unchecked Sendable' conformance
 109 |
 110 | 	public enum URLRequestOperationError : Int, Error {
/host/spi-builder-workspace/Sources/URLRequestOperation/URLRequestOperationSessionDelegate.swift:23:12: warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 |
23 | open class URLRequestOperationSessionDelegate : GenericURLSessionDelegate, URLSessionDataDelegate, URLSessionDownloadDelegate {
   |            `- warning: non-final class 'URLRequestOperationSessionDelegate' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
24 |
25 | 	public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/ManualTest/main.swift:23:15: error: cannot find 'URLRequest' in scope
21 |
22 | let q = OperationQueue()
23 | let request = URLRequest(url: URL(string: "https://frostland.fr")!, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: 0.1)
   |               `- error: cannot find 'URLRequest' in scope
24 | let operation = URLRequestOperation(request: request)
25 | operation.completionBlock = { print("ok"); exit(0) }
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/ManualTest/main.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ManualTest -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/ManualTest_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/Modules/ManualTest.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/Modules/ManualTest.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/ManualTest-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/ManualTest-primary-emit-module.d -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/Modules/ManualTest.swiftmodule
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/ManualTest/main.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile main.swift
/host/spi-builder-workspace/Sources/ManualTest/main.swift:23:15: error: cannot find 'URLRequest' in scope
21 |
22 | let q = OperationQueue()
23 | let request = URLRequest(url: URL(string: "https://frostland.fr")!, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: 0.1)
   |               `- error: cannot find 'URLRequest' in scope
24 | let operation = URLRequestOperation(request: request)
25 | operation.completionBlock = { print("ok"); exit(0) }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/ManualTest/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/main.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/main.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/main.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/main.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ManualTest -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/ManualTest_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/main.o -index-unit-output-path /URLRequestOperation.build/Debug-linux-x86_64/ManualTest-p.build/Objects-normal/x86_64/main.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux