Build Information
Failed to build HTTPMockServer, reference 0.2.6 (fc632c), with Swift 6.4 for Android on 3 Oct 2026 10:25:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mateuszmackowiak/SwiftHTTPMockServer.git
Reference: 0.2.6
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
* tag 0.2.6 -> FETCH_HEAD
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 0.2.6
========================================
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-53886770-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: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/apple/swift-nio
Fetching https://github.com/swiftlang/swift-syntax
[1/86265] Fetching swift-nio
[30194/166471] Fetching swift-nio, swift-syntax
Fetched https://github.com/apple/swift-nio (6.01s)
Fetched https://github.com/swiftlang/swift-syntax (6.28s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.103.0 (6.76s)
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
Fetched https://github.com/apple/swift-atomics.git (0.52s)
[1/7102] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.70s)
[1/28538] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.34s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.34s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.22s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (1.76s)
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/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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1332]
[Planning 623 / 1332]
[Planning 1129 / 1332]
[Planning deferred tasks]
[Constructing 101 / 2812]
[Starting]
[105 / 505] SwiftOperators
[245 / 505]
[259 / 516] _NIODataStructures
[264 / 528] _AtomicsShims
[283 / 528] _NIODataStructures
[286 / 528] SwiftSyntax603
[300 / 528] _AtomicsShims
[302 / 528] _NIODataStructures
[310 / 532] SwiftSyntax510
[317 / 537] SwiftSyntax600
[322 / 538] SwiftSyntax510
[335 / 538] SwiftSyntax510
[341 / 549] CNIOWindows
[344 / 559] CNIOWASI
[347 / 559] CNIOPosix
[352 / 559] SwiftSyntax509
[355 / 559] SwiftSyntax604
[358 / 559] SwiftSyntax509
[360 / 561] _NIODataStructures
[362 / 561] _NIOBase64
[365 / 561] _NIOBase64
[368 / 561] InternalCollectionsUtilities
[369 / 561] InternalCollectionsUtilities
[370 / 561] NIOConcurrencyHelpers
[373 / 561] NIOConcurrencyHelpers
[377 / 561] NIOConcurrencyHelpers
[379 / 561] InternalCollectionsUtilities
[380 / 561] CNIOWindows
[382 / 563]
[386 / 573] Atomics
[388 / 582] Atomics
[388 / 582] InternalCollectionsUtilities
[389 / 582] CNIOOpenBSD
[390 / 582] CNIOLinux
[392 / 582] CNIOLLHTTP
[393 / 582] CNIOLinux
[398 / 582] InternalCollectionsUtilities
[404 / 582] CNIOLLHTTP
[405 / 582] CNIOFreeBSD
[406 / 582] SwiftSyntax
[408 / 582] SwiftSyntax
[409 / 583] SwiftSyntax
[413 / 583] Atomics
[419 / 583] Atomics
[420 / 583] Atomics-product
[421 / 583] Atomics-product
[422 / 583] Atomics-product
[424 / 583] Atomics
[425 / 583]
[426 / 583] InternalCollectionsUtilities
[429 / 583] CNIODarwin
[430 / 583] CNIOAtomics
[430 / 583] InternalCollectionsUtilities
[433 / 584] CNIOPosix
[437 / 589] SpanPreview
[439 / 589] SpanPreview
[443 / 589] SpanPreview
[445 / 591] DequeModule
[447 / 592] DequeModule
[449 / 600] SpanPreview
[451 / 600] CNIOAtomics
[452 / 600] DequeModule
[453 / 600] DequeModule
[454 / 600] DequeModule
[455 / 600] DequeModule
[456 / 600] DequeModule
[457 / 600] DequeModule
[458 / 600] DequeModule
[463 / 601]
[464 / 610] DequeModule
[466 / 610] NIOCore
[467 / 611] NIOCore
[468 / 611] SwiftSyntax
[470 / 611] SwiftSyntax
[474 / 611] SwiftSyntax
[475 / 611] SwiftSyntax-product
[476 / 611] SwiftSyntax-product
[477 / 611] SwiftSyntax-product
[478 / 611]
[481 / 612] SwiftParser
[482 / 622] SwiftDiagnostics
[483 / 623] SwiftDiagnostics
[486 / 639] SwiftBasicFormat
[487 / 639] SwiftDiagnostics
[489 / 639] SwiftDiagnostics
[495 / 639] SwiftBasicFormat
[505 / 639] SwiftParser
[507 / 639] SwiftParser
[510 / 639] NIOCore
[515 / 639] SwiftDiagnostics
[516 / 639] SwiftDiagnostics
[518 / 639] SwiftOperators
[519 / 639] SwiftOperators
[521 / 639] SwiftDiagnostics
[522 / 639] SwiftDiagnostics
[523 / 639] SwiftBasicFormat
[524 / 639] SwiftBasicFormat
[525 / 639] SwiftBasicFormat
[527 / 640] SwiftBasicFormat
[528 / 640] SwiftDiagnostics
[529 / 640] SwiftParserDiagnostics
[530 / 641] SwiftParserDiagnostics
[531 / 641] NIOPosix
[535 / 651] SwiftParserDiagnostics
[536 / 651] SwiftParserDiagnostics
[537 / 651] SwiftParserDiagnostics
[538 / 651] SwiftParserDiagnostics
[539 / 651] SwiftParserDiagnostics
[540 / 652] SwiftParserDiagnostics
[541 / 652] SwiftParserDiagnostics
[542 / 653] SwiftParserDiagnostics
[543 / 653] SwiftParser
[544 / 653] SwiftParserDiagnostics
[552 / 655] SwiftOperators
[554 / 663] NIOConcurrencyHelpers
[555 / 663] SwiftOperators
[556 / 663] SwiftOperators
[557 / 663] SwiftOperators
[558 / 663] SwiftOperators
[559 / 663] SwiftOperators
[561 / 663] SwiftOperators
[569 / 665] NIOEmbedded
[572 / 678] NIOPosix
[573 / 678] NIOPosix
[574 / 678] NIOPosix
[575 / 678] NIOEmbedded
[577 / 679] NIOEmbedded
[582 / 679] NIOPosix
[583 / 679] SwiftOperators
[585 / 679] NIOPosix
[586 / 680] SwiftParserDiagnostics
[588 / 680] SwiftParserDiagnostics
[589 / 680] NIOEmbedded
[591 / 680] NIOEmbedded
[592 / 680] NIOPosix
[597 / 681] NIOPosix
[599 / 690] SwiftSyntaxBuilder
[601 / 691] SwiftSyntaxBuilder
[602 / 691] SwiftSyntaxBuilder
[604 / 691] SwiftSyntaxBuilder
[605 / 691] SwiftSyntaxBuilder
[606 / 691] SwiftSyntaxBuilder
[608 / 692] SwiftSyntaxBuilder
[612 / 692] SwiftSyntaxBuilder
[615 / 694] SwiftIfConfig
[618 / 702] SwiftIfConfig
[620 / 702] SwiftIfConfig
[622 / 702] SwiftSyntaxBuilder
[623 / 702] SwiftIfConfig
[625 / 702] SwiftIfConfig
[632 / 703]
[634 / 705] NIOCore
[634 / 705] SwiftSyntaxBuilder
[638 / 706] NIO
[646 / 709] NIO
[647 / 709] SwiftSyntaxMacros
[655 / 728] NIOHTTP1
[655 / 728] SwiftSyntaxMacros
[658 / 728] SwiftSyntaxMacros
[666 / 728] SwiftSyntaxMacros
[668 / 728] SwiftSyntaxMacroExpansion
[671 / 729] SwiftSyntaxMacros
[673 / 729] SwiftSyntaxMacros
[680 / 730]
[683 / 739] SwiftSyntaxMacroExpansion
[684 / 739] SwiftSyntaxMacroExpansion
[685 / 739] SwiftSyntaxMacroExpansion
[686 / 739] SwiftSyntaxMacroExpansion
[688 / 739] SwiftSyntaxMacroExpansion
[690 / 739] SwiftSyntaxMacroExpansion
[696 / 740] NIOHTTP1
[696 / 740] SwiftCompilerPluginMessageHandling
[701 / 749] SwiftCompilerPluginMessageHandling
[703 / 750] SwiftCompilerPluginMessageHandling
[704 / 750] SwiftCompilerPluginMessageHandling
[706 / 750] NIOHTTP1
[714 / 753] SwiftCompilerPlugin
[716 / 753]
[717 / 753] SwiftCompilerPlugin
[722 / 754] SwiftCompilerPlugin
[723 / 754] SwiftCompilerPluginMessageHandling
[724 / 755] SwiftSyntaxMacroExpansion
[725 / 755] SwiftCompilerPluginMessageHandling
[727 / 756] SwiftSyntax
[730 / 757] SwiftSyntax
[736 / 757] SwiftSyntaxBuilder
[745 / 757] HTTPMockServerMacros
[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: [1;31merror: [1;39mno such module 'os'[0;0m
[0;36m6 |[0;0m import Foundation
[0;36m7 |[0;0m import NIO
[0;36m8 |[0;0m import os
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'os'[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m 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