The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HTTPMockServer, reference main (fc632c), with Swift 6.4 for Android on 3 Oct 2026 10:33:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mateuszmackowiak/SwiftHTTPMockServer.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/mateuszmackowiak/SwiftHTTPMockServer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fc632c3 Merge pull request #1 from bartoszbyra-infakt/connection-dropped-response
Cloned https://github.com/mateuszmackowiak/SwiftHTTPMockServer.git
Revision (git rev-parse @):
fc632c3e4fa8ac5f0098087938a1555d3ae670b2
SUCCESS checkout https://github.com/mateuszmackowiak/SwiftHTTPMockServer.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/mateuszmackowiak/SwiftHTTPMockServer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-nio
[1/86265] Fetching swift-nio
[24156/166471] Fetching swift-nio, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (4.38s)
Fetched https://github.com/apple/swift-nio (4.40s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.103.0 (4.79s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1885] Fetching swift-atomics
[1886/8987] Fetching swift-atomics, swift-system
[8988/37525] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.36s)
Fetched https://github.com/apple/swift-system.git (1.37s)
Fetched https://github.com/apple/swift-collections.git (1.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.30s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (1.34s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.103.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1332]
[Planning 656 / 1332]
[Planning 1221 / 1332]
[Planning deferred tasks]
[Constructing 1481 / 2812]
[Starting]
[118 / 505] SwiftDiagnostics
[247 / 508] SwiftSyntax604
[260 / 521] _AtomicsShims
[267 / 523] SwiftSyntax603
[281 / 525] SwiftSyntax604
[287 / 525] SwiftSyntax603
[288 / 525] _NIODataStructures
[291 / 525] _NIODataStructures
[303 / 527] SwiftSyntax600
[306 / 529] SwiftSyntax600
[316 / 534] SwiftSyntax602
[331 / 539] SwiftSyntax509
[341 / 560] Atomics
[354 / 570] SwiftSyntax604
[357 / 571] NIOConcurrencyHelpers
[360 / 571] _NIODataStructures
[362 / 571] _NIODataStructures
[363 / 571] _NIODataStructures
[365 / 571] InternalCollectionsUtilities
[368 / 571] NIOConcurrencyHelpers
[372 / 571] NIOConcurrencyHelpers
[376 / 572] NIOConcurrencyHelpers
[378 / 572] Atomics
[379 / 572] Atomics
[383 / 572] InternalCollectionsUtilities
[387 / 572] InternalCollectionsUtilities
[388 / 572] SpanPreview
[393 / 572] CNIOWASI
[396 / 573]
[400 / 579] SwiftSyntax
[402 / 587] CNIOPosix
[412 / 587] CNIOLinux
[416 / 587] CNIODarwin
[421 / 587] CNIOLinux
[422 / 587] CNIOLLHTTP
[425 / 587] SwiftSyntax
[426 / 588] SwiftSyntax
[427 / 588] SwiftSyntax
[428 / 588] CNIOAtomics
[431 / 588] Atomics
[436 / 588] SwiftSyntax
[437 / 589] SpanPreview
[439 / 589] InternalCollectionsUtilities
[440 / 590] SpanPreview
[443 / 590] InternalCollectionsUtilities
[447 / 590]
[449 / 592] DequeModule
[451 / 600] NIOConcurrencyHelpers
[453 / 600] DequeModule
[454 / 600] DequeModule
[455 / 600] DequeModule
[456 / 600] DequeModule
[457 / 600] DequeModule
[458 / 600] DequeModule
[458 / 600]
[458 / 600] DequeModule
[458 / 601] DequeModule
[466 / 602] DequeModule
[470 / 611] NIOCore
[471 / 611] NIOCore
[471 / 611] SwiftSyntax
[473 / 611] SwiftSyntax
[474 / 611] SwiftSyntax
[478 / 611] SwiftSyntax
[479 / 611] SwiftSyntax-product
[480 / 611] SwiftSyntax-product
[486 / 611] NIOPosix
[488 / 615] SwiftDiagnostics
[490 / 633] SwiftDiagnostics
[491 / 633] SwiftBasicFormat
[494 / 640] SwiftDiagnostics
[499 / 649] NIOPosix
[502 / 649] SwiftBasicFormat
[503 / 650] SwiftParser
[513 / 650] SwiftParser
[515 / 650] SwiftParser
[517 / 650] SwiftParser
[518 / 650] NIOPosix
[519 / 650] SwiftDiagnostics
[525 / 650] SwiftDiagnostics
[526 / 650] SwiftOperators
[529 / 650] SwiftDiagnostics
[530 / 650] SwiftDiagnostics
[531 / 650] SwiftBasicFormat
[534 / 651] SwiftParserDiagnostics
[537 / 651] SwiftDiagnostics
[539 / 651] NIOPosix
[541 / 651] NIOPosix
[543 / 652] SwiftBasicFormat
[546 / 652] SwiftBasicFormat
[547 / 653] SwiftParser
[549 / 653] SwiftParser
[551 / 653] NIOCore
[555 / 658] NIOEmbedded
[556 / 658] NIOEmbedded
[558 / 658] NIOEmbedded
[564 / 668] NIOPosix
[565 / 668] NIOPosix
[568 / 669] SwiftParserDiagnostics
[569 / 669] SwiftParserDiagnostics
[571 / 669] NIOEmbedded
[578 / 670] NIOPosix
[582 / 671] NIO
[584 / 680] SwiftOperators
[585 / 680] SwiftOperators
[587 / 680] SwiftOperators
[588 / 680] SwiftOperators
[590 / 680] SwiftOperators
[596 / 680] SwiftOperators
[597 / 681] SwiftOperators
[601 / 691] SwiftSyntaxBuilder
[604 / 693] NIO
[605 / 693] NIO
[607 / 694] NIO
[612 / 694] SwiftSyntaxBuilder
[616 / 694] SwiftSyntaxBuilder
[622 / 694] SwiftSyntaxBuilder-product
[625 / 697] NIOHTTP1
[629 / 715] NIOHTTP1
[630 / 715] SwiftIfConfig
[631 / 715] SwiftIfConfig
[634 / 716] SwiftIfConfig
[640 / 716] SwiftSyntaxMacros
[644 / 717] SwiftSyntaxBuilder
[645 / 717] SwiftSyntaxBuilder
[648 / 717] SwiftIfConfig
[655 / 717] NIOHTTP1
[657 / 718] NIOHTTP1
[659 / 718] SwiftIfConfig
[663 / 728] SwiftSyntaxMacros
[664 / 728] SwiftSyntaxMacros
[666 / 728] SwiftSyntaxMacros
[672 / 728] SwiftSyntaxMacros
[675 / 728] SwiftSyntaxMacroExpansion
[677 / 728] NIOEmbedded
[681 / 738] NIOPosix
[684 / 738] SwiftSyntaxMacroExpansion
[684 / 740] SwiftSyntaxMacroExpansion
[686 / 740] SwiftSyntaxMacroExpansion
[689 / 740] SwiftSyntaxMacroExpansion
[700 / 750] SwiftCompilerPluginMessageHandling
[701 / 750] SwiftCompilerPluginMessageHandling
[702 / 750] SwiftCompilerPluginMessageHandling
[704 / 750] SwiftCompilerPluginMessageHandling
[707 / 750] SwiftCompilerPluginMessageHandling
[711 / 750] SwiftCompilerPluginMessageHandling
[717 / 754] NIO
[723 / 754] NIOHTTP1
[723 / 754] SwiftCompilerPluginMessageHandling
[725 / 755] SwiftCompilerPluginMessageHandling
[727 / 756] SwiftSyntax
[730 / 757] SwiftSyntax
[736 / 757] SwiftSyntaxBuilder
[746 / 758] HTTPMockServerMacros
[751 / 763] HTTPMockServerMacros
[752 / 763] HTTPMockServerMacros
[756 / 764] HTTPMockServerMacros
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/HTTPMockServer/Macro.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Macro.swift
/host/spi-builder-workspace/Sources/HTTPMockServer/MockServer.swift:8:8: error: no such module 'os'
  6 | import Foundation
  7 | import NIO
  8 | import os
    |        `- error: no such module 'os'
  9 |
 10 | public final class MockServer: @unchecked Sendable {
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/HTTPMockServer/ForwardingServerStub.swift /host/spi-builder-workspace/Sources/HTTPMockServer/HTTPRequest.swift /host/spi-builder-workspace/Sources/HTTPMockServer/HTTPRequestPartDecoder.swift -primary-file /host/spi-builder-workspace/Sources/HTTPMockServer/Macro.swift /host/spi-builder-workspace/Sources/HTTPMockServer/MockServer.swift /host/spi-builder-workspace/Sources/HTTPMockServer/ServerStub.swift /host/spi-builder-workspace/Sources/HTTPMockServer/StubHandler.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-android-aarch64/HTTPMockServer-t.build/Objects-normal/aarch64/Macro.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-android-aarch64/HTTPMockServer-t.build/Objects-normal/aarch64/Macro.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-android-aarch64/HTTPMockServer-t.build/Objects-normal/aarch64/Macro.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-android-aarch64/HTTPMockServer-t.build/Objects-normal/aarch64/Macro.dia -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 -swift-version 6 -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/HTTPMockServerMacros\#HTTPMockServerMacros -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 -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOLLHTTP.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOOpenBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOAtomics.modulemap -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/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLLHTTP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-android-aarch64/HTTPMockServer-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-android-aarch64/HTTPMockServer-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-android-aarch64/HTTPMockServer-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name HTTPMockServer -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-android-aarch64/HTTPMockServer-t.build/Objects-normal/aarch64/HTTPMockServer_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-android-aarch64/HTTPMockServer-t.build/Objects-normal/aarch64/Macro.o -index-unit-output-path /HTTPMockServer.build/Debug-android-aarch64/HTTPMockServer-t.build/Objects-normal/aarch64/Macro.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android