Build Information
Failed to build URLRequestOperation, reference 2.0.0-alpha.14.2 (f33309
), with Swift 6.1 for Android on 28 May 2025 12:07:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/happn-app/URLRequestOperation.git
Reference: 2.0.0-alpha.14.2
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 2.0.0-alpha.14.2 -> FETCH_HEAD
HEAD is now at f33309a Create and use RetryCountsHolder
Cloned https://github.com/happn-app/URLRequestOperation.git
Revision (git rev-parse @):
f33309a783db53b59a2e4426b89fd6be280438b2
SUCCESS checkout https://github.com/happn-app/URLRequestOperation.git at 2.0.0-alpha.14.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/happn-app/URLRequestOperation.git
https://github.com/happn-app/URLRequestOperation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "httpcoders",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/happn-app/HTTPCoders.git"
},
{
"identity" : "retryingoperation",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/happn-app/RetryingOperation.git"
},
{
"identity" : "semisingleton",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0-beta.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/happn-app/SemiSingleton.git"
}
],
"manifest_display_name" : "URLRequestOperation",
"name" : "URLRequestOperation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MediaType",
"targets" : [
"MediaType"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "URLRequestOperation",
"targets" : [
"URLRequestOperation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "URLRequestOperationManualTest",
"targets" : [
"URLRequestOperationManualTest"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "URLRequestOperationTests",
"module_type" : "SwiftTarget",
"name" : "URLRequestOperationTests",
"path" : "Tests/URLRequestOperationTests",
"sources" : [
"IPUtilsTests.swift",
"ReachabilityTests.swift",
"URLRequestOperationTests.swift"
],
"target_dependencies" : [
"URLRequestOperation"
],
"type" : "test"
},
{
"c99name" : "URLRequestOperationManualTest",
"module_type" : "SwiftTarget",
"name" : "URLRequestOperationManualTest",
"path" : "Sources/URLRequestOperationManualTest",
"product_memberships" : [
"URLRequestOperationManualTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"URLRequestOperation"
],
"type" : "executable"
},
{
"c99name" : "URLRequestOperation",
"module_type" : "SwiftTarget",
"name" : "URLRequestOperation",
"path" : "Sources/URLRequestOperation",
"product_dependencies" : [
"FormURLEncodedCoder",
"Logging",
"RetryingOperation",
"SemiSingleton"
],
"product_memberships" : [
"URLRequestOperation",
"URLRequestOperationManualTest"
],
"sources" : [
"Glue/BlockDispatcher.swift",
"Glue/HTTPContentCoder+FormURLEncodedEncoding.swift",
"Glue/HTTPContentCoder+JSON.swift",
"Glue/HTTPContentCoder.swift",
"Glue/HTTPURLResponse+Utils.swift",
"Glue/LinuxWeakToWeakMapTable.swift",
"Glue/LogMetadataKeys.swift",
"Glue/Result+Utils.swift",
"Glue/RetryCountsHolder.swift",
"Glue/SafeGlobal.swift",
"Glue/String+Utils.swift",
"Glue/URL+Utils.swift",
"Glue/URLQueryCoder+HTTPContentCoder+FormURLEncodedEncoding.swift",
"Glue/URLQueryCoder.swift",
"Glue/URLRequest+Utils.swift",
"Glue/URLSession+Linux.swift",
"Operations/Helper Protocols/RequestProcessor.swift",
"Operations/Helper Protocols/ResultProcessor.swift",
"Operations/Helper Protocols/RetryProvider.swift",
"Operations/Helper Protocols/URLResponseValidator.swift",
"Operations/Helpers/Request Processors/AsyncBlockRequestProcessor.swift",
"Operations/Helpers/Request Processors/BlockRequestProcessor.swift",
"Operations/Helpers/Result Processors/AnyResultProcessor.swift",
"Operations/Helpers/Result Processors/DecodeDataResultProcessor.swift",
"Operations/Helpers/Result Processors/DecodeHTTPContentResultProcessor.swift",
"Operations/Helpers/Result Processors/HTTPStatusCodeCheckResultProcessor.swift",
"Operations/Helpers/Result Processors/RecoverHTTPStatusCodeCheckErrorResultProcessor.swift",
"Operations/Helpers/Result Processors/URLMoveResultProcessor.swift",
"Operations/Helpers/Result Processors/URLToFileHandleResultProcessor.swift",
"Operations/Helpers/Retry Helpers/OtherSuccessRetryHelper.swift",
"Operations/Helpers/Retry Helpers/ReachabilityRetryHelper.swift",
"Operations/Helpers/Retry Providers/NetworkErrorRetryProvider.swift",
"Operations/Helpers/Retry Providers/UnretriedErrorsRetryProvider.swift",
"Operations/Helpers/URL Response Validators/HTTPStatusCodeURLResponseValidator.swift",
"Operations/URLRequestDataOperation+APIs-TypedError.swift",
"Operations/URLRequestDataOperation+APIs-UntypedError.swift",
"Operations/URLRequestDataOperation+Data.swift",
"Operations/URLRequestDataOperation+Images.swift",
"Operations/URLRequestDataOperation+String.swift",
"Operations/URLRequestDataOperation.swift",
"Operations/URLRequestDownloadOperation+Open.swift",
"Operations/URLRequestDownloadOperation+Save.swift",
"Operations/URLRequestDownloadOperation.swift",
"Operations/URLRequestStreamOperation.swift",
"Public Session Delegate/URLRequestOperationSessionDelegate.swift",
"Public Session Delegate/URLRequestOperationSessionDelegateProxy.swift",
"Public Session Delegate/URLSessionDelegates.swift",
"Reachability/NotifNameGetter.swift",
"Reachability/ReachabilityObserver.swift",
"Reachability/ReachabilitySubscriber.swift",
"Reachability/SockaddrWrapper.swift",
"URLRequestOperation.swift",
"URLRequestOperationConfig.swift",
"URLRequestOperationErrors.swift",
"URLRequestOperationResult.swift"
],
"target_dependencies" : [
"MediaType"
],
"type" : "library"
},
{
"c99name" : "MediaTypeTests",
"module_type" : "SwiftTarget",
"name" : "MediaTypeTests",
"path" : "Tests/MediaTypeTests",
"sources" : [
"MediaTypeTests.swift"
],
"target_dependencies" : [
"MediaType"
],
"type" : "test"
},
{
"c99name" : "MediaType",
"module_type" : "SwiftTarget",
"name" : "MediaType",
"path" : "Sources/MediaType",
"product_memberships" : [
"MediaType",
"URLRequestOperation",
"URLRequestOperationManualTest"
],
"sources" : [
"MediaType.swift",
"Scanner+LinuxCompat.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/happn-app/RetryingOperation.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/happn-app/SemiSingleton.git
Fetching https://github.com/happn-app/HTTPCoders.git
[1/71] Fetching httpcoders
[70/466] Fetching httpcoders, retryingoperation
[94/4302] Fetching httpcoders, retryingoperation, swift-log
[1386/4723] Fetching httpcoders, retryingoperation, swift-log, semisingleton
Fetched https://github.com/happn-app/HTTPCoders.git from cache (0.28s)
Fetched https://github.com/happn-app/SemiSingleton.git from cache (0.28s)
Fetched https://github.com/happn-app/RetryingOperation.git from cache (0.36s)
Fetched https://github.com/apple/swift-log.git from cache (0.36s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.8 (0.89s)
Computing version for https://github.com/happn-app/HTTPCoders.git
Computed https://github.com/happn-app/HTTPCoders.git at 0.1.2 (0.56s)
Fetching https://github.com/Frizlab/stream-reader.git
Fetching https://github.com/apple/swift-collections.git
[1/1051] Fetching stream-reader
Fetched https://github.com/Frizlab/stream-reader.git from cache (0.26s)
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.79s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (2.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.82s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.67s)
Computing version for https://github.com/happn-app/SemiSingleton.git
Computed https://github.com/happn-app/SemiSingleton.git at 2.1.0-beta.1 (0.47s)
Fetching https://github.com/happn-app/RecursiveSyncDispatch.git
[1/178] Fetching recursivesyncdispatch
Fetched https://github.com/happn-app/RecursiveSyncDispatch.git from cache (0.24s)
Computing version for https://github.com/happn-app/RecursiveSyncDispatch.git
Computed https://github.com/happn-app/RecursiveSyncDispatch.git at 1.0.1 (0.87s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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/Frizlab/stream-reader.git
Working copy of https://github.com/Frizlab/stream-reader.git resolved at 3.6.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.6.3
Creating working copy for https://github.com/happn-app/SemiSingleton.git
Working copy of https://github.com/happn-app/SemiSingleton.git resolved at 2.1.0-beta.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
Creating working copy for https://github.com/happn-app/HTTPCoders.git
Working copy of https://github.com/happn-app/HTTPCoders.git resolved at 0.1.2
Building for debugging...
[0/19] Write sources
[8/19] Write swift-version-24593BA9C3E375BF.txt
[10/37] Emitting module RecursiveSyncDispatch
[11/37] Emitting module MediaType
[12/37] Compiling Logging MetadataProvider.swift
[13/37] Emitting module Logging
[14/37] Compiling Logging Locks.swift
[15/37] Compiling Logging LogHandler.swift
[16/37] Compiling Logging Logging.swift
[18/38] Compiling MediaType MediaType.swift
[19/38] Compiling MediaType Scanner+LinuxCompat.swift
[21/43] Emitting module FormURLEncodedCoder
[22/44] Compiling FormURLEncodedCoder URLQueryFragmentConvertible.swift
[23/44] Compiling FormURLEncodedCoder FormURLEncodedParser.swift
[24/44] Compiling FormURLEncodedCoder FormURLEncodedSerializer.swift
[24/44] Wrapping AST for Logging for debugging
[26/44] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[26/45] Wrapping AST for MediaType for debugging
[28/45] Compiling FormURLEncodedCoder FormURLEncodedEncodingErrors.swift
[29/45] Compiling FormURLEncodedCoder FormURLEncodedDecoder.swift
[30/45] Compiling FormURLEncodedCoder FormURLEncodedEncoder.swift
[31/45] Compiling FormURLEncodedCoder FormURLEncodedData.swift
[33/46] Compiling RetryingOperation WrappedRetryingOperation.swift
[34/46] Compiling RetryingOperation RetryingOperationConfig.swift
[35/46] Wrapping AST for RecursiveSyncDispatch for debugging
[37/50] Compiling RetryingOperation RetryHelper.swift
[38/50] Emitting module RetryingOperation
[39/50] Compiling RetryingOperation RetryingOperation.swift
[39/51] Wrapping AST for FormURLEncodedCoder for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/51] Emitting module SemiSingleton
/host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonStore.swift:226:34: error: cannot find 'NSMapTable' in scope
224 |
225 | #if !os(Linux)
226 | private let registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
| `- error: cannot find 'NSMapTable' in scope
227 | #else
228 | private let registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
[42/51] Wrapping AST for RetryingOperation for debugging
[44/51] Compiling SemiSingleton SemiSingletonConfig.swift
[45/51] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[46/51] Compiling SemiSingleton SemiSingletonStore.swift
/host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonStore.swift:226:34: error: cannot find 'NSMapTable' in scope
224 |
225 | #if !os(Linux)
226 | private let registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
| `- error: cannot find 'NSMapTable' in scope
227 | #else
228 | private let registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/11] Write swift-version-24593BA9C3E375BF.txt
[2/29] Compiling Logging MetadataProvider.swift
[3/29] Compiling MediaType Scanner+LinuxCompat.swift
[4/29] Emitting module MediaType
[5/29] Compiling MediaType MediaType.swift
[6/30] Compiling RecursiveSyncDispatch RecursiveSyncDispatch.swift
[7/30] Emitting module RecursiveSyncDispatch
[8/31] Emitting module Logging
[11/29] Compiling FormURLEncodedCoder FormURLEncodedData.swift
[12/29] Compiling FormURLEncodedCoder URLQueryFragmentConvertible.swift
[13/29] Compiling FormURLEncodedCoder FormURLEncodedParser.swift
[14/29] Compiling FormURLEncodedCoder FormURLEncodedEncodingErrors.swift
[15/29] Compiling FormURLEncodedCoder FormURLEncodedSerializer.swift
[16/29] Compiling FormURLEncodedCoder FormURLEncodedEncoder.swift
[17/29] Compiling FormURLEncodedCoder FormURLEncodedDecoder.swift
[18/29] Emitting module FormURLEncodedCoder
[20/30] Compiling Logging LogHandler.swift
[21/30] Compiling Logging Logging.swift
[22/30] Compiling Logging Locks.swift
[23/30] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/39] Compiling SemiSingleton LinuxStrongToWeakMapTable.swift
[26/39] Compiling SemiSingleton SemiSingletonConfig.swift
[27/39] Emitting module SemiSingleton
/host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonStore.swift:226:34: error: cannot find 'NSMapTable' in scope
224 |
225 | #if !os(Linux)
226 | private let registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
| `- error: cannot find 'NSMapTable' in scope
227 | #else
228 | private let registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
[28/39] Compiling RetryingOperation WrappedRetryingOperation.swift
[29/39] Compiling RetryingOperation RetryingOperationConfig.swift
[30/39] Compiling SemiSingleton SemiSingletonStore.swift
/host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonStore.swift:226:34: error: cannot find 'NSMapTable' in scope
224 |
225 | #if !os(Linux)
226 | private let registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
| `- error: cannot find 'NSMapTable' in scope
227 | #else
228 | private let registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
[31/39] Compiling RetryingOperation RetryingOperation.swift
[32/39] Compiling RetryingOperation RetryHelper.swift
[33/39] Emitting module RetryingOperation
BUILD FAILURE 6.1 android