The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-locking, reference 0.2.1 (33b925), with Swift 6.4 for Linux on 23 Sep 2026 06:39:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fetch-rewards/swift-locking.git
Reference: 0.2.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-locking
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at 33b9258 Update SwiftSyntax and SwiftSyntaxSugar (#42)
Cloned https://github.com/fetch-rewards/swift-locking.git
Revision (git rev-parse @):
33b9258c432bac4a744cfd22e9f495b6bb8fd952
SUCCESS checkout https://github.com/fetch-rewards/swift-locking.git at 0.2.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/fetch-rewards/swift-locking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-3":/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/swiftlang/swift-syntax.git
Fetching https://github.com/fetch-rewards/SwiftSyntaxSugar.git
[1/1908] Fetching swiftsyntaxsugar
Fetched https://github.com/fetch-rewards/SwiftSyntaxSugar.git (0.48s)
[1/80014] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (4.84s)
Computing version for https://github.com/fetch-rewards/SwiftSyntaxSugar.git
Computed https://github.com/fetch-rewards/SwiftSyntaxSugar.git at 0.1.2 (5.08s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (1.28s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.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.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 652]
[Planning deferred tasks]
[132 / 272] _SwiftSyntaxCShims
[158 / 282] SwiftSyntax600
[169 / 283] SwiftSyntax
[172 / 292] SwiftSyntax601
[175 / 293] SwiftSyntax601
[180 / 294] SwiftSyntax509
[184 / 296] SwiftSyntax510
[187 / 297] SwiftSyntax510
[193 / 297] SwiftSyntax510
[193 / 297] SwiftSyntax
[204 / 307] SwiftBasicFormat
[206 / 325] SwiftParser
[208 / 325] SwiftDiagnostics
[209 / 325] SwiftBasicFormat
[216 / 325] SwiftBasicFormat
[220 / 325] SwiftBasicFormat
[221 / 325] SwiftParser
[224 / 325] SwiftParser
[228 / 325] SwiftParser
[230 / 325] SwiftDiagnostics
[231 / 325] SwiftDiagnostics
[232 / 325] SwiftOperators
[233 / 325] SwiftOperators
[236 / 325] SwiftDiagnostics
[237 / 325] SwiftDiagnostics
[238 / 325] SwiftParserDiagnostics
[239 / 325] SwiftParserDiagnostics
[242 / 326] SwiftDiagnostics
[244 / 327]
[246 / 336] SwiftParserDiagnostics
[247 / 336] SwiftParserDiagnostics
[248 / 337] SwiftParserDiagnostics
[250 / 337] SwiftParserDiagnostics
[251 / 337] SwiftParserDiagnostics
[255 / 337] SwiftParserDiagnostics
[256 / 337] SwiftSyntaxBuilder
[257 / 338] SwiftSyntaxBuilder
[259 / 338] SwiftParser
[262 / 339] SwiftBasicFormat
[267 / 358] SwiftSyntaxBuilder
[269 / 358] SwiftSyntaxBuilder
[270 / 358] SwiftOperators
[271 / 358] SwiftOperators
[277 / 358] SwiftSyntaxBuilder
[277 / 358] SwiftParserDiagnostics
[280 / 359] SwiftSyntaxBuilder
[284 / 359] SwiftSyntaxBuilder
[286 / 359] SwiftSyntaxMacros
[287 / 359] SwiftSyntaxSugar
[289 / 359] SwiftSyntaxSugar
[291 / 359] SwiftOperators
[294 / 359] SwiftOperators
[295 / 360]
[298 / 362]
[301 / 380] SwiftOperators
[304 / 380] SwiftSyntaxSugar
[306 / 380] SwiftSyntaxSugar
[317 / 381] SwiftSyntaxSugar-product
[321 / 381] SwiftSyntaxMacros-product
[323 / 381] SwiftSyntaxMacros
[326 / 381] SwiftSyntaxMacroExpansion
[332 / 392] SwiftSyntaxMacroExpansion
[333 / 392] SwiftSyntaxSugar
[335 / 392] SwiftSyntaxMacroExpansion
[336 / 393] SwiftSyntaxMacros
[337 / 393] SwiftSyntaxMacros
[338 / 393] SwiftSyntaxMacros
[341 / 393] SwiftSyntaxMacroExpansion
[346 / 393] SwiftSyntaxMacroExpansion
[351 / 403] SwiftCompilerPluginMessageHandling
[352 / 403] SwiftCompilerPluginMessageHandling
[353 / 403] SwiftSyntaxMacroExpansion
[354 / 403] SwiftCompilerPluginMessageHandling
[355 / 403] SwiftCompilerPluginMessageHandling
[356 / 403] SwiftCompilerPluginMessageHandling
[357 / 403] SwiftCompilerPluginMessageHandling
[365 / 406] SwiftCompilerPlugin
[370 / 406] SwiftCompilerPluginMessageHandling
[370 / 407] SwiftCompilerPlugin
[372 / 407] SwiftSyntaxMacroExpansion
[374 / 408] SwiftCompilerPluginMessageHandling
[376 / 409] SwiftSyntax
[379 / 410] SwiftSyntax
[387 / 410] SwiftSyntaxMacros
[395 / 411] LockingMacros
[404 / 420] LockingMacros
[405 / 420] LockingMacros
/host/spi-builder-workspace/Sources/LockingMacros/Macros/LockedMacro/LockedMacro+AccessorMacro.swift:265:16: warning: 'init(leadingTrivia:_:calledExpression:_:_:arguments:_:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' is deprecated: Use the initializer that does not provide default values for leftParen and rightParen. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
263 |
264 |         // self._propertyName.withLock { propertyName in ... }
265 |         return FunctionCallExprSyntax(
    |                `- warning: 'init(leadingTrivia:_:calledExpression:_:_:arguments:_:_:trailingClosure:_:additionalTrailingClosures:_:trailingTrivia:)' is deprecated: Use the initializer that does not provide default values for leftParen and rightParen. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
266 |             calledExpression: backingPropertyWithLockAccessExpression,
267 |             arguments: [],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/LockingMacros/Macros/LockedMacro/LockedMacro+PeerMacro.swift:54:29: warning: 'init(leadingTrivia:_:argument:_:trailingComma:_:trailingTrivia:)' is deprecated: use GenericArgumentSyntax.Argument for 'argument' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
52 |                         name: self.osAllocatedUnfairLockTypeName(),
53 |                         genericArgumentClause: GenericArgumentClauseSyntax {
54 |                             GenericArgumentSyntax(argument: type)
   |                             `- warning: 'init(leadingTrivia:_:argument:_:trailingComma:_:trailingTrivia:)' is deprecated: use GenericArgumentSyntax.Argument for 'argument' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
55 |                         }
56 |                     )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/Sources/LockingMacros/Macros/LockedMacro/LockedMacro.swift:117:17: warning: 'init(leadingTrivia:_:argument:_:trailingComma:_:trailingTrivia:)' is deprecated: use GenericArgumentSyntax.Argument for 'argument' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
115 |             ),
116 |             genericArgumentClause: GenericArgumentClauseSyntax {
117 |                 GenericArgumentSyntax(argument: type)
    |                 `- warning: 'init(leadingTrivia:_:argument:_:trailingComma:_:trailingTrivia:)' is deprecated: use GenericArgumentSyntax.Argument for 'argument' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
118 |             }
119 |         )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[409 / 421] LockingMacros
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/Locking/Macros/Locked/Locked.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Locked.swift
/host/spi-builder-workspace/Sources/Locking/Macros/Locked/Locked.swift:7:19: error: no such module 'os'
 5 | //
 6 |
 7 | @_exported import os
   |                   `- error: no such module 'os'
 8 |
 9 | @attached(accessor, names: named(init), named(get), named(set))
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/Locking/Macros/Locked/Locked.swift /host/spi-builder-workspace/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 -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 -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 spi_builder_workspace -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