The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-locking, reference main (33b925), with Swift 6.4 for Linux on 23 Sep 2026 06:39:48 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: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: 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/fetch-rewards/swift-locking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-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: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.42s)
[1/80014] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.19s)
Computing version for https://github.com/fetch-rewards/SwiftSyntaxSugar.git
Computed https://github.com/fetch-rewards/SwiftSyntaxSugar.git at 0.1.2 (3.38s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (1.19s)
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]
[141 / 282] _SwiftSyntaxCShims
[169 / 284] SwiftSyntax
[173 / 292] SwiftSyntax
[182 / 295] SwiftSyntax510
[187 / 297] SwiftSyntax602
[193 / 297]
[193 / 297] SwiftSyntax
[206 / 325] SwiftParser
[208 / 325] SwiftBasicFormat
[219 / 325] SwiftParser
[221 / 325] SwiftParser
[222 / 325] SwiftParser
[224 / 325] SwiftParser
[228 / 325] SwiftParser
[229 / 325] SwiftDiagnostics
[230 / 325] SwiftOperators
[231 / 325] SwiftOperators
[234 / 325] SwiftDiagnostics
[236 / 325] SwiftBasicFormat
[238 / 326] SwiftDiagnostics
[240 / 326] SwiftParserDiagnostics
[242 / 326] SwiftParserDiagnostics
[243 / 326]
[246 / 346] SwiftBasicFormat
[249 / 347] SwiftParserDiagnostics
[250 / 348] SwiftParserDiagnostics
[261 / 348] SwiftSyntaxBuilder
[264 / 348] SwiftParserDiagnostics
[265 / 348] SwiftParserDiagnostics
[266 / 348] SwiftParser
[269 / 348] SwiftParser
[272 / 348] SwiftOperators
[274 / 348] SwiftOperators
[275 / 348] SwiftSyntax
[282 / 359] SwiftSyntaxBuilder
[285 / 360] SwiftSyntaxBuilder
[286 / 360] SwiftSyntaxBuilder
[287 / 360] SwiftSyntaxBuilder
[298 / 362]
[301 / 380] SwiftSyntaxSugar
[305 / 381] SwiftSyntaxBuilder
[310 / 381] SwiftSyntaxSugar
[321 / 381] SwiftSyntaxSugar-product
[327 / 382] SwiftSyntaxMacroExpansion
[336 / 392] SwiftSyntaxMacroExpansion
[337 / 393] SwiftSyntaxMacroExpansion
[340 / 393] SwiftSyntaxMacros
[342 / 393] SwiftSyntaxMacroExpansion
[351 / 403] SwiftCompilerPluginMessageHandling
[352 / 403] SwiftCompilerPluginMessageHandling
[354 / 403] SwiftCompilerPluginMessageHandling
[355 / 403] SwiftCompilerPluginMessageHandling
[362 / 403] SwiftCompilerPluginMessageHandling
[367 / 407] SwiftCompilerPlugin
[372 / 407] SwiftCompilerPlugin
[374 / 408] SwiftCompilerPluginMessageHandling
[376 / 409] SwiftSyntax
[379 / 410] SwiftSyntax
[387 / 410] SwiftSyntaxMacros
[395 / 411] LockingMacros
[404 / 420] LockingMacros
/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+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>
[405 / 420] LockingMacros
/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