The Swift Package Index logo.Swift Package Index

Build Information

Failed to build URLRequestOperation, reference main (d2a0a8), with Swift 6.4 for Android on 19 Sep 2026 21:18:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/URLRequestOperation.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/Frizlab/URLRequestOperation
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d2a0a89 Use latest prod version of SemiSingleton
Cloned https://github.com/Frizlab/URLRequestOperation.git
Revision (git rev-parse @):
d2a0a897eb9801e9ba51db7c22cc0472ed1219ee
SUCCESS checkout https://github.com/Frizlab/URLRequestOperation.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Frizlab/URLRequestOperation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/Frizlab/SemiSingleton.git
Fetching https://github.com/Frizlab/GlobalConfModule.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Frizlab/SafeGlobal.git
Fetching https://github.com/Frizlab/HTTPCoders.git
Fetching https://github.com/Frizlab/RetryingOperation.git
[1/194] Fetching safeglobal
[29/271] Fetching safeglobal, httpcoders
[247/948] Fetching safeglobal, httpcoders, globalconfmodule
[882/9044] Fetching safeglobal, httpcoders, globalconfmodule, swift-log
[950/9471] Fetching safeglobal, httpcoders, globalconfmodule, swift-log, retryingoperation
[1270/9967] Fetching safeglobal, httpcoders, globalconfmodule, swift-log, retryingoperation, semisingleton
Fetched https://github.com/Frizlab/SafeGlobal.git (0.45s)
Fetched https://github.com/Frizlab/GlobalConfModule.git (0.45s)
[1205/9096] Fetching httpcoders, swift-log, retryingoperation, semisingleton
Fetched https://github.com/Frizlab/HTTPCoders.git (0.45s)
[1133/9019] Fetching swift-log, retryingoperation, semisingleton
Fetched https://github.com/Frizlab/RetryingOperation.git (0.46s)
[1387/8592] Fetching swift-log, semisingleton
Fetched https://github.com/Frizlab/SemiSingleton.git (0.55s)
Fetched https://github.com/apple/swift-log.git (0.55s)
Computing version for https://github.com/Frizlab/SemiSingleton.git
Computed https://github.com/Frizlab/SemiSingleton.git at 2.1.1 (0.71s)
Fetching https://github.com/Frizlab/RecursiveSyncDispatch.git
[1/174] Fetching recursivesyncdispatch
Fetched https://github.com/Frizlab/RecursiveSyncDispatch.git (0.38s)
Computing version for https://github.com/Frizlab/RecursiveSyncDispatch.git
Computed https://github.com/Frizlab/RecursiveSyncDispatch.git at 1.0.1 (1.43s)
Computing version for https://github.com/Frizlab/HTTPCoders.git
Computed https://github.com/Frizlab/HTTPCoders.git at 0.1.3 (0.17s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/Frizlab/stream-reader.git
[1/1058] Fetching stream-reader
[1059/28410] Fetching stream-reader, swift-collections
Fetched https://github.com/Frizlab/stream-reader.git (1.13s)
Fetched https://github.com/apple/swift-collections.git (1.14s)
Computing version for https://github.com/Frizlab/RetryingOperation.git
Computed https://github.com/Frizlab/RetryingOperation.git at 1.2.0 (1.30s)
Computing version for https://github.com/Frizlab/stream-reader.git
Computed https://github.com/Frizlab/stream-reader.git at 3.6.1 (0.14s)
Computing version for https://github.com/Frizlab/SafeGlobal.git
Computed https://github.com/Frizlab/SafeGlobal.git at 0.3.5 (0.15s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/79984] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (2.90s)
Computing version for https://github.com/Frizlab/GlobalConfModule.git
Computed https://github.com/Frizlab/GlobalConfModule.git at 0.4.5 (3.09s)
Fetching https://github.com/apple/swift-service-context.git
[1/1364] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.90s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (1.08s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.30s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.18s)
Creating working copy for https://github.com/Frizlab/RecursiveSyncDispatch.git
Working copy of https://github.com/Frizlab/RecursiveSyncDispatch.git resolved at 1.0.1
Creating working copy for https://github.com/Frizlab/GlobalConfModule.git
Working copy of https://github.com/Frizlab/GlobalConfModule.git resolved at 0.4.5
Creating working copy for https://github.com/Frizlab/HTTPCoders.git
Working copy of https://github.com/Frizlab/HTTPCoders.git resolved at 0.1.3
Creating working copy for https://github.com/Frizlab/SemiSingleton.git
Working copy of https://github.com/Frizlab/SemiSingleton.git resolved at 2.1.1
Creating working copy for https://github.com/Frizlab/SafeGlobal.git
Working copy of https://github.com/Frizlab/SafeGlobal.git resolved at 0.3.5
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
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/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/Frizlab/RetryingOperation.git
Working copy of https://github.com/Frizlab/RetryingOperation.git resolved at 1.2.0
Building for debugging...
[Computing dependencies]
[Provisioning 26 / 45]
[Pre-planning 1 / 1005]
[Planning deferred tasks]
[Starting]
[190 / 410]
[234 / 432] SwiftSyntax601
[243 / 432] ServiceContextModule
[244 / 432] SwiftSyntax602
[260 / 460] FormURLEncodedCoder
[270 / 461] ServiceContextModule-product
[277 / 464] SwiftSyntax601
[283 / 464] Logging
[283 / 464] MediaType
[298 / 464] RecursiveSyncDispatch
[304 / 464] Logging
[307 / 464] FormURLEncodedCoder
[312 / 464] FormURLEncodedCoder-product
[314 / 465] RecursiveSyncDispatch
[322 / 467] SwiftSyntax602
[334 / 477] SwiftSyntax
[335 / 478] SwiftSyntax
[338 / 478] SwiftSyntax
[350 / 506] SwiftDiagnostics
[352 / 506] SwiftDiagnostics
[354 / 506] SwiftBasicFormat
[361 / 506] SwiftBasicFormat
[366 / 506] SwiftParser
[367 / 506] SwiftParser
[369 / 506] SwiftParser
[370 / 506] SwiftParser
[372 / 506] SwiftParser
[377 / 506] SwiftOperators
[378 / 506] SwiftOperators
[380 / 506] SwiftDiagnostics
[381 / 506] SwiftDiagnostics
[383 / 507] SwiftBasicFormat
[387 / 507] SwiftDiagnostics
[393 / 527] SwiftOperators
[394 / 527] SwiftParserDiagnostics
[395 / 527] SwiftParserDiagnostics
[396 / 527] SwiftParserDiagnostics
[397 / 527] SwiftOperators
[405 / 528] SwiftParserDiagnostics
[409 / 528] SwiftParserDiagnostics
[410 / 528] SwiftSyntaxBuilder
[411 / 528] SwiftSyntaxBuilder
[414 / 529] SwiftOperators
[416 / 529] SwiftParser
[421 / 529] SwiftBasicFormat
[428 / 539] SwiftSyntaxBuilder
[429 / 540] SwiftSyntaxBuilder
[430 / 540] SwiftSyntaxBuilder
[431 / 540] SwiftSyntaxBuilder
[433 / 540] SwiftOperators
[442 / 550] SwiftIfConfig
[443 / 551] SwiftParserDiagnostics
[447 / 551] SwiftIfConfig
[451 / 551] SwiftIfConfig
[456 / 552] SwiftSyntaxMacros
[462 / 562] SwiftSyntaxMacros
[465 / 562] SwiftSyntaxMacros
[473 / 562] SwiftSyntaxMacros-product
[477 / 572] SwiftIfConfig
[481 / 572] SwiftSyntaxMacroExpansion
[484 / 574] SwiftSyntaxMacros
[486 / 574] SwiftIfConfig
[496 / 584] SwiftCompilerPluginMessageHandling
[497 / 584] SwiftCompilerPluginMessageHandling
[499 / 584] SwiftCompilerPluginMessageHandling
[501 / 584] SwiftCompilerPluginMessageHandling
[502 / 584] SwiftCompilerPluginMessageHandling
[503 / 584] SwiftCompilerPluginMessageHandling
[510 / 587] SwiftCompilerPlugin
[515 / 587] SwiftCompilerPlugin
[517 / 588] SwiftSyntaxMacroExpansion
[519 / 589] SwiftCompilerPluginMessageHandling
[521 / 590] SwiftSyntax
[524 / 591] SwiftSyntax
[531 / 591] SwiftIfConfig
[545 / 593] GlobalConfMacros
[554 / 606] GlobalConfMacros
[555 / 606] GlobalConfMacros
[557 / 606] SafeGlobalMacros
[560 / 606] GlobalConfMacros
[565 / 608] GlobalConfMacros
[568 / 608] SafeGlobalMacros
[574 / 614] SafeGlobal
[588 / 624] SafeGlobal-product
[591 / 624] GlobalConfModule
[608 / 636] SemiSingleton
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonStore.swift:227:34: error: cannot find 'NSMapTable' in scope
225 |
226 | #if !os(Linux)
227 | 	private let registeredObjects = NSMapTable<StoreKey, AnyObject>.strongToWeakObjects()
    |                                  `- error: cannot find 'NSMapTable' in scope
228 | #else
229 | 	private let registeredObjects = LinuxStrongToWeakMapTable<StoreKey, AnyObject>()
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/LinuxStrongToWeakMapTable.swift /host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonConfig.swift /host/spi-builder-workspace/.build/checkouts/SemiSingleton/Sources/SemiSingleton/SemiSingletonStore.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/GlobalConfMacros\#GlobalConfMacros -enable-experimental-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SemiSingleton -package-name semisingleton -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/SemiSingleton_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/Modules/SemiSingleton.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/Modules/SemiSingleton.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/SemiSingleton-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/SemiSingleton-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/SemiSingleton-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SemiSingleton.build/Debug-android-aarch64/SemiSingleton-t.build/Objects-normal/aarch64/Modules/SemiSingleton.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android