Build Information
Failed to build swift-mocking, reference 0.4.1 (232b99), with Swift 6.4 for Linux on 26 Sep 2026 03:10:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
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-54344843-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: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/fetch-rewards/SwiftSyntaxSugar.git
Fetching https://github.com/fetch-rewards/swift-locking.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/731] Fetching swift-locking
[23/2639] Fetching swift-locking, swiftsyntaxsugar
Fetched https://github.com/fetch-rewards/SwiftSyntaxSugar.git (0.46s)
[1/80068] Fetching swift-syntax
Fetched https://github.com/fetch-rewards/swift-locking.git (2.91s)
Fetched https://github.com/swiftlang/swift-syntax.git (2.93s)
Computing version for https://github.com/fetch-rewards/SwiftSyntaxSugar.git
Computed https://github.com/fetch-rewards/SwiftSyntaxSugar.git at 0.1.1 (3.10s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.0 (1.16s)
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.16s)
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 653]
[Planning deferred tasks]
[131 / 271] SwiftSyntax600
[153 / 281] SwiftSyntax
[158 / 283] SwiftSyntax510
[161 / 283] SwiftSyntax509
[165 / 284] SwiftSyntax600
[165 / 284] SwiftSyntax
[179 / 311] SwiftParser
[182 / 311] SwiftDiagnostics
[190 / 311] SwiftBasicFormat
[195 / 311] SwiftParser
[198 / 311] SwiftParser
[203 / 311] SwiftDiagnostics
[205 / 311] SwiftDiagnostics
[208 / 311] SwiftBasicFormat
[210 / 312] SwiftParserDiagnostics
[213 / 312] SwiftDiagnostics
[218 / 324] SwiftOperators
[220 / 332] SwiftParserDiagnostics
[221 / 332] SwiftParserDiagnostics
[222 / 333] SwiftOperators
[223 / 333] SwiftParserDiagnostics
[234 / 333] SwiftParserDiagnostics
[235 / 333] SwiftParser
[237 / 334] SwiftParser
[239 / 334] SwiftParser
[241 / 334] SwiftParserDiagnostics
[244 / 334] SwiftOperators
[246 / 334] SwiftOperators
[247 / 335] SwiftSyntaxBuilder
[253 / 344] SwiftSyntaxBuilder
[255 / 345] SwiftSyntaxBuilder
[255 / 346] SwiftSyntaxBuilder
[257 / 346] SwiftSyntaxBuilder
[258 / 346] SwiftSyntaxBuilder
[271 / 358] SwiftSyntaxSugar
[274 / 366] SwiftSyntaxSugar
[276 / 366] SwiftSyntaxBuilder
[287 / 366] SwiftSyntaxSugar
[289 / 366] SwiftSyntaxSugar-product
[293 / 366] SwiftSyntaxMacros-product
[301 / 369]
[308 / 378] SwiftSyntaxMacroExpansion
[311 / 379] SwiftSyntaxMacros
[322 / 389] SwiftCompilerPluginMessageHandling
[323 / 389] SwiftCompilerPluginMessageHandling
[325 / 389] SwiftCompilerPluginMessageHandling
[326 / 389] SwiftCompilerPluginMessageHandling
[328 / 389] SwiftCompilerPluginMessageHandling
[336 / 392] SwiftCompilerPluginMessageHandling
[343 / 393] SwiftCompilerPlugin
[345 / 394] SwiftCompilerPluginMessageHandling
[347 / 395] SwiftSyntax
[350 / 396] SwiftSyntax
[358 / 396] SwiftSyntaxMacros
[371 / 398] LockingMacros
[380 / 416] MockingMacros
[383 / 416] MockingMacros
[386 / 416] LockingMacros
[388 / 416] MockingMacros
[391 / 416] MockingMacros
[391 / 416] LockingMacros
[395 / 417] MockingMacros
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/.build/checkouts/swift-locking/Sources/Locking/Macros/Locked/Locked.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Locked.swift
/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 -c -primary-file /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 -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-linux-x86_64/Locking-t.build/Objects-normal/x86_64/Locked.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-linux-x86_64/Locking-t.build/Objects-normal/x86_64/Locked.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-linux-x86_64/Locking-t.build/Objects-normal/x86_64/Locked.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-linux-x86_64/Locking-t.build/Objects-normal/x86_64/Locked.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 -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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-linux-x86_64/Locking-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-linux-x86_64/Locking-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-linux-x86_64/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-linux-x86_64/Locking-t.build/Objects-normal/x86_64/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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-locking.build/Debug-linux-x86_64/Locking-t.build/Objects-normal/x86_64/Locked.o -index-unit-output-path /swift-locking.build/Debug-linux-x86_64/Locking-t.build/Objects-normal/x86_64/Locked.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux