Build Information
Failed to build swift-mocking, reference 0.4.1 (232b99), with Swift 6.4 for Wasm on 26 Sep 2026 03:09:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/fetch-rewards/swift-mocking.git
Reference: 0.4.1
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/fetch-rewards/swift-mocking
* tag 0.4.1 -> FETCH_HEAD
HEAD is now at 232b99b Update changelog (#196)
Cloned https://github.com/fetch-rewards/swift-mocking.git
Revision (git rev-parse @):
232b99b4c72a2fae7264745925fcc1269b4de0d4
SUCCESS checkout https://github.com/fetch-rewards/swift-mocking.git at 0.4.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/fetch-rewards/swift-mocking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/fetch-rewards/swift-locking.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/fetch-rewards/SwiftSyntaxSugar.git
[1/731] Fetching swift-locking
[732/2639] Fetching swift-locking, swiftsyntaxsugar
Fetched https://github.com/fetch-rewards/swift-locking.git (0.48s)
[706/1908] Fetching swiftsyntaxsugar
[1909/81976] Fetching swiftsyntaxsugar, swift-syntax
Fetched https://github.com/fetch-rewards/SwiftSyntaxSugar.git (3.10s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.12s)
Computing version for https://github.com/fetch-rewards/SwiftSyntaxSugar.git
Computed https://github.com/fetch-rewards/SwiftSyntaxSugar.git at 0.1.1 (3.31s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.0 (1.19s)
Computing version for https://github.com/fetch-rewards/swift-locking.git
Computed https://github.com/fetch-rewards/swift-locking.git at 0.2.0 (0.18s)
Creating working copy for https://github.com/fetch-rewards/swift-locking.git
Working copy of https://github.com/fetch-rewards/swift-locking.git resolved at 0.2.0
Creating working copy for https://github.com/fetch-rewards/SwiftSyntaxSugar.git
Working copy of https://github.com/fetch-rewards/SwiftSyntaxSugar.git resolved at 0.1.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 653]
[Planning deferred tasks]
[132 / 271] SwiftSyntax600
[154 / 281] SwiftSyntax
[159 / 283] SwiftSyntax600
[165 / 284] SwiftSyntax509
[166 / 284] SwiftSyntax
[179 / 311] SwiftParser
[187 / 311] SwiftBasicFormat
[190 / 311] SwiftBasicFormat
[192 / 311] SwiftParser
[193 / 311] SwiftParser
[194 / 311] SwiftParser
[196 / 311] SwiftParser
[200 / 311] SwiftParser
[201 / 311] SwiftParser
[202 / 311] SwiftParser
[204 / 311] SwiftOperators
[205 / 311] SwiftOperators
[207 / 311] SwiftDiagnostics
[209 / 311] SwiftDiagnostics
[211 / 311] SwiftBasicFormat
[213 / 311] SwiftParserDiagnostics
[221 / 333] SwiftOperators
[222 / 333] SwiftParserDiagnostics
[223 / 333] SwiftParserDiagnostics
[231 / 333] SwiftOperators
[232 / 334] SwiftParserDiagnostics
[236 / 334] SwiftParserDiagnostics
[240 / 334] SwiftParser
[243 / 334] SwiftOperators
[244 / 334] SwiftOperators
[246 / 334] SwiftOperators
[248 / 334]
[252 / 344] SwiftOperators
[254 / 345] SwiftSyntaxBuilder
[255 / 346] SwiftSyntaxBuilder
[262 / 346] SwiftSyntaxBuilder
[263 / 346] SwiftSyntaxBuilder
[264 / 346] SwiftSyntaxMacros
[269 / 347]
[271 / 357] SwiftSyntaxMacros
[279 / 366] SwiftSyntaxSugar
[281 / 367] SwiftSyntaxSugar
[285 / 367] SwiftSyntaxSugar
[290 / 367] SwiftSyntaxSugar-product
[296 / 367] SwiftSyntaxMacros
[300 / 368] SwiftSyntaxSugar
[308 / 378] SwiftSyntaxMacroExpansion
[310 / 379] SwiftSyntaxMacros
[313 / 379] SwiftSyntaxMacroExpansion
[322 / 389] SwiftCompilerPluginMessageHandling
[324 / 389] SwiftCompilerPluginMessageHandling
[325 / 389] SwiftCompilerPluginMessageHandling
[326 / 389] SwiftCompilerPluginMessageHandling
[333 / 389] SwiftCompilerPluginMessageHandling
[334 / 389] SwiftCompilerPlugin
[338 / 392]
[342 / 392] SwiftCompilerPluginMessageHandling
[344 / 394] SwiftCompilerPlugin
[346 / 394] SwiftCompilerPluginMessageHandling
[348 / 395] SwiftSyntax
[351 / 396] SwiftSyntax
[359 / 396] SwiftSyntaxMacros
[372 / 398] LockingMacros
[381 / 416] MockingMacros
[386 / 416] LockingMacros
[387 / 416] MockingMacros
[388 / 416] LockingMacros
[391 / 416] LockingMacros
[392 / 416] LockingMacros
[396 / 417] LockingMacros
[403 / 422] MockingMacros
[404 / 422] MockingMacros
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/swift-locking/Sources/Locking/Macros/Locked/Locked.swift:7:19: [1;31merror: [1;39mno such module 'os'[0;0m
[0;36m5 |[0;0m //
[0;36m6 |[0;0m
[0;36m7 |[0;0m @_exported import os
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'os'[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m @attached(accessor, names: named(init), named(get), named(set))
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/swift-locking/Sources/Locking/Macros/Locked/Locked.swift /host/spi-builder-workspace/.build/checkouts/swift-locking/Sources/Locking/Models/LockType/LockType.swift -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 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/LockingMacros\#LockingMacros -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InternalImportsByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 0.2.0 -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-locking.build/Debug-webassembly-wasm32/Locking-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-webassembly-wasm32/Locking-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-webassembly-wasm32/Locking-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Locking -package-name swift_locking -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-webassembly-wasm32/Locking-t.build/Objects-normal/wasm32/Locking_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-webassembly-wasm32/Locking-t.build/Objects-normal/wasm32/Modules/Locking.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-webassembly-wasm32/Locking-t.build/Objects-normal/wasm32/Modules/Locking.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-webassembly-wasm32/Locking-t.build/Objects-normal/wasm32/Locking-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-webassembly-wasm32/Locking-t.build/Objects-normal/wasm32/Locking-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-webassembly-wasm32/Locking-t.build/Objects-normal/wasm32/Locking-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-webassembly-wasm32/Locking-t.build/Objects-normal/wasm32/Modules/Locking.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm