Build Information
Failed to build HTTPMockServer, reference main (fc632c), with Swift 6.4 for Linux on 3 Oct 2026 10:46:52 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: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: 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: 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-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: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
[1/86265] Fetching swift-nio
Fetching https://github.com/swiftlang/swift-syntax
Fetched https://github.com/apple/swift-nio (3.36s)
[1/80206] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.86s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.103.0 (7.49s)
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.35s)
Fetched https://github.com/apple/swift-system.git (1.35s)
Fetched https://github.com/apple/swift-collections.git (1.37s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.30s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.29s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (1.38s)
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
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-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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1332]
[Planning 1111 / 1332]
[Planning deferred tasks]
[Starting]
[57 / 502] SwiftSyntax602
[252 / 510] _NIOBase64
[262 / 522] SwiftSyntax602
[284 / 522] _NIOBase64
[286 / 522] _NIOBase64
[288 / 522] _NIODataStructures
[303 / 525] SwiftSyntax604
[325 / 536] SwiftSyntax510
[352 / 558] CNIOWASI
[363 / 567] CNIOLinux
[369 / 567] CNIOAtomics
[371 / 567] CNIOLLHTTP
[373 / 567] SwiftSyntax
[375 / 568] _NIODataStructures
[383 / 568] NIOConcurrencyHelpers
[384 / 568] NIOConcurrencyHelpers
[388 / 568] InternalCollectionsUtilities
[391 / 568] CNIOAtomics
[394 / 568] InternalCollectionsUtilities
[401 / 568] Atomics
[405 / 569] NIOConcurrencyHelpers
[407 / 569] Atomics
[409 / 569]
[414 / 575] SpanPreview
[425 / 584] SwiftSyntax
[427 / 585] SwiftSyntax
[428 / 586] SwiftSyntax
[429 / 586] Atomics
[431 / 586] Atomics
[436 / 587] SpanPreview
[438 / 587] SpanPreview
[441 / 587] Atomics
[443 / 587]
[444 / 588] DequeModule
[446 / 597] NIOConcurrencyHelpers
[447 / 597] SpanPreview
[448 / 597] DequeModule
[451 / 597] DequeModule
[453 / 597] DequeModule
[458 / 597] DequeModule
[459 / 597] DequeModule-product
[460 / 597] DequeModule-product
[461 / 598]
[463 / 607] NIOCore
[464 / 607] NIOCore
[465 / 608] NIOCore
[466 / 608] NIOCore
[467 / 608] NIOCore
[468 / 608] NIOCore
[470 / 608] NIOCore
[474 / 608] NIOCore
[475 / 608] NIOPosix
[483 / 608]
[486 / 618] SwiftParser
[487 / 618] SwiftParser
[488 / 618] SwiftParser
[489 / 618] SwiftParser
[490 / 619] SwiftParser
[491 / 619] SwiftParser
[492 / 619] SwiftParser
[494 / 619] NIOCore
[497 / 619] SwiftParser
[503 / 629] SwiftDiagnostics
[504 / 629] SwiftDiagnostics
[507 / 629] SwiftDiagnostics
[511 / 629] SwiftDiagnostics
[513 / 629] SwiftOperators
[516 / 630] SwiftBasicFormat
[520 / 637] SwiftBasicFormat
[523 / 637] SwiftBasicFormat
[529 / 638] SwiftBasicFormat
[531 / 647] SwiftOperators
[532 / 647] SwiftOperators
[534 / 648] SwiftOperators
[535 / 648] SwiftOperators
[537 / 648] SwiftOperators
[543 / 650] SwiftOperators
[545 / 650] SwiftParser
[550 / 652] NIOEmbedded
[557 / 675] SwiftParserDiagnostics
[558 / 675] NIOPosix
[559 / 676] SwiftParserDiagnostics
[560 / 676] SwiftParserDiagnostics
[560 / 676] NIOEmbedded
[564 / 677] NIOEmbedded
[573 / 677] SwiftSyntaxBuilder
[574 / 677] SwiftSyntaxBuilder
[576 / 677] SwiftParserDiagnostics
[578 / 677] SwiftParserDiagnostics
[582 / 677] NIOPosix
[583 / 677] NIOPosix
[584 / 677] NIOPosix
[587 / 678] NIOPosix
[592 / 678] NIOPosix
[596 / 679]
[598 / 688] NIOPosix
[600 / 688] SwiftSyntaxBuilder
[601 / 688] SwiftSyntaxBuilder
[602 / 688] SwiftSyntaxBuilder
[603 / 688] SwiftSyntaxBuilder
[605 / 688] SwiftSyntaxBuilder
[609 / 688] SwiftSyntaxBuilder
[610 / 688] SwiftSyntaxBuilder-product
[613 / 690] NIO
[616 / 701] SwiftIfConfig
[617 / 701] NIO
[619 / 701] NIO
[625 / 701] SwiftIfConfig
[626 / 701] SwiftIfConfig
[627 / 701] SwiftIfConfig
[629 / 701] SwiftIfConfig
[634 / 701] SwiftSyntaxBuilder
[635 / 702] NIO
[639 / 704]
[642 / 713] SwiftSyntaxMacros
[644 / 713] SwiftSyntaxMacros
[645 / 713] SwiftSyntaxMacros
[653 / 714] SwiftSyntaxMacros
[657 / 724] NIOHTTP1
[661 / 724] NIOHTTP1
[662 / 725] SwiftSyntaxMacros
[663 / 726] SwiftIfConfig
[667 / 726] NIOHTTP1
[668 / 726] NIOHTTP1
[671 / 726] NIOHTTP1
[678 / 736] SwiftSyntaxMacroExpansion
[679 / 736] SwiftSyntaxMacroExpansion
[680 / 736] SwiftSyntaxMacroExpansion
[681 / 736] SwiftSyntaxMacroExpansion
[683 / 736] SwiftSyntaxMacroExpansion
[685 / 736] SwiftSyntaxMacroExpansion
[689 / 736] SwiftSyntaxMacroExpansion
[691 / 736] NIOEmbedded
[691 / 736] SwiftSyntaxMacroExpansion
[693 / 738] SwiftCompilerPluginMessageHandling
[697 / 746] SwiftCompilerPluginMessageHandling
[698 / 746] SwiftCompilerPluginMessageHandling
[699 / 746] SwiftCompilerPluginMessageHandling
[700 / 746] SwiftCompilerPluginMessageHandling
[703 / 747] NIOHTTP1
[715 / 751] SwiftSyntaxMacroExpansion
[715 / 751] SwiftCompilerPlugin
[720 / 751] SwiftCompilerPlugin
[721 / 752] SwiftCompilerPlugin
[722 / 752] SwiftCompilerPluginMessageHandling
[724 / 753] SwiftSyntax
[727 / 754] SwiftSyntax
[733 / 754] SwiftSyntaxBuilder
[742 / 754] HTTPMockServerMacros
[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