Build Information
Failed to build swift-mock, reference main (674dbc), with Swift 6.4 for Wasm on 19 Sep 2026 21:01:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MetalheadSanya/swift-mock.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/MetalheadSanya/swift-mock
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 674dbc8 Merge pull request #63 from MetalheadSanya/57-point-verify-failure-to-verify-call-1
Cloned https://github.com/MetalheadSanya/swift-mock.git
Revision (git rev-parse @):
674dbc856462b2ffab51a7d86a61f7f9a19dd886
SUCCESS checkout https://github.com/MetalheadSanya/swift-mock.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/MetalheadSanya/swift-mock.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.58s)
[1/79984] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (2.88s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.02s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.19s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.50s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.72s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 881]
[Planning deferred tasks]
[168 / 363] SwiftSyntax509
[187 / 383] SwiftSyntax
[188 / 384] SwiftSyntax509
[195 / 385] SwiftSyntax
[196 / 385] SwiftSyntax
[197 / 385] SwiftSyntax
[199 / 385] SwiftSyntax
[200 / 385] SwiftSyntax
[202 / 385] SwiftSyntax
[203 / 385] SwiftSyntax
[213 / 385] SwiftSyntax
[214 / 385] SwiftSyntax
[215 / 386] SwiftParser
[216 / 395] SwiftSyntax
[218 / 395] SwiftParser
[220 / 395] SwiftParser
[225 / 395] SwiftParser
[226 / 395] SwiftParser
[227 / 395] SwiftParser
[229 / 395] SwiftParser
[229 / 395] SwiftSyntax
[230 / 396]
[232 / 405] SwiftParser
[235 / 405] SwiftParser
[241 / 406] SwiftParser
[242 / 406] SwiftSyntax
[246 / 406] SwiftParser
[246 / 406]
[249 / 426] SwiftSyntax
[251 / 426] SwiftBasicFormat
[265 / 436] SwiftDiagnostics
[269 / 436] SwiftBasicFormat
[279 / 436] SwiftDiagnostics
[280 / 436] SwiftOperators
[282 / 436] SwiftDiagnostics
[287 / 437] SwiftDiagnostics
[293 / 437] SwiftBasicFormat
[294 / 437] SwiftBasicFormat
[296 / 437] SwiftParserDiagnostics
[298 / 437]
[304 / 450] SwiftParserDiagnostics
[306 / 459] SwiftParserDiagnostics
[307 / 460] SwiftBasicFormat
[308 / 461] SwiftParserDiagnostics
[310 / 461] SwiftParserDiagnostics
[318 / 461] SwiftParserDiagnostics
[323 / 461] SwiftParserDiagnostics
[325 / 461] SwiftParserDiagnostics
[326 / 461] SwiftParserDiagnostics
[327 / 461] SwiftParserDiagnostics
[329 / 461] SwiftSyntaxBuilder
[330 / 461] SwiftParserDiagnostics
[337 / 462]
[342 / 475] SwiftOperators
[344 / 492] SwiftOperators
[345 / 492] SwiftOperators
[347 / 492] SwiftOperators
[359 / 492] SwiftSyntaxBuilder
[361 / 493] SwiftOperators
[363 / 493] SwiftOperators
[370 / 493] SwiftParserDiagnostics
[371 / 493] SwiftOperators
[375 / 493] SwiftOperators
[377 / 493] SwiftOperators
[382 / 493] SwiftOperators
[387 / 495] SwiftOperators
[393 / 505] SwiftOperators
[395 / 505] SwiftSyntaxBuilder
[396 / 505] SwiftSyntaxBuilder
[399 / 506] SwiftSyntaxBuilder
[409 / 516] SwiftSyntaxMacros
[413 / 516] SwiftSyntaxMacros
[420 / 516] SwiftSyntaxMacros-product
[428 / 536] SwiftSyntaxMacros
[429 / 536] SwiftSyntaxMacros
[447 / 536] SwiftSyntaxMacros
[451 / 536] SwiftSyntaxMacroExpansion
[457 / 546] SwiftSyntaxMacroExpansion
[459 / 555] SwiftSyntaxMacros
[461 / 555] SwiftSyntaxMacros
[466 / 555] SwiftCompilerPluginMessageHandling
[478 / 555] SwiftSyntaxBuilder
[482 / 555] SwiftCompilerPluginMessageHandling
[483 / 555] SwiftCompilerPluginMessageHandling
[489 / 567] SwiftSyntaxMacroExpansion
[492 / 567] SwiftCompilerPluginMessageHandling
[495 / 567] SwiftCompilerPluginMessageHandling
[499 / 567] SwiftCompilerPluginMessageHandling
[506 / 571] SwiftCompilerPlugin
[506 / 571] SwiftSyntax
[511 / 573] SwiftCompilerPlugin
[516 / 573] SwiftCompilerPlugin
[521 / 573] SwiftSyntax
[526 / 573] SwiftParserDiagnostics
[531 / 574] SwiftCompilerPluginMessageHandling
[532 / 574] SwiftCompilerPlugin
[540 / 576] SwiftMockMacros
[547 / 585] SwiftMockMacros
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile CompilerPlugin.swift
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:103:19: [1;31merror: [1;39mcannot find 'dup' in scope[0;0m
[0;36m101 |[0;0m // Duplicate the `stdin` file descriptor, which we will then use for
[0;36m102 |[0;0m // receiving messages from the plugin host.
[0;36m103 |[0;0m let inputFD = [4;39mdup[0;0m(fileno(stdin))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'dup' in scope[0;0m
[0;36m104 |[0;0m guard inputFD >= 0 else {
[0;36m105 |[0;0m internalError("Could not duplicate `stdin`: \(describe(errno: errno)).")
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:117:20: [1;31merror: [1;39mcannot find 'dup' in scope[0;0m
[0;36m115 |[0;0m // Duplicate the `stdout` file descriptor, which we will then use for
[0;36m116 |[0;0m // sending messages to the plugin host.
[0;36m117 |[0;0m let outputFD = [4;39mdup[0;0m(fileno(stdout))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'dup' in scope[0;0m
[0;36m118 |[0;0m guard outputFD >= 0 else {
[0;36m119 |[0;0m internalError("Could not dup `stdout`: \(describe(errno: errno)).")
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:124:11: [1;31merror: [1;39mcannot find 'dup2' in scope[0;0m
[0;36m122 |[0;0m // Having duplicated the original standard-output descriptor, redirect
[0;36m123 |[0;0m // `stdout` to `stderr` so that all free-form text output goes there.
[0;36m124 |[0;0m guard [4;39mdup2[0;0m(fileno(stderr), fileno(stdout)) >= 0 else {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'dup2' in scope[0;0m
[0;36m125 |[0;0m internalError("Could not dup2 `stdout` to `stderr`: \(describe(errno: errno)).")
[0;36m126 |[0;0m }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-webassembly-wasm32/SwiftCompilerPlugin-t.build/Objects-normal/wasm32/CompilerPlugin.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-webassembly-wasm32/SwiftCompilerPlugin-t.build/Objects-normal/wasm32/CompilerPlugin.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-webassembly-wasm32/SwiftCompilerPlugin-t.build/Objects-normal/wasm32/CompilerPlugin.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-webassembly-wasm32/SwiftCompilerPlugin-t.build/Objects-normal/wasm32/CompilerPlugin.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 -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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-webassembly-wasm32/SwiftCompilerPlugin-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-webassembly-wasm32/SwiftCompilerPlugin-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-webassembly-wasm32/SwiftCompilerPlugin-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftCompilerPlugin -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-syntax.build/Debug-webassembly-wasm32/SwiftCompilerPlugin-t.build/Objects-normal/wasm32/SwiftCompilerPlugin_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/swift-syntax.build/Debug-webassembly-wasm32/SwiftCompilerPlugin-t.build/Objects-normal/wasm32/CompilerPlugin.o -index-unit-output-path /swift-syntax.build/Debug-webassembly-wasm32/SwiftCompilerPlugin-t.build/Objects-normal/wasm32/CompilerPlugin.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm