Build Information
Failed to build HTTPMockServer, reference 0.2.6 (fc632c), with Swift 6.4 for Linux on 3 Oct 2026 10:47:20 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>&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: linux
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-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-nio
Fetching https://github.com/swiftlang/swift-syntax
[1/86265] Fetching swift-nio
[32782/166471] Fetching swift-nio, swift-syntax
Fetched https://github.com/apple/swift-nio (5.68s)
Fetched https://github.com/swiftlang/swift-syntax (5.87s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.103.0 (6.34s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1885] Fetching swift-atomics
[1886/8987] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git (0.67s)
[1/28538] Fetching swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.60s)
Fetched https://github.com/apple/swift-collections.git (1.62s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.86s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.40s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.28s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (1.78s)
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-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.103.0
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-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 501 / 1332]
[Planning 1209 / 1332]
[Planning deferred tasks]
[Constructing 1329 / 2809]
[43 / 502] SwiftSyntaxMacroExpansion
[191 / 502] HTTPMockServer
[255 / 512] SwiftSyntax602
[260 / 522] _SwiftSyntaxCShims
[284 / 522] _AtomicsShims
[287 / 522] _NIOBase64
[296 / 522] SwiftSyntax603
[301 / 526] SwiftSyntax603
[309 / 528] SwiftSyntax603
[317 / 535] SwiftSyntax509
[327 / 540] NIOConcurrencyHelpers
[334 / 558] Atomics
[347 / 566] CNIOLinux
[350 / 566] CNIOLLHTTP
[357 / 566] SwiftSyntax601
[364 / 566] SwiftSyntax600
[367 / 567] SwiftSyntax509
[368 / 567] CNIOLLHTTP
[371 / 567] NIOConcurrencyHelpers
[372 / 567] NIOConcurrencyHelpers
[374 / 567] NIOConcurrencyHelpers
[383 / 568] _NIODataStructures
[385 / 568] _NIODataStructures
[388 / 568] CNIOWindows
[391 / 569] NIOConcurrencyHelpers
[399 / 569] SpanPreview
[402 / 569] Atomics
[403 / 569] Atomics
[403 / 569]
[406 / 569]
[410 / 570]
[414 / 579] Atomics
[420 / 579] SwiftSyntax
[421 / 580] SwiftSyntax
[422 / 580] SwiftSyntax
[425 / 580] SwiftSyntax
[426 / 581] InternalCollectionsUtilities
[429 / 581] InternalCollectionsUtilities
[431 / 582] SpanPreview
[434 / 586] SpanPreview
[435 / 586] SpanPreview
[439 / 586] SpanPreview
[441 / 586] SpanPreview
[444 / 587] SpanPreview
[445 / 588]
[447 / 597] DequeModule
[448 / 597] DequeModule
[449 / 597] DequeModule
[451 / 597] DequeModule
[452 / 597] DequeModule
[453 / 597] DequeModule
[454 / 597] DequeModule
[460 / 598] NIOConcurrencyHelpers
[462 / 607] NIOConcurrencyHelpers
[463 / 607] NIOCore
[464 / 607] NIOCore
[465 / 608] NIOCore
[466 / 608] SwiftSyntax
[468 / 608] SwiftSyntax
[472 / 608] SwiftSyntax
[473 / 608] SwiftSyntax-product
[474 / 608] SwiftSyntax-product
[475 / 608] SwiftSyntax-product
[484 / 609]
[486 / 618] SwiftParser
[487 / 618] SwiftParser
[488 / 618] SwiftParser
[488 / 619] NIOCore
[489 / 619] SwiftParser
[490 / 619] SwiftParser
[491 / 619] SwiftParser
[493 / 619] SwiftParser
[497 / 619] SwiftParser
[499 / 619] NIOCore
[501 / 620] NIOCore
[503 / 629] SwiftDiagnostics
[504 / 629] SwiftDiagnostics
[507 / 629] SwiftDiagnostics
[513 / 629] SwiftDiagnostics
[514 / 629] SwiftOperators
[515 / 629] SwiftOperators
[518 / 639] SwiftOperators
[519 / 639] SwiftOperators
[520 / 640] SwiftOperators
[522 / 640] SwiftOperators
[523 / 640] SwiftOperators
[525 / 640] SwiftOperators
[529 / 640] SwiftOperators
[531 / 640]
[535 / 650] NIOPosix
[537 / 650] SwiftBasicFormat
[539 / 663] NIOPosix
[540 / 663] SwiftBasicFormat
[541 / 664] SwiftOperators
[542 / 665] SwiftParser
[546 / 665] SwiftBasicFormat
[547 / 665] SwiftBasicFormat
[550 / 665] SwiftBasicFormat
[559 / 665] SwiftBasicFormat
[562 / 665] NIOPosix
[563 / 666] SwiftBasicFormat
[564 / 666] NIOPosix
[570 / 666] NIOPosix-product
[571 / 666] NIOPosix-product
[572 / 666] NIOPosix-product
[573 / 666] SwiftSyntax
[575 / 666] NIOEmbedded
[576 / 666] NIOEmbedded
[576 / 666] NIO
[577 / 667]
[579 / 676] SwiftParserDiagnostics
[582 / 676] SwiftParserDiagnostics
[587 / 677] SwiftParserDiagnostics
[588 / 677] SwiftParserDiagnostics
[589 / 677] SwiftSyntaxBuilder
[590 / 677] SwiftSyntaxBuilder
[593 / 678] NIOEmbedded
[595 / 679]
[598 / 689] NIO
[600 / 691] NIO
[601 / 691] SwiftSyntaxBuilder
[602 / 691] NIO
[604 / 691] NIO
[608 / 691] SwiftSyntaxBuilder
[610 / 691] SwiftSyntaxBuilder
[618 / 691] SwiftSyntaxBuilder
[619 / 692] SwiftSyntaxBuilder-product
[621 / 692] SwiftSyntaxBuilder-product
[625 / 703] SwiftIfConfig
[626 / 712] NIOHTTP1
[627 / 712] SwiftIfConfig
[629 / 713] SwiftParserDiagnostics
[632 / 713] SwiftParserDiagnostics
[636 / 714] SwiftSyntaxBuilder
[643 / 714] SwiftSyntaxMacros
[645 / 714] NIOHTTP1
[647 / 714] NIOHTTP1
[651 / 714] NIOHTTP1
[652 / 714] NIOHTTP1-product
[654 / 714] NIOHTTP1-product
[656 / 715] SwiftIfConfig
[658 / 716] NIOCore
[661 / 725] SwiftSyntaxMacros
[662 / 725] SwiftSyntaxMacros
[665 / 725] SwiftSyntaxMacros
[666 / 725] SwiftSyntaxMacros
[672 / 725] SwiftSyntaxMacros
[677 / 735] NIOPosix
[680 / 736] SwiftSyntaxMacros
[684 / 736] SwiftSyntaxMacroExpansion
[691 / 736] SwiftCompilerPluginMessageHandling
[694 / 746] SwiftCompilerPluginMessageHandling
[695 / 746] SwiftCompilerPluginMessageHandling
[697 / 746] SwiftCompilerPluginMessageHandling
[698 / 747] SwiftCompilerPluginMessageHandling
[700 / 747] SwiftCompilerPluginMessageHandling
[702 / 747] SwiftCompilerPluginMessageHandling
[707 / 748] SwiftSyntaxMacroExpansion
[710 / 749] NIOHTTP1
[714 / 751] NIO
[720 / 751] NIOHTTP1
[720 / 751] SwiftCompilerPlugin
[721 / 752] SwiftCompilerPlugin
[722 / 752] SwiftCompilerPluginMessageHandling
[724 / 753] SwiftSyntax
[725 / 754] SwiftSyntax
[727 / 754] SwiftSyntax
[730 / 754] SwiftParser
[734 / 754] SwiftIfConfig
[737 / 754] SwiftCompilerPluginMessageHandling
[743 / 755] HTTPMockServerMacros
[748 / 760] HTTPMockServerMacros
[749 / 760] HTTPMockServerMacros
[753 / 761] HTTPMockServerMacros
error: SwiftCompile normal x86_64 /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:
/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-linux-x86_64/HTTPMockServer-t.build/Objects-normal/x86_64/Macro.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-linux-x86_64/HTTPMockServer-t.build/Objects-normal/x86_64/Macro.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-linux-x86_64/HTTPMockServer-t.build/Objects-normal/x86_64/Macro.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-linux-x86_64/HTTPMockServer-t.build/Objects-normal/x86_64/Macro.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 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 /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 -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-linux-x86_64/CNIOLLHTTP.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/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-linux-x86_64/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CNIOOpenBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-linux-x86_64/HTTPMockServer-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-linux-x86_64/HTTPMockServer-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-linux-x86_64/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-linux-x86_64/HTTPMockServer-t.build/Objects-normal/x86_64/HTTPMockServer_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/HTTPMockServer.build/Debug-linux-x86_64/HTTPMockServer-t.build/Objects-normal/x86_64/Macro.o -index-unit-output-path /HTTPMockServer.build/Debug-linux-x86_64/HTTPMockServer-t.build/Objects-normal/x86_64/Macro.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux